Forum Discussion
jkgupta0003
12 years agoOccasional Contributor
Thanks Giscard.
I can't apply xpath assertions to each and every node cause there are 100s of nodes in the response. And I have to match content of the each node. Is there any other way like message content assertion for all the different responses? Pl. see the below snippet of response. I have to match Values on Nodes Vs, IDs and every time values are different. Pl. help me. Thanks
<V>0-30</V>
</P>
<P i:type="MP">
<ID>ARTotal</ID>
<V>32380.0000</V>
</P>
<P>
<ID>Currency</ID>
<V>USD</V>
</P>
<P i:type="NP">
<ID>Invoices</ID>
<V>2</V>
I can't apply xpath assertions to each and every node cause there are 100s of nodes in the response. And I have to match content of the each node. Is there any other way like message content assertion for all the different responses? Pl. see the below snippet of response. I have to match Values on Nodes Vs, IDs and every time values are different. Pl. help me. Thanks
<V>0-30</V>
</P>
<P i:type="MP">
<ID>ARTotal</ID>
<V>32380.0000</V>
</P>
<P>
<ID>Currency</ID>
<V>USD</V>
</P>
<P i:type="NP">
<ID>Invoices</ID>
<V>2</V>