With firefox, I can see two cookies were sent back to the server. No problem. In regarding to your question about "same path", both use path=/ What else do i need to check? Thanks in advance.
Deepak Shetty wrote: > > hi > when you say same path what do you mean? > if the path for e.g. is not specified as '/' or '/cgi-bin' in th first > Set-Cookie then any request to the second url wont have the first cookie. > Can you use firefox and livehttpheaders and check how your browser > behaves? > (It is possible that the behavior you are seeing is correct and there is > some other issue) > Another problem is dont use redirect automatically(cookies set here will > not > be handled by jmeter) , use follow redirects on the HTTP Sampler > regards > deepak > > On Wed, Nov 18, 2009 at 2:03 PM, cchee <cc...@arising.net> wrote: > >> >> Both have the same domain and path, but different url and name. For >> example, >> SID (session id) from url <website>/cgi-bin/login >> XX_AT (authentication token) from url <website>/cgi-bin/pin >> >> >> Deepak Shetty wrote: >> > >> >>It seems jmeter http cookie manager only keep one cookie per domain. >> > Not true. >> > What do the two set-cookies look like? Note that there are domain and >> path >> > parameters that can be set which influence whether or not jmeter will >> send >> > the cookie with the request >> > >> > regards >> > deepak >> > >> > On Wed, Nov 18, 2009 at 9:49 AM, Chester Chee <cc...@arising.net> >> wrote: >> > >> >> >> >> Hi, >> >> >> >> I am using JMeter 2.3.4 on Ubuntu 9.10 hitting a web server with web >> apps >> >> that uses two phases authentication. To complete the authentication, >> two >> >> cookies from the website (same domain) must to presented in the GET >> >> request >> >> to the server. >> >> >> >> I had debug enabled for HTTP Cookie Manager and based on the >> information >> >> presented in jmeter.log, I know for sure that the server did send two >> >> Set-Cookie: with different cookie names back in its responses. And the >> >> jmeter log indicate both are received and store. But only one is found >> >> when >> >> look up and that was the last one being sent. >> >> >> >> It seems jmeter http cookie manager only keep one cookie per domain. >> >> >> >> Is this true? If so, I don't think this the case with normal browser >> >> nowadays. Is there a workaround for this? May be configuration >> parameter >> >> i >> >> can specified to overcome this in jmeter.properties? Or this is a bug? >> >> Anyone experience the similar issue? >> >> >> >> Your kind attention and prompt responses are very much appreciated. >> >> Thanks >> >> in advance. >> >> >> >> Regards, >> >> Chester >> >> -- >> >> View this message in context: >> >> http://old.nabble.com/JMeter-Cookie-Manager-tp26412473p26412473.html >> >> Sent from the JMeter - User mailing list archive at Nabble.com. >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org >> >> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://old.nabble.com/Re%3A-JMeter-Cookie-Manager-tp26415243p26416606.html >> Sent from the JMeter - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org >> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org >> >> > > -- View this message in context: http://old.nabble.com/Re%3A-JMeter-Cookie-Manager-tp26415243p26585084.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org