Forum Discussion
JHunt
7 years agoCommunity Hero
Get hold of the whole value using XPath (Xpath assertion, script assertion), XmlSlurper (script assertion), Regular Expression (contains assertion, script assertion), JsonPath (JsonPath assertion), JsonSlurper (script assertion).
Then just make a direct comparison.
However, if you want a specific answer, please ask a specific question. What format is your data in? Can you give an example (i.e. an entire response message) that should match and one that shouldn't match?
Related Content
- 9 years ago
- 8 years ago
- 5 years ago