That explains it - sorry, I'd overlooked that part of your question.

I'll update the documentation - it does not even mention the checkbox
at present, and the screen shot does not show it.

S.
On 07/03/06, Shih-Chen Chiang <[EMAIL PROTECTED]> wrote:
> Sebb,
>
> Thank you for pointing it out.  The problem occurred because I put the
> Cookie Manager inside of a Loop Controller and expected it to clear the
> cookie after each iteration of the Loop Controller.  The Cookie Manager
> would not work this way.  But for the Thread Group looping, it will
> clear the cookie.
>
> Thanks,
> Shirley
>
> -----Original Message-----
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 07, 2006 12:48 PM
> To: JMeter Users List
> Subject: Re: How to clear the cookie from the HTTP Cookie Manager after
> each iteration of a Loop Controller?
>
> Works OK for me, using the following simple test:
>
> ThreadGroup - 2 loops
> - Cookie Manager Clear Each Iteration
> - HTTP Sampler 1
> - HTTP Sampler 2
>
> Both Samplers accessing the same URL.
>
> HTTP Sampler 2 sends the cookie returned by HTTP Sampler 1, but HTTP
> Sampler 1 only sends a cookie on the second iteration if "Clear Each
> Iteration" is not set.
>
> If you are still having problems, then please file a Bugzilla issue, and
> attach the simplest possible test plan that shows the problem, along
> with jmeter.log.
>
> S.
> On 06/03/06, Shih-Chen Chiang <[EMAIL PROTECTED]> wrote:
> > I expected the first HTTP request should have no cookie for each
> > iteration since the cookie has been cleared before starting the next
> > iteration.  But the first HTTP request, after the first iteration,
> > recorded the same cookie all the time.  I gathered this information
> > from the Request part of View Results Tree.
> >
> > Thanks,
> > Shirley
> >
> > -----Original Message-----
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 06, 2006 11:28 AM
> > To: JMeter Users List
> > Subject: Re: How to clear the cookie from the HTTP Cookie Manager
> > after each iteration of a Loop Controller?
> >
> > Are you sure that the server is not generating the same cookie?
> >
> > You should be able to see this in the Tree View.
> >
> > S.
> > On 06/03/06, Shih-Chen Chiang <[EMAIL PROTECTED]> wrote:
> > > Hi All,
> > >
> > > Is there a way to clear the cookie from the HTTP Cookie Manager
> > > after each iteration of a Loop Controller?
> > >
> > > My test case includes one Loop Controller that has a HTTP Cookie
> > > Manager and two HTTP Requests as its children.  I selected 'Clear
> > > cookies each iteration' in the HTTP Cookie Manager.  But in the View
>
> > > Result Tree, the same cookie still gets used iteration after
> > iteration.
> > >
> > > Removing the HTTP Cookie Manager will not do because I need to use
> > > the
> >
> > > cookie obtained from the first HTTP request to send with the second
> > > HTTP request.  I only want to clear the cookie stored in the HTTP
> > > Cookie Manager at the end of each iteration.
> > >
> > > Your help will be highly appreciated.
> > >
> > > Thanks,
> > > Shirley
> > >
> > > --------------------------------------------------------------------
> > > - 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]
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to