Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Load-tests web services by simulating concurrent users written as Python classes, via Locust's web UI or headless CI runs.
88% 88%0 ptsof test cases passed
Passed 21 of 24 test cases with the skill, and 21 of 24 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
19 agent runs
Locust defines simulated users as Python classes in a locustfile.py. Each user runs weighted @task methods with a wait time between them. Run it with the web UI (default, http://localhost:8089) to start and watch a test, or with --headless in CI. It scales out with --processes on one machine or a master plus workers across machines. Checked against Locust 2.46.7 (October 2026), which needs Python 3.11 or newer.
python -m venv .venv && source .venv/bin/activate
pip install locust
locust --version
locust -f locustfile.py # web UI on http://localhost:8089
# locustfile.py: users browse the catalog and add to cart
import os
from locust import HttpUser, task, between
class ShopUser(HttpUser):
host = "https://staging.shop.internal"
wait_time = between(1, 3)
def on_start(self):
# runs once per simulated user
resp = self.client.post("/login", json={"username": os.environ["LOAD_USER"], "password": os.environ["LOAD_USER_PASSWORD"]})
self.client.headers["Authorization"] = f"Bearer {resp.json()['token']}"
@task(3)
def browse_products(self):
self.client.get("/products")
@task(2)
def view_product(self):
# group URLs with ids under one stats row; mark custom failures
Next to this one in the catalogue, plus popular skills in the same category.