OVERVIEW
Master ALM Performance Center and the Virtual User Generator (VuGen) application in order to develop, execute, and analyze performance test results. Learn how to develop a performance test plan that can be executed with Performance Center. Topics covered include planning, scheduling, script development and debugging, with heavy emphasis on hands-on labs. Learn how to develop tests that monitor and measure SLAs and find out which reports and graphs are most useful in addressing—and correcting—system performance. This course is divided into two parts, as follows:
Part 1 (2 days) Using Performance Center Concepts
Learn how to create, run and analyze tests in Performance Center.
Part 2 (3 days) LoadRunner Scripting for Performance Center
Learn how to use VuGen for planning and recording of test scripts, enhancing tests, and adding custom code through advanced scripting.
Duration
5 day(s)
Time
9 - 5 ET
Price
$3,675
Labs
Approximately 70% of the class is devoted to lab exercises.
Intended Audience
The target audience for this course includes:
- Quality Assurance Engineers
- Performance Engineers
- Software Engineers
- Experienced users who want to enhance their LR skillset and who use Performance Center
Prerequisites
- High level knowledge of Web Application System Architecture
- Knowledge of Windows Platforms
- Understanding of Programming Concepts
- Some Programming Knowledge of C or Java
Outline
Part 1 - Using Performance CenterPerformance Center Overview
Part 2 - Performance Center Scripting- ALM Performance Center architecture and functionality
- Identify the steps of the load testing process
- Describe the administrator and user functions
Prepare load tests- Upload scripts, create performance tests
Run load tests- Create test sets, run load tests
- Analyze run time data
- Manage load test status (view errors/Vuser logs)
Monitors- Creating monitoring profiles, View monitoring data
Service Level Agreements- Define SLA
Timeslots- Manage timeslots
AUT hosts- Define AUT hosts, AUT host pools, Topologies
ALM Analysis- SLA Report, Analysis View, Dashboard, Trending
- Using the Analysis tool
My Dashboard- View test execution information, Set up custom views, trend reports
Planning a Script Planning a Script
- Determining what steps to perform
- Consider data and data usage
Recording a Script- Recording Options – HTML vs. URL recording
- Recording the test case
Transactions- Add Transactions during recording
- Add Transactions after recording using the transaction workflow tool, and manually via the keyword view.
Verifications- Why is a verification point necessary
- Add a verification during recording
- Add a verification after recording using the keyword view screenshots
- Global Verification Points
Run-Time Settings- Setting appropriate logging option
- Controlling the number of iterations to playback
- Think times and Pacing settings
- Other settings
Parameters- Adding Parameters in the keyword view, and in the script view
- Create a file type parameter
- Examine other parameter types, e.g. Random type, date time type
- File parameter access methods
- Update Parameter value settings
- Simulate Parameter Usage
Correlation After Recording- Required Settings
- Run the test, examine errors
- Use the Scan for Correlations tool
- Determine which values to correlate
- Correlate
- Review the correlation functions added to the script
Manual Correlations- Required settings
- Run the test and examine the errors to determine which commands to focus on
- Determine which of the values is the dynamic one
- Determine where the server sent the dynamic value
- Determine appropriate left and right boundaries and ordinal values
- Add the web_reg_save_param function
- Replace hard-coded dynamic values with the new parameter
- Run the test to validate
Correlation during Recording- Add a rule to the recording options
- Test the rule
- Record the script
- Use of the regenerate script option
Intro to Advanced Scripting- Condition statements and loops
- Variable declarations
- Common string manipulation functions
- Data conversion functions
- LoadRunner specific functions (lr_eval_string, output messages, lr_save_string)
Custom Checkpoints- Examining the web_reg_find savecount option
- Capturing data using the web_reg_save_param function