I know it's a hack, but maybe you could have a servlet or something that times-out all of the connections, and just run that in between each test?
-- Regards, joe Joe Casadonte Global Logistics Technologies, Inc. [EMAIL PROTECTED] 1016 West Ninth Avenue King of Prussia, PA 19406 610-491-9881 > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 18, 2003 12:49 PM > To: [EMAIL PROTECTED] > Subject: RE: Logging out Users > > > Thanks for the info. > > The application does auto-logout someone after a certain > amount of time. We > want to schedule load testing for 5,10,20,35,50 users each in > 10 minute time > intervals in quick succession. I don't want to have to wait > in between > tests for the users to logout. > > -John > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 18, 2003 12:42 PM > To: JMeter Users List > Subject: RE: Logging out Users > > Oh, you're right - the cookiemanager specifically won't work > here (I tested > on a Timer because > it was easier). The issue is that you need the exact same > CookieManager > object to carry over > from ThreadGroup to ThreadGroup, which would be tough to do. > First of all, > JMeter would have > to ensure that both threadgroups had the same number of > threads, then grab > the objects from > thread #1 of the first threadgroup and hand it to thread #1 > of the second > thread group. And this > might produce undesired behavior for some types of components > (though it is > the desired > behavior for cookie managers - the engine code knows nothing > about cookie > managers being a > special type of test component). > > Not to say it couldn't be done, but it's not a quick enhancement. > > It appears we only have partial solutions to your problem > currently (ie, > don't use scheduled > threadgroups, and you can do it Sebastian's original way). > On another note, > however - > shouldn't you fix an application that is dependent on users > manually logging > out? What if they > close their browser without logging out? What if they move > to a different > website? > > -Mike > > On 18 Jun 2003 at 12:25, [EMAIL PROTECTED] wrote: > > > Am I doing something wrong? I have: > > Test Plan > > Cookie Mgr > > TGroup1 (2 threads) > > Login (Once Only Controller) > > Test1 > > Test2 > > TGroup2 (2 threads) > > Logout (Once Only Controller) > > > > The Logout creates a new session for each thread rather > than resuming a > > session from the previous ThreadGroup. Is there some way I > can carry this > > over? > > > > John > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, June 18, 2003 11:59 AM > > To: JMeter Users List > > Subject: RE: Logging out Users > > > > Actually, both work fine - i just tried it. You can add a > cookiemanager > at > > the > > test plan level, and you can use a scheduled threadgroup in serial - > though > > it > > would probably be difficult to do a scheduled threadgroup > other than as > the > > first threadgroup in the test plan. > > > > -Mike > > > > On 18 Jun 2003 at 11:03, [EMAIL PROTECTED] wrote: > > > > > I assume the serial processing means that I select "Run > each Thread > Group > > > separately" on the test plan. This does work for > looping, but does not > > seem > > > to work if I schedule the first thread group. The more I > think about it > > > even if I do get it working I think I will still have a > problem logging > > out > > > of a session in group2 that was created in group1. I > don't believe it's > > > possible to share a cookie manager between thread groups. > The second > > thread > > > group has no way of knowing how many threads (and thus > unique sessions) > > were > > > kicked off in the first group. > > > > > > John > > > > > > -----Original Message----- > > > From: Jonathan Kwadzo [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, June 18, 2003 10:51 AM > > > To: JMeter Users List > > > Subject: RE: Logging out Users > > > > > > I haven't tryed the new serially run thread groups yet. > But does this > > > guarantee that the second thread group will start running > only when the > > > first ended completely, even if I configure the first > thread group to > run > > > for several loops? This means is the first thread is > configure to loop > > > forever, the second one will never start?... > > > > > > Jonathan > > > > > > -----Message d'origine----- > > > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Envoy� : June 18, 2003 8:47 AM > > > � : JMeter Users List > > > Objet : RE: Logging out Users > > > > > > > > > Ooh, good idea! > > > > > > On 18 Jun 2003 at 13:37, BAZLEY, Sebastian wrote: > > > > > > > Test Plan > > > > Thread Group > > > > Once Only - Login > > > > Loop Controller - Process > > > > Thread Group > > > > Once Only - Logout > > > > > > > > And then set the thread groups to run serially? > > > > > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > > Sent: 18 June 2003 13:11 > > > > To: [EMAIL PROTECTED] > > > > Subject: RE: Logging out Users > > > > > > > > > > > > Sorry. You're correct. I was hoping to run the tests > forever and use > > the > > > > scheduler, though. Any ideas on how this could be > accomplished? > > > Thanks! > > > > > > > > --John > > > > > > > > -----Original Message----- > > > > From: BAZLEY, Sebastian > > > [mailto:[EMAIL PROTECTED] > > > > Sent: Wednesday, June 18, 2003 7:57 AM > > > > To: 'JMeter Users List' > > > > Subject: RE: Logging out Users > > > > > > > > Have you tried: > > > > > > > > Test Plan > > > > Thread Group > > > > Once Only - Login > > > > Loop Controller - Process > > > > Once Only - Logout > > > > > > > > Should work. > > > > > > > > Or perhaps I've misunderstood what you are trying to do. > > > > > > > > -- > > > > The opinions expressed herein are my own, and are not > necessarily > > > endorsed > > > > by my employer ... > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > > Sent: 18 June 2003 12:50 > > > > To: [EMAIL PROTECTED] > > > > Subject: Logging out Users > > > > > > > > > > > > I have a feeling this is more a feature request than a > question, but > can > > > > anyone tell me how I can perform a user logout after > testing. I need > > > > something like a Once Only Controller, but that runs > after the last > loop > > > > iteration at the end of my test plan. Without this I > have skewed test > > > > results if I run the test plan a second time as there are open > database > > > > resources that exist from the first run not to mention > that my user > > > > tablespace fills up very quickly. > > > > > > > > BTW-Terrific tool. Thank you. > > > > > > > > John > > > > > > > > Note: The information contained in this email and in > any attachments > is > > > > intended only for the person or entity to which it is > addressed and > may > > > > contain confidential and/or privileged material. Any review, > > > > retransmission, dissemination or other use of, or > taking of any action > > in > > > > reliance upon, this information by persons or entities > other than the > > > > intended recipient is prohibited. The recipient should > check this > email > > > and > > > > any attachments for the presence of viruses. Sender accepts no > > liability > > > > for any damages caused by any virus transmitted by this > email. If you > > have > > > > received this email in error, please notify us > immediately by replying > > to > > > > the message and delete the email from your computer. > This e-mail is > and > > > > > any > > > > response to it will be unencrypted and, therefore, potentially > unsecure. > > > > Thank you. NOVA Information Systems, Inc. > > > > > > > > > --------------------------------------------------------------------- > > > > 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] > > > > > > > > Note: The information contained in this email and in > any attachments > is > > > > intended only for the person or entity to which it is > addressed and > may > > > > contain confidential and/or privileged material. Any review, > > > > retransmission, dissemination or other use of, or > taking of any action > > in > > > > reliance upon, this information by persons or entities > other than the > > > > intended recipient is prohibited. The recipient should > check this > email > > > and > > > > any attachments for the presence of viruses. Sender accepts no > > liability > > > > for any damages caused by any virus transmitted by this > email. If you > > have > > > > received this email in error, please notify us > immediately by replying > > to > > > > the message and delete the email from your computer. > This e-mail is > and > > > > > any > > > > response to it will be unencrypted and, therefore, potentially > unsecure. > > > > Thank you. NOVA Information Systems, Inc. > > > > > > > > > --------------------------------------------------------------------- > > > > 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] > > > > > > > > > > > > > > > > -- > > > Michael Stover > > > [EMAIL PROTECTED] > > > Yahoo IM: mstover_ya > > > ICQ: 152975688 > > > AIM: mstover777 > > > > > > > --------------------------------------------------------------------- > > > 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] > > > > > > Note: The information contained in this email and in any > attachments is > > > intended only for the person or entity to which it is > addressed and may > > > contain confidential and/or privileged material. Any review, > > > retransmission, dissemination or other use of, or taking > of any action > in > > > reliance upon, this information by persons or entities > other than the > > > intended recipient is prohibited. The recipient should > check this email > > and > > > any attachments for the presence of viruses. Sender accepts no > liability > > > for any damages caused by any virus transmitted by this > email. If you > have > > > received this email in error, please notify us > immediately by replying > to > > > the message and delete the email from your computer. > This e-mail is and > > > any > > > response to it will be unencrypted and, therefore, > potentially unsecure. > > > Thank you. NOVA Information Systems, Inc. > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > -- > > Michael Stover > > [EMAIL PROTECTED] > > Yahoo IM: mstover_ya > > ICQ: 152975688 > > AIM: mstover777 > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > Note: The information contained in this email and in any > attachments is > > intended only for the person or entity to which it is > addressed and may > > contain confidential and/or privileged material. Any review, > > retransmission, dissemination or other use of, or taking of > any action in > > reliance upon, this information by persons or entities > other than the > > intended recipient is prohibited. The recipient should > check this email > and > > any attachments for the presence of viruses. Sender > accepts no liability > > for any damages caused by any virus transmitted by this > email. If you have > > received this email in error, please notify us immediately > by replying to > > the message and delete the email from your computer. This > e-mail is and > any > > response to it will be unencrypted and, therefore, > potentially unsecure. > > Thank you. NOVA Information Systems, Inc. > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > Michael Stover > [EMAIL PROTECTED] > Yahoo IM: mstover_ya > ICQ: 152975688 > AIM: mstover777 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Note: The information contained in this email and in any > attachments is > intended only for the person or entity to which it is > addressed and may > contain confidential and/or privileged material. Any review, > retransmission, dissemination or other use of, or taking of > any action in > reliance upon, this information by persons or entities other than the > intended recipient is prohibited. The recipient should check > this email and > any attachments for the presence of viruses. Sender accepts > no liability > for any damages caused by any virus transmitted by this > email. If you have > received this email in error, please notify us immediately by > replying to > the message and delete the email from your computer. This > e-mail is and any > response to it will be unencrypted and, therefore, > potentially unsecure. > Thank you. NOVA Information Systems, Inc. > > --------------------------------------------------------------------- > 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]

