lucidavid
15 years agoNew Contributor
Assertions with Multiple Nodes in an XML response
Hi,
I'm new to the soapUI game and have been tasked with building assertions for XML Responses.
Forgive me if I get the terminology wrong as I'm not a technical guy.
my objective here is to find an existance of a tag within a tag.
Take this Scenario,
I'd like to add an assertion in soapUI that acknowledges an Existance of MemberID ONLY under TeamID 1. A seperate assertion for MemberID under TeamID 2 as well.
Thanks,
David
I'm new to the soapUI game and have been tasked with building assertions for XML Responses.
Forgive me if I get the terminology wrong as I'm not a technical guy.
my objective here is to find an existance of a tag within a tag.
<Team>
<TeamID>0</TeamID>
<Member>
<MemberID>0</MemberID> </Member>
<Member>
<MemberID>1</MemberID>
</Team>
<Team>
<TeamID>1</TeamID>
<Member>
<MemberID>0</MemberID>
</Member>
<Member>
<MemberID>1</MemberID>
</Member>
</Team>
Take this Scenario,
I'd like to add an assertion in soapUI that acknowledges an Existance of MemberID ONLY under TeamID 1. A seperate assertion for MemberID under TeamID 2 as well.
Thanks,
David