Smrutiranjana Ray
Smrutiranjana Ray

Reputation: 85

Calculate Average Response time Calculation in JMeter

(Attached as imageenter image description here)

"In My summary report Total Samplers = 11944 My total Average response = 2494 mili-second = 2.49 seconds.

What i understand from here 11944 samplers are processed in average of 2.49 seconds.That means my test actually should processed for 11944 x 2.49 Seconds = 82 hours.But it actually ran about 15-20 mints max.

So trying to understand,is it reduced execution time due to JMeter parallel/multiple thread execution or i am understanding it wrong way.

I want to know a single request average response time"

Upvotes: 1

Views: 11149

Answers (2)

Dmitri T
Dmitri T

Reputation: 168002

JMeter calculates response time as:

  • Sum of all Samplers response times
  • Divided by the number of samplers

basically it's arithmetic mean of all samplers response times.

11944 x 2.49 / 3600 gives 8.2 hours and yes, this is how much time it would take to execute the test with a single user, the amount of time will reduce proportionally depending on the number of threads used

More information:

Upvotes: 1

Ori Marko
Ori Marko

Reputation: 58774

It depends on threads number you used

For example if you used 50 threads 12K Samples/requests and each time took (average of) 2.5 seconds

12000  *  2.5    /     50    /    60           = 10 minutes
^          ^           ^          ^
requests  avg. sec     threads   sec per minute

Upvotes: 2

Related Questions