I have a simple thread group with HTTP requests as below:
Do Login - POST request
- grab the authorization bearer token
Get eventId - GET request
- This is a simple HTTP GET request like this http://server_ip:8080/rest/v1/events/1234567
- Pass the authorization bearer token in HTTP Header Manager
When I run the above, the Login post request goes through fine. I get a 200 OK and the response header ad message looks fine. But the 'Get eventId' request fails and returns a 400 Bad Request.
However when I start JMeter to go through the proxy like below, the 'Get eventId' request returns a 200 OK and the response looks as expected. jmeter.bat -H 127.0.0.1 -P 8888
I am not sure what I am doing wrong?