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.html using the 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]

