Coding for VTS – Part 3

Code examples for VTS for connecting to VTS, retrieving, and sending information, and disconnecting.

[Read more...]

What is LoadRunner’s DFE Part 2 (GWT)

Previously we looked at using DFE to help make scripts that utilize XML to make it more readable and easier to parameterize. There is another way to use DFE, beyond making a script more readable. Sometimes DFE may be required for the script to run properly. Some applications use what is called GWT (Google Web Toolkit). To use GWT DFE, first you need to identify when an application is using GWT.

[Read more...]

What is LoadRunner’s DFE Part 1 (XML)

DFE is short for Data Format Extension. In simple terms DFE allows for easier LoadRunner scripting by allowing us to decode and encode normally unreadable or formatted data that the may be sent between the client and the server.

[Read more...]

Using C Macros in LoadRunner Vugen

This blog entry discusses the use of macros within VUGen. Macros can be used to make scripts more flexible and powerful, while saving scripting time.

[Read more...]

LoadRunner Vugen: Encoding and Decoding Base64

Vugen code that could be used as a starting point for encoding/decoding BASE64 information in your script. Based on HP Knowledge Base article KM00211140.

[Read more...]

LoadRunner Utility Code: Lance’s Log

This LoadRunner utility code is used to assist in analyzing test data, or to write desired dynamic data from scripts to .csv files outside of LoadRunner scenario results folders.

[Read more...]

VuGen Error Checking and Detailed Logging

This is a basic scripting technique for enhancing your VuGen script 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.

[Read more...]

VuGen: Creating Combination Static/Random Values For Parameters

This post addresses a situation where part of a VuGen parameter value neededs to be a hard coded value, and another part had to be totally random.

[Read more...]

VuGen: Extracting String Data From A Parameter

This post examines a condition where data being returned in the parameter captured in the web_reg_save_param function included more characters than was needed and there no easy left/right boundaries to use to get only what was needed.

[Read more...]

VuGen: Detailed Logging

The purpose of this VuGen code is so you have one place to enter the URL for the application and grab all the Load Generator and Controller information, and send it to the execution output logs for troubleshooting purposes.

[Read more...]