/polymath-test-automation:load-testfrom polymath-test-automation
Design a load/stress/soak test — k6/JMeter/Locust profile, realistic workload, ramp + think time, percentile thresholds. Generates load to find limits, not setting a budget (perf-budget).
Ships in polymath-test-automation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Find where the system bends before users do. A load test that only proves the happy path at low concurrency proves nothing.
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
polymath-test-automation:load-test.This generates load to find limits. It does not set the budget/SLO target (polymath-performance:perf-budget), diagnose a specific latency problem (polymath-performance:backend-tail-latency), or test correctness (polymath-test-automation:e2e-flow).
[VERIFY: traffic mix].polymath-performance:perf-budget or the SLO. Absent: propose them, marked [VERIFY].NOT RUN — never estimated numbers.loadtest/<slug>.js (or .py / .jmx) plus a report in this shape:
Load test: refund API — stress tool: k6 (open model, arrival-rate)
Target: staging-eu (prod-like: same instance types, 1/4 node count) — approved by @payments-oncall
Workload: 60% GET /refunds/{id} · 30% POST /refunds · 10% GET /orders/{id}/refunds; think time 1–3s
Profile: ramp 0→400 RPS over 10m, hold 10m, step +100 RPS every 5m until thresholds fail
Thresholds: p95 < 300 ms · p99 < 800 ms · errors < 0.5%
Result (k6 summary, run 2026-10-26 14:02 UTC):
at 400 RPS p95 182 ms p99 410 ms errors 0.02% PASS
at 700 RPS p95 290 ms p99 790 ms errors 0.10% PASS
at 800 RPS p95 610 ms p99 2.1 s errors 3.40% FAIL ← breaking point
Saturation: Postgres connection pool (100/100 in use from 760 RPS)
Verdict: holds expected peak (400 RPS) with 1.9× headroom; breaks at ~800 RPS on DB connections
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mohammadbafkar/polymath --plugin polymath-test-automation2 skills in this plugin