And to combine Sebb's and Smuel's suggestions, I would use the nested loops (as I usually do) and use a throughput controller (or even the constant throughput timer) and make sure that logouts represents only 1-2% of the number of logins performed (in real-life scenarios they are not actually 0, but they do occur).
--Adrian S On Tue, Aug 21, 2012 at 3:39 PM, sebb <[email protected]> wrote: > On 21 August 2012 13:06, Shmuel Krakower <[email protected]> wrote: > > Hi, > > I would put the home and login in Once Only controller and remove the > > logout as it never happens in real life (when was the last time you > > actually clicked on 'logout' rather than close the window?). > > > > Then the other actions will iterate per configuration of the thread > group... > > An alternative is to use nested loops: > > ThreadGroup > + Login > + Loop Controller > + + Sample 1 > + + Sample 2 > + Logout > > If the Thread Group loop count is 1, you will get login and logout once > each. > > > Best, > > Shmuel Krakower. > > > > On Tue, Aug 21, 2012 at 2:14 PM, venkatakurathi < > [email protected] > >> wrote: > > > >> hi All, > >> can some one help me out in sorting this situation. > >> > >> i had a script where i need to loop 3 transactions.on each loop i need > to > >> update a value in the transactions. > >> for example my test script transactions are > >> 1.home > >> 2.login > >> 3. > >> 3.1 creategraph > >> 3.2 publishgraph > >> 4.logout > >> > >> i need to loop the create nd publish graph transactions multiple > times.for > >> each loop i need to update the value in request of create graph (to > >> different type of graph).... > >> > >> can some one tell me how to acheiev this? > >> > >> > >> > >> ----- > >> Venkat Akurathi > >> 91-9703186688 > >> -- > >> View this message in context: > >> > http://jmeter.512774.n5.nabble.com/help-needed-in-using-controller-tp5714413.html > >> Sent from the JMeter - User mailing list archive at Nabble.com. > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
