title: Sending a JSON POST request with BSF Preprocessor
body: <p>I am working with JMeter to write some performance tests. One of the things that I need to do is to construct a huge json request dynamically and send it as POST request paylod. Using BSF preprocessor, I am able to modify the payload dynamically however my javascript string is being encoded, while I want to send it without being encoded. </p>
  
  <p>I am not sure how BSF preprocessor can stop it from being encoded. The command I currently use to change my POST request payload is as follows:</p>
  
  <pre><code>var jsonData = '[{"item":"value","something":"everything"}]';
  sampler.addArgument("",jsonData);
  </code></pre>
  
  <p>I would really appreciate if you can point me to some examples which clearly explain how bsf preprocessors are expected to be used.</p>
  
  <p>Any pointers to skip the encoding will also be appreciated.</p>