jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Ability to clear cookies inside a loop
Date Tue, 21 Jul 2009 17:11:20 GMT
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 <
stephane.renou@genesys.com> 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.htmlusing
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:stephane.renou@genesys.com]
> 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:sebbaz@gmail.com]
> 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 <Stephane.Renou@genesys.com> 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: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message