You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Graham Breeze <gb...@breezetech.com> on 2001/06/10 09:04:53 UTC

Cookies under 1.6a

Has anyone been able to get cookies working with the "Cookie Manager" under
1.6a? I am running into many problems trying to test some sites that are
"cookie dependent" using 1.6a.

Thinking this was something I was doing wrong, I wrote a simple set of
servlets - one to set  a client cookie and the other to read it back and
confirm it's contents. When I try to run a test against these URLs (which
work perfectly with a browser) with Jmeter, the cookie never appears to get
set, in the "Cookie Manger", or elsewhere (as it can't be read back, nor
does it appear to exist). To try and track this a bit further, I manually
added serveral cookies to the "Cookie Manager" and even those can not be
read by the servlet I wrote which attempts to fetch them (which is easily
achieved in a browser).

Am I missing something in my set-up of the Cookie Manager (it's directly
under the "Thread" in my test tree, though I've tried it just about
everywhere) in my test set-up, or is cookie support broken in 1.6a?

Thanks,
Graham


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Cookies under 1.6a

Posted by Mike Stover <ms...@apache.org>.
I'm not sure what's going wrong for you.  If you could download the latest 
version (1.6.1) and try again, I'd be glad to help you if you're still having 
problems.

-Mike


On Sunday 10 June 2001 07:04, Graham Breeze wrote:
> Has anyone been able to get cookies working with the "Cookie Manager" under
> 1.6a? I am running into many problems trying to test some sites that are
> "cookie dependent" using 1.6a.
>
> Thinking this was something I was doing wrong, I wrote a simple set of
> servlets - one to set  a client cookie and the other to read it back and
> confirm it's contents. When I try to run a test against these URLs (which
> work perfectly with a browser) with Jmeter, the cookie never appears to get
> set, in the "Cookie Manger", or elsewhere (as it can't be read back, nor
> does it appear to exist). To try and track this a bit further, I manually
> added serveral cookies to the "Cookie Manager" and even those can not be
> read by the servlet I wrote which attempts to fetch them (which is easily
> achieved in a browser).
>
> Am I missing something in my set-up of the Cookie Manager (it's directly
> under the "Thread" in my test tree, though I've tried it just about
> everywhere) in my test set-up, or is cookie support broken in 1.6a?
>
> Thanks,
> Graham
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org

-- 
Mike Stover
mstover1@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org