# locust mit Homebrew, apt installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für locust in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:locust
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install locust
```

  Evidenz: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install python3-locust
```

  Evidenz: Debian stable package indexes: python3-locust from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Paketfakten

- **Paketschlüssel:** brew:locust
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/locust>
- **Version:** 2.46.3
- **Quellzusammenfassung:** Scalable user load testing tool written in Python
- **Homepage:** <https://locust.io/>
- **Upstream-Dokumentation:** <https://locust.io/>
- **Lizenz:** MIT
- **Quellarchiv:** <https://files.pythonhosted.org/packages/bc/f7/dfdbc33ad48daaeb3046688df0a461749db730282cc6b3558b7495ac36d6/locust-2.46.3.tar.gz>
- **Zuletzt aktualisiert:** 2026-08-02T12:46:59Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- locust (cli)
- locust (Alias)

## Abhängigkeiten

- certifi
- python@3.14
- zeromq

## Build-Abhängigkeiten

- cmake
- ninja

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 2.46.3
- Manager aktualisiert: 2026-08-02
- lokale Daten: OK
- Upstream-Repository: https://locust.io/
- Info: Release/tag comparison is only available for GitHub repositories.
## Projektgeschichte und Nutzung

Locust is an open source load-testing framework that lets users write test scenarios in Python code and run them from a CLI and web UI. It became a major package in performance-testing workflows because it replaces click-built test plans with ordinary code and scalable distributed execution.

### Projektgeschichte

Locust's official history page says it was created out of frustration with existing tools such as Apache JMeter and Tsung. The objection was both ergonomic and architectural: graphical point-and-click test design made complex scenarios hard to maintain, and thread-bound approaches limited concurrency.

The project was created in 2011 by Carl Bystrom and Jonatan Heyman while they were working on Battlelog, the companion app for Battlefield 3. That origin explains Locust's emphasis on simulating many concurrent users while keeping test behavior programmable.

The official repository describes Locust as an open source performance/load testing tool for HTTP and other protocols, with tests defined in regular Python code. Its docs grew to cover configuration files, distributed load generation, Docker, headless operation, web UI customization, and hosted load testing.

### Adoptionsgeschichte

Locust adoption spread among Python teams and service developers who wanted load tests in the same language and version-control workflow as application code. The official Locust Cloud retrospective describes the project as reaching thirteen years and tens of millions of downloads, indicating broad use beyond its original game-service context.

The 1.0 release was a significant API cleanup: the changelog documents renaming `Locust` and `HttpLocust` classes to `User` and `HttpUser`, changing client-count terminology to users, and enabling task declarations directly on User classes. Later 2.x releases continued that modernization while preserving the package's code-first model.

### Wie es verwendet wird

A normal Locust project defines user behavior in a Python locustfile, then runs `locust` to open the web UI or uses headless command-line options in CI. The configuration docs list CLI flags, environment variables, and config-file keys for the same settings.

Locust looks for `~/.locust.conf`, `./locust.conf`, and `./pyproject.toml` by default, with `--config` available for an additional file. No official credentials file is documented for the open source CLI.

### Warum Paket-Nerds sich dafür interessieren

Locust is important to package nerds because it is a Python CLI that is also a test framework, a web application, and a distributed worker system. Packaging has to account for Python versions, transitive networking dependencies, and executable entry points.

It is also culturally important as a counterpoint to GUI-first load-testing tools: install a package, commit a locustfile, and scale from a local smoke test to distributed load generation.

### Zeitleiste

- 2011: Locust was created by Carl Bystrom and Jonatan Heyman during Battlelog development.
- 2014: Locust 0.7-era changes updated major dependencies such as requests and gevent.
- 2020: Locust 1.0 introduced breaking API changes including `User` and `HttpUser` class names.
- 2021: Locust 2.0 refined distributed user control and other APIs.
- 2024: Locust maintainers described the project as thirteen years old with more than 60 million downloads.

### Related projects

- Apache JMeter and Tsung are explicitly named in Locust's official history as prior tools the authors had used.
- k6, Gatling, Artillery, wrk, Vegeta, and ApacheBench occupy adjacent load-testing niches with different languages and execution models.

### Quellen

- <https://docs.locust.io/en/stable/changelog.html>
- <https://docs.locust.io/en/stable/configuration.html>
- <https://docs.locust.io/en/stable/history.html>
- <https://github.com/locustio/locust>
- <https://www.locust.cloud/blog/open-source-load-testing-with-locust/>


## Sicherheitshinweise

Für locust wurde kein passendes lokales Secret-Handling-Manifest gefunden. Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.locust.conf, ./locust.conf, ./pyproject.toml
## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** locust
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Andere Paketmanager-Einträge

- Debian apt - python3-locust - 2.24.0-1: normalized package name match | Debian stable package indexes: python3-locust from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Developer friendly load testing framework | https://locust.io/
- Ubuntu apt - python3-locust - 2.24.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-locust from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Developer friendly load testing framework | https://locust.io/


## Verwandte Links

- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/de/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/de/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [python@3.14](https://pkg.so/de/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [zeromq](https://pkg.so/de/brew/zeromq/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/de/brew/cmake/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/de/brew/ninja/) - Build dependency declared by Homebrew.
- [bzt](https://pkg.so/de/brew/bzt/) - Shares pkgdb curated category or tags: cli, developer-tools, load-testing, performance-testing, testing.
- [k6](https://pkg.so/de/brew/k6/) - Shares pkgdb curated category or tags: cli, developer-tools, load-testing, performance-testing, testing.
- [pytest](https://pkg.so/de/brew/pytest/) - Shares pkgdb curated category or tags: cli, developer-tools, python, testing.
- [tox](https://pkg.so/de/brew/tox/) - Shares pkgdb curated category or tags: cli, developer-tools, python, testing.
- [artillery](https://pkg.so/de/brew/artillery/) - Shares pkgdb curated category or tags: cli, developer-tools, load-testing, performance-testing, testing.
- [robot-framework](https://pkg.so/de/brew/robot-framework/) - Shares pkgdb curated category or tags: cli, developer-tools, python, testing.
- [moto](https://pkg.so/de/brew/moto/) - Shares pkgdb curated category or tags: cli, developer-tools, python, testing.
- [nox](https://pkg.so/de/brew/nox/) - Shares pkgdb curated category or tags: cli, developer-tools, python, testing.
- [khaos](https://pkg.so/de/brew/khaos/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, developer, developer-tools, load.
- [mongo-orchestration](https://pkg.so/de/brew/mongo-orchestration/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, developer, developer-tools, python.

## Combined YAML source

View the package source record on GitHub. [combined/locust.yml](https://github.com/mxcl/pkgdb/blob/main/combined/locust.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
