Monday, January 4th, 2010 Posted in Tech Tips | No Comments »
LoadRunner has a whole bunch of logging options. These can be specified in your script's runtime settings, or specified in your script's code with lr_set_debug_message(). There are some gotchas when ... Read more..Wednesday, September 9th, 2009 Posted in Tech Tips | 2 Comments »
Sometimes an application running on a client (even a web broswer) will send the IP address of the client machine to the server at the Application layer, rather than the ... Read more..Friday, May 29th, 2009 Posted in Tech Tips | No Comments »
If you studied programming, you probably know a few little factoids like "global variables are bad", and "goto is considered harmful". Some people can even explain why (and in what ... Read more..Friday, May 8th, 2009 Posted in Tech Tips | No Comments »
This is a repository of code snippets. Please send me any useful sections of code that you have written. Note that this repository does not contain trivial examples (i.e. something you ... Read more..Sunday, March 29th, 2009 Posted in Tech Tips | 2 Comments »
Let's imagine that you want to execute arbitary SELECT, INSERT, UPDATE and DELETE queries against a MySQL database from a VuGen script. Obviously it is easiest to use the JDBC ... Read more..Monday, February 23rd, 2009 Posted in Tech Tips | No Comments »
You might have noticed that once you have started your load test, it is possible to increase the number of transactions per hour by adding virtual users, but not by ... Read more..Tuesday, February 10th, 2009 Posted in Tech Tips | 6 Comments »
Let's say that you have to determine the difference between two dates (represented as strings) and express the result in seconds (which could be positive or negative). How would you ... Read more..Monday, February 9th, 2009 Posted in Tech Tips | No Comments »
Occasionally you will find that you must write some code in VuGen to continuously check that the system has completed something, before you continue. Two examples that I have found recently ... Read more..Friday, January 23rd, 2009 Posted in Tech Tips | 1 Comment »
Someone asked me once if there was a way of putting think time into a VuGen script that could not be ignored by changing the runtime settings. There are very few ... Read more..Tuesday, January 13th, 2009 Posted in Tech Tips | 1 Comment »
VuGen isn't just a tool for load testing and application monitoring, it can be used to automate any repetitive task on a web application. In this example, a JDS web security ... Read more..Tuesday, January 13th, 2009 Posted in Tech Tips | 1 Comment »
A common question from people creating web-based VuGen scripts is how to handle timestamp values that are sent as part of a name/value pair in an HTTP request. Read more..Monday, December 22nd, 2008 Posted in Tech Tips | 7 Comments »
Occasionally you will find that you need to create a VuGen script for a web application which changes the number of name-value pairs which are sent with a POST request. ... Read more..Tuesday, December 16th, 2008 Posted in Tech Tips | 5 Comments »
Anyone who works with VuGen should know that they should compare strings using the standard C function strcmp(), rather than the equality operator (==). In the example below, there are three ... Read more..Tuesday, December 16th, 2008 Posted in Tech Tips | 3 Comments »
One of the main drawbacks with VuGen is the inability to easily store data for later retrieval, and the lack of interscript communication. I had this exact problem on a ... Read more..