Can we run the load test irrespective of time duration, for example, if i am running tests for 25 users then test will automatically stops, once all the users finished their scripts. please help on this ?
1 Answer
Set the Use Test Iterations property to True and Test Iterations to 25.
The first property will overide the test duration property and second will force load test to execute 25 total tests. Since you have 25 virtual users in your test it will share them to your users and so each one will execute one test.
Check here for mor details:
2 Comments
Saurabh
I checked with above, it ran successfully but key indicator graph is showing constant user 25 till last second. I think users should decreases in the graph as tests gets completed. Please advice.
chaliasos
That does not mean that they are running tests. It's just the value you set. Check how may tests were exexuted instead and if you want to see the virtual users' activity check: Analyzing Load Test Virtual User Activity.