raptor
8 years agoOccasional Contributor
count( //ns1:Response/ns1:photos/ns1:photo/ns1:e)
I am using the SOAPUI tutorial to learn SOAPUI using the Flickr API.
https://www.soapui.org/tutorials/flickr.html
But one of the assertions in the Interestingness Request test step is failing. The assertion is an Xpath match which should match the count to 100
Declaration of xpath expression is as below, which should match expected result of 100.
declare namespace ns1='https://api.flickr.com/services/rest';
count( //ns1:Response/ns1:photos/ns1:photo/ns1:e)
I see that there are 100 nodes of "photo"
Why is it failing and how do I fix it?