You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Bill Herndon <bh...@kodakgallery.com> on 2005/12/19 19:10:35 UTC

Jmeter 2.1.1 Processing of Set-Cookie Headers?

All,

I could not find a reference in the Bugzilla to any issues dealing with JMeter's processing of set-cookie headers (v2.1.1) that dealt with the following:

Looks to me liike when a set-cookie header containing no path attribute is received, the entire requested URL, including the page itself, is used for the lookup key.  So that, on the next request, no cookie headers are added unless the page is the exact same page as in previous request.  Really bolluxes-up my test plans that use redirects during logon. 

I know that the Netscape cookie specification is not clear on this topic, but most browsers seem to interpret the lack of a path attribute as "use the root path" (i.e., "/").  I've patched this in my own version of 2.1.1.  For the developers in the group the problem seems to be at lines 327 through 333 of class org.apache.jmeter.protocol.http.control.CookieManager.java.

Anybody know about this?  Patched already, maybe (he said hopefully)?

Thanks,

Bill

_________________________________________________
William Herndon                           Kodak Imaging Network
bherndon@kodakgallery.com                       510.229.1114