I want to know how to make UserSessionid & AppSessionid values dynamic. Kindy give me solution. As I want to pass variable as a value to UserSession & AppSession in Http sampler request header, from which response I get those values? So I can get value and pass.
Asked
Active
Viewed 83 times
1 Answers
0
Add the next line to user.properties file (lives in "bin" folder of your JMeter installation)
CookieManager.save.cookies=true
Restart JMeter to pick up the change
Add HTTP Cookie Manager to your Test Plan
That's it, now you should be able to refer the cookies from the HTTP Cookie Manager as
${COOKIE_UserSession}
and${COOKIE_AppSession}
where required
More information:

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