title: How to use HTTP PUT using JMeter which updates a file
body: <p>I have to do load test for PUT(REST service) request which uploads a file.</p>
  
  <p>I'm able to consume successfully from Advanced Rest Client with the following info:</p>
  
  <p>Service:</p>
  
  <p><code>PUT http://localhost:8080/home/cmistest/app/documentservices/rest/nodes/upload/12178</code></p>
  
  <p>Headers:</p>
  
  <pre><code>Content-Type: multipart/form-data, Accept: application/json
  </code></pre>
  
  <p>Response:</p>
  
  <pre><code>{
    "UploadContentResponse": {
      "Id": 12179,
      "ContentUrl": "http://localhost:8080/home/cmistest/app/documentservices/rest/nodes/12179/content"
    }
  }
  </code></pre>
  
  <p>I'm unable to use PUT from JMeter.</p>
  
  <p>I can see <a href="https://stackoverflow.com/questions/9672706/jmeter-file-upload-with-http-put-method-not-working">JMeter File Upload with HTTP Put Method Not Working</a>
  But not sure which headers needs to be set.</p>