https://issues.apache.org/bugzilla/show_bug.cgi?id=46332
Summary: HTTP Cookie Manager ignores manually defined cookies
Product: JMeter
Version: Nightly (Please specify date)
Platform: PC
OS/Version: Mac OS X 10.4
Status: NEW
Severity: major
Priority: P2
Component: HTTP
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Created an attachment (id=22986)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22986)
Test case with Cookie Manager and HTTP Sampler
The HTTP Cookie Manager ignores cookies that have been manually defined in the
UI, but cookies sent by the server are correctly honored.
After commenting out the call to clearCookies() in CookieManager.testStart() at
line 448, cookies are sent again.
Affects trunk at r707810 (
https://svn.apache.org/viewcvs.cgi?view=rev&rev=707810 ), nightly build r712398
( https://svn.apache.org/viewcvs.cgi?view=rev&rev=712398 ) (2008-11-08), and
current trunk
(r722907 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=722907 )).
Does not affect trunk at r701738 (
https://svn.apache.org/viewcvs.cgi?view=rev&rev=701738 ) (last change to
CookieMananger before
r707810 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=707810 )).
Does not affect release 2.3.2
Steps to Reproduce: (see attached)
1-Create new test plan
2-Add a Thread Group
3-Add an HTTP Cookie Manager
4-Add a cookie (eg, name=mycookie, value=inedible, domain=www.google.ca,
path=/, secure=no)
5-Add an HTTP Request (eg, server=www.google.ca, path=/)
6-Add a Results Tree
7-Run test
Expected Results:
- In results tree, under Request tab, "mycookie=inedible" is present in Cookie
Data
Actual Results:
- "[no cookies]"
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]