Blog

A Load Test Is Only As Honest As Its Traffic Model

average traffic proves little
A test rig sending varied traffic waves through a service until a clear bottleneck appears

Sending a constant stream of identical requests proves that one synthetic stream can run. Production is rarely that polite.

Model Arrivals, Not Just Users

Use observed request mixes, payload sizes, key popularity, think time, bursts, and regional patterns. If the generator waits for each response before sending more work, a slowing system may receive less pressure exactly when production would keep arriving.

Keep test data representative. A database where every query hits the same warm row says little about a large, skewed customer set.

Include The System Around The Service

Decide which dependencies are real, stubbed, or deliberately degraded. Watch connection pools, queue age, database locks, CPU, memory, GC, retries, and downstream errors—not only the load generator’s percentile chart.

Warm up runtimes and caches, then run long enough to expose leaks, compaction cycles, autoscaling delays, and slow resource exhaustion. A five-minute victory can precede the hour-two collapse.

Define Failure Before Running

State throughput, latency percentiles, error rate, and resource headroom required to pass. Then increase load beyond the target to find the knee and observe recovery after overload.

A useful test produces a capacity statement with assumptions. “Handled 10,000 requests” is not one.

Build On This