title: How to extract value passed in the URL and use it as parameter in Jmeter?
body: <p>I am using Jmeter for my performance testing and I am stuck at the point where I need to extract the value from the URL and pass it to Jmeter.</p>
  
  <p>Here is the example:</p>
  
  <p>Application requires user to create an order and then submit it on the next page</p>
  
  <p>I am at a point where I can create an order using Jmeter.</p>
  
  <p>In order to create a script to submit an order I have copied the url from the web page as passed it as a GET method '/order/submit/23'. This '23' number changes everytime I create a new order</p>
  
  <p>The issue I am having here is when I run my jmeter script it creates another order with another number which then mismatch with the '/order/submit/23' url I have passed.</p>
  
  <p>Is there any way to extract this number from the HTML code and pass it to Jmeter? </p>
  
  <p>I looked into the HTML code and this number is a part of URL so not sure how I can extract it. Any suggestions please</p>
  
  <p>I am looking for something like /order/submit/${var} </p>
  
  <p>Thanks</p>