Forum Discussion

Abdi's avatar
Abdi
New Contributor
6 years ago
Solved

Datasource skips even numbered rows

I have a datasource step which reads from an excel sheet in my test case. When I have only two rows in the excel sheet, both rows are run but when I have more than 2 rows, datasource skips even numbered rows. The strange thing is that all rows are loaded from the excel sheet but only the odd numbered rows are executed. I have attached screenshots of my datasource settings. I'd appreciate if anyone could help. Thank you.

  • Abdi's avatar
    Abdi
    6 years ago

    Hello Anastasia

     

    I found out where my problem was: My DataSourceLoop step was looping to DataSource. Setting the DataSourceLoop target step to the step that contains the request(As in the screenshot below) solved my problem. Thanks for trying to help!

     

     

4 Replies

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    SmartBear Alumni (Retired)

    Hi Abdi,

     

    Thank you for the screenshots. What version of ReadyAPI do you use?

    • Abdi's avatar
      Abdi
      New Contributor

      Hello Anastasia

       

      I found out where my problem was: My DataSourceLoop step was looping to DataSource. Setting the DataSourceLoop target step to the step that contains the request(As in the screenshot below) solved my problem. Thanks for trying to help!