Sandeep Sharma
Sandeep Sharma

Reputation: 109

JMeter Cookie Manager not sending / passing certain cookie

I am extracting cookies from the previous HTTP Requests and then passing onto subsequent requests. Except 2 cookies everything else passed successfully. An idea what else I could do to make this work?

CookieManager

Any help would be appreciated.

Upvotes: 0

Views: 801

Answers (1)

Dmitri T
Dmitri T

Reputation: 168002

My expectation is that standard cookie policy requires "Domain" field presence, moreover it needs to match the URL of the HTTP Request sampler,

So options are in:

  • Populate Domain field with the hostname of the application under test
  • Play with Cookie Policy dropdown value, i.e. you could try changing policy to netscape which is less "strict"

However you are not supposed to add cookies manually, HTTP Cookie Manager should automatically handle the cookies. See HTTP Cookie Manager Advanced Usage - A Guide article for more information on Cookie Manager configuration and troubleshooting if needed.

Upvotes: 1

Related Questions