To be able to run load tests, a developer should:
- have the devstack installed with Docker Compose;
- have a valid user (required for the access token to pass to load tests, see
locustfile.pyfor more details); - have their IP whitelisted by the app service under test.
With devstack up and running, load testing can be configured and performed via Locust UI at http://localhost:8089/.
Ref.: https://docs.locust.io/en/stable/quickstart.html#locust-s-web-interface
The host of the Azure app service under test can be indicated in the tests configuration popup:

Command to run load tests (optional):
docker exec -it gpm-1 locustTo run locust with several workers, you can use this devstack command (example with 2 workers):
docker-compose -f docker-compose-dev.yml up --scale worker=2