The following is the structure of your test plan that you've included. TestPlan ThreadGroup (loop once, no schedule) Loop Controller (loop 3 times) Simple Controller 1 Once Only Controller HTTP Request - login Simple Controller 2 HTTP Request A Constant Timer - 10 seconds HTTP Request - logout
I don't see how it controls running for 2 hours. How do you tell the Loop Controller to run 2 hours? I'll have to guess how many times it will loop in 2 hours?! Please elaborate. Thanks. mabel --- "Schlichting, Carsten (Z-EDV)" <[EMAIL PROTECTED]> wrote: > Sorry, I guess the attachment didn't make it through > the firewall. > > Here is the testplan I had attached. I was using > JMeter 1.9.1: > Let me know if this works for you. > > Carsten > .... > > -----Ursprüngliche Nachricht----- > Von: Remedy QA [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 27. Mai 2004 18:26 > An: JMeter Users List > Betreff: Re: AW: how to run a logout transaction > once > > > Would you just paste the code onto the email? I > didn't get any attachment. > Thanks! > Actually, I haven't tried the Once Only Controller. > From just reading the > reference, I assume that is what it should do. > > "Schlichting, Carsten (Z-EDV)" > <[EMAIL PROTECTED]> wrote: > Hi! > > Can you package everything you want to do during the > 2 hours in one > Controller and put your logout parallel to this > controller? I have attached > a sample plan that shows what I'm talking about ... > > Carsten > > P.S.: The only once controller always runs twice > rather than once for me ... > > -----Ursprüngliche Nachricht----- > Von: Remedy QA [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 26. Mai 2004 18:48 > An: JMeter Users List > Betreff: RE: how to run a logout transaction once > > > The problem with this is that in Thread Group, it is > scheduled to run for 2 > hours and loop forever. I am assuming that after 2 > hours, the looping will > stop. > > So, according to your suggestion, Simple Controller > for login and logout > will repeat and that is not what I want. I can use > Once Only Controller for > login and the Loop Controller you suggested. > However, the logout is the > problem. I cannot use Once Only Controller for > logout because the user > should not logout until 2 hours has ended. > > thanks. > > "BAZLEY, Sebastian" wrote: > Thread group > Simple Controller > Login > Loop controller > Random Controller > Simple Controller > Logout > > Or something similar. > -----Original Message----- > From: Remedy QA [mailto:[EMAIL PROTECTED] > Sent: 25 May 2004 20:14 > To: JMeter User List > Subject: how to run a logout transaction once > > > I would like to have users run these in this order > in a scheduled simulation > duration: > 1. a first set of transactions once, > 2. then run a second set randomly and repeatedly, > 3. then finally when simulation time is near the > end, run a thrid set of > transactions once. > > For the first 2 sets, I realize I can use the Once > Only Controller and > Random Controller respectively. However, I don't > know how to get the last > set to run only once at the time I want. > > The last set of transactions is essentially logout. > I would like the user > to only login/logout once through the entire > simulation. For the other > transactions, I would like the users to repeat until > the simulation time has > ended. The final action should be logout before the > simulation ends. > > Can anyone think of a way to achieve this? > > Thanks, > Mabel __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]