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
-
Scripting Citrix 7.x Storefront with LoadRunner/VuGen
Posted on September 13, 2018 by Tony Gartrell
For all LoadRunner users who work with Citrix deployed applications, it is important to note that there have been major changes to the Citrix 7.x architecture which will directly impacts how LoadRunner scripts are created. One of the big changes is that Citrix 7.x no longer uses ICA files to connect to the server. Instead, the ICA information is generated on the fly and is only usable for a short period of time. Additionally, with the addition of the Citrix Storefront, the login and published app selection is HTML only.
-
Using C Macros in LoadRunner Vugen
Posted on May 5, 2014 by Admin
Introduction to C Macros
C macros aren’t discussed a lot by HP LoadRunner users, yet they are at the core of the C programming language used in VUGen. They can provide flexibility and power that reduces script development and maintenance times. A good example would be where a function cannot be used to encapsulate reusable code blocks because something in the code block must be known at compile time instead of at run time. In this case, there would be a global variable accessed within the code block, but the name of the variable Read Entire Entry -
LoadRunner 12 System Specifications
Posted on March 26, 2014 by Admin
Considering installing or upgrading to LoadRunner 12? Below are the latest specifications for the Controller, Generator, MI Listener, VUGen, and Analysis.
ControllerProcessor
CPU Type: Intel Core, Pentium, Xeon, AMD or compatibleSpeed: 1.6 GHz or fasterMemory (RAM)
Minimum: 2GB Recommended: 4GBFree Hard Disk Space
Minimum: 40 GBScreen Resolution
Minimum: 1024 x 768Operating System
Windows 7 (SP1) 32 bit or 64 bit
Windows 8 64 bit
W Read Entire Entry -
What’s new in LoadRunner 11.52?
Posted on October 3, 2013 by Admin
HP’s May 2013 release of LoadRunner 11.52 was more than just a simple patch. While there are general performance improvements in VUGen and Analysis for general user functions, it also has several new features. This article will cover many of them so you can determine if it is time to upgrade.
Replay Statistics Summary
HP deployed multiple changes within the VUGen IDE. A Replay Statistics Summary is now available for connection information made between each iteration, after a replay. To disable/enable Replay Statistics go Read Entire Entry -
Xenapp Lingering Interferes with Vugen Recording in LoadRunner
Posted on September 20, 2013 by Admin
Recently one of our LoadRunner consultants was experiencing Vugen recording issues using the Citrix/Xenapp protocol. After some investigation into the configuration settings on the Xenapp server, a focus was placed on the “Linger” setting. When it was turned on, the session could not be properly hooked into by the recording engine of Vugen. Here is what Citrix says about this setting:
Linger settings
A user session ends after user processes and visible windows end (for example, when a user exits from an application, the sessio Read Entire Entry -
LoadRunner Vugen: Encoding and Decoding Base64
Posted on March 23, 2013 by Admin
HP recently released Knowledge Base article KM00211140 for LoadRunner, dealing with decoding the encoded user name and password in a flex call when recording against HP’s Service Manager Service Request Catalog (SRC). SRC uses both flex and web to communicate to the back end. The encoding used is Base64. Their example is good, and could be used as a starting point for encoding/decoding BASE64 for other applications. To pull this off, you will need to include mic_socket.h in the Globals.h section of the VUgen script . Then Read Entire Entry
-
LoadRunner Utility Code: Lance’s Log
Posted on October 8, 2012 by Admin
Several years back, I found this posting and thought it was interesting. I am just now getting around to sharing it. Try this code if you want. I use this LoadRunner utility code to assist in analyzing test data, or to write desired dynamic data from scripts to .csv files outside of LoadRunner scenario results folders.
This code requires some script parameters to be defined, and you have to pre-allocate your folder where you want to write your data. The code also checks to see if you are running from Vugen or the Controller. I Read Entire Entry
-
VuGen Error Checking and Detailed Logging
Posted on October 3, 2012 by Admin
This is a basic scripting technique for enhancing your VuGen scripts to add error checking and detailed logging (in this case a web HTTP status code that is in the 4XX – 5XX range) for specific steps.
First, set up a parameter called {pIteration} that uses the Iteration Number type to automatically keep track of the iteration. At the beginning of my action.c I might start with something like this:
// Declare Variables
int rc = 0, iHttp;
lr_vuser_status_message(“Starting iteration Number: %s”,
lr_eval_string({pIterati Read Entire Entry -
LoadRunner Parameter and Correlation Naming Conventions
Posted on October 1, 2012 by Admin
Bill Selph recommends the following LoadRunner parameter and correlation label naming conventions for use in scripts:
All correlated values begin with “LRC_”
All parameters begins with “LRP_”Bill finds this an easier way to edit and debug of complex scripts.
Do you have similar naming conventions that you use when coding Vugen script? How about giving out some recommendations to the community by commenting in the section below. Read Entire Entry
-
VuGen: Creating Combination Static/Random Values For Parameters
Posted on September 26, 2012 by Admin
This post addresses a situation where part of a VuGen parameter value needed to be a hard coded value, and another part had to be totally random. This specific example had to do with a credit card where the total number of digits for the card was 16, but the first two digits needed to start with “47” to pass the business rules of the site for processing valid card numbers. If the number on the card did not start off with “47”, the card would automatically be rejected.
// DECLARE VARIABLESchar result[100], creditCardNum[1056];
in Read Entire Entry -