Reading a Load Test Report: p95, Error Rate, and the Saturation Point

Most load test reports get filed without being read. The reason is understandable: the report opens with twenty metrics, and none of them directly answers the question "is the system good enough?" What we've been doing for 16 years is boiling the report down to three questions.

Question one: p95, not the average

Average response time tells you almost nothing. If 95 out of 100 requests take 80 ms and five take 9 seconds, the average comes out at around 500 ms and the report looks "fine." Yet those five requests are probably five users with full carts.

Our acceptance criteria are usually set up like this: p95 < 300 ms on read endpoints, p95 < 800 ms on write endpoints, and p99 no more than three times p95. That last item matters, because p99 pulling away from p95 almost always points to resource contention — the connection pool, locks, or garbage collection.

Comparison of average response time with p95 and p99 measurements, along with the acceptance criteria.
The average tells you almost nothing.

Question two: when did the error rate break?

What you need to look for in the report isn't the highest number of successful requests, but the number of concurrent users at which the error rate crossed 1%. We call that the saturation point. Below the saturation point, the system behaves linearly; above it, latency climbs fast and queues start filling up.

Rule of thumb: plan your production capacity at 60–70% of the saturation point. Real traffic isn't spread out as evenly as it is in a test; a campaign, a push notification, or a news story can create a peak within a single minute.

Question three: where is the bottleneck?

A report isn't complete until the CPU/memory graphs of the application server, the database, and the cache during the test sit side by side. You'll typically see one of these three pictures:

  • Application CPU at 90%, database relaxed. Usually not serialization or N+1 queries, but unnecessary computation. Profile it.
  • Database CPU high, application idle. A missing index or N+1 queries. Turn on the slow query log and look at the top five queries; that's usually where 80% of the problem is.
  • Both relaxed, latency high. The connection pool, an external service call, or lock waits. This is the most overlooked and the most expensive scenario.
The three typical bottleneck pictures seen in a load test and their likely causes.
A report isn't complete until the graphs sit side by side.

Setting up a realistic test

A load test is only as valuable as its scenario. Firing 10,000 requests at a single endpoint doesn't measure capacity; it measures the cache. The scenarios we build include three things: a real user flow (login → list → detail → action), data that varies between users (fetching the same ID warms the cache artificially), and a load profile that ramps up step by step. Tests that start without a warm-up period trigger needless alarms because of the cold cache in the first few seconds.

One more note: run the test against a copy of the production database. Every query is fast on a development database with a thousand rows; the trouble starts at two million.

The one page that comes out of the report

The summary we hand to the client always follows the same format: the current saturation point, the recommended production capacity, the three bottlenecks found, and the estimated effort for each. The twenty pages of graphs sit in the appendix; this single page is what drives the decision.

Three common measurement mistakes

  • Running the test tool on an underpowered machine. Once the load-generating side saturates, what you're measuring isn't your system but your test machine's network stack. Monitor client-side CPU during the test as well.
  • Testing in an environment that doesn't match production. A different instance size, a different disk type, or a missing cache layer turns the result from a measurement into a guess. If the environment differs, say so in the report.
  • Measuring only peak load. How the system behaves under sustained load is a separate question. Memory leaks and connection buildup don't show up in thirty-minute tests; they show up in an eight-hour soak test.

What to do after the test

The value of a load test emerges when the findings are fixed and the test is run again. A single round gives you a snapshot; comparative rounds show whether an improvement actually worked. Our flow is: take a baseline measurement, fix the single highest-impact bottleneck, and run the same scenario again. If you fix three things at once, you won't know which one worked — and next time you'll have to make the same decision all over again.

Finally, put the acceptance criteria in writing before the delivery date. "The system will be fast" isn't a criterion; "read p95 < 300 ms at 500 concurrent users, error rate < 0.5%" is a criterion, and it ends the debate.

If you want to know how far your system can hold up before a campaign, a season launch, or a new integration, reach out through our contact page. A load test is one of the cheapest investments you can make to take the cost out of surprises.