hey
$ hey Community Med Riskhey replaces ab (ApacheBench) with a single-binary Go HTTP/1.1 & HTTP/2 load generator. It prints clean latency histograms, percentiles, and status distributions—or -o csv for scripted parsing.
brew install hey Fast, bounded CLI load probes (-n, -c, -z) run natively in shell without MCP overhead.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Clean non-interactive stdout with zero ANSI noise and -o csv export, though it lacks native --json output (unlike oha or vegeta).
- Plain text summary and
-o csvstructured export; no JSON output
Bounded by -n (default 200) or -z, though careless high -c/-n values can stress remote targets.
- Defaults to finite 200 requests (
-n 200,-c 50)
Single static Go binary available via Homebrew, apt, and go install.
- Zero-dependency Go binary across macOS, Linux, Windows
Fast smoke-benchmarking with latency percentiles (10%..99%) and status code breakdown.
- Latency histogram, percentile distribution, and CSV mode
Classic rakyll/hey OSS tool (Apache-2.0), though largely feature-complete with infrequent updates.
rakyll/heyrepository under Apache-2.0
Concise --help and README covering every flag.
- Single-screen
hey -hreference
Security, Auth & Guardrails
Accepts transient -H auth headers per run; stores no credentials.
Free, Apache-2.0 open-source Go binary.
# hey Agent Rules - Always bound runs with `-n <requests>` or `-z <duration>` and `-t <timeout>`. - Never run load tests against production or third-party URLs without explicit user authorization.
Agent-Ready Command Recipes
Safe Read-Only Queries
hey -n 200 -c 10 -t 5 http://localhost:8080/health
Sends 200 requests (-n 200) at concurrency 10 (-c 10) with a 5s per-request timeout.
Controlled Writes & Previews
hey -n 100 -c 5 -m POST -T 'application/json' -d '{"ping":1}' -o csv http://localhost:8080/echo > bench.csv Writes per-request timing rows (-o csv) to bench.csv for downstream analysis.
Strengths for Agents
- + Safe finite default (
-n 200) and instant Go binary startup. - + Readable latency percentile summary plus
-o csvfor post-processing.
Caveats & Pitfalls
- ! No native JSON summary format (use
ohaorvegetaif JSON output is required). - ! Upstream repo receives minimal new development.