Skip to main content

Testing and QA · Intermediate · 16 min

Read load test results: percentiles, throughput and saturation

By Padding · Updated 18 Nov 2026
k6 2.4 end-of-test summary · any spreadsheet · November 2026

You will turn a saved k6 summary and four load runs into a one-page result that names the system's capacity, the latency it delivers below that point, what saturated first and what the team should change.

On this page

A load test ends with a wall of numbers, and most teams read only one of them: the average response time. If it looks fine, the test "passed". That habit hides the two things a load test exists to find out: how much traffic the system can take before users start to wait, and what runs out first when it does.

This tutorial is about reading results, not running tests. You work through a saved k6 summary from a fictional bookings API, where patients search for slots and book one, plus a small table from four runs at rising load. Along the way you learn why percentiles beat averages, how to tell whether the test really sent the load you asked for, where the knee in the latency curve sits, and which server metrics explain it. You end with a one-page result your team can act on.

If you have not run k6 yet, load test an API with k6 covers that. Everything here also applies to results from Locust, Gatling or JMeter; only the metric names change.

Step 1 · Find the five numbers that matter in the summary

Here is the saved summary from one run of the bookings API. The test used an open model: a constant-arrival-rate scenario asking for 150 booking requests per second for five minutes, with at most 60 virtual users (VUs). The p(99) column appears because the run added it with --summary-trend-stats; by default k6 shows avg, min, med, max, p(90) and p(95).

Text
  █ THRESHOLDS

    http_req_duration
    ✗ 'p(95)<500' p(95)=2.04s

    http_req_failed
    ✗ 'rate<0.01' rate=2.41%

  █ TOTAL RESULTS

    HTTP
    http_req_duration..............: avg=412ms min=38ms med=180ms max=9.8s p(90)=1.21s p(95)=2.04s p(99)=4.6s
    http_req_failed................: 2.41%  990 out of 41088
    http_reqs......................: 41088  136.9/s

    EXECUTION
    dropped_iterations.............: 3912   13.0/s
    iterations.....................: 41088  136.9/s
    vus............................: 60     min=21 max=60
    vus_max........................: 60     min=60 max=60

Ignore the rest of the output for now and copy five numbers into your notes:

  • Offered load: what the test asked for, 150 requests per second. It is in the script, not the summary.
  • Achieved throughput: http_reqs rate, 136.9 per second.
  • Latency percentiles: from http_req_duration, the median (180 ms), p95 (2.04 s) and p99 (4.6 s).
  • Error rate: http_req_failed, 2.41%.
  • Load the test could not send: dropped_iterations, 3,912.

Each of the next steps reads one of these. Note that http_req_duration is measured from the load generator: it covers sending the request, waiting and receiving the response, but not DNS lookup or connection set-up, and not the network between your users and your servers.

Check it worked

Your notes have a short block with exactly five labelled values: offered, achieved, p50/p95/p99, error rate and dropped iterations. If you used your own summary, every value has a unit (per second, ms or s, %), and you wrote down the offered rate from the script because the summary does not print it.

Step 2 · Replace the average with percentiles

The average in the summary is 412 ms. That number describes nobody. Half of the requests finished in under 180 ms (the median), and one in twenty took more than 2.04 s (the p95). The average sits between them because a few very slow requests drag it up, while it still hides how slow those requests were.

A small example shows the problem. Take 100 requests: 98 take 50 ms and 2 take 5 s. The average is (98 × 50 + 2 × 5,000) ÷ 100 = 149 ms, which looks acceptable. The p99 is 5 s, which is what two of your users actually waited.

Percentiles also matter more than they first seem because one page or screen makes several requests. If a screen makes 10 API calls and each has a 1% chance of being slower than p99, the chance that a user hits at least one slow call is 1 − 0.99¹⁰, about 9.6%. On a busy screen, the p99 is something one user in ten feels.

Two rules for reading percentiles:

  • Never average percentiles. The p95 of a whole test is not the mean of per-minute p95 values, and you cannot combine p95s from two servers by averaging. Go back to the raw data or the histogram.
  • Check the sample size before trusting a high percentile. A p99 from 300 requests rests on three of them. Over 41,088 requests, as here, p99 is backed by about 410 samples.

Write the result as percentiles against a target, for example "p95 2.04 s against a target of 500 ms", and leave the average out of the headline.

Check it worked

Your notes now state p50, p95 and p99 with the target next to each, and the average appears, if at all, only in a footnote. You can also explain in one sentence why the average in your summary is higher than the median.

Step 3 · Check the test actually sent the load you asked for

A load test can quietly send less traffic than you planned, and then its latency numbers flatter the system. Two things cause this: the load generator running out of capacity, and the way the test model reacts when the server slows down.

In a closed model (k6 executors such as constant-vus or ramping-vus), each virtual user sends a request, waits for the reply, then sends the next. When the server stalls, the users stall with it, so fewer requests go out exactly when things are worst. The slow period is barely sampled. This is called coordinated omission: the test coordinates with the server and omits the measurements that would have shown the problem.

In an open model (constant-arrival-rate or ramping-arrival-rate), k6 starts new iterations on a schedule whether or not earlier ones have finished. Real users behave like this: they do not wait for other people's bookings before opening the app. Requests that arrive during a stall queue up, and the queue shows in the tail.

Two timelines during a two-second server stall: the closed model sends one request that takes the whole stall and records one slow sample, the open model keeps starting requests that each wait for the stall to end and records five slow samples
Closed models under-sample slow periods; open models keep sending.

An open model has its own warning light. If every VU is busy when an iteration is due, k6 cannot start it and counts it in dropped_iterations. In the example, 3,912 iterations were dropped and vus reached its maximum of 60. Little's law explains why: the number of requests in flight equals throughput times time in the system. At 136.9 requests per second and an average of 0.412 s each, about 56 requests are in flight at once, so 60 VUs leave almost no headroom. The ceiling here is partly the test's own VU limit, and partly the server getting slower, which is what made each VU busy for longer.

So before you read latency, answer three questions:

  • Was the model open or closed? If closed, treat the tail as optimistic.
  • Is achieved throughput close to offered? Here it is 136.9 against 150, a 9% shortfall.
  • Were there dropped iterations, or did vus hit vus_max? If yes, the test was not offering the load you think.

Also check that the load generator itself was healthy. A k6 machine at 100% CPU, or one on a slow network link, adds its own latency. Watch its CPU during the run, and keep it off the machine running the system under test.

Check it worked

Your notes say which model the test used, give the achieved and offered rates side by side with the percentage gap, and record dropped iterations and the highest vus value. If your test was closed-model, you have written "tail likely understated" next to the p95 and p99.

Step 4 · Plot latency against load and find the knee

One run tells you how the system behaved at one load. To find capacity you need several runs at rising load, or one ramping run you can slice by stage. The bookings team ran four five-minute tests:

| Offered (req/s) | Achieved (req/s) | p50 | p95 | p99 | Errors |
| --- | --- | --- | --- | --- | --- |
| 50 | 50.0 | 41 ms | 88 ms | 140 ms | 0.00% |
| 100 | 99.9 | 46 ms | 120 ms | 260 ms | 0.02% |
| 125 | 124.6 | 70 ms | 410 ms | 950 ms | 0.10% |
| 150 | 136.9 | 180 ms | 2.04 s | 4.6 s | 2.41% |

Put this in a spreadsheet and draw two charts with offered load on the horizontal axis: latency percentiles, and achieved throughput.

Line chart of p50, p95 and p99 latency at 50, 100, 125 and 150 requests per second: all three stay near zero up to 100, then p99 rises steeply to 4.6 seconds and p95 to 2.04 seconds at 150, while p50 stays low; the band between 100 and 125 is marked as the knee
Latency stays flat, then bends. The tail bends first.

Below a certain load, latency barely changes: the system has spare capacity and each request is served almost straight away. Past that point, some resource is busy often enough that requests start waiting for it. Waiting time grows faster than load, so the curve bends upwards. That bend is the knee. Here it sits between 100 and 125 requests per second: p99 nearly quadruples from 260 ms to 950 ms while load rises by a quarter.

Line chart of achieved against offered throughput: the line follows the dashed ideal up to 125 requests per second, then flattens at 136.9 at an offered 150, with 3,912 dropped iterations and 2.41% failed requests marked
Throughput flattens where latency climbs.

The throughput chart tells the same story from the other side. Achieved load tracks offered load until the knee, then flattens. Once the line is flat, extra traffic does not get served faster; it waits, fails or is dropped. The flat part is your ceiling, about 137 requests per second in this setup.

For planning, the useful capacity figure is the load where you still meet your latency target, not the ceiling. With a p95 target of 500 ms, the bookings API meets it at 125 requests per second (410 ms) but not at 150. Quote capacity as "about 125 req/s at p95 under 500 ms".

Check it worked

Your spreadsheet has both charts, and each one has a marked band or note where the curve bends. You have written one capacity figure in the form "N requests per second at p95 under T", and N is below the point where achieved throughput stops following offered load.

Step 5 · Count errors as part of the result

A run where 2.41% of requests failed is not a run with a p95 of 2.04 s and some errors on the side. Errors change how you read everything else.

  • Fast failures flatter latency. A server that rejects requests in 5 ms with a 503 pulls percentiles down. If error rate rises at the same load where latency drops, the system is shedding load, not coping with it. Where you can, look at latency for successful requests only (in k6, tag or filter by expected_response:true).
  • Timeouts hide in the maximum. A max of 9.8 s next to a client timeout of 10 s suggests requests hitting the limit. Check how many errors were timeouts versus status codes.
  • Know what counts as failed. http_req_failed counts responses outside the expected status range (by default 200 to 399). A 200 response with an error message in the body does not count unless your script checks the body.

