jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shih-Chen Chiang" <schi...@llbean.com>
Subject RE: How to clear the cookie from the HTTP Cookie Manager after each iteration of a Loop Controller?
Date Mon, 06 Mar 2006 16:55:02 GMT
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:sebbaz@gmail.com] 
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 <schiang@llbean.com> 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: 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
View raw message