# Locust

Python load\-testing framework with programmable users, HTTP clients and distributed workers\.

ID: Q1663 · Revision: 1776

Type: software · License: MIT[^locust-home] · Status: active

Website: https://locust.io/



Locust is an MIT\-licensed load\-testing framework that expresses simulated users and their behavior in Python\. It can run through a web interface or without one, and coordinate multiple worker processes for larger tests\.[^locust-home]

## Capabilities and substitutions

### Python load scenarios — supported

User classes and tasks execute ordinary Python logic\.[^locust-code]

Use case: Scripted HTTP and custom\-protocol load testing · Platforms: Windows, macOS, Linux · Region: Version, plan and platform requirements apply

### Distributed workers — supported

Master coordinates user\-generating workers; the processes shortcut does not work on Windows\.[^locust-dist]

Use case: Scripted HTTP and custom\-protocol load testing · Platforms: Windows, macOS, Linux · Region: Version, plan and platform requirements apply

### Other protocols — limited

May use provided experimental integrations or custom instrumented clients; gevent\-compatible I/O remains required\.[^locust-other]

Use case: Scripted HTTP and custom\-protocol load testing · Platforms: Windows, macOS, Linux · Region: Version, plan and platform requirements apply

### [Substitute for Apache JMeter](/apachejmeter) — limited

Replaces HTTP load\-generation workflows with Python tasks; non\-HTTP samplers may need custom wrappers and plans are not directly interchangeable\.[^locust-code][^locust-other][^jmeter-home]

Use case: Scripted HTTP and custom\-protocol load testing · Platforms: Windows, macOS, Linux · Region: Version, plan and platform requirements apply

## References

[^locust-home]: [What is Locust?](<https://docs.locust.io/en/stable/what-is-locust.html>) — Python, interfaces and MIT licensing (vendor; retrieved 2026-10-07T11:00:02Z)

[^locust-code]: [Writing a Locust file](<https://docs.locust.io/en/stable/writing-a-locustfile.html>) — Python tasks and HttpUser browser limitation (vendor; retrieved 2026-10-07T11:03:29Z)

[^locust-dist]: [Locust distributed tests](<https://docs.locust.io/en/stable/running-distributed.html>) — Master/worker roles and process\-platform limits (vendor; retrieved 2026-10-07T11:04:35.494Z)

[^locust-other]: [Locust other protocols](<https://docs.locust.io/en/stable/testing-other-systems.html>) — Request events and gevent compatibility (vendor; retrieved 2026-10-07T11:04:37.138Z)

[^jmeter-home]: [Apache JMeter overview](<https://jmeter.apache.org/>) — Features and browser limitations (vendor; retrieved 2026-10-07T11:00:02Z)

Source revision: https://substitutefor.net/entities/Q1663?revision=1776
