# /load-testing [Handbook](../../README.md) · [Skill index](README.md) · [Runtime source](../../../.claude/skills/load-testing/SKILL.md) ## Purpose Evaluate system correctness and agreed latency/error goals under a bounded authorized traffic profile. ## When to use You need to validate a request/journey mix, concurrency or arrival-rate workload, capacity limit or explicitly scoped stress/spike/soak test. ## When not to use Do not use it as an unbounded traffic generator, default production probe, unit test or isolated microbenchmark. ## Invocation ```text /load-testing Plan a bounded booking API workload. ``` Autocomplete hint: ` [target] [workload and limits] [thresholds]`. Required information can be supplied in context; this is not a shell command or a CLI parser. Use plain-language arguments. See [argument conventions](../../skill-usage.md) for notation and permission boundaries. **Minimal example:** ```text /load-testing Plan a bounded booking API workload. ``` **With optional context:** ```text /load-testing Plan GET /bookings on our authorized isolated local fixture: at most 5 requests/second for 30 seconds, 2 workers, timeout 1s; ask for remaining thresholds and stop criteria before traffic. ``` ## Inputs | Input | Requirement | If omitted | |---|---|---| | journey and target ownership | Required before traffic | Ask for the exact authorized environment; a URL alone is not consent. | | traffic model and resource limits | Required before traffic | Ask for rate/concurrency, duration, worker/connection and resource ceilings. | | thresholds, stop and cleanup | Required before traffic | Resolve latency/error goals, data effects and enforceable stop/cleanup. | | runner and output location | Optional | Inspect existing tooling; plan only if prerequisites are missing. | **No arguments:** Ask what journey/target is intended; prepare a plan but send no traffic until execution inputs are resolved. Optional inputs are discovered where reliable; recommendations do not become confirmed choices. Conditional requirements must be resolved before their dependent action. Required information is enforced by skill instructions, not by native autocomplete. The detailed procedure is [linked directly from SKILL.md](../../../.claude/skills/load-testing/references/workflow.md). ## What it does Inspect target/tooling → resolve missing authorization/profile/budget → author bounded script and correctness/threshold assertions → execute approved smoke/profile → inspect requested versus achieved traffic, latency/errors/drops and generator limits → record raw metrics and cleanup. Read only the selected skill and [testing procedure](../../../.claude/framework/testing.md). Use the [specific plan/evidence template](../../../.claude/framework/templates/load-test-plan.md) when a written plan helps. ## Outputs and ownership Scoped tests/scripts in the application’s existing layout, fixtures/configuration where required, and actual evidence under docs/project/testing// when warranted. No new runner, agent, service or permission is installed by the skill itself. ## Questions and decisions Before traffic, ask for missing target/ownership; workload/model/ceilings/duration; thresholds/stop/cleanup and data effects. Group questions in small batches and wait for required answers; author local plans meanwhile. ## Permissions and side effects Uses ordinary conversation permissions. The main conversation writes scoped test artifacts and runs reviewed authorized checks. Installation/image pulls, credentials, destructive cleanup/migrations, global changes, shared-service traffic and paid capacity need applicable authorization. Reuse existing authorization for ordinary local work. Plan/script preparation may proceed while required execution approval/input is missing. ## Validation and completion Record exact argv/exits, source/tool/environment versions, actual test/workload/sample counts, safely preserved raw evidence and gaps. Inspect runner output, not merely exit status. A passing command without meaningful correctness assertions, enforced thresholds, achieved load and generator/resource evidence is insufficient. Production capacity remains unverified outside the measured conditions. Existing reviewed local gates and iteration-review can capture checks; helper success does not prove semantic coverage. ## Failure and recovery Preserve failing diagnostics and owned fixtures/resources. Do not weaken assertions, change thresholds after seeing results or retry until green. One reasoned retry/two review rounds apply; keep missing tools/access/baselines as BLOCKED/UNVERIFIED. Cleanup only resources owned by this run and report failures. No independent reviewer available means UNVERIFIED. ## Example ```text /load-testing Prepare a bounded staging checkout workload. Ask for the exact authorized target, traffic limits, thresholds and stop plan before sending traffic. ``` This is an illustrative invocation, not evidence that a model ran tests for an actual application. Existing template tests qualify packaging/structure only. ## Related components [Testing selection guide](../../testing-guide.md) · [implement-change](implement-change.md) · [iteration-review](iteration-review.md) · [testing helper/gates](../helpers.md)