Stress Testing

Performanceintermediate

// Definition

Pushing the system beyond its limits to find the breaking point and observe failure modes. Asks: where does this fall over, and how does it recover?

// Why it matters

Stress testing pushes past expected load to find the breaking point and — more importantly — how the system fails. Does it degrade gracefully (shed load, queue, 503 cleanly) or fall over (cascading timeouts, data corruption)? QA cares because the failure mode determines your incident severity.

// How to test

Like load testing, this is a load-tool job. The stress-specific design:
  • ramp beyond peak until something breaks — find the saturation point
  • observe the failure mode: graceful (clean 503 + recovery) vs catastrophic
  • verify recovery: after load drops, does it return to baseline unaided?
  • watch for data integrity issues under partial failure (the dangerous ones)

// Common mistakes

  • Stopping at expected load (that's load testing, not stress)
  • Measuring only the breaking point, not the recovery afterward
  • Ignoring data correctness under failure (focusing only on latency/errors)

// Related terms

Learn more · Performance Testing with K6

Chapter 4 · Lesson 2: Stress Testing — Finding Breaking Points