Artillery
Cloud-scale load testing with YAML configuration.
Quick Start
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" } }
artillery run config.yaml
WebSocket Testing
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
- Artillery runs and produces metrics; 2. Response times tracked; 3. p50/p95/p99 shown