Courses

LoadRunner v12.5x Essentials with TruClient scripting


Details for this course such as pricing and location are to be negotiated. Please contact us if interested.


Course Description:


Overview

This course introduces students to HP LoadRunner. You will learn about issues related to creating, running and maintaining scenarios in the LoadRunner Controller.  The students will learn how to use the Analysis tool to analyze load test results. 

 

This course also 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. 

 

Lastly, the students will learn how to use the TruClient protocol to create advanced Web scripts.

 

The numerous hands-on lab exercises are designed to provide you with the knowledge necessary to create scripts in VuGen, execute scenarios in the Controller, and view the results in the Analysis tool.

 

 

Duration

5 days

 

Labs

Approximately 60% of the class is devoted to lab exercises

 

Intended Audience

Performance Engineers, technical managers, and software engineers.

 

Prerequisites

Some basic programming knowledge would be useful, however it is not mandatory

 

 

Course Outline

 

LoadRunner Functionality and Terminology

  • Discover the capabilities of LoadRunner while learning LoadRunner specific terminology.

 

Planning a Script

  • Determining what steps to perform
  • Consider data and data usage

 

Recording and Running a Script

  • Recording Options
  • Recording the test case
  • Running a test and verify the results

 

Run-Time Settings

  • Setting appropriate logging option
  • Controlling the number of iterations to playback
  • Think times and Pacing settings

 

Transactions

  • Add Transactions during recording
  • Add Transactions after recording 

 


 

 

Verifications

  • Add a verification during recording
  • Add a verification after recording using the keyword view screenshots

 

Correlation After Recording

  • Use the Scan for Correlations tool
  • Create correlations

 

Correlation during Recording

  • Add a rule to the recording options
  • Parameterize and correlate the script
  • Use Checkpoint

 

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
  • Simulate Parameter Usage

 

Planning a Scenario

  • Determining which test cases to test
  • Determine rates of business process usage

 

Creating a Scenario

  • Create a new Manual Scenario
  • Adding Scripts, Load Generators and Vusers
  • Setting and displaying the Vuser status

 

Running a Scenario

  • Defining Run-time settings
  • Viewing the replay logs

 

Scheduling

  • Per Script vs. Per Group Scheduling
  • Scheduling actions, ramp up, ramp down, initialization

 

Service Level Agreements

  • Configure SLA rules

 

Monitoring

  • Adding a monitor
  • Configuring the monitor

 

Basic Analysis

  • The Summary Report
  • Graphs
  • Graph options - granularity, filters, merging graphs
  • generating reports

 

 


 

 

Advanced Scripting
 

Manual Correlations

  • Determine appropriate left and right boundaries and ordinal values
  • Add the web_reg_save_param_ex function

 

Intro to Advanced Scripting

  • Condition statements and loops
  • Common string manipulation functions
  • Data conversion functions
  • LoadRunner specific functions (lr_eval_string, output messages, lr_save_string)

     

Advanced Parameters

  • lr_save_string, lr_save_int, lr_save_datetime

 

 

Advanced Analysis

 

Performance Analysis and Tuning Approach 

  • Explain the objectives of Performance Analysis 

 

Graph options

  • Advanced graphing and display options

 

Reporting – Analysis and HTML Reports 

  • Identify Understanding effective reporting
  • Identify available Report types

 

Reporting - Templates and Reports

  • Learning how to use the Report Template
  • Creating a new Template

 

 

TruClient

 

Overview of TruClient

  • What is a Vuser script?
  • Creating a script
  • Running TruClient scripts
  • TruClient editions

 

TruClient Fundamentals

  • TruClient User Interface
  • TruClient Step Structure

 

TruClient Script development

  •  Record and Replay
  •  Enhance
  • Toolbox functions
  • Use Parameters
  • Insert Transactions
  • Use TruClient Functions and Function Libraries
  • Use an Event Handler

 

Advanced TruClient

  • Adding custom JavaScript code

Back to Courses Table