i am new to jmeter and i am using regular expression extractor to extract document number which is between
<showDocument> 834446$$$$1601Consent </showDocument>
which field should i check Body or Response Header
i am new to jmeter and i am using regular expression extractor to extract document number which is between
<showDocument> 834446$$$$1601Consent </showDocument>
which field should i check Body or Response Header
The relevant Regular Expression Configuration would be:
showDocument
<showDocument>(.+?)</showDocument>
$1$
You can access extracted value as ${showDocument}
where required. See Regular Expressions chapter of JMeter User Manual for more details
By the way, your response part looks like XML so it might be easier and better to consider using XPath Extractor instead. In that case XPath Tutorial would be extremely helpful.