# hey

Small HTTP load generator with worker concurrency, per\-worker rate limits and summary or CSV output\.

ID: Q239 · Revision: 224

Type: software · License: Apache\-2\.0[^hey-license] · Status: active

Website: https://github.com/rakyll/hey



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\.[^hey-readme]

## 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\.[^hey-readme]

## 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\.[^hey-readme]

## 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\.[^hey-report]

## 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\.[^hey-license][^hey-readme]

## Substitution scope

hey can substitute for [oha](/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\.[^hey-readme][^hey-report][^oha-readme]

## Capabilities and substitutions

### Focused HTTP load tests — supported

Request\-count or duration operation with adjustable concurrency and HTTP/2\.[^hey-readme]

Use case: Simple HTTP endpoint benchmarks · Platforms: Windows, macOS, Linux · Region: Version, plan and platform requirements apply

### Rate limiting — limited

QPS limit applies per worker rather than globally\.[^hey-readme]

Use case: Simple HTTP endpoint benchmarks · Platforms: Windows, macOS, Linux · Region: Version, plan and platform requirements apply

### Unlimited detailed sample retention — unsupported

Inspected reporter retains at most one million successful\-request sample entries\.[^hey-report]

Use case: Simple HTTP endpoint benchmarks · Platforms: Windows, macOS, Linux · Region: Version, plan and platform requirements apply

### [Substitute for oha](/oha) — limited

Can replace compact endpoint benchmarks, but global versus per\-worker QPS and output semantics must be reconciled\.[^hey-readme][^oha-readme]

Use case: Simple HTTP endpoint benchmarks · Platforms: Windows, macOS, Linux · Region: Version, plan and platform requirements apply

## References

[^hey-license]: [hey license](<https://github.com/rakyll/hey/blob/master/LICENSE>) — Apache License 2\.0 (vendor; retrieved 2026-10-07T11:21:10Z)

[^hey-readme]: [hey documentation](<https://github.com/rakyll/hey/blob/master/README.md>) — Worker\-level QPS, duration/request count, HTTP2 and platforms (vendor; retrieved 2026-10-07T11:20:59Z)

[^hey-report]: [hey reporter implementation](<https://github.com/rakyll/hey/blob/master/requester/report.go>) — maxRes and bounded retained request samples (vendor; retrieved 2026-10-07T11:21:35Z)

[^oha-readme]: [oha documentation](<https://github.com/hatoo/oha/blob/master/README.md>) — Global QPS, protocol differences, terminal UI and output (vendor; retrieved 2026-10-07T11:21:10Z)

Source revision: https://substitutefor.net/entities/Q239?revision=224
