GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  LoadRunner
Go To First  |  Previous Question  |  Next Question 
 LoadRunner  |  Question 66 of 126    Print  
What is use of vuser_init() and vuser_end() while we record the script, when are these functions used.

  
Total Answers and Comments: 2 Last Update: May 12, 2008     Asked by: t_ansar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 14, 2007 02:49:06   #1  
Vijay N        

RE: What is use of vuser_init() and vuser_end() while ...
When you record a script in vugenerator this records the scripts for a virtual user to be used while playback. vuser_init() is the call to initialise the user and vuser_end() closes the user's transaction. This can be seen in the controller while playing a scenario by monitoring the vusers.
 
Is this answer useful? Yes | No
May 12, 2008 05:04:45   #2  
Kamran Member Since: November 2007   Contribution: 14    

RE: What is use of vuser_init() and vuser_end() while we record the script, when are these functions used.
The above answer is somewhat correct.

These are 3 basic ACTIONS in your script.
1. vuinit
2. Action
3. vuend

It is entirely up to you, how you use them. Conventionally, you record the LOGIN steps in the vuinit section, and log outoperation in the vuend section. (Load Runner calls them ACTIONS and when using controller, it calls them transactions)

The ACTION section is different from other 2 (ini and end) as this can be "iterated"


I can explain more if you are interested. Rate this answer if you feel like and add me on IM if you need more elaboration.

Kam!

 
Is this answer useful? Yes | No

 Related Questions

When i run load runner script of Siebel application we are getting Siebel_row_id error.please let me know how to solve this issues.
Read Answers (3) | Asked by : yathiraju

I need to do performance testing for a Client server application. If I have to set up the Load testing environment what all information do I need in terms of the server or DB or controller/Vugen. I know to script but but have no practice in setting up the environment yet. Thanks
Read Answers (2) | Asked by : Avis

How will you perform a load test if you do not have an application to record? You are basically doing load test on the stored procedure. what will be the best approach to do so? stored procedure is in .net and databse in sql server.
Read Answers (1) | Asked by : hyperthread

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.

Hi, I'm trying to record a client server application. To invoke the client application we need to run a batch file(not an .exe file). Front end is made up of Java and backend is with SQL server. I had used ODBC protocol(as a WIN32 application), loadrunner even before invoking the batch file of client application, immdiately exits the screen saying there's a error in initializing the Java virtual machine and nothing's recorded. I think the problem lies with the invoking of batch
View Question | Asked by : avis

I have Created a Scipt using VuGen Or Virtual User Recorder of Load Astra Test.It Give pass to Test Result.Now I run this script in Load Runner Controller.It gives Error:Yo do not have Licence for this VuserType.
Read Answers (1) | Asked by : Sanni Patel

If I have to test windows explorer, wher in I am moving around 200 folders from a source folder to a destination folder, what approch should i take for preparing the script.? Please help...
Read Answers (1) | Asked by : Shinto Thomas

When executing a winrunner script in loadrunner do you still have access to error codes for the application, database and GUI interface?
View Question | Asked by : Ted H.

My application is retail application in that i have to select different items. What I want to ask the condition is if we run that script for 10 users then for each user the items selected should be different for each user.All items have there own category and subcategory ,all are the links so to do this what we have to correlate in the script so that we can get the desired result.Please help me as soon as possible.thank you.
Read Answers (2) | Asked by : Rashmi singh

Hi,How do I generate DB VUSERS Script in LoadRunner?I have tried to generate a script with the help of Virtual User Generator by vuser_init() and then after Action1() I started recording and in the url i have given the url of the system where the database is hosted but I have been countered with an error message saying that the default browser registered at this machine is not supported by Web VUSER recorder.I need help in this regard I'm using LoadRunner 6.0 and IE 6.0
Read Answers (1) | Asked by : Krishna Prasad


 Sponsored Links

 
Related Articles

Microsoft AJAX Library - Anonymous Functions

Anonymous Functions Anonymous functions can be created adhoc and used instead of a named function Although this can hinder readability when the function is more complex you can do this if you don t intend to reuse a function s code In the following example we pass such an anonymous function to Displ
 

Microsoft AJAX Library - Functions as Variables

Functions as Variables In JavaScript functions are first class objects This means that a function is regarded as a data type whose values can be saved in local variables passed as parameters and so on For example when defining a function you can assign it to a variable and then call the function thr
 

Microsoft AJAX Library - JavaScript Functions

JavaScript Functions A simple fact that was highlighted in the previous chapter but that is often overlooked is key to understanding how objects in JavaScript work code that doesn t belong to a function is executed when it s read by the JavaScript interpreter while code that belongs to a function is
 

ERPAdvantages for Management Functions

ERP Advantages for Management Functions ERP management systems provide a technology platform in which organizations can integrate and coordinate their main internal business processes They use this to fight against the problem of the organizational inefficiency brought on by the use of different sys
 

C++ Static Functions

C Static Functions Static member functions have a class scope and they do not have access to the this pointer of the class When a member is declared as static a static member of class it has only one data for the entire class even though there are many objects created for the class The main usage of
 

C++ Virtual Functions

C Virtual Functions What are Virtual Functions Virtual as the name implies is something that exists in effect but not in reality The concept of virtual function is the same as a function but it does not really exist although it appears in needed places in a program The object oriented programming la
 

C++ Inline Functions

C Inline Functions In this C tutorial you will learn about Inline function what is inline function reason for the need of inline function what happens when an inline function is written general format of inline function explained with example mosgoogle center What is Inline Function Inline functions
 

String handling functions

What is the string handling functions present in header file <string.h>? There are number of string handling functions present in string.h. In other words if a programmer uses any of the function present in string.h then they must include the header file as #include <string.h&am
 

SQL Functions

SQL Programming Overview In the article SQL Programming, we discussed creating the “Hello, World!” function in PostgreSQL, MySQL, and Oracle. In this article, we take “Hello, World!” one step farther and introduce the parts of a function and how to pass parame
 

Recording Test Script With WinRunner

How To Use a Wizard to Record a Test Script With WinRunner If you have a script that you want to convert with WinRunner, you can use the DataDriver Wizard to transform the script into a test that is driven by data. For instance, if you want your test script to include things such as checkpoints or v
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape