Latest Questions
Post Top Ad
Your Ad Spot
Monday, June 17, 2019

85 Top LoadRunner Interview Questions and Answers {Updated}

LoadRunner Interview Questions and Answers for experienced PDF, Read commonly asked LoadRunner Job Interview Questions with Answers PDF for Freshers.

Read LoadRunner Interview Questions and Answers

What is LoadRunner?
LoadRunner accurately measures and analysis the system performance and its functionality.

what is scenario default?
Instruct the user to use the WinRunner configuration file.

How many section database vuser script has.
3 section, written in code that assembles in C, SQL call to the database, written in TSL(test script language).

What is a transaction?
Transaction measure the time, which takes for the server to respond to the task submitted by the vuser.

LoadRunner Function – How to get current system time
This function is developed to use in Mercury LoadRunner peformance tool. This main use of this functions to return the current system time at any given point of time while LoadRunner script is running.This function can be used to report transaction times , script start time and end time.
long get_secs_since_midnight(void)
char * curr_hr; /* pointer to a parameter with current clock hr */
char * curr_min; /* pointer to a parameter with current clock min*/
char * curr_sec; /* pointer to a parameter with current clock sec */
long current_time, /* current number of seconds since midnight */
hr_secs, /* current hour converted to secs */
min_secs, /* current minutes converted to secs */
secs_secs; /* current number of seconds */
curr_hr = lr_eval_string(“{current_hr}>”);
curr_min = lr_eval_string(“{current_min}”);
curr_sec = lr_eval_string(“{current_sec}”);

hr_secs = (atoi(curr_hr)) * 60 * 60;
min_secs = (atoi(curr_min)) * 60;
secs_secs = atoi(curr_sec);

current_time = hr_secs + min_secs + secs_secs;

when you initialize the vuser what happens.
The vuser status change from DOWN to PENDING to INITIALIZING to READY. If vuser fails to initialize, the vuser status changes to ERROR.

what do you mean by creating vuser script?
Creating vuser script for emulating the action that virtual user Perform during the scenario execution.

how many types of vuser are available.
There are several types of vuser(GUI, Database, RTE(terminal emulator), SAP, DCOME, People soft, java, Baan)

What is vuser script?
While running a scenario every vuser execute a script that script is known as vuser script.

What are all the types of correlation?
Manual & Automatic Co-relation
Manual correlation – Correlation is used to obtain data which are unique for each run of the script and which are generated by nested queries.
Automatic correlation is where we set some rules for correlation. It can be an application server specific. Here values are replaced by data, which are created by these rules.

where you insert the rendezvous point.
Rendezvous point inserts into the script to calculate the peak load of the server. Syntax. lr-rendezvous(“rendezvous name”).

what do you mean by initialization of quota?
Capabilities of the host that at a time how many vuser Are initialize.

what is the local configuration file?
Instruct the vuser to use hosts WinRunner configuration file.

what is scenario wizard?
Through scenario wizard, we can create a new scenario.

How many users can I emulate with LoadRunner on a PC?
Unlimited, No dead end.,
Depends on system response. That too, in turn, depends on various factors like entire system configuration, etc. If system bottlenecks observe in the very beginning or minimum no of users no further addition of users will be considered unless observed bottleneck is resolved.

what is vuser-end section?
Record a log off into the server (vuser stoped).

what are the 5 icons appear in the bottom of the controller windows?
1-host windows(list of machine).
2-script windows(list of all the vuser script)
3-rendezvous windows.
4-transaction windows(display all the transaction).
5-output window( display error and notification message).

why we insert the rendezvous point while running the scenario.
If a multiple vuser to perform a task at exactly the same time.

what do you mean by path?
Use the WinRunner configuration file that is in a specific location on the network.

what is LR-function?
obtain information about vuser running in a scenario.

What is the scenario?
A scenario defines the events that occur during in testing session. Exam (deposit cash, withdraw money…).

how to create a host list for a scenario.
1-install remote command launcher on every machine.
2-add the name of the host to the host lists.
3-set attributes for each host.
4-select which hosts will take part in the scenario.

what is vuser-init section?
Record a login to the server(vuser initialize loaded).

what is the element in the LoadRunner controller?
Title bar(name of the scenario presently working). Menu bar(selecting the various command). Toolbar. Status bar.

what do you mean by Remote Command Launcher(RCL)?
Rcl enables the controller to start the application on the Host machine.

what is MS-windows?
WinRunner used for MS-Window application.

what is script list?
It contains all the vuser script that vuser can run.

how to create a scenario?
We have to install LoadRunner controller to the host. Then we include a list of host(where vuser script executes) then the list of vuser script (where vuser run) and then the list of vuser that run during the scenario.

what is X-Windows?
X-runner and VX-runner for X-Windows application.

what is the information contained by script windows for each script in the list?
1-name of the vuser script.
2-the type of the vuser.
3-the location(path).
4-command line option.

what in percentile graph.
The percentage of the transaction that was performed within a given time range.

what is pause command?
It changes the status of the vuser from RUNNING TO PAUSE.

what is stand-alone mode?
To verify that the script runs correctly.

How to modify the script.
Using vuser script information dialog box.

What protocols does LoadRunner support?
Industry standard protocols, for example, HTTP and ODBC are explicitly supported by
LoadRunner. Furthermore, any protocol that communicates over a windows socket can be supported.

what is the information crating for each host?
1-the status of the host.
2-the platform type of the host(Windows/Unix).
3-details of the scenario.

what is .lrs?
LoadRunner saves the information in a scenario file.

what is planning for the test.
Define the performance testing requirements, for example, no. of concurrent users, typical business processes and required response time.

