Jmeter - get parameter from redirect URL
<p>I'm trying to write performance test. </p>

<p>In a step #1 I'm visiting url: <code>https://example.com/login?redirect_to=http://somesite.com</code> </p>

<p>This url redirects me back to <code>http://somesite.com?ticket=afsgdfasdfasg</code></p>

<p>In my JMeter script I need to extract <code>ticket</code> parameter and reuse it in a further logic.</p>

<p>Could you please tell me how it can be achieved ?</p>