My Load Runner test project is intend to initialize 500 virtual users and then run 50 virtual users.So i wrote the script below in the "Action" function to let 450 virtual users jump to the "vuser_end".
int userID;
lr_whoami(&userID,NULL,NULL);
if(userID<451)
{
lr_exit(LR_EXIT_VUSER, LR_PASS);
return;
}
But the "lr_exit" function set the virtual users to the "pass" status and will never execute the "vuser_end".
What function can let the virtual users stop running and jump to "vuser_end" after running end?
Thank you for any helps in in advance.