Forum Discussion

Bishal's avatar
Bishal
Contributor
7 years ago

Is it possible to have one data loop for multiple data sources ( excel ) ?

I have a test like this

Datasource1

Rest API 1 

Rest Api 2 

Datasource2

Rest API 1 

Rest Api 2 

Datasource3

Rest API 1 

Rest Api 2 

Datasource4

Rest API 1 

Rest Api 2 

Datasource5

Rest API 1 

Rest Api 2 

Datasource6

Rest API 1 

Rest Api 2 

Datasource7

Rest API 1 

Rest Api 2 

Dataloop

 

I was wondering if this is possible. When i try to run my test seems it only loops for the datasource 1 and for all other datasource it just picks the first row from datasource. So i was wondering how is this possible.

1 Reply

  • StevenColon's avatar
    StevenColon
    SmartBear Alumni (Retired)

    Thank you for posting to SmartBear Community.

     

    The set-up you specified is possible. You need to make sure that each DataSource has the option "Restarts on Run" unchecked so that the data persists instead of just picking the first row each time. 

     

    If you have further questions on this, please clarify your use case (or give a more concrete example) for this scenario since it is a bit unclear.