Asserting a partial XML using regex
Hi All,
Is there any assertion in Soapui Pro, that can be used to assert the response XML partially using regex pattern.
For Eg : Lets assume the response XML is something like this below:
<root>
<a1>This is a1 test</a1>
<a2>adding a2 text</a2>
<a3>
<b1>Some random text</b1>
<c1>hello</c1>
</a3>
</root>
And i want to assert this xml partially using some regex. Lets say like this below:
Contains Assertion:
<root>
<a1>This is a1 test</a1>
*.*
</a3>
</root>
-----------------------------------
When i actually try to do this, it's not working. Can some suggest me the actual regex pattern that can be applied on the above XML to assert its response body. (Note : I am making use of 'contains' assertion)
Kindly let me know, if this feature exists (if yes, plz suggest regex for above & if NO, can we add this feature in next release of soapui pro).
Thanks
Singh