This is simple project that Dockerize Locust tool, allowing you to simply and quickly test.
- git
- docker
- docker-compose
1ª Step: Clone this project
git clone git@github.com:Delermando/locust-load-test.git
2ª Step: Access the project folder
cd locust-load-test
3ª Step: Define test settings, editing the configuration file src/load_test_definition.py, on that you'll change the property host.
If you want to define other configurations access locust.io.
![Definition test file]
(https://s32.postimg.org/fww94rmat/image.png)
4ª Step: Start containers
make run
5ª Step: Access the locust interface on browser on the following address localhost:8089
![Locust Web Interface]
(https://s32.postimg.org/uu4q5rzj9/image.png)
6ª Step: First define the number of requests, concurrent users and so click on Start Swarming button.
![Requestes definition]
(https://s32.postimg.org/morq4qhlx/image.png)
7ª Step: Now enjoy
![End screenl]
(https://s32.postimg.org/4zzzd45ut/image.png)
- make run (Start the project containers)
- make kill (Kill all containers)
- make rm (Remove all containers)
- make restart (Restart it's a combination of the kill, rm and run commands)