You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Pretterhofer, Guenter (ext.)" <Gu...@Dresdner-Bank.com> on 2002/07/05 15:01:14 UTC

Http Cookie Manager

Hi all,

hope all is well!

Maybe somebody can help me with the following problem?

In a thread group I defined a Http Cookie Manager and 2 Http Requests.
In each Http Request I call a servlet that gives me back a Cookie in the
Set-Cookie field in the http header.
I logged the Set-Cookie values that I get back from the server after every
Http Request.
For this purpose I logged the cookie value in readResponse() in
HttpSampler.java (conn.getHeaderField() ...).
I had hoped that the Set-Cookie value (JSESSIONID=...) would be the same in
both responses.

When I'm doing the same in the browser by calling the servlets via a 2 HTML
forms everything is fine.
Is there a possibility to ensure that I'm in the same Http session for 2 or
more Http Requests in Jmeter?

Thanks for your help!
Günter






--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>