The Virtual User Generator (VuGen) is a scripting tool used to record and run user actions on the application to be tested. This course focuses on planning, creating and enhancing Virtual User (Vuser) scripts using VuGen for load testing in the Web environment. Extensive hands-on labs equip you with the skills necessary to create effective load test scripts for load testing in the Web environment.
Product version information: QBIT courses in Mercury products are taught using the latest available version. If you are using an earlier version please contact QBIT for advice.
Intended for: Quality assurance engineers; performance engineers; users of LoadRunner who need to create scripts to load test their Web applications
Pre-requisites: Completion of the course Fundamentals of LoadRunner 7.8; high level knowledge of Web client/server paradigm; knowledge of Windows 2000 or Windows NT; knowledge of programming in C, C++ or Java
Skills gained
- Create Web Virtual users using VuGen
- Read VuGen Web code
- Measure specific business processes
- Verify functionality under load
- Parameterize scripts to handle user input data
- Customize scripts by adding VuGen functions
- Correlate script to process server-returned data
Course content
Recording
- Structure the script based on planning
- Use VuGen to record a Vuser script for Web environment
- Using HTML and/or URL recording levels
Playback
- Configure appropriate Run-time settings
- Verify Vuser script functionality in VuGen
Actions
- Configure multiple actions to achieve load testing goals
Enhancing the Script
- Add Transactions to measure response times
- Solve playback problems with parameterization
Checkpoints
- Add Text Checkpoints during and after recording
Manual Correlation
- Correlate a script manually using correlation functions
Correlation During and After Recording
- Use the Scan for correlation tool
- Define rules for correlation in Recording Options
- Enable correlation during recording
Enhance Vuser Output Log
- Send customized output messages to the script Execution and Controller log
- Add error handling and business logic to the
script
Advanced Error Handling
- Create global verification points with ContentCheck
- Use "logging on demand"
- View error snapshots in the Controller
Related certifications
This course will introduce you to the skills required for the Mercury CPC in LoadRunner. Candidates should also complete the course Fundamentals of LoadRunner and have at least six months experience of in-depth use of the product
All text © QBIT/Mercury. Software product names are trademarks of Mercury™. This information may not be reproduced in any form without written permission. QBIT has partnered with certified training providers for all certified courses in using Mercury™ products.