07 November 2008 - 2.5-beta2 |
Data Driven Web Service Testing is one on soapUIs' strengths. In soapUI this can be done by Groovy scripting, but in soapUI Pro this is simplified.
The DataSourceLoop Step is used together with the DataSource Step to create a sequence of steps that should be executed for each row of data. It must be placed after its corresponding DataSource step and is configured by either double-clicking or selecting "Configure" from its popup menu, which displays the following dialog:
The dialog contains 2 options:
For example, if a DataSource step is used to read data from an external file and the followed by a request using that data, a DataSource Loop should be added after the request specifying the DataSource Step and the Request step as its target step... (i.e. loop back to the request if more data is available).