Contributions
SOAP UI tutorial - Google API
Hi, I am using the GOOGLE API to learn about SOAP UI. https://www.soapui.org/tutorials/google-maps.html When I imported the project and run the sample request, I dont see an xml response. Instead I see the response in text as "The content you are trying to view cannot be viewed as xml". Note that I see a json response. Where am I going wrong? How to get the xml response correctly?Solved3.6KViews0likes3Comments- 2.1KViews0likes0Comments
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?2.2KViews0likes7CommentsRe: Assertions with XPATH
Hi, I am also getting the same "Missing content to select from" popup when I click on Select from Current button for XQuery Match Assertion. Xquery Expression is as below declare namespace soap='http://schemas.xmlsoap.org/soap/envelope/'; declare namespace ns1='http://www.webservicex.net/'; <MyResult> { for $x in //ns1:GetSupplierByCityResponse/ns1:SupplierDataLists/ns1:SupplierDatas/ns1:SupplierData return <SupplierNumber>{data($x/ns1:SupplierNumber)}</SupplierNumber> } </MyResult> Please help me fix this as I am using SOAP UI for the first time. I am just using the tutorial below to learn https://www.guru99.com/assertions-soapui-complete-tutorial.html3.2KViews0likes0Comments