Explaining Load Runner Specific Features

Loadrunner is a trusted name in the field of software testing. There certain features of Loadrunner which makes it stand apart from other tools present in the market. Some of the Loadrunner specific features are as follows :

  • Think Time: Think time is the amount of time for which the script will not perform any action. While recording the browsing action, if a user doesn’t perform any action for a specific period of time, it is taken into account as think time. While modifying the recorded script think time can be inserted manually.
  • Rendezvous: Sometimes we need to emulate heavy user load on your system. To achieve this, we synchronize Vusers to perform a task at exactly the same moment. You configure multiple Vusers to act simultaneously by creating a rendezvous point. When a Vuser arrives at the rendezvous point, it waits until all Vusers arrive.When all Vusers arrive, the Vusers are released.
  • Parameters: To make some of the dynamic data supplied by the users such as login details, search term should be replaced with parameters and so that the script is not hard-coded and these parameter values are different for some vusers, thus making the load testing more realistic.
  • Correlation: Dynamic variables like cookies, session id etc changes every time we connect with the website.While recording the script these variables values are hard coded. So when we run the script it shows error and the script is not passed as these values should be different every time we connect to that particular site.Correlation helps us overcome this problem.
  • Transaction: Transaction are those those functions in your script that should be monitored with details.Some functions like login, cart etc are important for the website,thus their response time is very important. In that scenario insert transactions to get a detailed summary about those actions



Create Load Test

  • The load test in loadrunner is created with the building up of scripts also known as vugen scripts.
  • The vugen scripts are created from the vugen generator application program that can be started directly from the folder in the start menu or from the loadrunner welcome page interface.
  • When started click on file->new and then a dialog box will open up requesting you to select the protocol required.
  • Choose the protocol you need based upon the application you are testing.  Over here  we will deal with Web (Http and Html) for testing various websites according the performance point of view.
  • After selecting the protocol you will see a  ‘start record ’ button in the task bar. On clicking that another dialog box will open up with different fields. Keeping all other fields intact just write the url of the website to be tested in the required space and click ok.
  • After that a browser will open up (usually Internet Explorer) and navigate the web just the same you want your think the users are going to use your website or the way so that you can cover the parts of the site you want to get tested.(eg. Login, logout, cart function, Search function etc).
  • After you are done with navigating the website click on the stop button from the small control box that will be lying  above the browser to stop recording it.
  • Now you can replay this script by pressing Run button from the task bar or by clicking F5. Different manipulations of the scripts can be done which is explained in ‘building your script’ part.