Blog

  • Troubleshoot LoadRunner VuGen Errors Loading Custom DLL’s

    Posted on March 31, 2010 by Admin

    Issue: While using the lr_load_dll function, the user receives the following error:
    “Action1.c(x): Error -19890 : C-interpreter run time error:
    Action1.c(x): Error — File error : LoadLibrary(c:\temp\MyDll.dll) failed : The specified module could not be found.”
    The error above can occur if the compiler fails to locate or load the DLL. You can check the return code of lr_load_dll to verify if this is the case.

    Example code:
    //—begin code—//
    int x;
    x = lr_load_dll(“MyDLL.dll”);
    lr_message(“return code = %d”, x);
    //—-en Read Entire Entry

  • VuGen: HTML/URL/Text Conversion

    Posted on March 18, 2010 by Admin

    The web_convert_param function either converts HTML text to plain text or URL, or converts plain text to URL.

    HTML format uses codes for some non-alphanumerical characters, such as & for ampersand. URLs do not support non alpha-numerical characters and use the escape sequence %number, to represent them. To use an HTML value in a URL, you must therefore convert it into an escape sequence or plain text. For example, an ampersand is represented in a URL as %26. When you use this function to convert the HTML to plain text, i Read Entire Entry

  • Set up an Oracle Monitor in LoadRunner Using a Baseball Bat

    Posted on February 18, 2010 by Admin

    Recently, I needed to setup an Oracle monitor in LoadRunner so I decided to take some screen shots along the way so that I could post them along with some instructions. I do this because I know I will forget how to do this in the future, so when the next project rolls around that requires it, I can search Google and find my own article on the topic. It’s a great ego booster. Maybe you are looking to do this, and it will help you too.

    Whenever I go into a project where previous LoadRunner testing did not include proper monitoring (b Read Entire Entry

  • LoadRunner 9.52 – Latest Features and Bugs

    Posted on February 15, 2010 by Admin

    LoadRunner 9.52 is mostly bug fixes, but I wanted to key in what’s new with it:

    Flex Protocol Enhancements. Improved support of externalizable objects and general protocol usability. Updated user interface for Recording Options and Run-Time Settings (Flex > Externalizable Objects node). Added Code Generation Errors dialog box that displays details about errors, as well as recommended actions.
    Web Services protocol enhancements. The Web Services protocol now supports JMS messages based on JMS topics and Windows authenticat Read Entire Entry

  • VuGen: Open A File On A Remote Machine

    Posted on February 2, 2010 by Admin

    The user wants to open a file existing on a remote machine in VuGen, but using the fopen function causes a C interpreter error. What this error means is that there was something wrong in the syntax, but the problem comes up only when file is stored in the remote machine.

    The host name itself contains two backslashes as a part of the name. So, in order to specify the complete path of the host machine, you need to precede each backslash with another backslash.

    NOTE: when adding script to Controller, you need to add yourfile.txt Read Entire Entry

  • SiteScope 9.5 Bug Fix: Reports Only 1 Day of Data

    Posted on January 11, 2010 by Admin

    Those of you using SiteScope 9.5 and only being able to get a single days worth of data, we have found a solution: Apply patch 9.5.4 on top of 9.5 (you don’t have to apply any previous patches – you can go straight to it). The steps to install the patch are as follows:

    Stop the SiteScope service.
    Perform a full back up (not mandatory).
    Run the patch.
    Start the SiteScope service

    If you apply this patch and using Web Scripts in SiteScope and are having a problem opening the logs for SiteScope, this is a known issue. Here Read Entire Entry

  • Save Unique Log Files With a Windows Batch File

    Posted on January 4, 2010 by Admin

    This may help you if you have to run a batch file and save off file with a unique name every time. I find the easiest thing is to save based on the exact time. For this file, I wanted to gather all of the processes in task manager and save them into a spreadsheet. I did this at the beginning of a load test, and the ending of a load test. I then compared the two files to determine memory utilization of each process. In XP there is a command line executable build in called “tasklist.exe” and it allows you to save your data in csv Read Entire Entry

  • LoadRunner Monitor Over Firewall Patch

    Posted on December 1, 2009 by Admin

    If you are having an issue trying to select certian perfmon counters for the Windows Resources monitor when using the Monitor Over Firewall in LoadRunner, there is a patch from HP which will correct this. It is basically an updated cm_nt_monui.dll file (located under the \BIN folder in your main LoadRunner install directory). Save off the old one by renaming it first, then replace the new one. You can get this patch from HP support by opening an incident report.

    Here is what the issue looks like:

    Note that you cannot select Read Entire Entry

  • LoadRunner VuGen: DO Loop Example

    Posted on November 12, 2009 by Admin

    Most people who use Vugen and have a development background know loops. In C or most other programming languages, a loop is a loop. Sometimes in my classes I will ask students the main difference between a “do while” loop verses a “while” loop to see if they have that programming background. A “do” loop requires that the code you want to run does execute at least once before checking the condition to see if it should run again. But how about a real world example when scripting for a load test?

    How about trying to click a refres Read Entire Entry

  • Open LoadRunner Analysis Graphs with Custom Granularity

    Posted on October 28, 2009 by Admin

    Is there a way to set the Analysis Tool to open new graphs with a custom granularity? For example, LoadRunner may open all graphs with the granularity set to 300 seconds. Is there away to set it to 10 seconds?

    Solution

    Create a user-defined template for the Analysis tool. There is no way to set the same granularity to all graphs in Analysis once the result set has been processed. However as a work-around, create and use a user-defined template.

    Open a result set in Analysis.
    Open up all sets of graphs.
    In each graph, s Read Entire Entry