Blog

  • LoadRunner Analysis Templates and Filters

    Posted on October 26, 2009 by Admin

    I was wondering about how Global Filters are applied in an Analysis template and how the template DEF files could be modified if you wanted to make one simple change to your template but did want to create a template from scratch . I got this information back from HP Support which has information in it about Global filters that I did not know:

    “Applying a global filter sets ALL the filter fields of ALL opened graphs. If the global filter’s field is set to a value different than the default one (almost always empty), this filter i Read Entire Entry

  • Citrix Presentation Server Settings and LoadRunner

    Posted on October 20, 2009 by Admin

    Recently I was working on a Citrix testing project with LoadRunner and I was reminded of all the server settings for the Citrix servers and Generators that have to be checked, in addition to all of the Vugen script run-time settings, and script enhancement. In some cases, we at Loadtester have had to become part-time Citrix server administrators to get our projects done on time. One of the Citrix server settings we always recommend initially is for any session that disconnects to be reset to login, instead of leaving it open. This Read Entire Entry

  • VuGen: More Random Selections

    Posted on October 14, 2009 by Admin

    /*
    The following lines will capture a list returned from a web server page response and
    then randomly select one of the items from that list and pass it on
    to the next URL
    */

    int rNum;
    char x[500];

    web_reg_save_param(“temp_cat”,
    “LB=abcdef”,
    “RB=xyz”,
    “Ord=ALL”,
    LAST);

    web_url(“index.jsp”,
    “Some URL’s”,
    LAST);

    //srand is called before rand

    srand(time(NULL));

    rNum= rand() % atoi(lr_eval_string(“{temp_cat_count}”)) + 1;

    lr_output_message (“A number between 1 and temp_cat_count: %d\n”, rNum);

    /* rNum will be some rando Read Entire Entry

  • Performance Center and VMWare

    Posted on October 10, 2009 by Admin

    What is the official word from HP on PC and virtualization? Well, according to KM752992 in the HP Knowledge Base:

    The following considerations apply when planning the deployment of Performance Center and/or LoadRunner within a virtualized environment:

    Load Generator:
    This component can be affected by timing issues that result from being operated within a virtual environment. As a consequence it is not recommended to run the Load Generator for load testing purposes in a Virtual Environment when timing accuracy is a Read Entire Entry

  • Enabling the new graphs in LoadRunner Analysis 9.51

    Posted on September 1, 2009 by Admin

    I have been wanting to check out the new Throughput graphs. HP Support released Knowledge Base Article #KM759621 on August 12, 2009. “How to use the new Throughput (MB) and J2EE/.Net Probe Metrics graphs that were added in SP1 for LR/PC 9.5.”

    In Performance Center, In addition to applying SP1 to the PC components such as Usersite/Admin site, Utiliy server, Hosts etc… You must apply the separate SP1 for Analysis Stand Alone.

    SP1 for LoadRunner 9.5 is required. You must also ensure that the Diagnostics Server is running the late Read Entire Entry

  • VuGen: Dynamic Transactions Created From A Parameter File

    Posted on August 28, 2009 by Admin

    From Michael Hendershot

    Based on the search item I choose, I want a different transaction. This pulls the transaction name from parameter file and generates the transaction name off the “SearchFieldTransaction” column in my parameter file. Be careful. Tree view will take the “tmptransactionname” out of the lr_start and lr_end transaction.

    Code:
    Action()
    {
    char tmptransactionname[25];

    sprintf(tmptransactionname,”%s”,lr_eval_string(“{SearchFieldTransaction}”));

    lr_start_transaction(tmpt Read Entire Entry

  • When LoadRunner Agents Crash

    Posted on August 17, 2009 by Admin

    The following files are helpful in debugging errors:

    Agent log file: agent.log or m_agent_daemon. This file is located in the temporary directory of the agent machine. It provides information about the connection errors.
    Bridge log file: lr_bridge.log. This file is located in the scenario’s temporary log directory (i.e brr_*\log). lr_bridge controls virtual users during scenario execution.
    Virtual user log files: ScriptName_VuserID.log.
    This file is located inside log directory found in scenario result directory.

    Here are Read Entire Entry

  • Error on LoadRunner 9.51 Installation

    Posted on August 10, 2009 by Admin

    A new knowledge base article is available on the HP Support side for LoadRunner 9.51. KM753044. If you get the following messages during installation:
    “Another instance of the program is already running.”
    and/or
    “Setup has determined that a previous installation has not completed. You should restart your system in order to complete this process.”
    It is possible this is coming from conflicting software. Software such as Tivoli or Radia installed on the system interfere with the installation of LoadRunner.

    The suggested fix:

    S Read Entire Entry

  • Does LoadRunner 9.51 support the Citrix Xen App Client?

    Posted on August 10, 2009 by Admin

    A recent knowledge base article was added on the HP Support site for LoadRunner 9.51. KM755736 now states:
    “Yes, LR 951 supports Citrix client 11.0. However, please make sure the registry patch is applied after this citrix client installation.”
    The patch adds a couple of keys to registry;

    [HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Third Party\CustomVC]
    “VirtualChannels”=””

    [HKEY_CURRENT_USER\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\A Read Entire Entry

  • LoadRunner VuGen: Make any SERVER or URL a Parameter

    Posted on July 30, 2009 by Admin

    From Michael Hendershot:
    // DEFINE VARIABLES
    char *appurl; // Variable To Hold URL Name

    // ************************************************************************
    // START – SELECT ENVIRONMENT TO RUN LOADTEST AGAINST BY UNCOMMENTING THE CORRECT ENVIRONMENT
    // ************************************************************************

    //appurl = “server_url:9999”; // Application #1
    appurl = “server_url:1111″; // Application #2

    // CONVERT URL TO PARAMETER TO USE IN URLS BELOW
    lr_save_string(appurl,”p_Url”); Read Entire Entry