I have my XML Body data (attached screenshot below),
From screenshot you can see value 123456789
in Signature.
I'm looking to make 123456789
a dynamic variable value, So that JMeter automatically gets that value from server whenever I run script.
I'm looking something like Regular expression extractor but for SOAP request.
You can add Regular Expression Extractor with values:
You'll get First match of all numbers before
aSignature
end tag.It'll save value in a variable you can use later as
${aSignature}
(or vars.get("aSignature") in JSR223 component)Using Regular expression is better than using XPath according to jmeter mailing, ubik and testautomationguru.