diff --git a/.github/workflows/run-jmeter-test.yml b/.github/workflows/run-jmeter-test.yml index e6b2579d7..a9adb93c1 100644 --- a/.github/workflows/run-jmeter-test.yml +++ b/.github/workflows/run-jmeter-test.yml @@ -5,39 +5,10 @@ jobs: test-action: runs-on: ubuntu-latest steps: - - name: Setup Jmeter - uses: Rodi26/setup-jmeter@v0.0.4 - - name: Run Jmeter - run: ls -la ${{ github.action_path }} - #run: ${{ github.workspace }}/jmeter-5.6.3/bin/jmeter -n -t ${{ github.workspace }}/src/test/jmeter/petclinic_test_plan.jmx -l reports/results.jtl - - - - -#name: Test JMeter Action -#test2 -# push: -# branches: [ main ] -# pull_request: -# branches: [ main ] - - - - -#jobs: -# action_build: -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v4 - -# - name: Run JMeter Action on a test -# uses: kzhou57/apache-jmeter-action@v0.8.3 -# with: -# testFilePath: src/test/jmeter/petclinic_test_plan.jmx -# outputReportsFolder: reports/ -# args: "--loglevel INFO" - -# - uses: actions/upload-artifact@v4 -# with: -# name: jmeter-test-results -# path: reports/ + - uses: actions/checkout@v4 + - name: Run JMeter Action on a test + uses: rbhadti94/apache-jmeter-action@v0.5.0 + with: + testFilePath: src/test/jmeter/petclinic_test_plan.jmx + outputReportsFolder: reports/ + args: "--loglevel INFO" \ No newline at end of file