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.

Questions by kpoornima

Showing Answers 1 - 5 of 5 Answers

Guest

  • Oct 11th, 2006
 

Poornima,

Question is not clear, please pu across information with clarity.

Regards,

Zubair

  Was this answer useful?  Yes

kiran

  • Oct 13th, 2006
 

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 .

  Was this answer useful?  Yes

chiragmgandhi

  • Oct 13th, 2006
 

I think Log out portion of application is not recorded. And because of this a user thread is alive on server. 

  Was this answer useful?  Yes

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.

Cheers

reddygma

  • Dec 5th, 2008
 

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

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions