Blogs
Vugen: Open A File On A Remote Machine
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.
Does LoadRunner and Performance center support Tuxedo Client 10.0?
According to HP's KM766494 on 9/18/09:
Sitescope 9.5 Bug Fix: Reports Only 1 Day of Data
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:
1. Stop the SiteScope service.
2. Perform a full back up (not mandatory).
3. Run the patch.
4. Start the SiteScope service
Save Unique Log Files With a Windows Batch File
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 format.
LoadRunner Monitor Over Firewall Patch
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:
LoadRunner Vugen: DO Loop Example
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?
Open LoadRunner Analysis Graphs with Custom Granularity
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.
1. Open a result set in Analysis.
LoadRunner Analysis Templates and Filters
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:
Citrix Presentation Server Settings and LoadRunner
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. I recently uninstalled the Loadrunner 9.1 Controlller on a machine and installaed version 9.51 on it. I always try to do a COMPLETE install by manually removing any leftover files and cleaning the registry. I was able to get everything loaded. I ran a scenario and at the end of the test (once the stop button is pushed), the following error comes up: Here are the details of the error:LoadRunner 9.51 Controller Error



