Tools/locustio/locust

Locust

Scalable load tests in plain Python

28.1k+24/wkgrowthPythonMIT Licensetrending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Mar 2026

Define user behavior as Python code, point Locust at your endpoint, and scale up to millions of simulated users. The web UI shows real-time results: requests per second, response times, failure rates.

The reason developers love this: it's just Python. No special syntax, no config files, no learning a testing DSL. If you can write a Python function, you can write a load test. Need to test a complex multi-step flow with authentication? It's just Python code.

MIT. Fully free. No paid tier, no cloud service. The homepage links to PyPI, not a commercial product.

The catch: Locust is CPU-bound because of Python's GIL. For high-throughput testing (10K+ requests/sec), you need to run distributed across multiple workers. Tools like k6 (Go-based) handle higher throughput per instance. Also, the web UI is functional but basic. If you want fancy dashboards, you'll need to export metrics to Grafana.

Free vs Self-Hosted vs Paid

fully free

Fully open source under MIT. No paid tier, no hosted service, no commercial edition. Install via pip, write Python, run tests.

Your costs are the infrastructure to generate load. A single machine handles moderate tests. For serious load (100K+ concurrent users), you run distributed workers. Budget for the cloud compute to generate that traffic. A swarm of 5 workers on $20/mo VMs costs $100/mo during testing.

Free. Your only cost is the compute to generate load.

Self-hosting ops:trivial
View pricing page →

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
88/100 · A
Adoption27/30
Maintenance25/25
Community11/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

High adoption: 27,715 starsActive community: 3,202 forksPermissive license (MIT)

About

Stars
28,054
Forks
3,231

Explore Further

More tools in the directory