software · Q675
oha
Rust HTTP load generator with live terminal feedback and structured benchmark output.
Overview
oha is a Rust-based HTTP load generator with a live terminal interface and machine-readable output. Inspired by hey, it supports request-count and duration-based runs while exposing additional controls for pacing, protocol behavior and latency reporting.[2]
Rate and concurrency
The QPS option sets an overall rate, unlike hey's per-worker setting. HTTP/2 can combine a connection count with parallel streams, and latency correction is available only when a QPS target is set. These controls describe different aspects of the workload; increasing connections or stream parallelism does not automatically preserve the original arrival schedule.[2]
Protocol-specific behavior
The documentation distinguishes duration handling by protocol: HTTP/1 requests still in progress are aborted at the deadline unless waiting is requested, while HTTP/2 waits for ongoing requests and ignores that waiting flag. Redirects and disabling keep-alive also have HTTP/2 restrictions. HTTP/3 support is marked experimental, requires a build feature and currently depends on rustls. A feature appearing in the command help therefore does not imply identical behavior in every build or protocol.[2]
Interpreting exported measurements
The project supplies a JSON output schema for automated analysis. Its summary duration fields and latency percentiles use seconds, while the metrics.latency_ms object uses milliseconds. Unit-aware parsing is necessary when combining sections or comparing another tool's output. The schema also describes success-rate calculations with deadline exclusions, so a high ratio should be interpreted alongside the full request and error information.[3]
Interface, license and execution cost
oha uses the MIT license and documents Linux, Windows and macOS distribution. The live terminal view can be disabled, and the project describes a faster execution path when both live display and rate or burst controls are absent. Removing those controls changes the workload or observation overhead, so that mode should not be presented as a universally equivalent optimization for every benchmark.[1][2]
Substitution scope
oha can substitute for hey for focused HTTP endpoint testing when live feedback or structured JSON is useful. The similar command style is not sufficient for a drop-in migration: rate scope, duration completion and protocol defaults need to be aligned. Existing CSV or summary-processing scripts may also require changes. No independent throughput comparison was run, and the assessment concerns workflow coverage rather than a speed ranking.[2][3][4]
Capabilities & limitations
Live and structured results
supportedTerminal UI and documented JSON schema support interactive and automated use.[2][3]
Interactive and automated HTTP endpoint benchmarking · Windows, macOS, Linux, Docker · Version, plan and platform requirements apply
2 sources · check evidence
Global QPS, protocol differences, terminal UI and output
vendor · checked 2026-10-07Summary seconds versus metrics.latency_ms units
vendor · checked 2026-10-07Global request pacing
supportedQPS applies overall; latency correction requires a configured QPS.[2]
Interactive and automated HTTP endpoint benchmarking · Windows, macOS, Linux, Docker · Version, plan and platform requirements apply
1 source · check evidence
Global QPS, protocol differences, terminal UI and output
vendor · checked 2026-10-07Uniform protocol behavior
limitedDeadline, redirects, keep-alive and experimental HTTP/3 have documented differences.[2]
Interactive and automated HTTP endpoint benchmarking · Windows, macOS, Linux, Docker · Version, plan and platform requirements apply
1 source · check evidence
Global QPS, protocol differences, terminal UI and output
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
References
- oha license
MIT license
vendor · retrieved 2026-10-07 - oha documentation
Global QPS, protocol differences, terminal UI and output
vendor · retrieved 2026-10-07 - oha JSON output schema
Summary seconds versus metrics.latency_ms units
vendor · retrieved 2026-10-07 - hey documentation
Worker-level QPS, duration/request count, HTTP2 and platforms
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 723 | 2026-10-13 02:31:10 | /* wbeditentity-create-item:0| */ sf:4725c333-a603-4935-a632-857302ee1e14:v1 | Add oha with cited product identity, workflow and portability boundaries; documentation research only. | attribution: /proposals/4725c333-a603-4935-a632-857302ee1e14 |