I have a list of links in a table. One link from table is shown below:
<a href="/hix/entity/assisteradmin/viewassisterinformation?assisterId=CSyTid9fDmtJ4OqoMA3mvA">
A1 Counselor
</a>
in an HTML response in JMeter.
I am trying to get the value of assisterId (CSyTid9fDmtJ4OqoMA3mvA) from the href link text from the HTML response through JMeter.
Can someone please help me through this?
I'm not familiar with JMeter, but in xpath point of view, you can try using
substring-after()
function to extract text that occurs after"assisterId="
, something like this :output in xpath tester, given the above HTML snippet as input :