Reputation: 31
I want to test the performance of graphics API, but Jmeter shows me the error of 400(Bad request) every time.
what I am doing is this:-
1.Created an Http Header Manager and provided respective content type and tokens
2.Created an HTTP Request
In Body:- Provided Graphql query(formatted query which postman accept) 3.Added a Listener
Every time it is showing Bad request but the same process works fine with Postman.
Please help.
Upvotes: 3
Views: 1748
Reputation: 168147
If your requests works fine in Postman you can just record it with JMeter
Prepare JMeter for recording. The easiest way is using JMeter Templates feature.
Prepare Postman for recording. Configure it to use JMeter as a Global Proxy
Execute your test in Postman
Upvotes: 2