What is the advantage of using LoadRunner?
1-LoadRunner automatically records the performance of the client/server during the test.
2-LoadRunner checks where performance delays occur network/client delays.
3-LoadRunner monitor the network and server resource to help improve performance.

how to run a scenario.
Open an existing scenario.
Configure the scenario.
Set the result directory.
Run the scenario.

what the host attributes determine.
1-the maximum number of vuser that host can run.
2-the initialization quota.
3-the location of the WinRunner configuration file.
4. the location of the file during run-time.

what is the LoadRunner testing process?
There are 5 steps.
1-planning the test.
2-creating the vuser script.
3-creating the scenario.
4- running the scenario.
5-analysis the test result.

what is the action section?
Record client activity.

what is the protocol function?
Obtain information about the type of vuser.

what are the LoadRunner end transaction and its syntax?
It will end the transaction. Syntax. Lr-end-transaction(“transaction name”, LR-AUTO).

how vugen create a vuser script.
By recording the activity between client and server.

What the vuser script contains.
The vuser script includes the function that measures and record the performance of the server during the scenario.

what is the process for developing a vuser script?
There are 5 steps for developing a vuser script.
1-recording the vuser script.
2-edit the vuser script.
3-runtime setting.
4-run the vuser script in stand-alone mode.
5-incorporate the vuser script into a LoadRunner scenario.

what is filtering and sorting?
We can filter the information display only those items that meet the selected criteria(filter box) .exam you can filter vuser only those who are in a ready state. Sorting – we can sort all the vuser in the vuser list. In order to their vuser ID(1,2,3,4,5,6,7,8,9).

what is the rendezvous graph?
It indicates when vuser were released from rendezvous point and how many vuser is released from each helps the transaction performance time.

what are the LoadRunner start-transaction and its syntax?
It will start the transaction on the script. Syntax. Lr-start-transaction(“transaction name”).

how you develop the database vuser script.
Developing the database vuser script either by recording with LoadRunner vuser script generator (VuGen) or by using LoadRunner vuser script template.

what type of function generate and insert by the vugen to the script when you record a script.
1-LR Function.(vuser function) 2- protocol function.

What are the reasons why parameterization is necessary when load testing the Web server and the database server?
Parameterization is generally done to test with multiple sets of data or records.

what is GUI vuser and on which platform it will run?
GUI vuser operate graphical user interface application and it can run in either the MS-Windows / X-Windows environment.

What is the rendezvous point?
To emulate peak load on the server.

what is the purpose of running the scenario?
To check the response time of the client/server system under load.

How you edit the script.
While editing the script we have to insert the transaction point and rendezvous point.

when a scenario run exactly what happened.
1-The controller checks the scenario configuration information.
2-then next it invokes the application that you select to run with the scenario.
3- then transform each script to its related hosts, when the vuser is ready they start execution.

what is the section contains by the vugen while creating a vuser script?
Vugen contains the 3 sections.

what is Host?
A host is a machine which executes the vuser script.

what is the report header and what are the information contains.
It displays general scenario information and it contains the information like (title, scenario, result start time, end time and duration).

what is the vuser in the scenario?
LoadRunner replaces the human user with vuser.

how you enhance the basic script.
By adding control-flow, structure, by inserting transaction point and rendezvous point, adding functions

When LoadRunner is used.
When multiple users work concurrently.

What are the user components in LoadRunner?
ApplicationComponents used are client, database or additionally business application server.)
Web Server works on and through LAN, WAN, or www connection.
Application Server components are client, business server and database server without the use of www.but through Protocols like FTP.

what is LoadRunner Agent?
An agent is an interface between the host machine and controller.

What is a report viewer?
Each report viewer contains the report header and reports viewer toolbar.

what is transaction per the second graph(pass)?
It displays the number of completed, successful transaction perform during each second of the scenario run.

how you load a LoadRunner Agent.
The controller instructs the remote command launcher to lunch the Agent.

when the LoadRunner controller opens the WinRunner file then what is the location of the winner configuration file.

What can I monitor with LoadRunner?
Monitor system bottlenecks during a test run and capture and display the performance data from every server or component.

What is LoadRunner API function?
Database vuser do not operate client application. Using LoadRunner API function the database vuser can access the data from the server.

what is running virtual user graph?
It displays the number of the vuser that execute vuser script during each second of the scenario run. Only running and Rendez state are included.(loading, ready and pause are not displayed).

during the run time where the hosts save the files.
In temporally in the local drive of each host.

what is the transaction performance graph?
Display the average time taken to perform transaction during each second of the scenario run.

how you set a maximum number of vuser that a host can run.
We can modify the maximum number of vuser according to the (available resource, the needs of your scenario, LoadRunner license agreements).

When the rendezvous point is inserted.
When multiple vuser to perform tasks at exactly the same time then insert the rendezvous point to emulate the peak load on the server.

What do I need to know to do load testing in addition to knowing how to use the LoadRunner tool?
In addition to knowing the tool :
– Management aspects of Load Testing, Planning being paramount
– Requirements gathering, Profile/Mix, SLA, Acceptance Criteria….
– a general understanding of the protocol you are working with, developers can be unhelpful
– a basic understanding of C programming
– know that you WILL be working with diminishing timescales and you are really at the END of the lifecycle
– as a result of the above, you may have to work unsociable hours including weekends
– Managers and other “Power that be” – “Box tickers” will not understand your plight
– You need to be able to communicate effectively at all levels with different departments from Business to Dev to Sys Test
– voice your problems as soon as possible – Planning Planning
– Fail to Plan – Plan to FAIL

What is LoadRunner controller?
The controller is to manage and maintain the scenario. using the controller you control all the vuser in a single work station.

what is run-time-setting?
Run-time-setting includes loop.log and timing information.

Post Top Ad

Your Ad Spot