# Artillery

> Load tests APIs and applications with Artillery, supporting HTTP, WebSocket, and Socket.io.

- Skill: `ssrjkk/artillery` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add ssrjkk/artillery`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ssrjkk/artillery/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ssrjkk (https://skillmd.com/u/ssrjkk)
- Updated: 2026-08-19
- Page: https://skillmd.com/skills/ssrjkk/artillery

---

# Artillery
> Cloud-scale load testing with YAML configuration.
## Quick Start
```yaml
config:
  target: "https://api.example.com"
  phases: [{ duration: 60, arrivalRate: 5, rampTo: 20, name: "Warm up" }]
scenarios:
  - flow:
      - get: { url: "/api/users" }
      - post: { url: "/api/users", json: { name: "Alice" } }
```
```bash
artillery run config.yaml
```
## WebSocket Testing
```yaml
scenarios:
  - engine: "ws"
    flow: [{ connect: "ws://localhost:8080" }, { send: '{"event": "join", "room": "general"}' }]
```
## When to Use
- API load testing; WebSocket perf testing; CI/CD performance gates
## Validation
1. Artillery runs and produces metrics; 2. Response times tracked; 3. p50/p95/p99 shown

