0

I want to know how we can get Cookies of specific website home page from browser through inspect element, and then pass cookie data to other APIs as dynamic variable in jmeter.

1 Answers1

1

In your browser developer tools there should be some form of "Network" tab which allows you inspecting a lot of things including Request Headers.

You need to take a look at Cookie header

enter image description here

Once you get these "Cookies" in form of name-value pairs you can add them to HTTP Cookie Manager like this:

enter image description here

Once done JMeter will start adding the cookies to all HTTP Requests samplers in the HTTP Cookie Manager's scope:

enter image description here

Dmitri T
  • 159,985
  • 5
  • 83
  • 133