HTTP request sampler does not send Body data if HTTP GET call is requested with body data. In other words, there is no way to make HTTP request equivalent to the following cURL curl -XGET http://host/endpoint -d "request_body" REST API with Body Data is exposed as a standard API in Elasticsearch https://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-request-body.html and there is no way to test the performance of those APIs with JMeter.
Created attachment 34435 [details] Patch fixing the issue
Author: pmouawad Date: Sat Nov 12 00:17:58 2016 New Revision: 1769364 URL: http://svn.apache.org/viewvc?rev=1769364&view=rev Log: Bug 60358 - Http Request : Allow sending Body Data for HTTP GET request Put back the mention of bug delete in r1769202 Update documentation which was wrong for DELETE and update it for GET Bugzilla Id: 60358 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java jmeter/trunk/xdocs/changes.xml jmeter/trunk/xdocs/usermanual/component_reference.xml
*** Bug 57739 has been marked as a duplicate of this bug. ***
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4168