Greetings !!
I'm in a process of building performance scripting for Pega 7.4 cloud
application.
My script is getting failed if I use any cookie policies except "netscape" from
the HTTP Cookie Manager. Though it works with "netscape" cookie policy Jmeter
creates following error entries in the log. I have tried from Jmeter 4.0 to
5.1.1 and got the same results.
Is this something known product issue which can be planned to fix with later
version OR if you have an alternative technical solution would be really
helpful ?
This is the error log:
2019-07-05 10:20:28,313 ERROR o.a.j.p.h.c.HC4CookieHandler: Unable to add the
cookie
org.apache.http.cookie.MalformedCookieException: Invalid 'expires' attribute:
Fri, 12 Jul 2019 14:20:28 GMT
at
org.apache.http.impl.cookie.BasicExpiresHandler.parse(BasicExpiresHandler.java:64)
~[httpclient-4.5.7.jar:4.5.7]
at
org.apache.http.impl.cookie.CookieSpecBase.parse(CookieSpecBase.java:113)
~[httpclient-4.5.7.jar:4.5.7]
at
org.apache.http.impl.cookie.NetscapeDraftSpec.parse(NetscapeDraftSpec.java:134)
~[httpclient-4.5.7.jar:4.5.7]
at
org.apache.jmeter.protocol.http.control.HC4CookieHandler.addCookieFromHeader(HC4CookieHandler.java:125)
[ApacheJMeter_http.jar:5.1.1 r1855137]
at
org.apache.jmeter.protocol.http.control.CookieManager.addCookieFromHeader(CookieManager.java:361)
[ApacheJMeter_http.jar:5.1.1 r1855137]
at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.saveConnectionCookies(HTTPHC4Impl.java:1729)
[ApacheJMeter_http.jar:5.1.1 r1855137]
at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:652)
[ApacheJMeter_http.jar:5.1.1 r1855137]
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:67)
[ApacheJMeter_http.jar:5.1.1 r1855137]
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1231)
[ApacheJMeter_http.jar:5.1.1 r1855137]
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1220)
[ApacheJMeter_http.jar:5.1.1 r1855137]
at
org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:622)
[ApacheJMeter_core.jar:5.1.1 r1855137]
at
org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:546)
[ApacheJMeter_core.jar:5.1.1 r1855137]
at
org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:486)
[ApacheJMeter_core.jar:5.1.1 r1855137]
at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:253)
[ApacheJMeter_core.jar:5.1.1 r1855137]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]
Regards,
Nuwan
________________________________
"Virtusa has been recognized as one of the top 20 global IT service providers
in Everest Group's 2018 PEAK Matrix Service Provider of the Year(tm) awards;
Named as an Outsourcing Leader and an All Star Company in IAOP's 2018 Global
Outsourcing 100; Recognized as the Most Innovative Technology Company of the
Year at the 2017 American Business Awards; Positioned as a Top 15 Sourcing
Service Provider by Information Services Group (ISG)."
________________________________
This message, including any attachments, contains confidential information
intended for a specific individual and purpose, and is intended for the
addressee only. Any unauthorized disclosure, use, dissemination, copying, or
distribution of this message or any of its attachments or the information
contained in this e-mail, or the taking of any action based on it, is strictly
prohibited. If you are not the intended recipient, please notify the sender
immediately by return e-mail and delete this message.
________________________________