jcabelloa
6 years agoOccasional Contributor
Set data source end row with property
I would like to set the "end row" of a "data source" using a property ("cycles" for instance) instead of a fixed value. This way I could create a loop of "n" cycles depending of the value I give to that property.
Is that possible to do with readyAPI 2.7.0?
Thanks and regards,
Joaquin.
... and an example of setting the end row via Groovy:
// Example run from Groovy Script test step def dataSourceTestStep = testRunner.getTestCase().getTestStepByName("DataSource") dataSourceTestStep.setEndRow("5")
Note: The data source test step is the class WsdlDataSourceTestStep.