Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Vegeta

$ vegeta Community Med Risk
Tomás Senart (tsenart) · Browser & Web · MIT · macos / linux / windows

Vegeta is a versatile Go HTTP load-testing tool built around composable Unix pipes: vegeta attack emits binary metrics, and vegeta report -type=json or vegeta encode -to=json renders exact latency percentiles and error tallies.

FCRS-1.0 Score
87 /100
Good
Medium Confidence
Zero-Friction Install
brew install vegeta
CLI vs MCP Decision CLI Only

Composable attack | report -type=json shell pipeline is unmatched for deterministic constant-RPS regression checks.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Non-interactive Unix pipeline design with vegeta report -type=json and vegeta encode -to=json, though omitting -duration runs forever and raw attack stdout is binary.

  • Supports vegeta report -type=json and vegeta encode -to=json
Trust & Safety 20 / 25

Constant-rate testing avoids sudden burst overload, though omitting -duration creates an unbounded loop.

  • Requires explicit -duration to bound execution
Setup & Portability 15 / 15

Single static Go binary available via brew, go install, and GitHub Releases.

  • Zero-dependency static Go binary across macOS, Linux, Windows
Utility & Efficiency 14 / 15

Avoids coordinated-omission bias via constant arrival-rate pacing and cleanly outputs JSON metrics.

  • Constant-RPS pacing and multi-target stdin streams
Maintenance & Lineage 8 / 10

Well-established tsenart/vegeta OSS tool (MIT), mature and stable.

  • tsenart/vegeta repository under MIT license
Docs & Verifiability 9 / 10

Clear README, subcommand --help, and well-documented JSON report schema.

  • Comprehensive README for attack, report, encode, and plot

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

Reads headers from stdin target specs or -header flags per invocation; stores no credentials.

Side Effects
Read-Only Remote Write
Cost & Quotas

Free, MIT open-source Go binary.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Vegeta Agent Rules
- Always specify a finite `-duration=<time>` (e.g. `-duration=5s`); omitting `-duration` runs indefinitely (`0` = forever).
- Never pipe `vegeta attack` raw binary bytes directly to terminal stdout without `| vegeta report` or `-output`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Run a 5-second constant-rate GET test and report JSON
echo 'GET http://localhost:8080/health' | vegeta attack -rate=20/s -duration=5s -timeout=5s | vegeta report -type=json

Sends 20 RPS for 5 seconds and emits a compact JSON metrics summary.

Controlled Writes & Previews

Save raw attack results and generate JSON report
echo 'POST http://localhost:8080/items' | vegeta attack -rate=10/s -duration=5s -body=payload.json -header='Content-Type: application/json' -output=results.bin && vegeta report -type=json results.bin

Persists raw binary samples to results.bin for later report or plot rendering.

Strengths for Agents

  • + Constant-rate attack | report -type=json pipeline produces accurate percentile JSON.
  • + Zero ANSI color noise and supports multi-endpoint target files.

Caveats & Pitfalls

  • ! Forgetting -duration causes vegeta attack to run indefinitely (-duration=0 default).
  • ! vegeta attack outputs binary gob data by default unless piped to vegeta report.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI