Blog
Categories
- Agile
- Best Practices
- Center of Excellence
- Cloud
- Featured
- Functional Testing and Automation
- Giveaway
- Healthcare IT
- HP
- HP Discover Conference
- HP Software Patches
- Latest News
- LoadRunner
- Methodology
- Mobile
- Northway Navigator Club News
- Operating Systems
- Performance Testing and Automation
- Quality Assurance
- Security
- Service Virtualization
- SiteScope
- Training
- TweakLR
- Uncategorized
- VuGen Code
Archives
- April 2019
- September 2018
- July 2018
- June 2018
- October 2017
- August 2016
- April 2015
- February 2015
- September 2014
- August 2014
- May 2014
- April 2014
- March 2014
- October 2013
- September 2013
- August 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- February 2011
- July 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- September 2007
- August 2007
- July 2007
- October 2006
- April 2006
- March 2005
- October 2004
- March 2004
- February 2004
- January 2004
- December 2003
- November 2003
- April 2003
-
Having trouble with those new TruClient Functions? Here’s why
Posted on February 2, 2011 by Admin
LoadRunner 11 has added the AJAX Truclient protocol, and with it new functions for it that are unlike the old C-based functions. As of this writing, there still isn’t an entry in the function reference for the protocol with examples of usage, but only documentation found in the help documentation.
However, recently we found that some of these functions are not correct. HP recently added a new knowledge base article address this:
KM1025315Problem: When trying to use the following functions in an step “Evaluate JS Read Entire Entry
-
LoadRunner GUID Creator
Posted on July 28, 2010 by Admin
If you need to create a GUID on the fly for a unique ID, here is some code to do just that. Thanks to Chris Butts for this.
Here is the GUID function. Set this somewhere outside the Action() function to keep it separate.
GUID()
{
lr_guid_gen();
lr_message(“%s”, lr_eval_string(“”));
lr_message(“%s”, lr_eval_string(“”));
}int lr_guid_gen()
{
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3 Read Entire Entry -
Loadrunner Citrix and Remote Desktop Conflict – SOLVED
Posted on July 22, 2010 by Admin
We have been working with a client for weeks to solve an issue with LoadRunner 9.52 that I am happy to report is now solved.
Problem: After creating a Citrix script in Vugen and getting a successful playback on a local machine, the script would be moved to the LoadRunner Controller to test it out with multiple virtual users. Sometimes the scripts would throw the error, “Failed to retrieve the ICA client Bitmap: Reason: The server threw an exception”. This happened for all ctrx_sync_on_windows functions on all scripts, but onl Read Entire Entry
-
VuGen 9.5 and SQL Server 2008 Conflict
Posted on July 15, 2010 by Admin
I was using the stand-alone version of Vugen used with Performance Center 9.5, and I noticed that it would crash every time I tried to create a parameter file.
After some research, I found out it is because SQL Server 2008 was installed on the machine. Apparently, Vugen is doing something that conflicts with the mfc80.dll or mfc80u.dll file used by SQL Server 2008. This problem not only affects Vugen, but other applications as well.
Here is a link to more information on the Read Entire Entry
-
LoadRunner 9.52 Installation Problem With 64-Bit – Workaround
Posted on July 15, 2010 by Admin
We have experienced a bug in the LoadRunner 9.52 patch when trying to install on a 64-bit OS. Installing 9.5, and 9.51 works just fine. However, when trying to install 9.52 – it can’t find an existing Loadrunner installation.
After some research, we located this article:
http://www.windowsitpro.com/article/internals-and-architecture/what-s-the-wow6432node-under-the-hkey_local_machine-software-registry-subkey-.aspx
Our theory is that LR 9.52 patch does not realize it is running in a 64-bit environment and probably Read Entire Entry
-
The Origin of TweakLR
Posted on April 29, 2010 by Admin
Note: This blog post was originally published on Loadtester.com as an article. We have re-published here as an effort to retain useful information from that web site after merging with Northway Solutions Group. Some material may be slightly modified to retain relevance.
This week marks a milestone for me personally, as well as for Loadtester as a company. Two years ago, we had an idea to create a utility to be used to make our lives as LoadRunner consultants a little easier. There have been a few stand-alone utilities that have been Read Entire Entry -
April 2010 – Latest LoadRunner Bugs and KB Articles
Posted on April 27, 2010 by Admin
Web/AJAX Protocol:
KM840444 – Using the Web HTTP/HTML protocol in LoadRunner 9.51 or 9.52, after recording the business process the body portion is missing in the web_custom_request when the script is generated. No error message is displayed in the log files, either during record or replay.
For example, with LR 9.50 the recording of an HTTP POST request to a SAP server generates the following web_custom_request code:
web_custom_request(“runtime_2”,
“URL=http://hostname.domain.org:50000/xxx/yyy/zzzzz”,
“Method=POST”,
“Resource=0 Read Entire Entry -
VuGen: Trim Strings With Dynamic Lengths On Left
Posted on April 12, 2010 by Admin
Sometimes you need to strip off the first part of a string because there is some character and/or amount of crap at the end that you don’t need. The most obvious use of this is when you capture an e-mail address as a parameter and the string is like:
giggity@loadfreakintester.com
Let’s say all you need is the “giggity”, and not the rest. If you capture the exact same thing each time, you can just strip off anything after the 7th character. But what if the next time you run the script you captur Read Entire Entry
-
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
-