enter image description hereI have a jmeter login script,,,i send 2 requests, 1 is login -options where i get the cookie and save in a header variable,,second request is the login -post request which has credentials as payload and i also set the cookie from previus req and send as a header,,the script works well in local,but when i upload to master vm and test with slave i get 401 errors
since it it working on local,is there something i should add on vms?,also on local if i remove the header i also start getting the 401,so im guessing its something to do with the header:cookie
Can it be the case you didn't set
CookieManager.save.cookies
property totrue
on the slave machine? If not please do so because each slave has its own configuration and looking into your HTTP Header Manager setup you're relying on a cookie stored in the HTTP Cookie Manager and the aforementioned property needs to be set totrue
in order to make this approach work.More information:
Another limitation could be:
However I don't think it's your case.