Forum Discussion

rosey's avatar
12 years ago

Groovy code for multiple iterations

Hi,

I have a datasource with 100 values. I want to use the values in 50 iterations with 2 values in each iteration and loop the iterations from datasource. How can I do this through groovy script? Thanks in advance.

Rosey

1 Reply

  • nmrao's avatar
    nmrao
    Icon for Champion Level 1 rankChampion Level 1
    Use for loop and increment the counter by two. Or you may change the datasource format and have the two values in a row so that you will be able to iterate thru each row.
    By the have you tried any and issue are you facing?