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.
Asked
Active
Viewed 355 times
1 Answers
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
Once you get these "Cookies" in form of name-value pairs you can add them to HTTP Cookie Manager like this:
Once done JMeter will start adding the cookies to all HTTP Requests samplers in the HTTP Cookie Manager's scope:

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