Forum Discussion
SmartBear_Suppo
Alumni
12 years agoHi,
You can definitely do that with groovy script.
I don't have a sample script, but please have a look at our API http://www.soapui.org/apidocs/pro/com/e ... ource.html
Regards,
Shadid
SmartBear Sweden.
You can definitely do that with groovy script.
I don't have a sample script, but please have a look at our API http://www.soapui.org/apidocs/pro/com/e ... ource.html
Regards,
Shadid
SmartBear Sweden.
Madhusmita
9 years agoOccasional Visitor
i tried to iterate the datasource in groovy script but always print last value.i want to get all the value of all the rows.how to reset the datsource to load from first rows value.
- canpan148 years agoOccasional Contributor
Way late on this but you can reset the datasource to load from the first value by doing the following:
testRunner.testCase.getTestStepByName('DataSource').repositionAtStartRow( testRunner, context)
Taken from here: