Hi,

I'm not understanding the numbers printed by "Generate Summary Results". If
I run JMeter with the following configuration:

Number of Threads: 1, Ramp-up Period: 0, Loop count: 1000

I get the following response on System.out (my test plan makes only one HTTP
request):

Generate Summary Results =  1000 in   4.6s =  218.6/s Avg:     4 Min:     1
Max:   119 Err:     0 (0.00%)

As far as I know, the average time should be calculated as:

total_time / number_of_requests = 4.6 / 1000 = 0.00046s ~ 4 ms

But when I execute the same thread group with another configuration (changed
the number of threads):

Number of Threads: 2, Ramp-up Period: 0, Loop count: 1000

I get the following response on System.out:

Generate Summary Results =  2000 in   4.6s =  439.2/s Avg:     3 Min:     1
Max:    43 Err:     0 (0.00%)

I now have 2000 requests in the same 4.6 seconds (as in the first output).
But the average time is not 4.6 / 2000 = 0.00023 = 2.3 ms. How does JMeter
calculate the average time when there are multiple threads?

Thanks in advance.

--
Ivan Neto

Reply via email to