title: Xpath Post Processor : extract node content from a SOAP response
body: <p>I have a soap response of this form</p>
  
  <pre><code>&lt;S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"&gt;
     &lt;S:Body&gt;
        &lt;ns2:Responseto xmlns:ns2="http://xyz.company.com/"&gt;
           &lt;return&gt;
              &lt;objectContent xsi:type="xs:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;/path/to/file.txt&lt;/objectContent&gt;
              &lt;objectType&gt;FILEPATH&lt;/objectType&gt;
              &lt;rid&gt;111&lt;/rid&gt;
              &lt;sid&gt;2&lt;/sid&gt;
           &lt;/return&gt;
        &lt;/ns2:Responseto&gt;
     &lt;/S:Body&gt;
  &lt;/S:Envelope&gt;
  </code></pre>
  
  <p>I wish to extract the object content in jmeter in order to feed to an xpath assertion.</p>
  
  <p>Can anyone suggest how to do this?</p>
  
  <p>I tried <code>//return/objectType</code> but then the DebugSampler shows me that the value of my variable is blank.</p>