title: JMeter - refering User Defined Variable in Http POST body
body: <p>Can someone tell me how to access user defined variable inside an attached file of the HTTP Sampler?</p>
  
  <p><strong>What I did:</strong><br>
  created an HTTP Requset Sampler (method POST);<br>
  created a variable <code>myvar</code> which is a JMeter 'Random Variable'.</p>
  
  <p><strong>Problem:</strong><br>
  When I refer <code>${myvar}</code> to populate an Http header it works but when I use it inside the file I am sending as the POST body it is not replaced but sent as it is <code>${myvar}</code>.</p>
  
  <p>Thanks in advance!</p>