title: Extracting a value from jmeter response and exporting it to a csv file
body: <p>I need to know how can I extract a value from response in <code>jmeter</code> and export it to a csv file.</p>
  
  <p>Suppose my response is like this:</p>
  
  <pre><code>&lt;ns3:UpdateConsumerResponse
          xmlns:ns3="http://Pandora.NextGenCRM.Integrations.UpdateConsumerResponse"
          xmlns:ns0="http://tempuri.org/" 
          xmlns:ns1="http://schemas.datacontract.org/2004/07/Pandora.Xrm.DataModel.Request"
          xmlns:ns2="http://schemas.datacontract.org/2004/07/Pandora.Xrm.DataModel.Response"&gt;
      &lt;MasterConsumerID&gt;
          CRM-CONID-000000519344
      &lt;/MasterConsumerID&gt;
  &lt;/ns3:UpdateConsumerResponse&gt;
  </code></pre>
  
  <p>I need to extract the master consumer value and export it to an csv file.</p>