Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 709 Bytes

ReadMe.md

File metadata and controls

21 lines (13 loc) · 709 Bytes

Load Testing

Now that we have a basic flask application running within docker, let's push it to the max!

Installation

  1. Run pipenv sync to create your virtual enviornment and install all dependencies.
  2. Run pipenv shell to activate your virtual environment.
  3. Run locust --host=http://example.com where example.com points to your local docker point
  4. Open locust's ui at http://localhost:8089

Running a stress test

  1. Input your number of users
  2. Input your hatch rate (ramp rate)
  3. Hit start and watch your swarm go!

Contributions

Contributions are welcome, just open an issue or make a PR. This example will stress a docker container in my namespace.