LoadRunner Foundations

Course Description

A new and improved version of this course is available: Click here

OVERVIEW

Master application performance testing. This 5 day course covers all aspects of using LoadRunner 11 to test a Web Based Application. The material covers concepts, setup and architecture, planning, scripting, execution, analysis and advanced coding techniques in LR 11. All lessons are reinforced with hands on exercises and review. Students will learn the full range of skills needed to execute an effective performance test in a web environment.

The 5 Days are divided as follows:

Day 1 - LoadRunner Concepts

An overview of the various LoadRunner components and also covers LoadRunner terminology/functionality. Included are sample setups that users may encounter plus some sample scenarios based possible real-world designs.

Day 2 - Running a Load Test

Covers issues related to creating, running and maintaining scenarios in the LoadRunner Controller. Areas covered will include manual scenarios, scheduling and monitoring setup.

Day 3 - LoadRunner Scripting - Web

Covers issues related to recording web based applications in the LoadRunner VuGen program focusing on planning and recording of the test script, enhancing the test and adding custom code through advanced scripting.

Day 4 - Advanced Analysis

Covers issues related to examining and understanding the results produced from a LoadRunner Scenario run using the LoadRunner Analysis program. This will include all the steps necessary to produce a final report in Word or HTML format.

Day 5 - Advanced LoadRunner Solutions

Covers issues related to creating more advanced test scripts and using advanced LoadRunner commands in conjunction with ANSI C functions to solve scripting issues.


Duration

5 day(s)

Time

9-5pm EST

Price

$3,695

Labs

Approximately 65% of the class is devoted to lab exercises.


Intended Audience

  • Quality Assurance Engineers
  • Performance Engineers
  • Software Engineers
  • Experienced users who want to enhance their LR skillset


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

Day 1 - LoadRunner Concepts

  • Hardware, Software and Monitors
    • Covers the minimum hardware requirements
    • Looks at where each part of LoadRunner does and where they should be installed in relation to its other parts.
  • Examples of LoadRunner Installation Topologies
    • Looks at various installation designs which are dependent on test application environments and locations.
  • LoadRunner Functionality and Terminology
    • Discover the capabilities of LoadRunner while learning LoadRunner specific terminology.
  • LoadRunner Setup Examples
    • Follow a game based set of examples that promotes discussion around the entire load testing process, from looking at which scripts to record, to how many days spent testing.

    Day 2 - Running Load Tests

  • Planning a Scenario
    • Determining which test cases to perform
    • Gathering information on number ofusers completing each business process
    • Determine rates of business process usage
  • Creating a Scenario
    • Create a new Manual Scenario
    • Adding Scripts to the Scenario
    • Adding Load Generators
    • Setting number of Vusers per Script
  • Run-time Settings
    • Run-Logic settings – when do the number of iterations count
    • Logging settings
    • Think Times
    • Pacing – how to use when given testing rates
    • Other run-time settings
  • Scheduling
    • Per Script vs. Per Group Scheduling
    • Initializing a test run
    • Setting Ramp-ups
    • Setting Run-lengths
    • Setting Ramp-downs
  • Monitoring
    • Adding a monitor
    • Configuring the monitor
  • Running a Scenario
    • Start the run manually (via Vusers window, or by group)
    • Start the run to follow the schedule
    • Viewing the logs during the test run
    • Examining Pass vs. Failed transactions
    • Viewing Error

    Day 3 - LoadRunner Scripting - Web

  • 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

    Day 4 - Advanced LoadRunner Analysis

  • 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

    Day 5 - Advanced LoadRunner Solutions

  • String Manipulation
    • Using the sprintf function
    • strstr
    • strcpy
    • strcat
  • Using the Ord=All Option
    • Capturing multiple related items
    • Randomly selecting one of the items (the old way – pre version 9)
    • Randomly selecting one of the items (the new way – post version 9)
  • Parameters
    • lr_save_string and lr_save_int
    • lr_save_datetime function
    • lr_advance_param vs. lr_next_row
  • Global Verifications
    • Define a Global Verification using code
    • Temporarily Pause Verification and resume it. Additional Attributes
    • Using additional attributes