# locustio/locust

Write scalable load tests in plain Python 🚗💨

Repository: https://github.com/locustio/locust
Canonical: https://ross.abutalabs.com/products/locust
Homepage: https://locust.cloud
Language: Python
License: MIT
License Family: permissive
Topics: locust, python, load-testing, performance-testing, http, benchmarking, load-generator, load-test, load-tests, performance, socketio
Last push: 2026-08-26T17:46:29+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 5676, "days_push": 7, "days_rel": 10, "gap_med": 7.0, "n_releases_24m": 77}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 28104, forks 3234 (observed 2026-08-28T04:11:48.107315+00:00)

## What it is
Locust is an open-source load and performance testing framework where test scenarios are written in plain Python code. It supports distributed load generation across multiple machines and provides a web-based UI for real-time monitoring of throughput, response times, and errors.

## Use cases
- load test my http api with thousands of concurrent users
- write performance tests in python instead of a dsl
- run distributed load tests across multiple machines
- simulate user behavior scenarios for stress testing
- monitor response times and throughput during load tests
- benchmark a websocket or socketio service
- version control my load test scenarios as code

## When to choose
- you want load tests as maintainable Python code in your IDE and version control
- you need to simulate hundreds of thousands of concurrent users with distributed workers
- you need to test protocols beyond HTTP via its pluggable architecture
- you want real-time web UI monitoring and exportable results

## When to avoid
- you need a no-code GUI-only load testing tool for non-developers
- your team has no Python knowledge and prefers record-and-replay tools
- you need a lightweight single-command smoke test without writing code

## Facets
- artifact type: framework
- maturity: active
- function: load-testing, benchmarking, http-client, testing
- domain: testing, performance, developer-tools, web-development
- platform: python, cli, cross-platform
- tags: load-testing, performance-testing, gevent, distributed-load-generation, web-ui, scalable-testing, web-server

## Member repositories
- locustio/locust (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:48.107315+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:54:27.350156+00:00, confidence not recorded.
  - readme: https://github.com/locustio/locust (fetched 2026-08-28T04:11:48.107315+00:00, sha 90ac1d5d17b9)
  - homepage: https://locust.cloud (fetched 2026-08-29T07:51:09.128298+00:00, sha 02d4af94ab12)
- Data as of 2026-08-30T08:39:29.467469+00:00.
