How to get API response XML values in to variables in Jmeter tool? see bold color values. my plan is to assign those variables in to response assertion > 'pattern to test' for match with DB values(using Jmeter variable which comes in JDBC Response).
Extract the value from XML using XPath Extractor, the relevant XPath query would be something like
Once done you will be able to compare 2 JMeter Variables:
- the one from the XPath Extractor
with the one from the JDBC Request sampler
using Response Assertion configured like: