Google
This blogspace is meant to be a one-stop shop for anybody wanting to learn about HP Load runner.

LoadRunner is HP’s tool for application performance testing.LoadRunner stresses your entire application to isolate and identify potentialclient, network, and server bottlenecks. LoadRunner enables you to test yoursystem under controlled and peak load conditions.

When i started load runner i dont know from where to start. So i thought of posting my experiences to beginners. My intention here is to collate the useful information on Loadrunner scattered all over the web.



Performance Testing


Performance Tests are tests that determine end to end timing (benchmarking) of various time critical business processes and transactions, while the system is under low load, but with a production sized database. This sets ‘best possible’ performance expectation under a given configuration of infrastructure. It also highlights very early in the testing process if changes need to be made before load testing should be undertaken. For example, a customer search may take 15 seconds in a full sized database if indexes had not been applied correctly, or if an SQL 'hint' was incorporated in a statement that had been optimized with a much smaller database. Such performance testing would highlight such a slow customer search transaction, which could be remediated prior to a full end to end load test.

Friday 22 February 2008

What is the differnce between web(http/html) and web(click and script) protocols?

Web (Click and script) : Web(click and script ) has three types of recording options

GUI based

HTML based

URL based

Web (Click and Script) Vusers support non-HTML code such as Javascript on the client side. Web (Click and Script) Vusers handle most correlations automatically, reducing the scripting time. In most cases, you do not need to define rules for correlations or perform manual correlations after the recording.


Web(http/html)

HTML based and URL based :

How can we view Run time viewer when executing a script in Vugen?

Go to menu options

Tools -> General options -> Select display tab -> Select check box show browser during reply

Friday 1 February 2008

What is correlation? Explain the difference between automatic correlation and manual correlation?

Correlation is used to obtain data which are unique for each run of the script and which are generated by nested queries. Correlation provides the value to avoid errors arising out of duplicate values and also optimizing the code (to avoid nested queries).

Automatic correlation is where we set some rules for correlation. It can be application server specific. Here values are replaced by data which are created by these rules. In manual correlation, the value we want to correlate is scanned and create correlation is used to correlate.

Friday 25 January 2008

Load runner Architecture


Loadrunner works by creating Virtual Users who act like Real time users on client software.
Scripts are recorded by using Vugen (Virtual User script Generator). It generators c Language script code.
By using controller we can design the scenarios. we can specify on controller how many virtual users u want to test the software. The loadrunner generators/injectors are started or stopped by using controller. During the run the status of each machine is monitored by controller.

Tuesday 15 January 2008

Wat is the use of Check points?

Check points or verification points that help your determine whether or not your service produced correct results.

They are two types of check points

text and image

To add a check point go to menu options

Insert-> Add new step-> click on web checks expand pane u can select Text check or Imagecheck

Wat is difference HTML based and URl based scripts and how can we select these recording option in Loadrunner?

The default recording option in LoadRunner is HTML- based script. To change default option from HTML based script to URL based script u need to navigate to Tools-> Recording Options.

Select Recording in General. u can select the desired option(HTML/URL) by selecting the corresponding the radio button. U cannot find GUI based scriptoption in Loadrunner 9.0

HTML based script: Instructs VuGen to record HTML actions in the context of the current Web page

URl based script : instructs VuGen to record all requests and resources from the server

Monday 14 January 2008

how to add transaction Points in load runner?

We can add transaction Points while we record

or we can add add transaction points after recording by
go to menu options-> Insert-> Start transaction-> enter the transaction name and click on button

Thursday 10 January 2008

Most of collegues ask me we have recorded a script and i wud like to know where the run time settings are saved?

The runtime setting are saved in defualt.cfg, located in the Vuser script director