Articles explaining the concepts in this repo:
- 🇺🇸 Performing load tests with Python + Locust.io (2022)
- 🇧🇷 Como fazer testes de carga com Python + Locust.io (2021)
Locust is an open source load testing tool. From the original repo:
Locust is an easy-to-use, distributed, user load testing tool. It is intended for load-testing web sites (or other systems) and figuring out how many concurrent users a system can handle.
- Make sure you have python 3.7+ installed
- Install poetry to manage dependencies.
- Install the project with:
poetry install
Feel free to clone the project django-todo-list to test it out:
poetry run locust --host=http://localhost:8000
poetry run locust --host=http://localhost:8000 --users 100 --spawn-rate 2 --headless