title: JSON Post data request in JMeter
body: <p>I have a rest web-service which accepts JSON post data but for requesting any API url, we need to pass <code>access_token</code>.<br>
  So my post data is a JSON data and <code>access_token</code> is passed as query string.</p>
  
  <ul>
  <li><p>Problem:</p>
  
  <p>As per my exploration i have not found any way to send request which can have JSON post data and also accepts Query String from the HTTP-URL-REWRITING in JMeter.</p></li>
  <li><p>Actual Request:</p>
  
  <pre><code>POST http://&lt;domain&gt;/webapp/service/document/save    
  POST data: { node = '1'}token_XXXXXX
  [no cookies]    
  Request Headers: Connection: keep-alive Content-Type: application/x-www-form-urlencoded Content-Length: 980 Host: localhost User-Agent: Apache-HttpClient/4.2.3 (java 1.5)
  </code></pre></li>
  </ul>
  
  <p>Below is the expected request data.</p>
  
  <ul>
  <li><p>Expected Request:</p>
  
  <pre><code>POST http://&lt;domain&gt;/webapp/service/document/save?access_token=token_XXXXXX    
  POST data: { node = '1'}   
  [no cookies]  
  Request Headers: Connection: keep-alive Content-Type: application/x-www-form-urlencoded Content-Length: 980 Host: localhost User-Agent: Apache-HttpClient/4.2.3 (java 1.5)
  </code></pre></li>
  </ul>
  
  <p>How should i configure it in JMeter?</p>