Forum Discussion

dm690609's avatar
dm690609
New Contributor
8 years ago

Data Generator in ServiceV, different value in the same response

I prepared a response in ServiceV and used a Data Generator. In the same response I would like to set next value for every positios but now I can see the same value for all position. How to change it because I have a big response with 100 blocks?

 

Example:

 

<a:r>

<a:d>${#MockResponse#Index}</a:d>

<a:d>${#MockResponse#Index}</a:d>

<a:d>${#MockResponse#Index}</a:d>

<a:d>${#MockResponse#Index}</a:d>

<a:d>${#MockResponse#Index}</a:d>

</a:r>

1 Reply

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

     

    Hi Dm690609,

     

     

    According to your description, I think you need to modify your data storage - you need to have different data per a column (at the moment, you have data stored per a row). For example:

     

    Iteration#1   ---    Data 11 | Data 12 | Data 13 | ....
    Iteration#2   ---    Data 21 | Data 22 | Data 23 | .... 
    .....