Prompt
Can't get JMeter to show where my app slows down under load
Latest observation
Oct 20, 2026
OpenAI APIWeb search: off
If JMeter is only telling you “it’s slow” but not where it’s slow, you need to combine JMeter timing data with server-side tracing/metrics. JMeter itself is good at showing request latency, but it won’t pinpoint the exact code path unless you add instrumentation.
What to check first in JMeter
-
Use a Summary Report / Aggregate Report
- Look at:
- Average
- 90% / 95% / 99% line
- Throughput
- Error %
- This tells you which requests degrade under load.
- Look at:
-
Add timing breakdowns in your app
- Measure:
- controller/API time
- DB query time
- external service call time
- serialization/rendering time
- Without this, JMeter only sees end-to-end response time.
- Measure:
-
Enable server-side monitoring
- CPU
- memory/GC
- disk I/O
- network
- DB connection pool
- thread pool saturation
Best way to find the bottleneck
1) Correlate JMeter requests with backend logs
Add a request ID:
- Send a header from JMeter, e.g.
X-Request-Id - Log it in your app
- Then you can match slow JMeter samples to backend logs
2) Use distributed tracing / APM
Tools like:
- OpenTelemetry
- Jaeger
- Zipkin
- New Relic
- Datadog
- Elastic APM
These show where time is spent inside a request:
- app code
- DB
- cache
- remote calls
3) Profile under load
Use:
- Java Flight Recorder / JFR
- VisualVM
- Your APM profiler
async-profilerif you need CPU hot spots
Common reasons performance “disappears” under load
- DB queries become slow or unindexed
- connection pool exhausted
- thread pool saturation
- lock contention
- GC pauses
- too much logging
- downstream service latency
- too many JMeter listeners causing test overhead
Important JMeter note
If you are using heavy listeners like:
- View Results Tree
- Graph Results
- Assertion-heavy scripts
…they can distort test results. For real load tests:
- run in non-GUI mode
- keep listeners minimal
- save results to
.jtl - analyze afterward
Practical workflow
- Run JMeter in non-GUI mode
- Identify the slowest request(s)
- Add server-side timing around DB/external calls
- Re-run load test
- Correlate with logs/APM/profiler
- Fix the bottleneck and repeat
If you want, I can help you set up one of these:
- JMeter + request IDs
- JMeter + backend log correlation
- JMeter + OpenTelemetry tracing
- JMeter load test best practices
If you paste:
- your JMeter test plan structure
- the slow endpoint
- your tech stack
…I can tell you exactly how to instrument it.