Torture Test

Scaffold endurance, stress, and adversarial-input tests that reveal degradation rather than immediate crashes

jmagly Updated

File contents

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.md row 2, Practice 11

jmagly/ai-writing-guide/tree/main/agentic/code/plugins/sdlc/skills/torture-test commit 0dcb001b97

Frequently asked questions

npx skillmds@latest add jmagly-ai-writing-guide/torture-test