Print VersionVuGen 9.5 Scripting for Web

Overview

The Virtual User Generator (VuGen) is a scripting tool used to record and run user actions on the application to be load tested. This course focuses on planning, creating and enhancing Virtual User (Vuser) scripts using VuGen in the Web environment. All topics are supported by hands-on labs designed to provide you with the knowledge necessary to create scripts in the Web environment.

Course Objectives
At the end of the course, you should be able to:
  • Record Scripts in the Web environment using VuGen
  • Measure steps and business processes using transactions
  • Parameterize scripts to vary user input data
  • Customize scripts by adding VuGen and basic C functions
  • Correlate scripts to process server-generated data

Duration
Two days
 
Intended Audience
Quality Assurance Engineers, Performance Engineers, Users of LoadRunner who need to create scripts to load test their Web applications.
 
Prerequisites
Working knowledge of:
  • Windows
  • Web sites and browsers
  • Fundamental understanding of C programming is helpful, but not required

Course Outline
 
Introduction
  • Define VuGen 
  • Identify the main components of the VuGen interface

Recording for the Web
  • Create a VuGen script by recording user steps with VuGen in the web environment
  • Describe the basics of HTML and URL recording levels

Replay
  • Identify and configure the appropriate web run-time setting for replay 
  • Replay the script in VuGen to verify script functionality 
  • Recognize the debugging tools available in VuGen
 
Transactions
  • Explain the function of a transaction in a script 
  • Insert a transaction in a script during and after recording
 
Parameters
  • Explain what parameters are and how they work 
  • Solve playback problems with parameterization 
  • Parameterize a script for load testing
 
Auto Correlation after Recording
  • Define correlation 
  • Correlate dynamic values found by using the Auto Correlation tool

Verification

Actions

Introduction to Script View

Advanced Scripting Techniques

Manual Correlation

Auto Correlation during Recording