locust
Installation
SKILL.md
Locust
Locust is an easy-to-use, scriptable, and scalable performance testing tool. You define the behavior of your users in regular Python code.
When to Use
- Python Teams: Scripting complexity is zero if you know Python.
- Distributed Testing: Easy to scale out using a Master/Worker architecture to simulate millions of users.
- Web UI: Comes with a nice web interface to start tests and view graphs in real-time.
Quick Start
from locust import HttpUser, task, between
class WebsiteUser(HttpUser):
wait_time = between(1, 5)