This is a template README.md. Be sure to update this with project specific content that describes your performance test project.
Performance test suite for the one-stop-shop-exclusions-frontend
, using performance-test-runner under the hood.
Start Mongo Docker container as follows:
docker run --rm -d -p 27017:27017 --name mongo mongo:4.4
Start ONE_STOP_SHOP
services as follows:
sm2 --start ONE_STOP_SHOP_ALL
The default log level for all HTTP requests is set to WARN
. Configure logback.xml to update this if required.
Do NOT run a full performance test against staging from your local machine. Please implement a new performance test job and execute your job from the dashboard in Performance Jenkins.
Run smoke test (locally) as follows:
sbt -Dperftest.runSmokeTest=true -DrunLocal=true gatling:test
Run full performance test (locally) as follows:
sbt -DrunLocal=true gatling:test
Run smoke test (staging) as follows:
sbt -Dperftest.runSmokeTest=true -DrunLocal=false gatling:test
Check all project files are formatted as expected as follows:
sbt scalafmtCheckAll scalafmtCheck
Format *.sbt
and project/*.scala
files as follows:
sbt scalafmtSbt
Format all project files as follows:
sbt scalafmtAll
This code is open source software licensed under the Apache 2.0 License.