Download Link for your Favorite Presentation is at the End of this Page ******************************************************************************************HP LoadRunner Basics Questions: Q. 1 to 10

It is the method adopted for capturing the dynamic data resulting from the server responses & further reusing it in the script. It can be done in two ways like:

1.Manual correlation

2. Auto Correlation

<<<<<< =================== >>>>>>

size=2>

Q. 2: What is the Load testing process in LoadRunner?

Step 1:Planning the test: Involves development of a clearly defined test plan to ensure that the newly developed test scenarios are able to accomplish the load-testing objectives.

Step 2:Creation of Vusers: Involves creation of Vuser scripts which contain various tasks performed by every Vuser, tasks performed by Vusers as a whole, and tasks measured as transactions.

Step 3:Creation of the scenarios: A scenario describes the events that occur during a testing session. It includes a list of machines, scripts, and Vusers that run during the scenario. Scenarios are created by using LoadRunner Controller. We can create manual scenarios as well as goal-oriented scenarios. In manual scenarios, we define the number of Vusers, the load generator machines, and percentage of Vusers to be assigned to each script. For web tests, we may create a goal-oriented scenario where we define the goal that our test has to achieve. LoadRunner automatically builds a scenario for us.

Step 4:Running the scenario: The load on the server is emulated by instructing multiple Vusers to perform the tasks simultaneously. Before the testing, we set the scenario configuration and scheduling. We can run the entire scenario, Vuser groups, or individual Vusers.

Step 6:Analyzing test results: During scenario execution, LoadRunner records the performance of the application under different loads. We use LoadRunner's graphs and reports to analyze the application's performance.

<<<<<< =================== >>>>>>

Q. 3 : When load and performance Testing are done?

Load testing is performed after the completion of interface (GUI) testing.

Single user testing focuses on functionality and user interface of a system component, while application testing focuses on performance and reliability of an entire system.

For example, a typical application-testing scenario might depict 1000 users logging in simultaneously to a system. This gives rise to issues such as what is the response time of the system, does it crash, will it go with different software applications and platforms, can it hold so many hundreds and thousands of users, etc.

<<<<<< =================== >>>>>>

Q. 4: What are the components of LoadRunner?

The components of LoadRunner are The Virtual User Generator, Controller, and the Agent process, LoadRunner Analysis and Monitoring, LoadRunner Books Online.

<<<<<< =================== >>>>>>

Q. 5: What Component of LoadRunner are used for recording a Script?

Virtual User Generator (VuGen) component is used to record a script. It enables you to develop Vuser scripts for a variety of application types and communication protocols.

<<<<<< =================== >>>>>>

Q. 6: What is a rendezvous point LoadRunner?

Rendezvous points are inserted into Vuser scripts to emulate heavy user load on the server.

Rendezvous points instruct Vusers to wait during test execution for multiple Vusers to arrive at a certain point, in order that they may simultaneously perform a task. For example, to emulate peak load on the bank server, you can insert a rendezvous point instructing 100 Vusers to deposit cash into their accounts at the same time.

<<<<<< =================== >>>>>>

Q. 7: What Component of LoadRunner are used to play Back the script in multi user mode?

Controller component is used to playback the script in multi-user mode. This is done during a scenario run where a vuser script is executed by a number of vusers in a group.

<<<<<< =================== >>>>>>

Q. 8: What is a scenario in LoadRunner?

A scenario defines the events that occur during each testing session. For example, a scenario defines and controls the number of users to emulate, the actions to be performed, and the machines on which the virtual users run their emulations.

<<<<<< =================== >>>>>>

Q. 9 : What is the recording mode for web Vuser script in LoadRunner?

We use VuGen to develop a Vuser script by recording a user performing typical business processes on a client application. VuGen creates the script by recording the activity between the client and the server.

For example, in web based applications, VuGen monitors the client end of the database and traces all the requests sent to, and received from, the database server. We use VuGen to: Monitor the communication between the application and the server; Generate the required function calls; and Insert the generated function calls into a Vuser script.

<<<<<< =================== >>>>>>

Q. 10: Why do we create parameters in LoadRunner?

Parameters are like script variables. They are used to vary input to the server and to emulate real users. Different sets of data are sent to the server each time the script is run. Better simulate the usage model for more accurate testing from the Controller; one script can emulate many different users on the system.