Steps To Record An Application Using Loadrunner

First, let us try to have quick access to load testing:
While the purpose of a load test an application and we use LoadRunner to replace the human user with virtual users (the “VUsers”) on the current list of machines. This introduction VUsers artificial load on the system by emulating the actions of human reality to a user in a predictable and repeatable within reach.

Virtual User-generator module LoadRunner generally known as VuGen user artificially create for ourselves and our actions all records in the form of automated scripts. VuGen works on the principle of recording and playback.

Systematic action to an application that LoadRunner VuGen module are:

Step – 1: Launch of the LoadRunner: Select Start> Programs> LoadRunner> LoadRunner. LoadRunner The launcher appears.

Step – 2: Launch of the LoadRunner VuGen module: Click “Load Testing” tab in the launch window.

Plus, click the first option “Create / Modify” for homepage VuGen startup module.

Step – 3: creating a new script: As part of the “script” VuGen to homepage, click “New Vuser Script for the New Virtual User” dialog box.

Step – 4: A selection from the only multiple protocol script or the script of the left pane of the dialog box:

a) Select single script – a selection from the list “category” and select a protocol.

b) Select multiple protocol script – more than one protocol in a single recording session. Choose the protocol from the list of protocols. Click on the arrow to the right for the selection in the Selected Protocols list. Repeat for all the minutes.

Step – 5: Close the “New Virtual User” dialog box, click “OK.”

Step – 6: Start the registration process in the various events Vuser script.

a) In general VuGen automatically opens the “Start Recording” dialog box creates a new script.

b) You can also click on “Start Record” button in the toolbar at the top of the page, on “Start Recording” dialog box. The “Start Recording” dialog box appears a little different for different protocols.

Step – 7: Complete the information related to Internet applications in the dialog box

a) “Application Type”: select Win32 applications or Internet applications, for example, websites and Oracle NCA scripts record the Internet, Windows Socket VUsers a Win32 application.

b) For the program to the host “Enter the Win 32 application for registration.

c) As regards the arguments of program “: Enter the command-line arguments to the EXE file above, for example, if we set” abc32.exe “with command line options” Genius @ xyz ” Genius it connects the user on the server “xyz” Start abc32.exe.

d) for “Working Directory: This information is intended for applications to us for a working directory.

Step – 8: Complete the information on the applications of the Internet in the dialog box

a) “Application Type”: select Internet applications.

b) For the program to the home “: select the Internet browser or application for registration.

c) In the “URL: Enter the start URL address.

d) for “Working Directory: This information is intended for applications to us for a working directory. This information can be between different types of Vuser scripts.

Complete program information for the reception, the working directory, the action and recording options by clicking on “Options.”

Step – 9: Complete the information on “Best in Action”-Box: Here, we need for the section in which we want to take.

Here you will find the sections by default are: vuser_init, Action, and vuser_end. However, we have a new section by clicking on “Actions”> “Create action” and describe a new action.

Step – 10: The recording of the startup application: This step is not recommended in the following situations:

a) When the inclusion of several measures aimed at implementation in the launch of an action only.

b) If we want to go to a certain point of the application before the start of registration.

c) During the registration in an existing script.

d) This step is not like Java Vuser scripts.

However, if it is necessary for the startup application, click “Record start the application.” If we do not want VuGen to start the application, clear the check box.

Step – 11: Complete the information on the recording options: Click “Options” button or the registration button for “Save Options” dialog box and save options. According to the minutes recorded the available options may be different.

Step – 12: definition of script options: Click on “Script” tab to select the language for code generation and setting out the script.

Step – 13: Definition of port information: SSL required when the registration on a port other than the default. Check the list of ports. If the port we use is not listed, we can about the options for port mapping.

Click the “port mapping” on horseback for fixing the port information.

Step – 14: Management of minutes in the case of multi-protocol recording: To change the list of protocols to collect, click on “protocol”. Expand the node and select Protocols.

Step – 15: Click OK to close the dialog box and start recording. VuGen launches the application and toolbar registration opens.

Perform the actions you want in the application that is in the same way. VuGen automatically in the actions of the Vuser script.

To switch between the sections of the course record, we can floating toolbar.

In the case of registering a password for the application, we VuGen request for a username and password.

Step – 16: the end of the recording session:

a) Go to the section in the floating toolbar vuser_end.

b) Click “Stop Recording” button in the toolbar of registration.

c) Click “Save” to record session

Leave a Comment