title: Extract Session ID from URL using Jmeter
body: <p>I'm using jmeter to try and test a website. I'm currently having issues extracting information that is returned.</p>
  
  <p>For instance I send a HTTP request to: </p>
  
  <pre><code>    https://intranet.company.com/Capps/f?p=101:1:
  </code></pre>
  
  <p>The website responds with: </p>
  
  <pre><code>   https://intranet.company.com/Capps/f?p=101:1:11016690116729:::::
  </code></pre>
  
  <p>The new string of numbers listed at the end of response is the session id that I must use to test other pages of the program. I've been trying to use a reg Ex extractor but I cannot seem to pull the number off the url. I am currently using jmeter 3.1</p>
  
  <p>Regular Expressions I've tired:</p>
  
  <pre><code>f?p:101:1:([0-9]{16})::
  
  f?p=([0-9]{1,3}):([0-9]{1,3}):([0-9]{16}):
  </code></pre>
  
  <p>And various similar expressions, but none have worked for me. If I set up the website with no session ids it will work, but the website is required to use session ids. </p>
  
  <p>Thanks for any help you may provide,</p>
  
  <p>Zwils0</p>