https://bz.apache.org/bugzilla/show_bug.cgi?id=63520
Bug ID: 63520
Summary: Malformed Cookie Exception When Jmeter tries to add
Amazon AWSALB Cookie
Product: JMeter
Version: 3.3
Hardware: PC
Status: NEW
Severity: blocker
Priority: P2
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: JMETER_5.2
Greetings!
I need to do load testing on Amazon AWS cloud for an application which requires
Sticky sessions. AWS ELB sends a cookie called AWSALB for sticky sessions.
JMeter is not able to add the cookie as it finds it to be malformed. I do not
want to run the test without disabling Sticky sessions, hence, the cookie will
exist. How do i make sure JMeter accepts this cookie?
I tried using all the Cookie Manager's policy inc Netscape but this doesn't
work and gives me the below exception. Can someone please look into this.
Typical Cookie:
AWSALB=Xvt/JIiJPAVz4+lK8F+ULq2317adfZ/mRzKPEzQ2gH7PBJU77S8eUZpZpleVCm6ooYzkhyxA5eUIkCOSOB4jIoKzLYG71rtQ9y9/F/OWJRYgHMKiCCD0p122YUyn;
Expires=Mon, 24 Jun 2019 11:23:51 GMT; Path=/
Error in Jmeter Log:
2019-06-17 16:53:54,532 ERROR o.a.j.p.h.c.HC4CookieHandler: Unable to add the
cookie org.apache.http.cookie.MalformedCookieException: Invalid 'expires'
attribute: Mon, 24 Jun 2019 11:23:54 GMT at
org.apache.http.impl.cookie.BasicExpiresHandler.parse(BasicExpiresHandler.java:64)
~[httpclient-4.5.3.jar:4.5.3] at
org.apache.http.impl.cookie.CookieSpecBase.parse(CookieSpecBase.java:113)
~[httpclient-4.5.3.jar:4.5.3] at
org.apache.http.impl.cookie.NetscapeDraftSpec.parse(NetscapeDraftSpec.java:134)
~[httpclient-4.5.3.jar:4.5.3]
Many Thanks,
Suhail
--
You are receiving this mail because:
You are the assignee for the bug.