Code examples for VTS for connecting to VTS, retrieving, and sending information, and disconnecting.
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.
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.
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.
Categories: HP, LoadRunner, Performance Testing and Automation, VuGen Code
Tags: HP Software, load testing, LoadRunner, performance engineering, performance testing, Performance Testing and Automation, stress test, VuGen
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.
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.
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.
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.