Forum Discussion

Paramanand_Ghod's avatar
Paramanand_Ghod
Contributor
16 years ago

Odd number row are picked up from datasource?

Hi,

SOAP UI is able to do execution for only odd number of rows from datasource.
See the result file below.

Please suggest how to resolve this.


Test started at 2010-03-26 19:58:56.885
Step 1 [lookupURLByCRMProfile - Request 1] OK: took 1177 ms
Step 2 [Request_DataSource] OK: took 14 ms
Step 3 [Response_PropertyTransfer] OK: took 16 ms
-> Performed transfer [URL]
Step 4 [Response_DataSink] OK: took 0 ms
Step 5 [1000] OK: took 1005 ms
Step 6 [DataSource Loop] OK: took 0 ms
-> Current row = 1
Step 7 [lookupURLByCRMProfile - Request 1] OK: took 450 ms
Step 8 [Request_DataSource] OK: took 0 ms
Step 9 [Response_PropertyTransfer] OK: took 15 ms
-> Performed transfer [URL]
Step 10 [Response_DataSink] OK: took 0 ms
Step 11 [1000] OK: took 1006 ms
Step 12 [DataSource Loop] OK: took 0 ms
-> Current row = 3
Step 13 [lookupURLByCRMProfile - Request 1] OK: took 431 ms
Step 14 [Request_DataSource] OK: took 0 ms
Step 15 [Response_PropertyTransfer] OK: took 0 ms
-> Performed transfer [URL]
Step 16 [Response_DataSink] OK: took 0 ms
Step 17 [1000] OK: took 1005 ms
Step 18 [DataSource Loop] OK: took 0 ms
-> Current row = 5
Step 19 [lookupURLByCRMProfile - Request 1] OK: took 428 ms
Step 20 [Request_DataSource] OK: took 0 ms
Step 21 [Response_PropertyTransfer] OK: took 0 ms
-> Performed transfer [URL]
Step 22 [Response_DataSink] OK: took 0 ms
Step 23 [1000] OK: took 1005 ms
Step 24 [DataSource Loop] OK: took 0 ms
-> Current row = 6
TestCase finished with status [FINISHED], time taken = 6552

3 Replies

  • M_McDonald's avatar
    M_McDonald
    Super Contributor
    It looks like you are looping to a step prior to the DataSource step. Each time the test hits the DataSource step it increments the row, but then the DataSource Loop also increments it.
  • Where should I loop in the test steps when I have to pick multiple rows of data from datasource.

    Please suggest.
  • Hello,

    Can you show us how you configured your datasource ( did you checked to skip empty rows? ) and test case? Did you got any errors in error log?

    robert