Friday, October 29, 2010

Steps to install HP LoadRunner 11.00 evaluation version

Pre-requisite
User already have LoadRunner 11.00 installable.Click Here

Video Tutorial - Steps to install HP LoadRunner 11.00 evaluation version




Step by Step Procedure


  1. Open the installation folder named "T7177-15013" and Open the "readme.html" file & go through the document for Pre-requisite software required to install the LoadRunner 11.00 software.
  2. Double Click the setup file
  3. Click "Loadrunner Full Setup" option.Loadrunner installation wizard guides the user to install any necessary software if required.
  4. Follow the steps in installation wizard by installing the software in default location. If NOT in default path, specify the path
  5. Evaluation license is available ONLY for 10 days. Evaluation license allows users to run the test with 25 vusers

Saturday, October 23, 2010

Steps to Download HP Load runner 11.0 evaluation version

Pre-requisite
user already registered with HP site


Video Tutorial - how to download Load runner 11.0 evaluation version




Step by Step Procedure


  1. Open Google in Internet Explorer
  2. Search for "HP Software - Download Center"
  3. Click Link "Download Center - HP Software"
  4. Enter "load runner trial version" in Keyword text box.
    Choose "Trial Software" from Refine search by resource type
    Click Search button
  5. Click "HP Load Runner 11.00 Evaluation" Link
  6. To download evaluation version, user should have registered with HP.
    Enter user Credentials if you have and sign-in
    (or)
    Register with HP site
  7. Click I Agree button
  8. Download the following two files to the same directory of your system
    1. Software_HP_LoadRunner_11.00_T7177_15013.zip
    2. Software_HP_LoadRunner_11.00_T7177_15013.z01
  9. while downloading .z01 file, give double quotes (") around file name. ("Software_HP_LoadRunner_11.00_T7177_15013.z01")
    Otherwise it will override the existing zip file
  10. Using win zip
    rigth click "Software_HP_LoadRunner_11.00_T7177_15013.zip"
    Click "Extract here" option
  11. Extraction results in "T7177-15013.zip" file.
    Again extract this file using win zip to T7177-15013 folder.
    This results in the Full installation.
  12. Double click folder "T7177-15013" and setup file is available in the folder

Saturday, August 28, 2010

vugen script replay - HP Web Tours New user Registration script

Pre-requisite
user already have a recorded script for HP Web Tours Recording - New User Registration. Click Here for details.

Demo Video - HP Web Tours Application - New User Registration Script - Replay


This is my first video tutorial. It would be great if users are giving comments on the quality of the content and video. Based on the comment, I can prepare my future video tutorial in a much better way





Step by Step Procedure to run the script


  1. Double click the Vugen shortcut available in the system desktop
  2. Go to File > Open > Enter D:\StayTuned\Scripts\Recording\WebTours_NewRegistration in file name text box > click open button
  3. Click Tools menu > Click General Options item > Click Display tab and select Show browser during replay checkbox and then click ok button(This option shows the runtime viewer during the script replay)
  4. Click Vuser menu and click Run item OR Press F5 OR Click Runicon in Recording Toolbar
  5. This executes the script successfully without fail. If you observe carefully the runtime viewer, system displays the error as "Your username is taken *******".This error means HP web tours sample application already have an account by this name and suggesting the user to use unique name to register.

Points To Consider

This example shows how the load tester (without proper training or mentoring) can do a invalid test. If Load tester did not find this error in vugen runtime viewer and assume script is working fine.what would be the validity of the load test if load tester conducts a 100 user test and publish the results.It is always a good practice to customize the loadrunner scripts for page validation and others. I am planning to write an article Customizing loadrunner vuser scripts in near future

Friday, August 27, 2010

how to disconnect terminal server session remotely

There are few cases where we need to disconnect the session from the terminal server remotely.

Scenario Usuage

For example, the logged in user has completed his work remotely but user forgot to close or logoff the session. The session remains active and NOT allowing other users to connect to terminal server.

you can follow the steps mentioned below.
  • Login to the other remoter server
  • Open command prompt
  • Enter command as tsdiscon SessionID /server:servername to disconnect the session

Example

To disconnect session 3
type tsdiscon 3 /server:servername

To disconnect session 6
type tsdiscon 6 /server:servername

how to restart/shutdown terminal server remotely

There are few cases where we need to shutdown/restart the terminal server remotely.

you can follow the steps mentioned below.

  • Login to the other remoter server
  • Open command prompt
  • Enter command as tsshutdn /SERVER:servername /reboot to reboot the server/system
  • Enter command as tsshutdn /SERVER:servername to shutdown the server/system

Example
tsshutdn /SERVER:127.0.0.1


The first command restart server named "servername".
The second command shutdown server named "servername".


how to find terminal server session details/information remotely

There are few cases where we need to find out session details remotely.

Scenario Usuage


For example, the remote system is shared across different team members and you are NOT able to login to the remote system as two sessions are already used by other users.

you can follow the steps mentioned below.
  • Login to the other remoter server
  • Open command prompt
  • Enter command as query session /SERVER:servername

The above command lists the users who are connected to server named "servername".


how to find terminal server user details/information remotely

There are few cases where we need to find out users who are connected to the remote system.

Scenario Usuage


For example, the remote system is shared across different team members and you are NOT able to login to the remote system as two sessions are already used by other users.

you can follow the steps mentioned below.
  • Login to the other remoter server
  • Open command prompt
  • Enter command as query user /SERVER:servername

The above command lists the users who are connected to server named "servername".


Monday, August 23, 2010

RDP Full Screen issue/ RDP how to configure full screen

In few occasion,users are not able to see the full screen of remote desktop system

you can do the following steps from your client system to see the full screen of your remote system
  • Click Start
  • Click Run
  • Type mstsc
  • Click ok button
  • In the Remote Desktop Connection window, Click Options in bottom left corner
  • Click Display tab
  • In the display configuration section,move or drag the slider towards large and system display the fullscreen text right below the slider
  • Now you can connect to the remote system using system IP, user credentials and verify the result

Wednesday, August 18, 2010

The terminal server has exceeded the maximum number of allowed connections

Error Description

The terminal server has exceeded the maximum number of allowed connections

The above error is most often user will get if users are working with RDC (Remote Desktop Connection)

Why this error occurs
  1. The maximum number of sessions allowed remotely for RDC is TWO at any given time.
  2. Unfortunately the logged in user is NOT logged off their session, then their session will be acive. so other users tries to RDC will get this familiar error

How to resolve
  1. Open the command prompt in your client system
    Enter the command mstsc /v:servername /admin /f –console (This will login to the remote system in console using admin user. In user dialog, enter your admin username and password)
  2. Once logged in, go to Start- Run- type tsadmin- Click Enter
  3. This will open the Terminal Services Manager and shows up the users session connected to the system.
  4. Logoff the other two sessions (Right mouse click and click logoff menu item from menu)
  5. Try to RDC now, it will successfully allow the user to RDC to remote system.

servername is a variable that you have to replace with your server ip or server name

how to avoid this error

Insist the user to logoff their session once they have done their work remotely

Thursday, July 29, 2010

Loadrunner

LoadRunner Tutorial - Table Of Contents


Contents
Download Loadrunner 9.5
Steps to install Vugen and other components
Post-Installation Verification Steps
Download-Loadrunner-9.5 SP1
Steps To Install Loadrunner 9.5 SP1
Steps To Download Loadrunner 9.5 SP2
Steps To Install Loadrunner 9.5 SP2
Setting Environment for Script Development
Setting Up Recording Option - html based
HP Web Tours Recording - New User Registration

Steps to install Loadrunner 9.5 SP2 patch


Pre-requisite
  • User already installed Loadrunner 9.5 version with patch SP1
  • Download-loadrunner-951-sp2-patch


    1. Extract the LR9.5 SP2 zip to local diskGo the following directory in the windows explorer "rootdirectory\LR_03012
    2. "Double click "LoadRunner_952" application
    3. Click "Install" button after reading the instruction
    4. Be patient till "Welcome to the LoadRunner 9.52 Setup Wizard" appears
    5. Click "Next" button
    6. Click "Next" button in "Confirmation Section"
    7. "Installing Loadrunner 9.52" section shows the progress of installation
    8. Click "Finish" button in "Finish section"
    9. Double click Vugen desktop shortcut
    10. Go to Help Menu and click "About HP Virtual User Generator" item (Product version is displayed)
    11. Click "Details..." button to get more details.

    Find below the installation screenshot for referrence.



      Steps to install Loadrunner 9.5 SP1 patch


      1. Extract the LR9.5 SP1 zip to local disk
      2. Go the following directory in the windows explorer "rootdirectory\LR_03009"
      3. Double click "LoadRunner_951" windows installer patch
      4. Be patient till "Welcome to the LoadRunner 9.51 Setup Wizard" appears
      5. Click "Next" button
      6. Click "Next" button in "Confirmation Section"
      7. "Installing Loadrunner 9.51" section shows the progress of installation
      8. Click "Finish" button in "Finish section"
      9. Double click Vugen desktop shortcut
      10. Go to Help Menu and click "About HP Virtual User Generator" item (Product version is displayed)
      11. Click "Details..." button to get more details.

      Find below the installation screenshot for referrence.

      Sunday, July 25, 2010

      Vugen Recording - Web Tours New User Registration

      Pre-Requisite
      setting-up-recording-options-before-recording
      Steps To Record
      1. Double click “Vugen” desktop shortcut
      2. Click File > New
      3. In New Virtual User Dialog window, Select Web(HTT P/HTML) if it is not selected default
      4. Click Create button
      5. In Start Recording Dialog window, Enter http://127.0.0.1:1080/WebTours if it is not displayed default
      6. Click ok button
      7. Web Tours welcome page is opened in the Internet Explorer.


      8. In Vugen Recording toolbar, Click “Insert Comment” (3rd from right)menu item
      9. In Insert Comment dialog window, Enter comment as “Click sign up now link” and click “ok” button.
      10. Click “sign up now “ link in Web Tours welcome page
      11. In Customer Profile page, complete the form by entering the following values.
      12. For simplicity, enter value as “staytuned1” for all the text field values.
      13. In Vugen Recording toolbar, Click “Insert Comment” menu item
      14. In Insert Comment dialog window, Enter comment as “Click Continue… button” and click “ok” button.
      15. Click “Continue… “ button in Web Tours application.
      16. In Vugen Recording toolbar, Click “Stop” (3rd from left) menu item

      17. In your system, create the following folder structure
        D:\StayTuned\Scripts\Recording
        Or
        C:\StayTuned\Scripts\Recording

      18. In Vugen, select File, click Save As and save the script under folder “D:\StayTuned\Scripts\Recording” with script name as “WebTours_NewRegistration”

      Click Continue... button - Web Request Function



      web_submit_data("login.pl",
      "Action=http://127.0.0.1:1080/WebTours/login.pl",
      "Method=POST",
      "TargetFrame=info",
      "RecContentType=text/html",
      "Referer=http://127.0.0.1:1080/WebTours/login.pl?username=&password=&getInfo=true",
      "Snapshot=t3.inf",
      "Mode=HTML",
      ITEMDATA,
      "Name=username", "Value=staytuned1", ENDITEM,
      "Name=password", "Value=staytuned1", ENDITEM,
      "Name=passwordConfirm", "Value=staytuned1", ENDITEM,
      "Name=firstName", "Value=staytuned1", ENDITEM,
      "Name=lastName", "Value=staytuned1", ENDITEM,
      "Name=address1", "Value=staytuned1", ENDITEM,
      "Name=address2", "Value=staytuned1", ENDITEM,
      "Name=register.x", "Value=40", ENDITEM,
      "Name=register.y", "Value=5", ENDITEM,
      LAST);

      Friday, July 23, 2010

      Vugen Recording Options Setup - before recording

      Setting up Recording Options


      1. Double click “Virtual User Generator” desktop shortcut
      2. Click File > New > Select “web (HTTP/HTML)” from New Virtual User pop up window
      3. Click Create button
      4. Check “Next time you create a script, skip this page and open recording.” Check box
      5. Click Next button
      6. Click Start Recording button
      7. Click Options button
      8. Click HTML Advanced… from General: Recording window


      9. Select the following radio button
        • A script containing explicit URLs
        • Do not record


      10. Click ok button
      11. Click ok button on Recoding Option dialog box
      12. In URL Address: combo, Enter values as http://127.0.0.1:1080/WebTours
      13. Refer the screenshot for more information


      14. Click ok button
      15. Once the login page is loaded completely, click Stop button in Recording toolbar.


      16. Save the scripts to the system
      17. Click File menu and Click Exit

      18. Summary
        • This article specifies the steps or settings that user has to do before start recording.
        • The same setting is available for future recording, so users don’t need to set up this settings every time.
        • Double click the vugen and check the settings now.

      Setting up environment for script development

      Creating shortcuts and Environment Setup for script development


      Steps to Create Shortcuts

      Vugen
      Click Start > All Programs > LoadRunner > Applications >
      Move the mouser over “Virtual User Generator “
      Right click the mouse, select “Send To” Sub menu and click “Desktop (Create Shorcut)” item.

      Repeat the above steps for the components/application such as Analysis and HP Web Tours Application.

      Why didn’t I create a shortcut for “Start Web Sever” component?
      It is Very simple, I am going to start the server automatically whenever you boot up your system. Otherwise user has to start the server manually every time after starting the system.

      How to start web tour web server (“xigui32”) automatically?

      Click Start > All Programs > LoadRunner > Samples > Web >
      Move the mouser over “Start Web Server“
      Right click the mouse and click “copy” item
      Click Start > All Programs
      Move the mouser over “Startup “
      Right click the mouse and click “Open” item
      Paste the copied file to this location.

      Applications available in this directory will start automatically whenever user boots the system

      Desktop screenshot - After creating shortcuts

      Loadrunner Post-Installation verification

      Steps to verify installed components


      Step by step procedure to verify the intended components is installed.

      Vugen
      Click Start > All Programs > LoadRunner > Applications > Click “Virtual User Generator”
      Actual Result
      Vugen application is opened

      Analysis
      Click Start > All Programs > LoadRunner > Applications > Click “Analysis”
      Actual Result
      Analysis application is opened

      Documentation
      Click Start > All Programs > LoadRunner > Documentation > Click the requirement document (e.g. Click “VuGen User Guide” for reading vuser related information.
      Actual Result
      System shall open the clicked document.

      Access Sample Application
      Click Start > All Programs > LoadRunner > Samples > Web > Click “HP Web Tours Application”
      Actual Result
      System throws the error as “Page cannot be displayed” error.
      Why this error shows up? Didn’t I install sample application?

      Explanation
      User should start the web server before accessing the application.
      Fine, how to start the web server for my sample application?

      Click Start > All Programs > LoadRunner > Samples > Web > Click “Start web Server”
      After you start the web server, access the application
      Click Start > All Programs > LoadRunner > Samples > Web > Click “HP Web Tours Application”

      Summary
      The installed components such as Virtual User Generator, Analysis, Documentation and Sample application is available on the system.

      Thursday, July 22, 2010

      Download Loadrunner 9.52 SP2 Patch

      STEPS TO DOWNLOAD LOADRUNNER 9.52 PATCH


        Pre-requisite
        1.User should have registered with HP Passport and the Service Agreement ID (SAID) should have associated with HP Passport account

      1. http://support.openview.hp.com/downloads.jsp

      2. Click >>Self-solve tab

      3. Enter your userid and password

      4. Click Sign-in>> button

      5. Select Loadrunner from product listbox

      6. Select 9.51 from Product Version Listbox

      7. Select windows from operating system Listbox

      8. Check "Patches" checkbox and uncheck all other checkboxes

      9. Click Search button




      10. Click the link "LoadRunner 9.52 patch" from the results section (LR_03012)

      11. Click download patch link from "Should I Download" section.

      12. Click save button and save it to your local disk

      Wednesday, July 21, 2010

      Download Loadrunner 9.51 SP1 Patch

      STEPS TO DOWNLOAD LOADRUNNER 9.51 PATCH


        Pre-requisite
        1.User should have registered with HP Passport and the Service Agreement ID (SAID) should have associated with HP Passport account

      1. http://support.openview.hp.com/downloads.jsp

      2. Click >>Self-solve tab

      3. Enter your userid and password

      4. Click Sign-in>> button

      5. Select Loadrunner from product listbox

      6. Select 9.50 from Product Version Listbox

      7. Select windows from operating system Listbox

      8. Check "Patches" checkbox and uncheck all other checkboxes

      9. Click Search button



      10. Click the link "LoadRunner 9.51 patch" from the results section (LR_03009)

      11. Click download patch link from "Should I Download" section.

      12. Click save button and save it to your local disk

      Tuesday, July 20, 2010

      Steps to install virtual user generator and other free components of loadrunner


        we are going to install ONLY components that are NOT require license. The installed components are free to use.we can defer or later install the Controller component (evaluation version) which requires license to use the software. when we install controller,only evaluation version is installed and is available for 10 days for 25 virtual users.



        This step assumes that user system has all prerequisite software installed on the system. If prerequisite software is not installed already, the installation wizard opens the screen and displays the list of software that are required. users can install the listed software and further proceed with original installation steps.


      1. Extract the file "T7177-15008.zip" using winzip and place the content in the local disk.

      2. Go to the folder "T7177-15008" and double click "setup"


      3. Click "LoadRunner Full Setup" Link


      4. Click "Next" in Loadrunner 9.50 Setup Wizard

      5. Choose "I Agree" radio button and Click "Next"

      6. Enter your name and organization name and Click "Next"

      7. ***** Choose "Custom" radio button and Click "Next" ********* (This is very important step, so select the option carefully)

      8. Click "down arrow" for "Controller" and Click "Entire feature will be unavailable" option

      9. Repeat the above steps for the following components (This features are not installed)

        ERP and CRM Mediator,Launcher,MI Listener Component and Monitors over FireWall



      10. Click "down arrow" for "Vuser Generator" and Click "Will be installed on local drive" option

      11. Repeat the above steps for the following components ((These features are installed)

        Analysis, Load Generator,Online Documentation,Samples



      12. Click "Next" button

      13. "Select installation folder screen wizard" loads with default installation path "C:\Program Files\HP\LoadRunner\"

      14. Click Next button

      15. Click Next button again

      16. Next button will be disabled until requested components are installed on your system

      17. Click "Finish" button.

      18. Click "Exit" button.

      GREAT. WE HAVE INSTALLED THE REQUIRED SOFTWARE.In coming days, i am going to write few articles on the following items.


      1.How to record the script?
      2.How to develop or design the script?
      3.How to run the script?

      Monday, July 19, 2010

      Download Loadrunner 9.5


      1. Go to URL "https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-126-17%5E8_4000_100__"

      2. Click "HP LoadRunner 9.5 Evaluation" link

      3. If you are not registered users, then Register with HP "New Users Register Here" section by entering required fields

      4. Click "Register" button.

      5. Click the link "License agreement for HP LoadRunner 9.5 Evaluation".

      6. Click "I Agree" button. (Please make sure to read the section "Evaluation Software Terms of Use" before clicking I Agree button)

      7. Click filename "T7177-15008.zip" under link column and download to your local harddisk.

      NOTE

      The downloaded LR software is for windows operating system. If you are using other operating systems, download the related installable file.