How Throughput and Response time are related

B.Mishra picture B.Mishra · Mar 29, 2018 · Viewed 10.6k times · Source

I ran a JMeter test for 193 samples where I could see my average response time as 5915ms and Throghput as 1.19832.

I just want to know how are they exactly related

Answer

Dmitri T picture Dmitri T · Mar 29, 2018

All the answers are in JMeter Glossary

Elapsed time. JMeter measures the elapsed time from just before sending the request to just after the last response has been received.

Throughput is calculated as requests/unit of time. The time is calculated from the start of the first sample to the end of the last sample. This includes any intervals between samples, as it is supposed to represent the load on the server. The formula is: Throughput = (number of requests) / (total time).

The relationship is: higher response time - lower throughput and vice versa.

You can use charts like Transactions per Second for throughput and Response Times Over Time for response times to get them plotted on your test timeline and Composite Graph to put them together. This way you will be able to track the trends.

All 3 charts can be installed using JMeter Plugins Manager