I'm trying to load test a POST request API using JMeter, but I'm running into an issue. The request works perfectly in Postman, but when I run it in JMeter, I get a server error response.
I've set up the HTTP Header Manager and included the necessary headers (like Content-Type and Authorization), but I might have missed something.
Has anyone encountered a similar issue? What could be the possible reasons for JMeter failing while Postman works fine? Any advice would be greatly appreciated—my deadline is tomorrow!
Given your request works fine in Postman the easiest way of getting the same with JMeter is just recording 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 will generate the appropriate HTTP Request sampler and HTTP Header Manager
More information: How to Convert Your Postman API Tests to JMeter for Scaling