Skip to content

Commit

Permalink
structure
Browse files Browse the repository at this point in the history
  • Loading branch information
rieckpil committed Feb 24, 2025
1 parent c6798ce commit 0ea7742
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,13 @@ jobs:
run: docker compose --file spring-boot-example/docker-compose.yml up -d

- name: Run Gatling performance tests
working-directory: spring-boot-example
run: |
mvn --file spring-boot-example/pom.xml -B spring-boot:run &
mvn --file spring-boot-example/pom.xml -B gatling:test
./mvnw -B spring-boot:run &
./mvnw -B gatling:test
- name: Run ApacheBench performance tests
working-directory: spring-boot-example
run: |
mvn --file spring-boot-example/pom.xml -B spring-boot:run &
ab -p spring-boot-example/src/test/resources/apachebench/create-customer-request.json -T application/json -c 10 -n 1000 http://localhost:8080/api/customers
./mvnw -B spring-boot:run &
ab -p src/test/resources/apachebench/create-customer-request.json -T application/json -c 10 -n 1000 http://localhost:8080/api/customers

0 comments on commit 0ea7742

Please # to comment.