You need to basically send a JSON Object with "query" attribute and put the
GraphQL query there making sure to properly escape the query itself so it
would be a valid JSON. 

In general  according to JMeter Best Practices you should always use the
latest version of JMeter
<https://jmeter.apache.org/usermanual/best-practices.html#use_latest_version>  
and  JMeter 5.4
<https://www.blazemeter.com/blog/introducing-jmeter5-4-new-features-and-abilities>
  
and above come with  GraphQL HTTP Request
<https://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request>  
sampler where you can put your GraphQL query as it is without having to
encode something. 



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to