You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ch...@labware.com on 2006/10/25 10:54:39 UTC
Ignore cookies (cookie management policy)
Hi all,
I had run my tests by configuring jmeter for two cases:
With an HTTP cookie manager at the thread group level with the cookie
policy set to "compatibility".
With an HTTP cookie manager at the the thread group level with the cookie
policy set to "ignoreCookies".
I am using Jmeter2.2 and the Sampler that I am using HTTP Request HTTP
Client in both the cases. But I dont see any differences when i look at
the Sampler Result Tab of the View Results Tree Listener(also attached at
the thread group level). In both cases I see that cookies are set in the
response of the first request and Jmeter sends those cookies back in all
subsequent requests.
I want to know what is the effect of setting the cookie policy to
"ignoreCookies"?
Regards,
Subhrajyoti
Mobile: +919830079545
Mail: choudhury@labware.com
Web: www.labware.com
LabWare LIMS Solutions - Results Count
Re: Ignore cookies (cookie management policy)
Posted by sebb <se...@gmail.com>.
That's probably a bug then. If you want to ignore cookies, for now
you'll have to remove or disable the cookie manager.
On 25/10/06, Choudhury@labware.com <Ch...@labware.com> wrote:
> Well I am setting the cookie policy in the cookie manager by selecting
> from the Cookie policy drop down box.You said "JMeter sets the HTTPClient
> cookie policy to "ignoreCookies". This is
> because JMeter uses the Cookie Manager to determine whether or not to
> send cookies." But I am not seeing the effect because Jmter is still
> sending cookies even if the policy is set to "ignoreCookies". I have
> double checked it by seeing the Request tab of View Results Tree Listener.
>
> Regards,
>
> Subhrajyoti
> Mobile: +919830079545
> Mail: choudhury@labware.com
> Web: www.labware.com
>
> LabWare LIMS Solutions - Results Count
>
>
>
> sebb <se...@gmail.com>
> 10/25/2006 02:39 PM
> Please respond to
> "JMeter Users List" <jm...@jakarta.apache.org>
>
>
> To
> "JMeter Users List" <jm...@jakarta.apache.org>
> cc
>
> Subject
> Re: Ignore cookies (cookie management policy)
>
>
>
>
>
>
> On 25/10/06, Choudhury@labware.com <Ch...@labware.com> wrote:
> > Hi all,
> > I had run my tests by configuring jmeter for two cases:
> > With an HTTP cookie manager at the thread group level with the cookie
> > policy set to "compatibility".
> > With an HTTP cookie manager at the the thread group level with the
> cookie
> > policy set to "ignoreCookies".
>
> Not sure where you are setting the policy.
>
> > I am using Jmeter2.2 and the Sampler that I am using HTTP Request HTTP
> > Client in both the cases. But I dont see any differences when i look at
> > the Sampler Result Tab of the View Results Tree Listener(also attached
> at
> > the thread group level). In both cases I see that cookies are set in
> the
> > response of the first request and Jmeter sends those cookies back in all
> > subsequent requests.
>
> JMeter sets the HTTPClient cookie policy to "ignoreCookies". This is
> because JMeter uses the Cookie Manager to determine whether or not to
> send cookies.
>
> If you don't want to send cookies, then just make sure that there is
> no cookie manager in scope for the relevant samplers.
>
> > I want to know what is the effect of setting the cookie policy to
> > "ignoreCookies"?
>
> > Regards,
> >
> > Subhrajyoti
> > Mobile: +919830079545
> > Mail: choudhury@labware.com
> > Web: www.labware.com
> >
> > LabWare LIMS Solutions - Results Count
> >
>
> ---------------------------------------------------------------------
> 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
Re: Ignore cookies (cookie management policy)
Posted by Ch...@labware.com.
Well I am setting the cookie policy in the cookie manager by selecting
from the Cookie policy drop down box.You said "JMeter sets the HTTPClient
cookie policy to "ignoreCookies". This is
because JMeter uses the Cookie Manager to determine whether or not to
send cookies." But I am not seeing the effect because Jmter is still
sending cookies even if the policy is set to "ignoreCookies". I have
double checked it by seeing the Request tab of View Results Tree Listener.
Regards,
Subhrajyoti
Mobile: +919830079545
Mail: choudhury@labware.com
Web: www.labware.com
LabWare LIMS Solutions - Results Count
sebb <se...@gmail.com>
10/25/2006 02:39 PM
Please respond to
"JMeter Users List" <jm...@jakarta.apache.org>
To
"JMeter Users List" <jm...@jakarta.apache.org>
cc
Subject
Re: Ignore cookies (cookie management policy)
On 25/10/06, Choudhury@labware.com <Ch...@labware.com> wrote:
> Hi all,
> I had run my tests by configuring jmeter for two cases:
> With an HTTP cookie manager at the thread group level with the cookie
> policy set to "compatibility".
> With an HTTP cookie manager at the the thread group level with the
cookie
> policy set to "ignoreCookies".
Not sure where you are setting the policy.
> I am using Jmeter2.2 and the Sampler that I am using HTTP Request HTTP
> Client in both the cases. But I dont see any differences when i look at
> the Sampler Result Tab of the View Results Tree Listener(also attached
at
> the thread group level). In both cases I see that cookies are set in
the
> response of the first request and Jmeter sends those cookies back in all
> subsequent requests.
JMeter sets the HTTPClient cookie policy to "ignoreCookies". This is
because JMeter uses the Cookie Manager to determine whether or not to
send cookies.
If you don't want to send cookies, then just make sure that there is
no cookie manager in scope for the relevant samplers.
> I want to know what is the effect of setting the cookie policy to
> "ignoreCookies"?
> Regards,
>
> Subhrajyoti
> Mobile: +919830079545
> Mail: choudhury@labware.com
> Web: www.labware.com
>
> LabWare LIMS Solutions - Results Count
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Ignore cookies (cookie management policy)
Posted by sebb <se...@gmail.com>.
On 25/10/06, Choudhury@labware.com <Ch...@labware.com> wrote:
> Hi all,
> I had run my tests by configuring jmeter for two cases:
> With an HTTP cookie manager at the thread group level with the cookie
> policy set to "compatibility".
> With an HTTP cookie manager at the the thread group level with the cookie
> policy set to "ignoreCookies".
Not sure where you are setting the policy.
> I am using Jmeter2.2 and the Sampler that I am using HTTP Request HTTP
> Client in both the cases. But I dont see any differences when i look at
> the Sampler Result Tab of the View Results Tree Listener(also attached at
> the thread group level). In both cases I see that cookies are set in the
> response of the first request and Jmeter sends those cookies back in all
> subsequent requests.
JMeter sets the HTTPClient cookie policy to "ignoreCookies". This is
because JMeter uses the Cookie Manager to determine whether or not to
send cookies.
If you don't want to send cookies, then just make sure that there is
no cookie manager in scope for the relevant samplers.
> I want to know what is the effect of setting the cookie policy to
> "ignoreCookies"?
> Regards,
>
> Subhrajyoti
> Mobile: +919830079545
> Mail: choudhury@labware.com
> Web: www.labware.com
>
> LabWare LIMS Solutions - Results Count
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org