Multiplan_Suppo
12 years agoNew Contributor
[Resolved]Help iterating through an XML datasource
Hi,
I am attempting to iterate through an XML list so that I can validate each element and was following the below tutorial on your website.
http://blog.smartbear.com/api-testing/h ... in-soapui/
So far I was able to set up the XML data source and declare my row xpath but after declaring my column xpath and running the test case I get the correct amount of rows but no data returned.
It seems the instructions for selecting the columns are unclear or I am missing something.
I have tried creating the property exactly as the element I want passed and leaving the /text() string. Also I tried using the select button to choose the element and xpath of the element I wanted passed to the property. No matter what I put in the column xpath both though I am unable to get data returned.
Please advise.
Thanks,
Joe
Edit:
Added SOAPui error log. It appears to have an issue with the Prefix in the XML.
I am attempting to iterate through an XML list so that I can validate each element and was following the below tutorial on your website.
http://blog.smartbear.com/api-testing/h ... in-soapui/
So far I was able to set up the XML data source and declare my row xpath but after declaring my column xpath and running the test case I get the correct amount of rows but no data returned.
It seems the instructions for selecting the columns are unclear or I am missing something.
I have tried creating the property exactly as the element I want passed and leaving the /text() string. Also I tried using the select button to choose the element and xpath of the element I wanted passed to the property. No matter what I put in the column xpath both though I am unable to get data returned.
Please advise.
Thanks,
Joe
Edit:
Added SOAPui error log. It appears to have an issue with the Prefix in the XML.