SterlingInfosys
14 years agoNew Contributor
Load test skips rows in DataSource
I have a test case that consists of only a DataSource step that reads from a CSV file, and a Groovy step that logs some values from the DataSource step.
When I execute a simple load test with multiple threads, the Groovy script only logs data from every other row in the CSV file. The DataSource options are set to share between threads and to restart shared datasources. Please see attached screenshot showing the details. What is interesting is that this behavior disappears when I turn on the option to preload available data.
When I execute a simple load test with multiple threads, the Groovy script only logs data from every other row in the CSV file. The DataSource options are set to share between threads and to restart shared datasources. Please see attached screenshot showing the details. What is interesting is that this behavior disappears when I turn on the option to preload available data.