GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  LoadRunner
Go To First  |  Previous Question  |  Next Question 
 LoadRunner  |  Question 12 of 143    Print  
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 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: crespoe2006
 
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

Above answer was rated as good by the following members:
siva.global, dileepkasula
October 11, 2006 04:19:11   #1  
       

RE: I have a script which runs for multiple iterations...

Poornima

Question is not clear please pu across information with clarity.

Regards

Zubair


 
Is this answer useful? Yes | No
October 13, 2006 02:41:36   #2  
kiran        

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 .
 
Is this answer useful? Yes | No
October 13, 2006 10:20:16   #3  
chiragmgandhi Member Since: October 2006   Contribution: 3    

RE: I have a script which runs for multiple iterations...
I think Log out portion of application is not recorded. And because of this a user thread is alive on server.
 
Is this answer useful? Yes | No
June 11, 2007 03:52:50   #4  
crespoe2006 Member Since: June 2007   Contribution: 13    

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.

Cheers

 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 0Overall Rating: +2    
December 05, 2008 01:05:22   #5  
reddygma Member Since: November 2008   Contribution: 15    

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

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape