3. Load runner parts
Virtual user genreator
Virtual script
Virtual user Generator(VuGen)
Record business processes, ex book a flight
Generates automated performance script
Add transactions : measur time to complete one or more actions of a business process
Can edit the generated script
HP controller
Setup performance test: specify load generators that run vusers
Runs performans test
Monitor performance test while it is running
HP Analyses:
Collect test logs
View performance test result
Merge graphs
Steps to do performance test in HP load runner
.Generate requirement and plan test
Generate Vuser script
Setup the Scenario using the controller
Run the scenario using controller
Analyze the result, review the result and compare with the requirements
How to download:
google hp load runner, you will get free trial version, download the executable file and run it. It installs all in one
Go to hp software→ hp loadrunner
What is business process:
It has name
It has inputs
It has steps to complete a business task
It has outputs
Example booking a flight
How to start HP web tours application
Goto HP loadrunner→ samples→ start up webtours server
How to use VuGen
Start it at HP software→ hp loadrunner→ click virtual user generator
Record once in windows machine and run in any operating system like linux
After record
To add our script step inside the record:
design → insert new step
To sleep lr_think_time
Output message: lr_output_message();
view-->thumbnail explorer, show screen shots taken during recording
Reply recording
To change iteration: Reply → runtime setting
-LOAD RUNNER
Introduction to Load Runner
Load Runner Components
Load Runner Architecture
How Load Runner works
Important Terminology
Load Runner Process
-VIRTUAL USER GENERATOR
Inroduction to Vugen
Recording Settings
General Options
Record Basic Script
Script Enhancements
Parameterization
Parameter settings
Inserting check points
Inserting transactions, sub transactions, rendezvous points
Inserting correlation statements
Inserting conditional and iterative statements
Naming convenstions
Importing actions into Vuser
Working with Built in and User defined functions
Scripting Standards
Debugging the script
Runtime settings
-CONTROLLER
Introduction to controller
Scenario Types
Manual Scenarios
Goal oriented scenarios
-SCENARIO DESIGN
Creating / Adding Groups
Configuaring load generators
Run time settings
-SCENARIO SCHEDULING
Schedule by Scenario
Schedule by Group
Diagnostics
Rendezvous policy
Online monitors
Configuring Online monitors
Add measurments
Result settings
Scenario execution
Monitoring and editing the scenario during execution
-ANALYZER
Introducing to Analyzer
Analyzing graphs and reports
Merging and filtering the graphs
Exporting reports to excel
Results comparisons
Reporting Test results to Application team
Best practices
Loadrunner performance testing
Outline
LoadRunner is a performance testing automation tool. Very widely used in industry, it support web based application & also support almost all commonly used protocols. This course is specially designed for Software Testing professionals, This will take students from basic level to advance in decent pace videos.
Here we will cover basic to advance concepts of LoadRunner & performance testing also we have covered many interview question which are asked in interviews. After going through the course you can easily measure performance of any web based application / Service and can crack performance testing related interviews.
This course is designed to teach people in a workshop format how to plan and load test a enterprise web application. The objectives of this course is to make you understand the complete load testing life cycle: Creating scripts to simulate real life workflows, Analyzing results . Working through a series of self paced video tutorials, you will learn to develop a workable strategy for load testing of an enterprise learning management system.
What are the requirements?
Working Knowledge of Web Development
Familiarity With a Programming Language
What is the target audience?
Quality Assurance Professionals
Dev Ops Professional
Developers
System Integrator
Curriculum
Load runner architecture:
Vuser :generates scripts and thousands of virtual users who send request
Controller: controls and monitors vUsers
Analyzer: analyze the result in graph or data format
Basic flow
Plan load test
Create virtual script
Create scenarios: vusers will run the script
Run scenarios
Analyze the result
Thens system based analyses