VuGen 11.5 Scripting for Web
Course Summary
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.
Intended Audience
- Quality Assurance Engineers
- Performance Engineers
- Users of LoadRunner who need to create scripts to load test their Web applications.
- Course Objectives
- Course Outline
- Prerequisites
At the end of the course, you will 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
Day 1
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 runtime 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
Day 2
Verification
- Recognize why and when to use verification
- Identify visual cues to check for during load testing
- Add Text Checkpoints during and after recording
Actions
- Create multiple Actions for a web script
- Configure Actions to achieve load testing goals
Introduction to Script View
- Identify when Script view is necessary
- Send customized output messages to the Replay Log
- Identify basic C code including statements, variables, and functions
- Apply basic debugging techniques in VuGen
Advanced Scripting Techniques
- Recognize general LoadRunner functions
- Recognize protocol specific functions
Manual Correlation
- Determine when manual correlation is required
- Correlate dynamic values using the create parameter option
Auto Correlation During Recording
- Create correlation rules to auto correlate during recording
- Import and export correlation rules
- Windows
- Web sites and browsers
- Fundamental understanding of C programming is helpful, but not required