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

Fortio

$ fortio Official Med Risk
Fortio · Browser & Web · Apache-2.0 · macos / linux / windows

Fortio (fortio) is a fast Go load-testing tool, echo server, and library originally built for Istio. It runs constant-QPS HTTP, HTTPS, gRPC, and TCP stress tests (fortio load) and writes detailed JSON latency histograms via -json - or -json report.json.

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

Runs calibrated constant-QPS HTTP/gRPC load tests and local echo servers directly from a single Go binary.

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

Supports -json - for stdout JSON histograms and -quiet / -loglevel controls for headless scripting.

  • Supports -json - (stdout) and -json <file> output
Trust & Safety 21 / 25

Defaults to bounded 5-second duration (-t 5s) and modest 8 QPS (-qps 8) rather than unconstrained flooding.

  • Safe bounded defaults (-qps 8 -t 5s -c 4) prevent accidental overload
Setup & Portability 14 / 15

Single static Go binary available via Homebrew, go install, Docker, and GitHub Releases on macOS, Linux, and Windows.

  • Zero-dependency binary via brew install fortio and releases
Utility & Efficiency 14 / 15

Covers HTTP/1.1, HTTP/2, gRPC (-grpc), TCP, and built-in fortio server echo/UI in one tiny binary.

  • Unified HTTP, gRPC, and TCP load testing plus echo server
Maintenance & Lineage 9 / 10

Actively maintained official fortio/fortio organization under Apache-2.0 with Istio heritage.

  • Active fortio/fortio releases and Go module maintenance
Docs & Verifiability 8 / 10

Detailed README, fortio help output, and fortio.org reference.

  • Documented flags and JSON schema in fortio/fortio repo

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

Accepts per-run -H headers and TLS cert flags (-cert, -key, -cacert); stores no credentials.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Free, Apache-2.0 open-source Go binary.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Fortio Agent Rules
- Use `-json -` (stdout) or `-json <file>.json` for structured metrics.
- Do not start `fortio server` in one-shot agent commands; use bounded `fortio load -t <duration>`.
- Keep `-qps` and `-t` conservative against staging or local services.

Agent-Ready Command Recipes

Safe Read-Only Queries

Run bounded HTTP load test and print JSON to stdout
fortio load -qps 50 -t 5s -c 4 -json - http://localhost:8080/health

Generates 50 QPS for 5 seconds and writes the complete JSON histogram result to stdout (-json -).

Controlled Writes & Previews

Save JSON load test report for a POST endpoint
fortio load -qps 20 -t 5s -c 2 -payload '{"ok":true}' -content-type application/json -json report.json http://localhost:8080/api

Sends JSON payloads at 20 QPS and writes structured histogram metrics to report.json.

Strengths for Agents

  • + Conservative default -qps 8 -t 5s avoids accidental self-DoS when flags are omitted.
  • + -json - streams complete latency percentiles and status counts to stdout.

Caveats & Pitfalls

  • ! Non-standard single-dash flag style (-json, -qps, -content-type) instead of POSIX -- flags.
  • ! fortio server starts a persistent daemon process unless using fortio load.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI