its probably better to change this from a Pre Processor to a BSH sampler as the first step within your loop , the test script is then explicit about whats going on. regards deepak
On Wed, Jul 22, 2009 at 6:04 AM, Renou, Stéphane <[email protected] > wrote: > Thanks a lot that was my issue. > > -----Original Message----- > From: Deepak Shetty [mailto:[email protected]] > Sent: Tuesday, July 21, 2009 7:11 PM > To: JMeter Users List > Subject: Re: Ability to clear cookies inside a loop > > Shouldnt the clear cookie be a pre processor for Cal Page Three (and not > for > the loop) > regards > deepak > > On Tue, Jul 21, 2009 at 10:05 AM, Renou, Stéphane < > [email protected]> wrote: > > > I am sorry to come back to that issue but running that test, and clearing > > cookies in the middle of the thread, cookies are not stored anymore after > > the clearing. Is this normal behavior? > > > > Clearing cookies was done according to what you described in the > following > > post: > > > http://www.nabble.com/JMeter-2.3.1-bug-in-Cookie-Manager-%22clear-each-iteration%22-td14343027.htmlusingthe > BeanSheal Pre processor. > > > > > > My scenario can be summarized to > > http cookie Manager > > Thread group > > Call Page one (response is setting JSESSIONID) > > Call Page two (request has JSESSIONID > > > > Start Loop > > ClearCookie > > Call Page Three (no cookie and page is setting new > > JSESSIONID) > > Call Page 4 (but here Jmeter does not submit the latest > > JsessionId) > > > > I also tried adding the cookie manager inside the thread group without > > success. > > > > I am using Jmeter 2.3.4 > > > > > > Thank you > > > > -----Original Message----- > > From: Renou, Stéphane [mailto:[email protected]] > > Sent: Tuesday, July 21, 2009 5:56 PM > > To: JMeter Users List > > Subject: RE: Ability to clear cookies inside a loop > > > > Trying to reproduce the issue to give you the information I see my > cookies > > cleared, sorry for the inconvenience. > > > > -----Original Message----- > > From: sebb [mailto:[email protected]] > > Sent: Tuesday, July 21, 2009 3:05 PM > > To: JMeter Users List > > Subject: Re: Ability to clear cookies inside a loop > > > > On 07/07/2009, Renou, Stephane <[email protected]> wrote: > > > Hi all, > > > > > > > > > > > > In my scenario, I am creating a loop and I would like to clear my > > > cookies for each iteration of the loop. I tried to use > > > sampler.getCookieManager().clear(); > > > > Where did you put this code ? > > > > > But that did not work. > > > > Any errors in jmeter.log? > > > > > Would you have any idea on how I could perform this? > > > > > > > > > Thanks in advance > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > 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] > > > > > > --------------------------------------------------------------------- > > 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] > >

