software · Q151
Vegeta
HTTP load generator and Go library with controlled pacing and reusable result streams.
Overview
Vegeta is an MIT-licensed HTTP load-testing tool available as a command-line program and Go library. It is oriented toward controlled request rates, composable target input and reusable result streams rather than a graphical scenario editor.[2]
Request inputs and reusable results
The CLI accepts text or newline-delimited JSON targets, allowing another program to generate a workload. JSON bodies are encoded in the target representation, while the text format references body files. Execution results can be saved and transformed into reports, plots or interchange formats. Separating traffic generation from analysis is useful when the same recorded run needs several views without repeating requests against the service.[2]
Rate and concurrency are different controls
Vegeta's worker pool can grow to sustain the requested rate, subject to a configured maximum. Unlimited-rate operation with an excessively large worker ceiling can exhaust generator resources. The Go API also exposes a Pacer interface that controls the intended hit schedule, including custom pacing implementations. The selected rate is consequently a workload goal, not a guarantee that an undersized generator can achieve it.[2][3]
Reading the measurements
The library distinguishes sent-request rate from successful-request throughput and tracks additional waiting time for outstanding responses. Its Metrics structure also includes status-code counts, unique errors and latency summaries. These distinctions matter when a server slows down: a configured input rate, achieved send rate and successful completion rate describe different parts of the run. A single throughput number should not stand in for all three.[3]
License and automation boundaries
Vegeta's MIT license covers the supplied project. Its library and CLI use separate versioning so a change to one interface need not imply the same compatibility change in the other. Automated users should therefore track the specific interface they consume and preserve target and result formats alongside a benchmark configuration. A shell pipeline can integrate the executable without turning it into a complete application-testing framework.[1][2]
Substitution scope
Vegeta can substitute for hey for focused HTTP endpoint load tests when target streams and rate-oriented execution are useful. The rate flags are not equivalent: hey limits each worker, while Vegeta specifies the request stream's rate. Reconcile concurrency, request data and output interpretation before comparing results. This assessment is based on documented operation, not a measured claim that one generator is faster.[2][4]
Capabilities & limitations
Rate-oriented HTTP load
supportedWorker limits bound attempts to sustain the configured request rate.[2]
Focused HTTP load generation and analysis · CLI binaries, Go library · Version, plan and platform requirements apply
1 source · check evidence
CLI/library, target formats, pacing and reporting
vendor · checked 2026-10-07Composable results
supportedSaved result streams support separate reporting and encoding.[2]
Focused HTTP load generation and analysis · CLI binaries, Go library · Version, plan and platform requirements apply
1 source · check evidence
CLI/library, target formats, pacing and reporting
vendor · checked 2026-10-07Go integration
supportedLibrary exposes targets, pacing and metric aggregation.[3]
Focused HTTP load generation and analysis · CLI binaries, Go library · Version, plan and platform requirements apply
1 source · check evidence
Pacer and Metrics semantics
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
- Vegeta license
MIT terms
vendor · retrieved 2026-10-07 - Vegeta documentation
CLI/library, target formats, pacing and reporting
vendor · retrieved 2026-10-07 - Vegeta library API
Pacer and Metrics semantics
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 |
|---|---|---|
| 135 | 2026-10-10 10:13:42 | /* wbeditentity-create-item:0| */ sf:089f7d80-8d00-4b34-8e12-11f7d472b5fc:v1 | Add Vegeta with cited product identity, workflow and portability boundaries; documentation research only. | attribution: /proposals/089f7d80-8d00-4b34-8e12-11f7d472b5fc |