Now that we have a basic flask application running within docker, let's push it to the max!
- Run
pipenv sync
to create your virtual enviornment and install all dependencies. - Run
pipenv shell
to activate your virtual environment. - Run
locust --host=http://example.com
where example.com points to your local docker point - Open locust's ui at http://localhost:8089
- Input your number of users
- Input your hatch rate (ramp rate)
- Hit start and watch your swarm go!
Contributions are welcome, just open an issue or make a PR. This example will stress a docker container in my namespace.