██████╗ ██╗ ██╗ █████╗ ███████╗ █████╗ ██████╗ ██╔═══██╗██║ ██║██╔══██╗██╔════╝██╔══██╗██╔══██╗ ██║ ██║██║ █╗ ██║███████║███████╗███████║██████╔╝ ██║▄▄ ██║██║███╗██║██╔══██║╚════██║██╔══██║██╔══██╗ ╚██████╔╝╚███╔███╔╝██║ ██║███████║██║ ██║██║ ██║ ╚══▀▀═╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝
-
First thing, let's build the random resources that will be used by Gatling: a. Run the python script
stress-test/generate_resources.py
- This will create thesearch-terms.tsv
andwarriors-payloads.tsv
inside thestress-test/user-files/resources
folder, where Gatling looks for payload to be used with the tests. -
Start/build you API with docker locally.
-
After the applications is up and running: a. (Mac/Linux) run the
stress-test/run-test.sh
b. (Windows) run thestress-test/run-test.ps1
-
Terminal will start outputting information about the test
-
Once the test are finished, you can access the Gatling report by: a. Either clicking on the url provided at the end of the test b. Going into
./stress-test/user-files/results/englabstresstest-[timestamp]/index.html
Good Luck! And may the force be with you!
Obs: ./deps is the folder containing the current Gatling version used for this tests
Obs: COREWAR!