Skip to content
whatismyalternative

Locust

An open source load testing tool. Define user behaviour with Python code, and swarm your系统

Visit Locust

Locust is an open source load testing tool that lets you describe user behaviour in Python code rather than through a UI or XML configuration. It is designed to simulate large numbers of simultaneous users against a system under test, with tests run from a command-line script.

Tests are written as Python classes using HttpUser, the @task decorator, TaskSets, and wait times, with support for nested TaskSets and HTML parsing in examples. Locust supports distributed execution across multiple machines to scale load generation, and is installed from PyPI with pip. A hosted cloud version, Locust.cloud, is described as providing large-scale load tests with detailed reporting, and dedicated commercial support for Locust is available through that service.

Locust is aimed at teams load testing HTTP services and other systems through code-defined scenarios. The tool itself is open source and installable via pip; Locust.cloud offers a hosted option with commercial support.

12 alternatives to Locust

Ranked by how well each tool replaces Locust: shared features, audience, price and popularity.

  1. Load test functional behavior and measure performance with a 100% pure Java application.

    Covers 1 of 8 key features and has a free plan.

    Free planOpen source
    61 out of 100 matchFree
  2. Performance Testing Tool by RadView

    Covers 0 of 8 key features and has a free plan.

    Free plan
    58 out of 100 match$499/mo
  3. Load and performance testing tool that records and replays tests in real browsers at scale

    Covers 0 of 8 key features.

    57 out of 100 matchContact sales
  4. AI-powered testing platform that turns requirements and plain-English scenarios into test

    Covers 0 of 8 key features and has a free plan.

    Free plan
    56 out of 100 match$208/mo
  5. Cloud-based load testing service for web apps and APIs

    Covers 0 of 8 key features and has a free plan.

    Free plan
    56 out of 100 match$99.95/mo
  6. Performance and load testing platform for simulating realistic traffic

    Covers 0 of 8 key features and has a free plan.

    Free plan
    56 out of 100 match$999/mo
  7. Best developer experience for load testing.

    Covers 1 of 8 key features.

    Open source
    55 out of 100 match—
  8. Browser automation framework for web testing

    Covers 1 of 8 key features.

    Open source
    55 out of 100 match—
  9. Automation-friendly framework for Continuous Testing

    Covers 1 of 8 key features and has a free plan.

    Free planOpen source
    55 out of 100 matchFree
  10. A codeless test automation tool.

    Covers 0 of 8 key features and has a free plan.

    Free plan
    54 out of 100 matchContact sales
  11. AI code verification with production traffic digital twins.

    Covers 1 of 8 key features and has a free plan.

    Free planOpen source
    54 out of 100 match$19/mo
  12. Accelerate your Development Process with CDash

    Covers 1 of 8 key features and has a free plan.

    Free planOpen source
    54 out of 100 matchFree