Analyze Load Test Results
Purpose
Give a clear pass/fail verdict against agreed criteria and, when it fails or degrades, name the bottleneck with evidence and the next experiment. The analysis must be trustworthy: an invalid test run is reported as invalid, not interpreted.
When to use
- A load, stress, spike or soak test has finished and results must be interpreted.
- A result is disputed ("the test environment was the problem") and needs an objective review.
- Several runs must be compared after a fix or configuration change.
When not to use
- The test has not been designed yet. Use
performance-test-plan.
- The question is maximum sustainable load and headroom for planning. Use
capacity-test-report.
- A specific slow query or code path is already identified. Use
query-optimization or performance-optimization.
Inputs
Required:
- Test results: at least throughput, latency (percentiles preferred) and errors per transaction or overall, with the load profile.
Optional, improves quality:
- Acceptance criteria/SLOs, test plan, server-side metrics (CPU, memory, GC, thread/connection pools, queue depth, database waits), traces, load generator metrics.
- Previous runs or production baseline, recent changes.
If results are missing, ask. If acceptance criteria are missing, analyze behavior and mark the verdict [ASSUMPTION: criteria not given].
Process
- Validate the run: did the load generator reach the target rate, were generators saturated (CPU, network), was there a warm-up, did the error types include test-side errors (data exhausted, script errors)? If the run is invalid, stop and state what to fix.
- Segment the timeline: ramp-up, steady state, ramp-down; analyze only steady state for acceptance and note transient effects separately.
- Compare each transaction against criteria: achieved throughput vs target, p50/p95/p99 and max latency, error rate by type (HTTP code, timeout, business error). Mark pass/fail per criterion.
- Look for the saturation pattern: the load level where throughput stops rising while latency rises (knee point), or where errors begin.
- Correlate with server-side metrics at that moment: CPU, memory and GC pauses, thread and connection pool exhaustion, queue depth, database waits and locks, downstream latency, autoscaling events. Use the utilization-saturation-errors view per resource.
- Form bottleneck hypotheses ranked by evidence; state for each what supports it and what would disprove it. Do not name a root cause without correlating evidence; label inferences
[ASSUMPTION].
- For soak tests, check trends over time: memory growth, connection leaks, degrading latency, disk or log growth.
- Compare with previous runs or baseline where available; quantify the change.
- Recommend fixes and the retest that would verify each (change one variable per rerun).
- State limitations: environment differences, data volume, missing metrics.
- If the goal continues, suggest
capacity-test-report once the system passes, performance-optimization or query-optimization for the identified bottleneck, or observability-plan if key metrics were missing.
Output format
# Load Test Analysis: <system / test / date>
Run validity: Valid / Invalid (reason) · Test type: ... · Load profile: ...
Verdict: Pass / Fail / Pass with risks
## Results vs Criteria (steady state)
| Transaction | Target rate | Achieved | p95 (target) | p99 (target) | Error rate (target) | Result |
|---|---|---|---|---|---|---|
## Saturation and Bottleneck
- Knee point: ...
| # | Hypothesis | Evidence | Disproved if | Confidence |
|---|---|---|---|---|
## Comparison with Baseline
## Recommendations and Retests
| Fix | Expected effect | Verify by |
|---|---|---|
## Limitations and Open Questions
Quality checklist
Common pitfalls
- Reporting average response time as the result. Tail latency drives user experience and timeouts.
- Blaming the application when the load generator was saturated or the test data ran out.
- Declaring "database is the bottleneck" from high CPU alone. Check waits, locks and connection pool usage at the same timestamp.
Example
Input: Target 120 req/s; achieved 95 req/s; p95 rises from 300 ms to 2.4 s after 90 req/s; app CPU 45%; DB connection pool 50/50 in use; timeouts 3%.
Weak: "Performance is bad, add more servers."
Strong excerpt:
- Verdict: Fail — throughput 95/120 req/s, p95 2.4 s (target ≤ 800 ms), error rate 3% (target < 0.5%).
- Knee point at ~90 req/s. Hypothesis 1: connection pool exhaustion (pool at 50/50 exactly when latency rises, app CPU only 45%). Disproved if DB waits show lock contention instead.
- Retest: raise pool to a size validated against DB max connections, rerun the same profile; expected knee above 120 req/s.
1---2name: load-test-analysis3description: "Analyzes load test results by validating the test run, comparing throughput, latency percentiles and error rates against acceptance criteria, correlating client-side results with server-side resource, pool, queue and database metrics to locate bottlenecks, and recommending evidence-based fixes and retests. Use when a load, stress, spike or soak test has been executed and its report, metrics or charts must be interpreted, or when a test result is disputed and needs a second opinion."4license: MIT5metadata:6 source: https://skillmd.com/skills/muratdincer/load-test-analysis7 version: "1.0.0"8 language: en9 category: 06-quality10 role: performance-engineer11 area: performance12 title: "Analyze load test results"13 related: "performance-test-plan, capacity-test-report, performance-optimization, query-optimization, observability-plan"14 prompt: "Here are the results of yesterday's checkout load test: summary table, latency chart description and database CPU. Did we pass, and what is the bottleneck?"15---1617# Analyze Load Test Results1819## Purpose20Give a clear pass/fail verdict against agreed criteria and, when it fails or degrades, name the bottleneck with evidence and the next experiment. The analysis must be trustworthy: an invalid test run is reported as invalid, not interpreted.2122## When to use23- A load, stress, spike or soak test has finished and results must be interpreted.24- A result is disputed ("the test environment was the problem") and needs an objective review.25- Several runs must be compared after a fix or configuration change.2627## When not to use28- The test has not been designed yet. Use `performance-test-plan`.29- The question is maximum sustainable load and headroom for planning. Use `capacity-test-report`.30- A specific slow query or code path is already identified. Use `query-optimization` or `performance-optimization`.3132## Inputs33Required:34- Test results: at least throughput, latency (percentiles preferred) and errors per transaction or overall, with the load profile.3536Optional, improves quality:37- Acceptance criteria/SLOs, test plan, server-side metrics (CPU, memory, GC, thread/connection pools, queue depth, database waits), traces, load generator metrics.38- Previous runs or production baseline, recent changes.3940If results are missing, ask. If acceptance criteria are missing, analyze behavior and mark the verdict `[ASSUMPTION: criteria not given]`.4142## Process431. Validate the run: did the load generator reach the target rate, were generators saturated (CPU, network), was there a warm-up, did the error types include test-side errors (data exhausted, script errors)? If the run is invalid, stop and state what to fix.442. Segment the timeline: ramp-up, steady state, ramp-down; analyze only steady state for acceptance and note transient effects separately.453. Compare each transaction against criteria: achieved throughput vs target, p50/p95/p99 and max latency, error rate by type (HTTP code, timeout, business error). Mark pass/fail per criterion.464. Look for the saturation pattern: the load level where throughput stops rising while latency rises (knee point), or where errors begin.475. Correlate with server-side metrics at that moment: CPU, memory and GC pauses, thread and connection pool exhaustion, queue depth, database waits and locks, downstream latency, autoscaling events. Use the utilization-saturation-errors view per resource.486. Form bottleneck hypotheses ranked by evidence; state for each what supports it and what would disprove it. Do not name a root cause without correlating evidence; label inferences `[ASSUMPTION]`.497. For soak tests, check trends over time: memory growth, connection leaks, degrading latency, disk or log growth.508. Compare with previous runs or baseline where available; quantify the change.519. Recommend fixes and the retest that would verify each (change one variable per rerun).5210. State limitations: environment differences, data volume, missing metrics.5311. If the goal continues, suggest `capacity-test-report` once the system passes, `performance-optimization` or `query-optimization` for the identified bottleneck, or `observability-plan` if key metrics were missing.5455## Output format56```markdown57# Load Test Analysis: <system / test / date>58Run validity: Valid / Invalid (reason) · Test type: ... · Load profile: ...59Verdict: Pass / Fail / Pass with risks6061## Results vs Criteria (steady state)62| Transaction | Target rate | Achieved | p95 (target) | p99 (target) | Error rate (target) | Result |63|---|---|---|---|---|---|---|6465## Saturation and Bottleneck66- Knee point: ...67| # | Hypothesis | Evidence | Disproved if | Confidence |68|---|---|---|---|---|6970## Comparison with Baseline71## Recommendations and Retests72| Fix | Expected effect | Verify by |73|---|---|---|74## Limitations and Open Questions75```7677## Quality checklist78- [ ] Run validity was checked before any interpretation, including load generator saturation.79- [ ] Acceptance is judged on steady-state percentiles, not averages or ramp phases.80- [ ] Every number cited comes from the supplied results; missing ones are `[UNKNOWN]`.81- [ ] The bottleneck claim cites correlated client and server evidence, or is labeled a hypothesis.82- [ ] Each recommendation has a verification retest that changes one variable.83- [ ] All checks pass; if any fails, revise the output and re-run this checklist before answering.8485## Common pitfalls86- Reporting average response time as the result. Tail latency drives user experience and timeouts.87- Blaming the application when the load generator was saturated or the test data ran out.88- Declaring "database is the bottleneck" from high CPU alone. Check waits, locks and connection pool usage at the same timestamp.8990## Example91Input: Target 120 req/s; achieved 95 req/s; p95 rises from 300 ms to 2.4 s after 90 req/s; app CPU 45%; DB connection pool 50/50 in use; timeouts 3%.9293Weak: "Performance is bad, add more servers."9495Strong excerpt:96- Verdict: Fail — throughput 95/120 req/s, p95 2.4 s (target ≤ 800 ms), error rate 3% (target < 0.5%).97- Knee point at ~90 req/s. Hypothesis 1: connection pool exhaustion (pool at 50/50 exactly when latency rises, app CPU only 45%). Disproved if DB waits show lock contention instead.98- Retest: raise pool to a size validated against DB max connections, rerun the same profile; expected knee above 120 req/s.