Live Demo: Running a Load Test
from locust import HttpUser, task, between
class QuickStartUser(HttpUser):
wait_time = between(1, 3)
host = "https://httpbin.org"
@task
def hello_world(self):
self.client.get("/get")
uv run locust -f locustfile.py
Only target httpbin.org or localhost. Testing servers you do not own may have legal consequences.
Let's try it live. If the web UI looks broken (raw text), the React frontend needs building — ask your AI tool how to fix it.