I have created a SOAP request Jmeter
I added an XML assertion to my test plan
But it's not enough for me
Is there a way to assert a certain value in the response XML
Let's say a certain value in a certain tag in the response XML
0
votes
If you want to check for specific tags, you can use Regular Expression Extractor in your test plan. jmeter.apache.org/usermanual/…
– NaveenKumar Namachivayam
1 Answers
0
votes
XML Assertion checks response against XSD schema, the test element you are looking for is XPath Assertion.
You will be able to add checks based on XPath language queries and validate response against expected values to conditionally fail samplers where there is a mismatch.
See How to Use JMeter Assertions in Three Easy Steps article to learn more about different JMeter assertion types.