How do I Distribute a data source across multiple user IDs.
I would like to use the "Shared data source among users". So each user would end up executing the same number of rows.
To do this I have a datasource containing 100 user IDs. I set my Thread count in the load test to 100.
My data source that has the test data has 100,000 records. So each user should execute 1,000 iterations.
But when I run it, usually each of the 99 users end up doing 1 record and the other 1 user executes 99,901 records.
Or mabey there is a way for Allocating (range of) data rows to each user ID so the same data is never used more than once. Example User 1 iterates a test for rows 1-10, while concurrently user 2 iterates the same test for rows 11-20.
Here is my Test scenario:
User logs in, User does a search with their 1st assigned data row. User remains logged in and searches with next assigned data row, user repeats only the search step (no login/logouts) for the remaining assigned data rows. User is to out ONLY when all assigned data rows are completed.