How to Install & Set Up Locust
Install Locust to write distributed load tests in Python and drive them from a real-time web UI.
Prerequisites
- ✓Python 3.9+ and pip
Install Locust
!
Pure Python via pip — identical on RHEL, Fedora, Debian, and Ubuntu as long as python3-pip is installed (sudo dnf install -y python3-pip, or sudo apt install -y python3-pip).
Write a locustfile
Run and open the UI
Open http://localhost:8089, set the number of users and spawn rate, and start the swarm.
Documentation & Knowledge Base
Download Locust— all versions & official links→Related Guides
Need Locust deployed and managed for you?
We're OpenStack Dev — we design, deploy, and operate production DevOps infrastructure.