talira

Locust

Problems Locust solves

All 18 problems from Locust's listing.

  • load test my API by writing the user behaviour in Python instead of clicking through a GUI
  • find out how many concurrent users our web app handles before response times fall apart
  • keep load test scenarios in git as normal code our developers can review
  • simulate hundreds of thousands of users by spreading the load across several machines
  • watch requests per second, response times and failures live in a browser while the test runs
  • run a headless load test in CI and fail the build when error rates go up
  • reuse our existing Python libraries and test data inside a load test
  • model realistic user journeys with logins, waits and conditional steps under load
  • load test something that isn't HTTP, like a database or a custom TCP protocol, from Python
  • run distributed load tests on Kubernetes without hand-managing master and worker pods
  • correlate load test traffic with our traces and metrics in an OpenTelemetry backend
  • replace our JMeter XML test plans with Python code
  • free open source alternative to LoadRunner for stress testing a website
  • stress test an endpoint until it breaks to find our capacity limit before a launch
  • spike test a service by ramping users up quickly and back down
  • run a load test from the command line with a fixed number of users and spawn rate
  • export load test results to CSV for a performance report
  • run Python load tests in the cloud without managing our own load generators

Back to Locust