mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 15:55:49 +00:00
jmeter again
This commit is contained in:
parent
84c3e927e6
commit
2547e0543a
1 changed files with 37 additions and 21 deletions
58
.github/workflows/run-jmeter-test.yml
vendored
58
.github/workflows/run-jmeter-test.yml
vendored
|
@ -1,28 +1,44 @@
|
|||
name: Test JMeter Action
|
||||
|
||||
name: Test Action
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
push
|
||||
jobs:
|
||||
test-action:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Jmeter
|
||||
uses: tush-tr/setup-jmeter@v1.1.0
|
||||
- name: Run Jmeter
|
||||
run: jmeter -n -t src/test/jmeter/petclinic_test_plan.jmx -l reports/results.jtl
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#name: Test JMeter Action
|
||||
|
||||
#on:
|
||||
# push:
|
||||
# branches: [ main ]
|
||||
# pull_request:
|
||||
# branches: [ main ]
|
||||
|
||||
|
||||
|
||||
|
||||
jobs:
|
||||
action_build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
#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"
|
||||
# - 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/upload-artifact@v4
|
||||
# with:
|
||||
# name: jmeter-test-results
|
||||
# path: reports/
|
||||
|
|
Loading…
Reference in a new issue