Forum Discussion

wen_huang's avatar
wen_huang
Occasional Contributor
17 years ago

Read data from the random row of dataSource

When we read data from excel or grid, the data always starts from the first row or the one the user specifies. I'm wondering whether you can add a dropdown to let the user to choose to read data in sequence or randomly (, backward or maybe other possibilities )

This will be a big benefit when we run load testing, in which multiple threads share the data table and run with different data in each iteration.


Thanks
Wen

2 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Thanks,

    I've been thinking about this at times.. the only problem I see is that it would require us to cache much of the data if for example using a JDBC or File datasource.. which could fill up memory.. but apart from that is should be ok..

    regards,

    /Ole
    eviware.com
  • wen_huang's avatar
    wen_huang
    Occasional Contributor
    I hope this is in your list since most automation testing tools allow to pick the data from data source randomly.

    Thanks!