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

Artillery

$ artillery Official Med Risk
Artillery · Browser & Web · MPL-2.0 · macos / linux / windows

Artillery (artillery) runs YAML-defined load tests and ad-hoc artillery quick checks across HTTP APIs, WebSockets, Socket.IO, and Playwright browser scripts. Passing --output report.json captures detailed latency percentiles, error counts, and custom metrics for CI thresholds.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
npm install -g artillery
CLI vs MCP Decision CLI Only

Generates sustained concurrent traffic and executes local Playwright/Node test scenarios directly from shell or CI runners.

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 --output <file>.json for full structured test telemetry, --quiet, and non-interactive CI execution via artillery run and artillery quick.

  • Structured JSON output via artillery run --output report.json
  • Built-in ensure thresholds for non-zero CI exit codes
Trust & Safety 19 / 25

Load tests can overwhelm remote targets or trigger rate limits if --count/phases are misconfigured; requires explicit target discipline.

  • Bounded request counts in artillery quick and ensure assertions
Setup & Portability 12 / 15

Distributed globally via npm/npx across macOS, Linux, and Windows; requires Node.js runtime and optional Playwright browsers.

  • Standard npm install -g artillery and npx artillery
Utility & Efficiency 14 / 15

Supports multi-step user journeys, CSV parameterization, WebSockets, and real browser Playwright load testing in one CLI.

  • Covers HTTP, WebSockets, Socket.IO, and Playwright engines
Maintenance & Lineage 9 / 10

First-party open-source project (artilleryio/artillery) under MPL-2.0 with active releases and cloud ecosystem.

  • Official artilleryio/artillery repository
Docs & Verifiability 9 / 10

Extensive official documentation covering CLI flags, engines, and JSON report schemas.

  • Comprehensive docs at https://www.artillery.io/docs

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

Reads optional target auth headers from test scripts or env vars; Artillery Cloud uses ARTILLERY_CLOUD_API_KEY if enabled.

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

MPL-2.0 open-source CLI is free; optional distributed cloud runner features are commercial.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Artillery Agent Rules
- Always pass `--output <file>.json` when capturing metrics for automated parsing.
- Keep `artillery quick --count` and `--num` small and never load-test production or unowned URLs without explicit approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

Run a bounded quick HTTP check with JSON output
artillery quick --count 5 --num 10 --output quick-report.json http://localhost:3000/health

Sends a small fixed burst of requests against localhost and saves metrics to quick-report.json.

Controlled Writes & Previews

Execute a scenario YAML file and export JSON metrics
artillery run --output report.json test.yml

Runs the configured phases in test.yml and writes full latency/counter summaries to report.json.

Strengths for Agents

  • + --output report.json captures rich percentile latency and status-code breakdowns.
  • + Unifies API load tests and Playwright browser load tests under one YAML format.

Caveats & Pitfalls

  • ! JSON metrics write to a file via --output rather than directly to stdout, while stdout prints periodic progress summaries.
  • ! Node.js installation footprint is heavier than single-binary Go/Rust load generators.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI