EIEIOTECHNOVATION
← Training programmes

EIEIO / AUTOMATION & EMERGING TECHNOLOGY

Performance Testing with Loadrunner

Course outline

4 days

Duration

4 days

Pre-requisites

Basic programming and Http concepts knowledge

Loadrunner must be installed on each machine

System configuration: I3 or above/8 GB RAM, 100 GB free space.

MSOffice latest version installed.

Introduction

  • What is Performance testing
  • Need of Performance Testing
  • Performance testing Principles
  • Understanding architect for the app under test

Performance test Process

  • Identify the Test Environment
  • Identify Performance Acceptance Criteria
  • Plan and Design Tests
  • Configure the Test Environment
  • Implement the Test Design
  • Execute the Tests
  • Analyze Results, Report, and Retest

Plan and Design Tests

  • Modeling Application Usage
  • Identify the objectives.
  • Identify key usage scenarios.
  • Determine navigation paths for key scenarios.
  • Determine individual user data and variances.
  • Determine the relative distribution of scenarios.
  • Identify target load levels.
  • Prepare to implement the model.
  • Validate Test Environment
  • Considerations for Validating Test Environment
  • Validate Test
  • Test Validation Methods
  • Consideration for Test Validation

Baseline Vs Benchmarking

  • Baseline
  • Benchmarking

Loadrunner Hands on

Loadrunner Introduction, Plan and Design Tests using Loadrunner

Introduction

  • Why should you automate performance testing?
  • What are the LoadRunner components?
  • Understanding LoadRunner Terminology
  • What is the load testing process?
  • Getting Familiar with HP Tours
  • Application Requirements

Building Scripts

  • Introducing the Virtual User Generator (VuGen)
  • How do I start recording user activities
  • Using VuGen Wizard Mode
  • How do I record a business process to create a script?
  • How do I view the script?
  • Playing Back Your Script
  • How do I set the run-time behavior?
  • How do I watch my script running in real time?
  • Where can I view information about the replay?
  • How do I know if my test passed?
  • How do I search in or filter the results?

Solving Common Playback Problems

Preparing HP Tours for Playback Errors

How do I work with unique server values?

Preparing a Script for Load Testing

  • How do I measure business processes?
  • How do I emulate multiple users?
  • How do I verify Web page content?
  • How can I produce debugging information?
  • Did my test succeed?
  • Run tests
  • RunTime Settings
  • Considerations for Run Tests
  • Controller
  • Adding Scenario
  • Adding Vuser Groups
  • Adding Load genarator

Creating a Load Testing Scenario

  • Introducing the LoadRunner Controller
  • What mixture of users should be part of the load test?
  • The Controller Window at a Glance
  • How do I generate a heavy load?
  • How do I emulate real load behavior?
  • How do I emulate different types of users?
  • How do I monitor the system under load?

Running The Load Test

  • The Controller Run View at a Glance
  • How do I run a load test scenario
  • How do I monitor the application under load
  • How do I watch a user running in real time
  • Where can I view a summary of user actions
  • How can I increase the load during the test
  • How is the application coping under load
  • Did the application encounter errors
  • How do I know that the test has finished running
  • Did the application perform well under load

Advance Level Scripting in LR

  • Parameterizing
  • CORRELATION to cpature dynamic values
  • Automatic
  • Manual from Script View
  • Finding Dynamic Values
  • Finding Server response for dynamic values
  • Capturing Dynamic Values
  • Replace every occurrence of dynamic value in script with the parameter
  • Web 2.0 using true Client
  • Object Identification Challenge
  • Shared objects
  • TrueClient Object identification Methods
  • Automatic (recommended)
  • XPath
  • JavaScript
  • Handling Related objects
  • Setting proxy values for TrueClient

Performance Test Monitoring & Analysis

  • Analyzing Your Scenario and preparing Reports
  • How does an analysis session work
  • How do I start my analysis session
  • The Analysis Window at a Glance
  • Did I reach my goals? The Service Level Agreement
  • How do I view a summary of performance
  • How do I graphically view performance
  • Did my server perform well
  • How can I pinpoint the source of the problem
  • What other information can I gather for my scenario
  • How can I publish my findings

Analyze results and Report

  • Key mathematical principles for performance test
  • Averages, percentile, Medians, Normal Values
  • Standard Deviation, Uniform Distribution, Normal distribution

Performance test Reporting

Principles of Effective reporting

Frequently Reported Performance Data

  • End-user response times
  • Resource utilizations
  • Volumes, capacities, and rates
  • Trends

Questions to Be Answered By Reporting

  • All Roles
  • Stakeholders
  • Managers
  • Team Members

Programme scope, delivery arrangements and suitability are confirmed during enquiry.