diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eddd001..3e1332a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,11 +26,12 @@ jobs: run: | wget https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.6.3.tgz tar -xf apache-jmeter-5.6.3.tgz - export JMETER_HOME=$PWD/apache-jmeter-5.6.3/bin + echo 'export PATH=/opt/apache-jmeter-5.6.3/bin:$PATH' >> ~/.bashrc + source ~/.bashrc - name: Run JMeter Test run: | - ${JMETER_HOME}/jmeter -n -t "perf_actions/IP_Script.jmx" -l test_results.jtl -j jmeter.log + /opt/apache-jmeter-5.6.3/bin/jmeter -n -t "perf_actions/IP_Script.jmx" -l test_results.jtl -j jmeter.log - name: Upload Test Results uses: actions/upload-artifact@v4