jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Using transaction controller to count all iterations of each thread
Date Tue, 27 Apr 2010 17:46:13 GMT
Thread Group (15 Threads, 10 loops)
+Transaction Controller (Generate Parent sample = true)
++Req1
++Req2
...
++Req31


I.e. your requests are children of the transaction controller . Then add the
listener , you should get 15*10=150 samples with the value being the sum of
all the indvidual requests)
Does this work for you?

regards
deepak

On Tue, Apr 27, 2010 at 7:50 AM, Petteri Lyytinen
<Petteri.Lyytinen@uoma.fi>wrote:

> I'm apparently not explaining myself very clearly.
>
> I have a thread group with a total of 31 HTTP Request samplers under a
> Recording Controller. I'm not interested in how many singular HTTP Requests
> the system is able to process per time unit (second/minute/hour), but it
> would be relevant to see how many times per time unit the system is able to
> process the full 31 HTTP Request flow.
>
> Now, if I add a Transaction Controller under the Thread Group, it will show
> me how many full flows the system can process per time unit, but this is
> only true when the number of loops is exactly one. If the number of loops is
> increased to two or more, the Transaction Controller becomes useless as it
> only shows the processing capabilities from the first loop (per thread) and
> doesn't update after that - regardless of the number of loops defined in the
> Thread Group.
>
> So, if I've set JMeter to use 15 concurrent threads, with each thread
> looping 10 times, I would like to be able to see how many full 31 HTTP
> Request flows, on average, the system is able to process per time unit, for
> all 150 iterations completed. Again, the system's processing capabilities
> per call are irrelevant, only the full flow matters.
>
> So, the question remains: Is there any way to achieve that in JMeter?
>
> I'm sure I won't be able to make it any more clear than that. :)
>
> -Petteri
>
> PS. I'm sorry if I appear somehow obtuse with these questions, but I'm just
> learning to use JMeter and the online documentation really isn't very
> newbie-friendly or descriptive in a number of places.
>
> > -----Original Message-----
> > From: sebb [mailto:sebbaz@gmail.com]
> > Sent: 27. huhtikuuta 2010 16:44
> > To: JMeter Users List
> > Subject: Re: Using transaction controller to count all iterations
> > of each thread
> >
> > On 27/04/2010, Petteri Lyytinen <Petteri.Lyytinen@uoma.fi> wrote:
> > > Okay, let's rephrase the question once more. Nevermind the
> > transaction controller mentioned in the subject.
> > >
> > >  What I want: With 15 threads doing 10 iterations each I want to
> > see 150 results.
> >
> > That's what JMeter does normally.
> >
> > >  What I don't want: With 15 threads doing 10 iterations each I
> > don't want to see only 15 results.
> >
> > Don't use an aggregate Listener, use View Results in Table.
> >
> > >
> > >  So the question is: Is there any way I could possibly see the
> > time it takes for each thread to complete each iteration, not just
> > one result per thread?
> > >
> >
> > See above.
> >
> > >  -Petteri
> > >
> > >
> > >  > The TC does not calculate any statistics nor does it loop.
> > >  >
> > >  >
> > http://jakarta.apache.org/jmeter/usermanual/component_reference.htm
> > >  > l#Transaction_Controller
> > >  >
> > >  > Use the TC controller to enclose the samples you want to
> > aggregate,
> > >  > and then use the appropriate Listener to summarise these.
> > >
> > >
> > > -----------------------------------------------------------------
> > ----
> > >  To unsubscribe, e-mail: jmeter-user-
> > unsubscribe@jakarta.apache.org
> > >  For additional commands, e-mail: jmeter-user-
> > help@jakarta.apache.org
> > >
> > >
> >
> > -------------------------------------------------------------------
> > --
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-
> > help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message