Performing GET Requests which returns a JSON response. JMeter is getting Statua code 200 but in Response, it says: NO way found to render data. I tried the same request in POSTMAN and it is working fine.
0
votes
3 Answers
1
votes
We are not telepathic enough to state why exactly request in Postman works and request in JMeter doesn't, in general the answer would be: you're not sending the same requests.
Double check the following:
- Request URL, if request parameters have some non-ASCII data it needs to be url-encoded
- Request headers, in particular Content-Type. In JMeter request headers can be added/modified using HTTP Header Manager
- Request body (if any), again encoding might be very important
In general given your request works in Postman you can just record it using JMeter's HTTP(S) Test Script Recorder
- Start JMeter's HTTP(S) Test Script Recorder
- Run your request in Postman
- That's it, JMeter should capture the request under the Recording Controller
0
votes