jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: I'm not understanding the "Generate Summary Results" output
Date Fri, 04 May 2007 08:32:14 GMT
The Min Max and Avg are calculated on individual sample times.

On 04/05/07, Ivan Neto <ivanneto@gmail.com> wrote:
> Hi Oliver!
>
> Thanks for your answer!
>
> On 5/4/07, Oliver Erlewein (DSLWN) <Oliver.Erlewein@datacom.co.nz > wrote:
> >
> > 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).
>
> In fact I'm not sure how the average time ("Avg:") is calculated when
> there's more than one thread. I think that the average time should be:
>
> total_execution_time_of_all_threads / total_number_of_requests
>
> So, if my test plan starts two threads, each of them executing 1000 HTTP
> requests, and each thread runs for 4.6 seconds, then the average time per
> request should be:
>
> (4.6 + 4.6) / (1000 + 1000) = 0.0046 seconds = 4.6 milliseconds
>
> Does this make any sense?
>
> Regards,
>
> Cheers Oliver
> >
> > -----Original Message-----
> > From: Ivan Neto [mailto:ivanneto@gmail.com]
> > 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
> >
>
>
>
> --
> Ivan Neto
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message