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 :
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?
Posted by sirisha chigurupati at 05:49 2 comments
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
Posted by sirisha chigurupati at 05:42 2 comments
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.
Posted by sirisha chigurupati at 05:45 2 comments
Friday, 25 January 2008
Load runner Architecture
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.
Posted by sirisha chigurupati at 01:37 0 comments
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
Posted by sirisha chigurupati at 10:03 0 comments
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
Posted by sirisha chigurupati at 09:46 0 comments
Monday, 14 January 2008
how to add transaction Points in load runner?
We can add transaction Points while we record
Posted by sirisha chigurupati at 08:29 5 comments
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
Posted by sirisha chigurupati at 09:42 5 comments
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.
Posted by sirisha chigurupati at 09:32 3 comments
what is the use of parameterizon in Loadrunner?
paramertzation helps you to test the script with different values and also it reduces the size of script. You can test ur application by using different values which makes ur job pretty easy by simply parameterizing some valid fields.
Posted by sirisha chigurupati at 09:28 0 comments
Monday, 7 January 2008
How to start recording in Loadrunner?
Start -> All programs -> Loadrunner -> Applications -> Virtual User generator
Select New Vuser Script or go to menu options (Click on File -> New)
New Virtual User screen is displayed
Verify that ‘all protocols’ is selected in Category Drop down list
Based on Ur application u need to select New Single Protocol script or New Multiple Protocol script
(For ex suppose ur application deals with only web like HTTP/ HTML then u can select web(HTTP/HTML) else if ur application deals with both web and some other software like Oracle NCA u have select New Multiple Protocol Script and u need to select both Oracle NCA & Web(HTTP/HTML))
Click on OK button after u select valid protocol/ protocols
A New Window ‘Start Recording’ dialog box is invoked
Specify the Valid address in URL and Select Vuserint in record to action
When ever u record using LR u need select Vuserint for Login details
Where as in action block u need to record the actions like“ wat u want to test in the application”
In Vsuerend u need to record logout information
Click on ok button and now u can see Loadrunner records the actions that u perform on the application
Posted by sirisha chigurupati at 03:45 3 comments
Load runner 9.0 supports the following protocols
In my previous post I have specified how to start with Load runner testing process. Now we will discuss more abt creating Vuser scripts
Load runner 9.0 supports the following protocols
Action Message Format (AMF), Ajax(Click and script), C Vuser, Citrix_ICA, COM/DCOM, DB2 CLI, Domain Name Resolution (DNS), Enterprise Java Beans (EJB), File Transfer Protocol, i-mode, Informix, Internet Messaging (IMAP), Java Record Play, Java Vuser, Javascript Vuser, Listing Directory Service (LDAP), Media Player (MMS), Microsoft .Net, Microsoft Remote Desktop Protocol, MS Exchange(MAPI), MS SQL Server, Multimedia Messaging service(MMS), ODBC, Oracle (2-tier), Oracle NCA, Oracle Web application 11i, People soft Enterprise, Peoplesoft –Tuxedo, Post Office Protocol (POP3), Real, SAP - Web, SAP (Click and Script) , SAPGUI, Siebel –DB2CLI, SIEBEL – MSSQL, Siebel –Oracle, Siebel –Web, Simple Mail Protocol (SMTP), Sybase CTlib, Sybase DBlib, Terminal emulation (RTE), Tuxedo 6, Tuxedo 7, VB Script Vuser, VB Vuser, VBnet Vuser, Voice XML, WAP, Web( Click and Script), Web(Http/HTML), Web Services, Windows Sockets
Posted by sirisha chigurupati at 03:21 3 comments
Getting started with Loadrunner
Load runner Testing process involes 6 main stages
Planning the test -> Creating Vuser scripts -> Creating Scenario -> Executing Scenario -> Monitoring the Scenario -> Analysing Test results
Before testing any application using Load runner we need to analyse the application. When analysing the application we should become thoroughly familiar with hardware and software components, the system configuration and typical usage model. Because the testing environment you create using load runner should reflect the environment and configuration of the application.
Posted by sirisha chigurupati at 02:20 2 comments