locust — Easy Playground
Load testing: simulate users and measure performance
Getting started with locustRun locally
Install
pip install locustPython CodeRun locally
Expected Output
# Expected output shown below # (Run locally with: locust)
locust is a third-party package. Load testing: simulate users and measure performance. Install with: pip install locust
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?