Forum Discussion

javixeneize's avatar
javixeneize
Contributor
8 years ago

Data driven test with lists

Hi

 

I have two rest services. The first one returns a list of items, and i need to call the second service with each of the items returned. To do so, i need to map two parameters

 

I am using a datasource to store that information, and a datasource loop status, but, i am able to store one of the colums for each row

 

Is there any way to store more than one column for each of the rows in a datasource?


Thanks

 

 

 

2 Replies

  • SmartBearAmber's avatar
    SmartBearAmber
    SmartBear Alumni (Retired)

    Each property of a Data Source represents a column of data. If you need to add a column, you should add another property.

    • javixeneize's avatar
      javixeneize
      Contributor

      Hi Emma


      Yes, this is what i expected, but when i add another property, and i set the column path for this new property, both the existing one and the new one are changed.

       

      If this helps, i am using a Json as datasource

      Thanks