Hi Ivan,

Not quite sure whether this is what you're after but here goes... (I
don't have coding know-how of JMeter though!!):

1000 / 4.6 = 217.39/s
2000 / 4.6 = 434.78/s

The differences to the values below is probably the rounding error in
the 4.6 seconds (@Sebb: might pay to make that double digit after the
delimiter).

Cheers Oliver

-----Original Message-----
From: Ivan Neto [mailto:[EMAIL PROTECTED] 
Sent: Friday, 4 May 2007 13:37
To: jmeter-user@jakarta.apache.org
Subject: I'm not understanding the "Generate Summary Results" output

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to