Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

Reset user session in Web(http/html) script

$
0
0

VuGen version = 12.x

Protocol: Web (HTTP/HTML)

 

We have recorded/developed a web(http/html) script using VuGen 12.x.  The application does not have explicit logout feature like LogOut link or button. The user story requires different application users to perform different actions.

Login with User 1, execute step 1,  Step 2

Login with User 2 execute Step 3

Login with User 3 execute Step 4 , Step 5

So we are trying to end one user session and start another user session with a different user in this script. We are using web_set_user function to set the user for the session and using

web_cache_cleanup();
 web_cleanup_cookies();
 web_cleanup_auto_headers();

to end user session.

Is there other set of functions to end user session in a web script ?

 

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles