https://issues.apache.org/bugzilla/show_bug.cgi?id=56358
Bug ID: 56358
Summary: Cookie manager does not support cross port cookies
Product: JMeter
Version: 2.11
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
If you run a ThreadGroup which hits the same server, same domain, different
ports, the cookies generated on Port A (ie Set-Cookie header) will not be sent
to port B.
Quote from RFC:
http://tools.ietf.org/html/rfc6265
Similarly, cookies for a given host are shared
across all the ports on that host, even though the usual "same-origin
policy" used by web browsers isolates content retrieved via different
ports.
I have tested using IE and FireFox, and the expected behavior of cross-port
cookie transfer is supported.
Test method:
Create a test thread group with a cookie manager and any configuration will
fail (I have tried them all, all behave the same way)
Run an HTTP GET such as http://remote:10008/get/cookie
Service should set a cookie, such as
Set-Cookie: test=value;Max-Age=120;Path=/;Version=1
Run another HTTP GET on a different port such as
http://remote:10001/test/me
Expected behavior:
Cookie "test" should be provided to the server
Actual behavior:
Cookie is not provided to the server
--
You are receiving this mail because:
You are the assignee for the bug.