title: jmeter get link content with specific class with xpath extractor from html response
body: <p>I have an HTTP response that contains lots of links with the class "link product-link", for example:</p>
  
  <pre><code>&lt;a href="/a4-nw6179-womens-solid-zip-leg-pull-on-pant-sweat-pants/262361511" class="link product-link" data-external-product-id="0000000000000002088900000000000015725311P"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>I want to extract one of the links itself to use in another request </p>
  
  <pre><code>/a4-nw6179-womens-solid-zip-leg-pull-on-pant-sweat-pants/262361511
  </code></pre>
  
  <p>I wrote </p>
  
  <blockquote>
    <p>/html/body/a[contains(@class,'link product-link')]</p>
  </blockquote>
  
  <p>in the query but it didn't give back what I need. It always returns the default value. </p>