Forum Discussion

deletis's avatar
12 years ago

Multiple datasource files

I have 2 data source Excel files. Each file contains 10 records.
The structure of my test steps are below:

Data Source 1
Data Source 2
Test Request
Data Source Loop 1

I want to loop through the 10 records in Data Source 1 and also Data Source 2 and be able to use data from each Data Source in the Test Request.

Is there a way to do this in SoapUI?

Any help would be appreciated.
  • You would have to setup two loops:

    Data Source 1
    Test Request
    Data Source Loop 1 (Datasource: Data Source 1, Target: Test Request)
    Data Source 2
    Test Request Copy
    Data Source Loop 2 (Datasource: Data Source 2, Target: Test Request Copy)

    Of course there's other ways like using Groovy datasources and other configurations, but two loops will keep this simple.

    Michael Giller
    SmartBear Software