Tuesday 24 April 2018

How to Record Sample Application - Using Load Runner - Chapter7



  • Once Virtual User Generator(VUGEN) is launched, follow below snapshot.
    • File --> New Create And Solution.
    • Protocol Selection --> Type of protocol in which application is developed.
    • Script Name --> Any user defined name
    • Create --> Click Create button to proceed further.



  • Once clicked "Create" button as mentioned in above screenshot, follow below snapshot to initiate recording.
    • Click Recording Icon
    • Pass on URL to record. Probably Sample application(Web Tours) URL.(http://127.0.0.1:1080/WebTours/index.htm).
    • Change browser if required by selection "Application" drop down.
    • Click Start Recording.



  • Once clicked "Start Recording" button as mentioned in above screenshot, a New browser opens up with the Web tours sample application and the respective Recording tool bar will capture all the events going from browser to server.


  • Navigate the application using credentials provided in the earlier post. 
    • i.e. username: jojo & Password: bean.
  • Once the required navigation's are covered click on "Stop Recording" button on the recording tool bar shown below.
  • The requests or events captured will be converted to VUGEN script as below.


  • Stay Tuned to learn more. :-)

HP Sample Application - Load Runner - Chapter6



  • Once VUGEN is launched, we check sample application.
  • HP provides us a wonderful sample/testing application, which helps all the beginners a lot to grow more.
  • Go to Start Menu-->All programs-->HP Software--> HP Load Runner-->Samples
    • Under this, we will have options.
      • Start HP Web Tours Server
      • HP Web Tours Application.
    • First we need to click start server for enabling accessing sample application. To do that click on "Start HP Web Tours Server".
    • Some command prompt windows opens up. Dont close them, minimize them.
    • Then, we can click on "HP Web Tours Application" to launch sample application.
    • Login credentials to be used to access WebTours application as as follows
      • username: jojo
      • password: bean
    • Navigate certain flows and get familiarize with it.
  • Stay tuned for more leanings.


How to Launch Load Runner - Chapter5



  • Once Load Runner is installed, Load Runner short cut menu would be available in start menu as below.


  • If you further click on that shortcut menu--> All Programs--> HP Software, you will have sub folders as below:
  • HP Software --> HP Load Runner-->
    • Read Me
    • Virtual User Generator
    • Documentation
    • Samples
    • Tools
  • From the above list, if we click Virtual User Generator, VUGEN performance testing scripting tool will be launched.
  • Stay Tuned for more leanings.

Load Runner Free Version- Try Now - Chapter4


  • First we should have Load Runner Tool installed in our Computers/Laptops to start learning it.
  • It is a licensed and an heavy cost tool. Don't worry. HP provides trail version of Load runner with complete access to VUGEN, Controller & Analysis. Check the link Here. 
  • The only restriction is, you can do performance testing only up to 50 users.
  • The actual cost of licence is $0.56 per Virtual User a day. 
  • For Example if Facebook or Twitter wants to check that how their application will work for 10 lakh concurrent users, for example. then $0.56*1000000= $560000 dollars required for load runner license.
  • Stay tuned for more leanings.


Load Runner Components - Chapter3


Load Runner is basically divided into 3 components.
  • VUGEN : 
    • This is a component or a standalone tool which is used for creating performance testing scripts.
    • Creating Performance testing scripts are not so complex. Don't Worry.
    • In our real life,to record any song, we click record button and we start singing and then will stop. The result will would be a draft version of the song. Later we enhance by adding effects.
    • Similar way, VUGEN tool is built in a such a way, that it goes like, we need to provide application URL to record, and navigate the functional flow and stop recording will give draft version of Performance Testing Script. And then we need to customize according to our needs.
  • Controller/Performance Center:
    • Controller/Performance Center is a second component of load runner. Where, the customized performance test scripts are uploaded and we will design test scenario to do performance Testing.
    • Controller is actually a Standalone tool, whereas Performance Center is web based. But both does the same functionality.
  • Load Generators:
    • Load Generators are the third components. But in market it is not called as component, instead it is treated as an interface.
    • Load Generators are actually a Agents/Post Men/Supervisor.
    • Controller will take a copy of Performance Testing scripts and load into to slave machines via Load Generators.
    • Load Generators will monitor the script which is running in a slave machines, trace out logs and Statistics.
  • Analysis:
    • Analysis is the actual third component of load runner according to market.
    • Analysis is a reporting tool. It collects all the information from Load Generators and provide high level reports including graphical representations for convenient understanding.
  • Result:
    • Finally, collecting all the inputs/metrics from Analysis and a performance tester will create a customized report according to client's requirements or client's/customers understandable format.
  • Stay tuned for further easy learning. :-)




Correlation Using Load Runner - Part1 - Chapter13

Correlation General Description : Capturing Dynamic values from the preceding requests and substituting in the post request.  Exam...