0

While running my Jmeter test I am observing too many following info logs, Using Jmeter 5.2, any clue how to exclude them from the log?

2020-08-04 06:35:10,791 INFO o.a.j.p.h.c.HC4CookieHandler: Not storing invalid cookie: <ARRAffinity=a1f37308d413bb137a826fb2decbf7470273035f292c1941d98553b758805914;Path=/;HttpOnly;Domain=<domain_url>> for URL https://application_url.com/apicountries/(Illegal 'domain' attribute "<domain_url>". Domain of origin: "application_url.com")
2020-08-04 06:35:13,469 INFO o.a.j.p.h.c.HC4CookieHandler: Not storing invalid cookie: <ARRAffinity=a1f37308d413bb137a826fb2decbf7470273035f292c1941d98553b758805914;Path=/;HttpOnly;Domain=<domain_url>> for URL https://application_url.com/apicountries/(Illegal 'domain' attribute "<domain_url>". Domain of origin: "application_url.com")
2020-08-04 06:35:19,925 INFO o.a.j.p.h.c.HC4CookieHandler: Not storing invalid cookie: <ARRAffinity=a1f37308d413bb137a826fb2decbf7470273035f292c1941d98553b758805914;Path=/;HttpOnly;Domain=<domain_url>> for URL https://application_url.com/api/countries/89 (Illegal 'domain' attribute "<domain_url>". Domain of origin: "application_url.com")
2020-08-04 06:35:27,813 INFO o.a.j.p.h.c.HC4CookieHandler: Not storing invalid cookie: <ARRAffinity=a1f37308d413bb137a826fb2decbf7470273035f292c1941d98553b758805914;Path=/;HttpOnly;Domain=<domain_url>> for URL https://application_url.com/apicountries/(Illegal 'domain' attribute "<domain_url>". Domain of origin: "application_url.com")
2020-08-04 06:35:45,154 INFO o.a.j.p.h.c.HC4CookieHandler: Not storing invalid cookie: <ARRAffinity=a1f37308d413bb137a826fb2decbf7470273035f292c1941d98553b758805914;Path=/;HttpOnly;Domain=<domain_url>> for URL https://application_url.com/apicountries/(Illegal 'domain' attribute "<domain_url>". Domain of origin: "application_url.com")
1

Add the next line to log4j2.xml file (lives in "bin" folder of your JMeter installation):

<Logger name="org.apache.jmeter.protocol.http.control.HC4CookieHandler" level="off" />

JMeter restart will be required in order to apply the change.

More information:

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.