Then break the errors down. In the example, the 990 failed requests at 150 req/s split into 702 responses of 503 from the API's connection pool timeout and 288 client timeouts. Both point to requests waiting for something, which the next step identifies.

Error rate belongs next to latency in every row of your table and in the threshold. A run "passes" only when both are within target at the same time.

Check it worked

Your results table has an error rate on every row, and for any run above your error target you have listed the error types with counts (status codes, timeouts, failed checks). You have also noted whether your latency figures include or exclude failed requests.

Step 6 · Line up server metrics to find what saturated

The load test tells you that the system slowed down and at what load. It cannot tell you why. For that you need server-side metrics from the same time window, ideally on one dashboard with the load test's start and end marked.

A simple way to organise this is to go through each resource and ask three questions: how busy is it (utilisation), is work queuing for it (saturation), and is it producing errors? For a typical web API and database, watch at least:

  • CPU on the API and database hosts. Look for saturation signs such as a run queue longer than the number of cores, not only the percentage.
  • Memory and garbage collection. Rising memory over a steady run suggests a leak; long pauses show up as spikes in p99.
  • Connection pools between the API and the database: connections in use against the pool size, and how long requests wait for a connection.
  • Database locks and waits. In PostgreSQL, pg_stat_activity shows what each session is waiting on (wait_event_type of Lock means it is blocked by another transaction), and pg_locks shows who holds what.
  • Network and disk if the service moves large payloads or writes heavily.

The bookings team's metrics, read against the runs:

| Offered (req/s) | API CPU | DB CPU | Pool in use (of 20) | Sessions waiting on locks |
| --- | --- | --- | --- | --- |
| 100 | 48% | 31% | 9 | 0 to 1 |
| 125 | 61% | 38% | 20, with waits | 3 to 6 |
| 150 | 66% | 40% | 20, with waits | 9 to 14 |

CPU never got close to full, so adding bigger machines would not help. The connection pool hit its limit at the knee, and at the same time sessions began waiting on row locks. Every booking updates the row for its time slot, and popular slots are booked by many users at once, so transactions queue behind each other on the same rows while holding pool connections. The pool is where the queue became visible; the lock on hot slot rows is the cause.

This is the most common shape of a load test finding: the bottleneck is a shared resource with a fixed size or a single owner (a pool, a lock, a queue, a single thread), not raw compute.

Check it worked

You have a table of at least three server metrics at each load level, and one sentence that names the first resource to saturate and the load at which it did. Your evidence points to a resource that hits a limit or starts queuing at the same load as the knee, not one that only looks busy.

Step 7 · Write a result the team can act on

A load test report fails when it is a screenshot of a summary with "looks OK" underneath. Write one page that someone who did not run the test can make a decision from. Use this structure:

  1. Question: what you set out to learn. "Can the bookings API handle the Monday 08:00 peak of 110 bookings per second with p95 under 500 ms and errors under 1%?"
  2. Answer: one sentence. "Yes, with little margin: it meets the targets up to about 125 req/s and fails them at 150."
  3. Test conditions: build or commit, environment and data size, open or closed model, duration, where the load generator ran. Say how this environment differs from production.
  4. Results table: offered, achieved, p50, p95, p99, errors per run, plus the two charts.
  5. Bottleneck: what saturated first and the evidence. "Connection pool full and row lock waits on hot slot rows from 125 req/s."
  6. Recommendation and owner: what to change, who will do it, and how you will re-test. "Shorten the booking transaction so the slot lock is held only for the update, then re-run at 150 req/s. Owner: bookings team."
  7. Caveats: what the test did not cover, such as cold caches, mobile network latency or other services sharing the database.

Keep percentiles, rates and targets in the same units throughout, and link to the raw results so someone can check your numbers.

If many of your users are on mobile networks, for example on prepaid data across much of Africa, remember the summary only covers the time from the load generator to your server. Round trips over 3G or busy 4G can add hundreds of milliseconds per request, and users on metered data often retry failed requests, which adds load at the worst moment. Set server-side targets with that budget in mind, and count retries as part of the load you test for.

Check it worked

Your page fits on one screen or sheet, opens with a question and a one-sentence answer, and has a named owner and a re-test plan. Show it to a colleague who was not involved: they can repeat back the capacity figure, the bottleneck and the next action without asking you what any number means.

Next steps

Need this done for you?

Padding does this work for growing companies, from the first diagnosis to a system that keeps working.

Platform Engineering

Get new tutorials

New tutorials, about twice a month.