I have a response body from one http request
and I have to extract all the values and as input to another http request
<a class="action-link"
regionName="region name"
jName="a country"
alertID="179"
onclick="showDetail(this)"> Snapshot- v4 (Active)
</a>
i tried with regex
like
- created a
post processors -> regular expression extractors
- Apply to
->
Main Sample Only - Field to check
->
Body - Name of created variable
->
regionNameVariable - Regular Expression
->
<a class="action-link" regionName=(.*?)
and passed the value as ${regionNameVariable}
in the next request.
But It is not working. Can someone suggest the correct way of doing this.