I'm trying to use the Regular Expression Extractor in JMeter. When I try to parse the following string:
8EC4146730CC4A27afMCCam3ZeAl4uWt3qMMi9cE7Q5YtIkS5BDaba6bI1cgv41dm07wWlFjAmCcRLd97tmLyuO0ycKflQzhaoQS68CGaRo1oqsL1ZQyLGJMM
From the html snippet:
<a href="siw_portal.url8EC4146730CC4A27afMCCam3ZeAl4uWt3qMMi9cE7Q5YtIkS5BDaba6bI1cgv41dm07wWlFjAmCcRLd97tm-LyuO0ycKflQzhaoQS68CGaRo1oqsL1ZQyLGJMM" id="STU_COURSE" title="Your course">YourCourse</a>
</dt>
Using this Regular Expression:
<a href='siw_portal.url\?([^"]+)' id="STU_COURSE" title='Your course'>Your Course</a>
</dt>
And Template is set to $1$.
The Regular Expression Extractor doesn't find the string.
Any ideas on why this isn't working, or how to debug this will be much appreciated.
Thanks
\?
do afterurl
in the regex? – CharlieS