Skip to content

djfurman/xp-load-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A locustio load test of dockerized flask application

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages