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.

Thursday 10 January 2008

How do we parametrize a value in loadrunner?

Suppose u r testing ur script by entering differnet username and password. when recording the script u have entered a UserName 'sirisha'. Now after recording ur script u can see where 'sirisha'. To parametrize u need to right click on username sirisha that u have entered during recording and select Replace with parameter. A dialog box with Name select or create Parameter is Invoked. U just need to enter the desired File Name in Parameter Name and click on OK button. Now go to menu options and click on Vuser-> Parameter File. U can see a file With name u have created and value sirisha in that file. Just u need to edit the file by clicking and edit notepad and enter the user Name that u desire to test ur application and click on save button.

3 comments:

Unknown said...

Thanks i dont know wat is use of parmeterzing a file in Loadrunner. This post helped me a lot. I have parameterized a value in my sample script.

Anonymous said...

Thanks this information is helpful. I wud also like to know suppose i have two fields Username and password in my script. I want to parameterize them in such a way there should be only one file and UserName shd pick the value frm Column and Password should value from column B Like a database. Can i do parameterize in such a way.

Thanks,
Kiran

sirisha chigurupati said...

Definitely u can parameterize in Such way. First of all u need to parameterise value for userName( U cant how to parameterise a value in My orginal post) and also same with password seprately. after than go to menu options Vuser-> Parameter List. Click on Add column and enter Password in the Cloumn Name. Now u can see radio button down the table by name. Click on drop down list. u can see two options(USerName, Password). Select UserName. Now to go password parameter list. click on browse button and select the file name that u have used for UserName paramter list. Now click on radio button and select Password from the drop down list and also click on select next row drop down list and select same as UserName. Hope you find this information helpfull. Let me know if u have any doubts.