I have a script which runs for multiple iterations and each iteration it takes new user login. but when i run it, it pops up the message, "user is still in active session". i got to manually terminate his session anmd then proceed further. how will i ensure the pervious user has been terminated. is there any command that actually terminates the user once he is logged out. please help me out.
Total Answers and Comments: 5
Last Update: December 05, 2008 Asked by: kpoornima
When you get this pop up message saying 'user is still in active session" then it means that the user is not completely logged out from the application, make sure your script has recorded the log out line of script properly. if every thing is fine then find out whether the user has any session id when he log in to the application. And also check whether you have parameterzied that value and passed correctly with user id on each iteration (with same line as user id). beacuse during log out the developer will validate the user with session id generated for the user when he logs in.
RE: I have a script which runs for multiple iterations...
Just the User manual and Start working onn it.Please provide the complete information.What does the init part contains action part contains and end part contains.Incase still you want to vuser to come ouit use lr_exit statement.but strongly recommended have mentor for you .
RE: I have a script which runs for multiple iterations...
When you get this pop up message saying 'user is still in active session" then it means that the user is not completely logged out from the application make sure your script has recorded the log out line of script properly. if every thing is fine then find out whether the user has any session id when he log in to the application. And also check whether you have parameterzied that value and passed correctly with user id on each iteration (with same line as user id). beacuse during log out the developer will validate the user with session id generated for the user when he logs in.
RE: I have a script which runs for multiple iterations and each iteration it takes new user login. but when i run it, it pops up the message, "user is still in active session". i got to manually terminate his session anmd then proceed further. how will i
There are two scenarios this could possible be the cause. 1. User is not completely logged out from the current session. 2. User session is not ended from backed systems(i.e. Web server or application servers).
So try to check these two issues and run the script. You can also check whether iteration settings are correctly added to your load runner scripts. Make sure that it is picking the same user for all iterations