Torture Test
Design long-form torture tests for high-load, malformed-input, timing, and resource-exhaustion scenarios. This complements fuzzing-in-ci: fuzzing finds inputs that crash; torture testing finds inputs that degrade, leak, starve, or recover incorrectly.
Scenario Types
- Endurance: repeated valid workloads over long duration with memory/FD/latency ceilings.
- Stress: high concurrency, burst input, large payloads, queue pressure.
- Adversarial input: slow-loris timing, malformed grammar sweeps, partial reads, truncation, retry storms.
Outputs
The skill emits scenario cards under .aiwg/test/torture/ and scheduled CI recipes under .aiwg/test/torture/ci/. PR-gating remains short; torture suites run nightly, hourly, or on demand.
Pass/Fail Criteria
Every scenario defines memory ceiling, file descriptor ceiling, latency tail, error recovery time, and acceptable error classes.
References
agentic/code/frameworks/security-engineering/skills/fuzzing-in-ci/SKILL.md.aiwg/security/curl-checklist-gap-analysis.mdrow 2, Practice 11