hey Small HTTP load generator with worker concurrency, per-worker rate limits and summary or CSV output.
Overview hey is a small command-line HTTP load generator that sends a configured number of requests, or runs for a duration, at a chosen worker concurrency. It provides summary statistics or CSV output and documents HTTP/2 support.[2]
Contents Choosing the workload The request-count and duration modes serve different uses: specifying a duration overrides the requested count. Concurrency sets the number of workers, while the QPS option limits each worker individually rather than the whole process. Increasing concurrency without adjusting that limit can therefore increase the aggregate offered load. These settings should be recorded together when comparing repeated measurements.[2]
Request and connection behavior Users can choose methods, headers, bodies supplied directly or from a file, and HTTP/2 operation. Options also control redirects, compression and keep-alive. A benchmark's transport configuration affects the workload being measured, so retaining only the URL is insufficient to reproduce it. For example, opening fresh connections exercises different work from repeatedly reusing established ones.[2]
Output and retained samples The inspected reporter implementation counts completed results and maintains error information, while retaining detailed latency and related successful-request samples only up to a one-million-entry ceiling. That is an implementation-level reporting boundary, not a documented cap on the total requests a run may issue. Very long runs should not be assumed to yield an unlimited per-request dataset, and downstream analysis should verify what the chosen output actually contains.[3]
Distribution and scope The project uses Apache-2.0 and lists downloadable binaries for Linux, macOS and Windows, along with a Homebrew option. It describes a deliberately small HTTP benchmarking program rather than a visual test-suite manager. This article concerns the rakyll/hey project, formerly named boom; the older name should not be confused with other unrelated tools using that word.[1] [2]
Substitution scope hey can substitute for oha for simple HTTP request-count or duration benchmarks where a compact summary or CSV is sufficient. Although oha was inspired by hey, its QPS option applies globally, so copying flags does not preserve the workload. Differences in output, protocol behavior and long-run sample retention also matter. Neither this relationship nor the projects' examples establish a comparative performance result.[2] [3] [4]
References hey license Apache License 2.0
vendor · retrieved 2026-10-07 hey documentation Worker-level QPS, duration/request count, HTTP2 and platforms
vendor · retrieved 2026-10-07 hey reporter implementation maxRes and bounded retained request samples
vendor · retrieved 2026-10-07 oha documentation Global QPS, protocol differences, terminal UI and output
vendor · retrieved 2026-10-07 Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.