Forum Discussion
This is the part of code of my script.
set Station1 =
LoadTesting.Stations.ItemByName("Master")
set Station2 = LoadTesting.Stations.ItemByName("Indira")
For i = 0 to 5
Set VirtualUsers(i) = TestInstance.User(CStr(i))
Set VirtualUsers(i).Task = HTTPTask
if (i = 0) Or (i = 1) Or (i = 2) Then
Set VirtualUsers(i).Station = Station1
else
if (i = 3) Or (i = 4) Or (i = 5) Then
Set VirtualUsers(i).Station = Station2
end if
end if
Set VirtualUsers(i).TestInstance = TestInstance
next
I have my test set up with 6 virtual users.
I am trying to do distribution testing , for next 3 users on other machine called "Indira".
I have set up that host machine visually and verified and the connection was ok. i copied the the project in host machine.
I have set up the job and executed visually. It is executing the load test and working fine.
I want to try through scripting b'se i want only few users to run on my machine(Master) and few on host machine.
while executing this script while assigning user to station 2 it is giving this error message which i attached in previous post.
Please look into that and help me if any body has any idea why it is not working.
Related Content
Recent Discussions
- 47 minutes agoSlickRick
- 2 hours agoSlickRick
Name Mapping Issue
Solved4 hours agokgreger1