mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:45:50 +00:00
jmeter testing
This commit is contained in:
parent
cb88dd9a7e
commit
bc9c45d3ce
1 changed files with 36 additions and 2 deletions
38
.github/workflows/maven-build.yml
vendored
38
.github/workflows/maven-build.yml
vendored
|
@ -48,7 +48,7 @@ jobs:
|
|||
|
||||
|
||||
|
||||
Build_and_push:
|
||||
Build_Container_and_push_to_Artifactory:
|
||||
runs-on: ubuntu-latest
|
||||
needs: Run_test
|
||||
steps:
|
||||
|
@ -114,4 +114,38 @@ jobs:
|
|||
# Insert to oidc-provider-name the 'Provider Name' defined in the OIDC integration configured in the JPD
|
||||
# with:
|
||||
# oidc-provider-name: ""
|
||||
#JF_PATH_EXCLUSIONS: "*gradle*"
|
||||
#JF_PATH_EXCLUSIONS: "*gradle*"
|
||||
|
||||
|
||||
|
||||
test-action:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
java: [ '21' ]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up JDK ${{matrix.java}}
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: ${{matrix.java}}
|
||||
distribution: 'adopt'
|
||||
cache: maven
|
||||
- name: Login to Jfrog Artifactory
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: rodi26.jfrog.io
|
||||
username: 'rodolphe.fontaine@orange.fr'
|
||||
password: ${{ secrets.JF_ACCESS_TOKEN }}
|
||||
|
||||
- name: Set Up Docker
|
||||
uses: docker-practice/actions-setup-docker@master
|
||||
- name: Docker Run
|
||||
run: docker run -d -p 8080:8080 rodi26.jfrog.io/rodi26-docker/spring-petclinic:latest
|
||||
|
||||
- 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"
|
Loading…
Reference in a new issue