Hurl
$ hurl Official Med RiskHurl executes chained HTTP requests written in readable .hurl plain-text files with built-in status, header, JSONPath, and XPath assertions. With --test and --report-json, coding agents get crisp pass/fail CI verification for REST APIs.
brew install hurl Deterministic .hurl integration test suites run directly in shell/CI loops with zero MCP token 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
Offers --json, --report-json, --test, --no-color, --glob, and deterministic exit codes tailored for automated verification loops.
- Native
--json,--test,--report-json, and--no-colorflags
Provides --secret to redact credentials from logs and --max-time timeouts; .hurl files remain human-readable plain text.
- Dedicated
--secretflag automatically masks secret values in output
Single Rust binary (backed by libcurl) distributed via brew, cargo, npm, and official release archives.
- Cross-platform binary via Homebrew, Cargo, npm, and GitHub Releases
Combines curl-level speed with declarative JSONPath captures and assertions in tiny plain-text files.
- Declarative multi-step HTTP chaining with
jsonpathassertions
Actively maintained by Orange OpenSource under Apache-2.0.
- Official
Orange-OpenSource/hurlrepository
Outstanding official docs, tutorials, and man pages at hurl.dev.
- Official documentation at hurl.dev/docs
Security, Auth & Guardrails
Injected per-run via --variable or --variables-file / environment variables; Hurl stores no credentials on its own.
Free, Apache-2.0 open-source Rust binary.
# Hurl Agent Rules - Always pass `--test --no-color` for test runs and `--secret name=val` for tokens so secrets are auto-redacted. - Inspect `.hurl` files before running them against non-local environments, as entries can execute `POST`/`DELETE` sequences.
Agent-Ready Command Recipes
Safe Read-Only Queries
hurl --test --no-color --report-json ./reports tests/health.hurl
Executes assertions in tests/health.hurl and writes machine-readable JSON reports.
hurl --json tests/get-user.hurl
Outputs the full HTTP transaction, timings, and response body as JSON.
Controlled Writes & Previews
hurl --test --no-color --secret token="$API_TOKEN" tests/write-flow.hurl
Passes --secret so sensitive variable values are redacted from logs and error traces.
Strengths for Agents
- + Native
--jsonand--report-jsonemit clean, structured diagnostics for agent test loops. - +
--secretredacts API keys automatically in stdout and reports. - + Plain-text
.hurlfiles are effortless for LLMs to author, diff, and review.
Caveats & Pitfalls
- ! Requires learning the
.hurlfile syntax rather than one-liner flags.