HTTP load testing CLI for generating controlled traffic and reporting latency, throughput, and error metrics.
$brew install vegeta
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis
Vegeta is a CLI and Go library for benchmarking HTTP services by sending requests at controlled rates and recording detailed results. It is built for repeatable load tests you can run locally, in CI, or across multiple workers.
What It Enables
- Generate repeatable HTTP load against one or many endpoints from plain-text or newline-delimited JSON target definitions, with control over rate, duration, concurrency, headers, TLS, and connection behavior.
- Capture per-request results during an attack, then convert them to JSON or CSV and compute latency, throughput, status-code, and error summaries.
- Produce histograms, HTML latency plots, or Prometheus metrics for regression checks, capacity testing, and distributed load-test runs.
Agent Fit
- The CLI is non-interactive and pipeline-oriented:
attackwrites results to stdout, whileencodeandreport -type=jsonmake downstream parsing straightforward. - JSON target input lets an agent generate request sets dynamically instead of hand-authoring static target files.
- It fits request-level performance loops well, but the default attack output is gob-encoded binary and the tool does not model browser behavior, JavaScript, or multi-step user flows.
Caveats
- Vegeta only exercises HTTP(S) traffic, so API and service benchmarking are a better fit than full end-user journey testing.
- Load tests can create real cost or disruption; safe use still depends on a staging target, rate limits, and operator judgment.