Forum Discussion
SmartBear_Suppo
Alumni
11 years agoHi,
You may also use a DataSource of type JDBC and you would iterate through each row, to pull a different XML request coming from your database.
Then in a Groovy script for instance you could retrieve the current property (current row value) from the DataSource using the right-click->Get Data... functionality as shown in the screenshots.
Next you would change the request using custom coding, which we do not support. You can use the following resources as pointers:
http://www.soapui.org/Scripting-Properties/tips-a-tricks.html#5-change-a-request-xml-from-groovy
http://www.soapui.org/apidocs/com/eviware/soapui/support/XmlHolder.html
Regards,
Giscard
SmartBear Support
You may also use a DataSource of type JDBC and you would iterate through each row, to pull a different XML request coming from your database.
Then in a Groovy script for instance you could retrieve the current property (current row value) from the DataSource using the right-click->Get Data... functionality as shown in the screenshots.
Next you would change the request using custom coding, which we do not support. You can use the following resources as pointers:
http://www.soapui.org/Scripting-Properties/tips-a-tricks.html#5-change-a-request-xml-from-groovy
http://www.soapui.org/apidocs/com/eviware/soapui/support/XmlHolder.html
Regards,
Giscard
SmartBear Support