Contributions
- 12 years agoPlace ReadyAPI QuestionsReadyAPI Questions655Views0likes0Comments
xml datasource
Hi, I am SOAPUI newbie and trying Pro. I have an xml that looks like <person> <name>Lander</name> <age>1</age> </person> Here is my teststeps 1. Groovy Datasource (following section 2. Implementing Groovy DataSources) http://www.soapui.org/Scripting-Properties/tips-a-tricks.html#2-1-implementing-groovy-datasources-and-datasinks. I have also created the property "allData". I used this approach since the location of the folder datasource is parametarized. 2. Groovy Datasource - XML. DataSource: XML Source Property: Groovy Datasource Created parameter propName, and propAge. When I clicked on "Select" got an error "Failed to select XPath for row property value". I do not know now what to place in the Row XPath and the Column XPath 3. SOAP Request. I have fields in the SOAP Request that is referenced to the Groovy Datasource - XML e.g. <com:name>${Groovy DataSource - XML#propName}</com:name> Thanks in advance.12 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes1Comment