Performance test suite for the DISA Returns, using performance-test-runner under the hood.
Start Mongo Docker container following instructions from the MDTP Handbook.
Start services as follows:
sm2 --start PUSH_PULL_NOTIFICATIONS_API --appendArgs '{"PUSH_PULL_NOTIFICATIONS_API": ["-Dallowlisted.useragents.0=api-subscription-fields","-Dallowlisted.useragents.1=disa-returns","-DvalidateHttpsCallbackUrl=false"]}'
sm2 --start DISA_RETURNS_ALLThe 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:testRun full performance test (locally) as follows:
sbt -DrunLocal=true gatling:testRun smoke test (staging) as follows:
sbt -Dperftest.runSmokeTest=true -DrunLocal=false gatling:testCheck all project files are formatted as expected as follows:
sbt scalafmtCheckAll scalafmtCheckFormat *.sbt and project/*.scala files as follows:
sbt scalafmtSbtFormat all project files as follows:
sbt scalafmtAllThis code is open source software licensed under the Apache 2.0 License.