Performance testing setup for Trade Tariff
See Docker installation instructions
$ ./sbt shell
From with SBT
> gatling:test
or from your shell
$ ./sbt
From within SBT
> gatling:testOnly tradetariff.SectionsSimulation
or from your shell
$ ./sbt "gatling:testOnly tradetariff.SectionsSimulation"
By default the app will use the staging url via the CDN.
Alternative URLs can be used by setting the PERFTESTURL
env var
In this simulation a VU (Virtual User) does the following steps:
- Gets the Sections index at /sections
- Requests a random Section /sections/[1-21]
- Requests a random chapter in the previously selected section
In this simulation a VU (Virtual User) does the following steps:
- Requests a random commodity from the
commodities.csv
list