I am using https protocol with 3 headers to test API. My test succeeds in postman but I get response code 401 ( unauthorized ) when setting up and running in jmeter. I’m using same value for header parameter in postman and jmeter.
This is my request in jmeter:
POST https://url
POST data:
room_id=id
[no cookies]
Request Headers:
Connection: keep-alive
token: token
member_id: id
Content-Type: application/x-www-form-urlencoded
Content-Length: 32
Host: host
User-Agent: Apache-HttpClient/4.2.6 (java 1.5)