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
-
LoadRunner VuGen: Determine if an iteger is odd or even
Posted on June 22, 2009 by Admin
Today’s code comes to us from Anthony Lyski:
“I ran into an issue today where I needed to know id an integer was an odd or even number. I found that this is a very effective way to determine. I put this code in a ‘for’ loop so you can see how it works over a range of numbers.”
int i;for (i=0;i<100;i++) {
if (i & 1){
lr_message(“%d is odd”, i);
}
else{
lr_message(“%d is even”, i);
}
} Read Entire Entry -
Programmatically Create A Unique Parameter Name
Posted on June 11, 2009 by Admin
Lets say you need to grab a list of items or numbers from a web page, such as GUID’s. These are not dynamic numbers, but will be used in a script as parameters. Here is how I captured the data I wanted and created my own DAT file:
Figure out the format you want the DAT file to be in. For me, this was a GUID, another GUID, and a user ID. I created a file and put the top line in with the headers GUID1, GUID2, LOGIN and saved it to my C: drive in the root folder. I already knew the login so I had already set this up a a paramet Read Entire Entry
-
MI Listener: Additional Trace Logs For Debugging
Posted on June 3, 2009 by Admin
Did you know there is a deeper level of logging in the MI Listener Aganet? The following can be done if you are having problems with the MI_Listener and the Generator to determine connectivity issues.
kill the agent processes on all the machines
append to [launcher] section at launch_service\dat\mdrv.dat the following line:
ExtCmdLine=-drv_int_msgs -drv_log_flushActivate agents on all the machines and try to connect.
collect log file generated (%TEMP%\LoadRunner_agent_startup.log).You will need these logs when submi Read Entire Entry
-