Need help with User Group Testing
I have following function that creates a group of virtual users by assigning the name of this group to each user. Once the group is created, the function runs for the whole group. Do these virtual users within that group run concurrently or in sequential order?
Dim VirtualUsers(100), LoadUserGroup
Dim HTTPTask, HTTPRequest, HTTPResponse, Indx
Set TestInstance = LoadTesting.CreateTestInstance("LoadTestInstance")
Set HTTPTask = LoadTesting.HTTPTask("LoadTestTask")
Set LoadUserGroup = LoadTesting.CreateVirtualUserGroup("LoadUsers")
For Indx = 0 to UBound(VirtualUsers)
Set VirtualUsers(Indx) = LoadTesting.CreateVirtualUser("VirtualUserName" + CStr(Indx + 1))
VirtualUsers(Indx).Task = HTTPTask
VirtualUsers(Indx).Group = LoadUserGroup
Re: Need help with User Group Testing
You can specify simulation mode by using the 'Run concurrently' check box in the Load Test editor (see the 'Load Test Editor' and 'Concurrent and Serial User Simulation' help topics) or by using the RunConcurrently property of the TestInstance object. By default, virtual users will run concurrently.