Question: 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)

```

Answer: 
I will suggest you to use latest version of `Jmeter i.e. 4.0` in which concept of workbench is eliminated and everything is under Test plan now.Solution of above mentioned problem is to add HTTP Cookie Manager with default values. 

For [reference check here.](https://totallytechycom.wordpress.com/2018/03/23/how-to-deal-with-401-unauthorized-in-jmeter-4-0/)
I think you should revisit your script and check that you're having HTTP Header Manager in each request with the Authorization token. Also, you can change the content type to application JSON as this is REST.