Hi Akanksha,
I wanted to point you to the documentation where it is all explained but realized that this feature is not adequately documented (or not at all). So, there's some work for the product team there.
Here's how I understand that you get this to work:
- Remove the loop in the testcase, the last step should go to "End"
- Also, the "At end of data" should not loop onto itself, I think that should never be needed. Theoretically that creates an endless loop because when you are at the end of your result set you loop back to the same step but the data set is not marked as "Start over" so it stays at End and will loop back again, etc, etc...
- You need to decide if you want your load test to run a fixed number of times (until the end of your dataset) or a fixed amount of time.
- For a fixed number of times set the "At end of data" to "End". Set the staging document's Max Run Time to "No Max (Test case decides)"
- For a fixed amount of time set the "At end of data" to "Start over". Set the staging document's Max Run Time to some time limit
Let us know if this works as required.
Cheers,
Danny