SlideShare une entreprise Scribd logo
1  sur  47
PERFORMANCE TESTING 
Testing using HP LoadRunner 
Petr Kiryukhin 
December 12, 2014 www.ExigenServices.com
2 www.ExigenServices.com 
TABLE OF CONTENTS 
 Performance Testing. Why? Goals. 
 LoadRunner 
 Overview – LR Components, System Architecture 
 Virtual User Generator (VuGen): 
– Virtual Users; 
– Run and Debugging VuGen scripts; 
– Transactions, Rendezvous points; 
– Record, Vusers Types 
 Controller: 
– Understanding Scenarios; 
– Creating & Executing LoadRunner scenarios; 
– Configuring scenarios 
 Analysis
3 www.ExigenServices.com 
PERFORMANCE TESTING 
 Real system emulation 
 Test executing 
 Results analysis
WHY SHOULD YOU USE PERFORMANCE TESTING? 
 Does the application respond quickly enough for the intended 
users? 
 Is the application stable under expected and unexpected user 
loads? 
 Will system meet the needs of the business before going live? 
4 www.ExigenServices.com
5 www.ExigenServices.com 
WHY SHOULD YOU USE PERFORMANCE TESTING? 
 Are undetected application bottlenecks resulting in slow time or 
downtime in production? 
 Are you struggling to deploy business systems smoothly, with no 
performance surprises? 
 How do you know if an application or system can scale to the 
desired level of usage in production?
WHY SHOULD YOU AUTOMATE PERFORMANCE TESTING? 
 Manual testing limitations: 
It is expensive, requiring large amount of both personnel and 
machinery 
It is complicated, especially coordinating and synchronizing multiple 
testers 
It involves a high degree of organization, especially to record and 
analyze results meaningfully 
The repeatability of the manual tests is limited 
6 www.ExigenServices.com
7 www.ExigenServices.com 
TESTING PROCESS. HOW DOES IT LOOK? 
Record a basic 
Vuser script 
Enhance and edit 
the script 
Configure run-time settings 
Run the Vuser script in stand-alone 
mode 
Incorporate the Vuser script 
into a LR scenario 
Planning the Test 
Creating Vuser scripts 
Creating the scenario 
Running the scenario 
Monitoring the scenario 
Analyzing Test Results 
number of scripts
8 www.ExigenServices.com 
LOADRUNNER 
 LoadRunner is an automated solution: 
– Put your application into stress; 
– Create controlled and peak load conditions; 
– Thousands of Virtual Users; 
– Using a minimum of hardware resources; 
– Repeatable, and measurable load
9 www.ExigenServices.com 
LOADRUNNER – TYPICAL ARCHITECTURE
10 www.ExigenServices.com 
LOADRUNNER – COMPONENTS 
– Virtual User Generator (VuGen ) 
– Controller 
– Analysis
11 www.ExigenServices.com 
LOADRUNNER – VIRTUAL USER GENERATOR 
– Records & runs scripts (Records on Windows platforms only) 
– Debugging of the scripts 
– Script can run on a Windows or UNIX machine 
– A custom type Vuser script
12 www.ExigenServices.com 
VIRTUAL USERS. 
 Reduces personnel requirements 
 Vusers emulate the behavior of real 
 Control - from a single point of control 
 By increasing the number of Vusers, you increase the load on the 
system 
 Reduces the amount of hardware required for testing
13 www.ExigenServices.com 
VUSER SCRIPTS USES SCRIPTS. WHAT IS IT ?! 
 A small program 
 The actions that a Vuser performs 
 ‘User data point’ 
 ‘Parameters’ 
 ‘Rendezvous points’ 
 ‘Transactions’ 
 ‘Run-time settings’ 
 ‘Types’
14 www.ExigenServices.com 
VUSER SCRIPT STRUCTURE 
Method within 
Actions class 
Record into 
action 
Used to emulate Executed during 
init vuser_init a login to a 
server 
Initialization 
action Action client activity Running 
end vuser_end a log off 
procedure 
Finish or 
Stopped
15 www.ExigenServices.com 
VUGEN – OVERVIEW, RUN, DEBUGGING
16 www.ExigenServices.com 
VUGEN – PARAMETERS
17 www.ExigenServices.com 
VUGEN - TRANSACTIONS 
 The time it takes for the server to respond to specified Vuser 
requests. 
 Transactions are defined to measure the performance of the server. 
 The Controller measures the response times.
18 www.ExigenServices.com 
VUGEN - TRANSACTIONS
19 www.ExigenServices.com 
VUGEN – RENDEZVOUS POINTS 
 synchronize Vusers; 
 to perform a task at exactly the same moment; 
 to emulate heavy user load. 
 Note: You may only add rendezvous points in the Action section – 
not to the init or end .
20 www.ExigenServices.com 
VUGEN – RENDEZVOUS POINTS
21 www.ExigenServices.com 
RECORD VUSER SCRIPT
22 www.ExigenServices.com 
VUGEN – RECORDING OPTIONS 
 Recording options specify: 
– The information to record; 
– Client/browser with which to record; 
– Environment Settings; 
– Recording Properties 
 Some of the recording options available are: 
– Recording Level – what information to record and which 
functions to use when generating script; 
– Correlation (HTML/WEB)
23 www.ExigenServices.com 
VUGEN – RECORDING OPTIONS 
Setting the Recording Level:
VUGEN – RUN-TIME SETTINGS 
 Run-time settings define the way in which a script runs. 
– Stored in the default.cfg in the Vuser script directory 
– Applied to Vusers when the script is executed using VuGen or 
the Controller 
 Configuring run-time settings enable you to emulate different kinds 
of user activity 
24 www.ExigenServices.com
25 www.ExigenServices.com 
VUGEN – RUN-TIME SETTINGS 
 General run-time settings include: 
– Run Logic – Number of times the action block of the script 
iterations (For HTML/WEB); 
– Pacing – the time between iterations; 
– Log – how much information is logged to the output; 
– Think time – emulates the time a real user waits between 
actions; 
– Miscellaneous.
26 www.ExigenServices.com 
VUGEN – RUN-TIME SETTINGS 
Setting the Run Logic [HTML/WEB] :
27 www.ExigenServices.com 
VUGEN – RUN-TIME SETTINGS 
Setting the Pacing:
28 www.ExigenServices.com 
VUGEN – RUN-TIME SETTINGS 
Setting the Think time:
29 www.ExigenServices.com 
VUGEN – RUN-TIME SETTINGS 
Setting the Miscellaneous:
VIRTUAL USER TYPES 
 Application Deployment Solution: For Citrix/Microsoft RDP 
 Client/Server: For DB2 CLI, DNS, MS SQL Server, ODBC, Oracle (2-tier), 
30 www.ExigenServices.com 
Sybase Ctlib, Sybase Dblib, Windows Sockets protocols 
 Distributed Components: For COM/DCOM, CORBA–Java, and RMI– 
Java protocols 
 E-business: For FTP, LDAP, Palm, Web (HTTP/HTML), Web Services, 
SOAP and Web/Winsocket Dual protocol 
 Enterprise Java Beans: For EJB Testing and Rmi-Java protocols 
 ERP/CRM: For Baan, Oracle NCA, Peoplesoft-Tuxedo, Peoplesoft 8, 
SAPGUI, SAP-Web, and Siebel (Siebel-DB2CLI, Siebel-MSSQL, Siebel- 
Web, and Siebel-Oracle) protocols 
 Legacy: For Terminal Emulation (RTE) 
 Mailing Services: Internet Messaging (IMAP), MS Exchange (MAPI), 
POP3, and SMTP 
 Middleware: Jacada and Tuxedo (6, 7) protocols 
 Streaming: For MediaPlayer and RealPlayer protocols 
 Wireless: For i-Mode, VoiceXML, and WAP protocols 
 Custom: C Vuser, Java template, Javascript Vuser, VB Script Vuser, 
Visual Basic template
31 www.ExigenServices.com 
VIRTUAL USERS PROTOCOLS 
 Microsoft .NET Protocol 
 Java Protocol 
 Java Protocol - Manually Programming Scripts 
 Enterprise Java Beans (EJB) Protocol 
 Flex Protocol 
 AJAX Protocol 
 AMF Protocol 
 Citrix Protocol 
 RDP Protocol
32 www.ExigenServices.com 
VIRTUAL USERS PROTOCOLS 
 Click and Script Protocol 
 Web Protocols 
 Oracle NCA Protocol 
 SAP Protocols 
 Java over HTTP Protocol 
 RTE Protocol 
 Windows Sockets Protocol 
 Mailing Service Protocols 
 Tuxedo Protocols
33 www.ExigenServices.com 
VIRTUAL USERS PROTOCOLS 
 Siebel Web Protocol 
 COM Protocol 
 Database Protocols 
 LDAP Protocol 
 Wireless Protocols 
 SilverLight Protocol 
 Web Services - Adding Script Content 
 Web Services - Managing Services 
 Web Services – Security
34 www.ExigenServices.com 
VIRTUAL USERS PROTOCOLS 
 Web Services - Preparing Scripts for Replay 
 Web Services - Service Emulation
35 www.ExigenServices.com 
VIRTUAL USERS PROTOCOLS 
 Note: In order to run the various protocols, you must have either a 
global license or licenses for the desired protocols.
36 www.ExigenServices.com 
LOADRUNNER – CONTROLLER 
 Easily and effectively control 
 Single point of control 
 Creates scenarios to test 
– Manages: 
– Load generators; 
– Number of virtual users; 
– Monitors.
37 www.ExigenServices.com 
SCENARIOS 
 number of users to emulate; 
 the actions they perform (Vuser scripts); 
 load generators
38 www.ExigenServices.com 
CONTROLLER – SCENARIOS 
Choosing the scenario type:
39 www.ExigenServices.com 
CONTROLLER – CREATING A SCENARIO 
 Select the Vuser scripts for the scenario 
 Add a Vuser group: 
– Choose a group name; 
– Select the number of Vusers to create in the group; 
– Select a load generator; 
– Select a Vuser script from the list 
 Configure run-time settings for the group
CONTROLLER – CONFIGURING A SCENARIO 
 Some of the important parameters that maybe configured for each 
scenario: 
40 www.ExigenServices.com 
– Run-time settings; 
– Timeout interval; 
– Run-time file storage
41 www.ExigenServices.com 
CONTROLLER – TAB ‘DESIGN’
42 www.ExigenServices.com 
LOADRUNNER – MONITORS 
 Run – time: number and status of Vusers 
 Transaction: transaction rate and response time 
 Web Resource: statistics at the Web server 
 System Resource: Windows, UNIX etc.
43 www.ExigenServices.com 
LOADRUNNER – MONITORS
44 www.ExigenServices.com 
LOADRUNNER – ANALYSIS 
 Graphs 
 Reports 
 Drill down 
 External monitors 
 Correlation analysis 
 Controller stores a result (.lrr) 
 Analyze creates session
45 www.ExigenServices.com 
LOADRUNNER – ANALYSIS
46 www.ExigenServices.com 
HINTS 
 %LR_Home%helpbooksbooks.pdf
47 www.ExigenServices.com 
THANK YOU 
Questions?

Contenu connexe

Tendances

Introduction to Performance Testing & Loadrunner
Introduction to Performance Testing & LoadrunnerIntroduction to Performance Testing & Loadrunner
Introduction to Performance Testing & LoadrunnerAisha Mazhar
 
Performance Testing Using JMeter | Edureka
Performance Testing Using JMeter | EdurekaPerformance Testing Using JMeter | Edureka
Performance Testing Using JMeter | EdurekaEdureka!
 
Performance Testing using LoadRunner - Kamran Khan [chromeis.com]
Performance Testing using LoadRunner - Kamran Khan [chromeis.com]Performance Testing using LoadRunner - Kamran Khan [chromeis.com]
Performance Testing using LoadRunner - Kamran Khan [chromeis.com]Kamran Khan
 
Performance testing
Performance testingPerformance testing
Performance testingJyoti Babbar
 
Using Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solutionUsing Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solutionRuslan Strazhnyk
 
QA. Load Testing
QA. Load TestingQA. Load Testing
QA. Load TestingAlex Galkin
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best PracticesApica
 
Performance testing with JMeter
Performance testing with JMeterPerformance testing with JMeter
Performance testing with JMeterMikael Kundert
 
Performance testing and reporting with JMeter
Performance testing and reporting with JMeterPerformance testing and reporting with JMeter
Performance testing and reporting with JMeterjvSlideshare
 
Apache JMeter - A brief introduction
Apache JMeter - A brief introductionApache JMeter - A brief introduction
Apache JMeter - A brief introductionsilenceIT Inc.
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testingQualitest
 
Performance testing presentation
Performance testing presentationPerformance testing presentation
Performance testing presentationBelatrix Software
 
Performance Testing With Loadrunner
Performance Testing With LoadrunnerPerformance Testing With Loadrunner
Performance Testing With Loadrunnervladimir zaremba
 
Getting start with Performance Testing
Getting start with Performance Testing Getting start with Performance Testing
Getting start with Performance Testing Yogesh Deshmukh
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeterBhojan Rajan
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance TestingAtul Pant
 

Tendances (20)

Introduction to Performance Testing & Loadrunner
Introduction to Performance Testing & LoadrunnerIntroduction to Performance Testing & Loadrunner
Introduction to Performance Testing & Loadrunner
 
Performance Testing Using JMeter | Edureka
Performance Testing Using JMeter | EdurekaPerformance Testing Using JMeter | Edureka
Performance Testing Using JMeter | Edureka
 
Fundamentals Performance Testing
Fundamentals Performance TestingFundamentals Performance Testing
Fundamentals Performance Testing
 
Performance Testing using LoadRunner - Kamran Khan [chromeis.com]
Performance Testing using LoadRunner - Kamran Khan [chromeis.com]Performance Testing using LoadRunner - Kamran Khan [chromeis.com]
Performance Testing using LoadRunner - Kamran Khan [chromeis.com]
 
Performance testing
Performance testingPerformance testing
Performance testing
 
Using Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solutionUsing Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solution
 
QA. Load Testing
QA. Load TestingQA. Load Testing
QA. Load Testing
 
Types of performance testing
Types of performance testingTypes of performance testing
Types of performance testing
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best Practices
 
Performance testing with JMeter
Performance testing with JMeterPerformance testing with JMeter
Performance testing with JMeter
 
Performance testing and reporting with JMeter
Performance testing and reporting with JMeterPerformance testing and reporting with JMeter
Performance testing and reporting with JMeter
 
Apache JMeter - A brief introduction
Apache JMeter - A brief introductionApache JMeter - A brief introduction
Apache JMeter - A brief introduction
 
Performance Engineering Basics
Performance Engineering BasicsPerformance Engineering Basics
Performance Engineering Basics
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testing
 
Load testing jmeter
Load testing jmeterLoad testing jmeter
Load testing jmeter
 
Performance testing presentation
Performance testing presentationPerformance testing presentation
Performance testing presentation
 
Performance Testing With Loadrunner
Performance Testing With LoadrunnerPerformance Testing With Loadrunner
Performance Testing With Loadrunner
 
Getting start with Performance Testing
Getting start with Performance Testing Getting start with Performance Testing
Getting start with Performance Testing
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance Testing
 

En vedette

What is Loadrunner ?
What is Loadrunner ?What is Loadrunner ?
What is Loadrunner ?Guru99
 
An Introduction to Performance Testing
An Introduction to Performance TestingAn Introduction to Performance Testing
An Introduction to Performance TestingSWAAM Tech
 
Loadrunner vs Jmeter
Loadrunner vs JmeterLoadrunner vs Jmeter
Loadrunner vs JmeterAtul Pant
 
Introduction to Performance testing
Introduction to Performance testingIntroduction to Performance testing
Introduction to Performance testingsilviasiqueirahp
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement GatheringAtul Pant
 
Performance Testing REST APIs
Performance Testing REST APIsPerformance Testing REST APIs
Performance Testing REST APIsJason Weden
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testingTharinda Liyanage
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testingsonukalpana
 
ORACLE UNIVERSITY CAMPUS SOLUTIONS TRAINING
ORACLE UNIVERSITY CAMPUS SOLUTIONS TRAININGORACLE UNIVERSITY CAMPUS SOLUTIONS TRAINING
ORACLE UNIVERSITY CAMPUS SOLUTIONS TRAININGchrisw_byrd
 
Oracle Applications
Oracle ApplicationsOracle Applications
Oracle ApplicationsAddvantum
 
07 restful webservices design
07 restful webservices design07 restful webservices design
07 restful webservices designAhmed Elbassel
 
PeopleSoft Campus Solutions
PeopleSoft Campus SolutionsPeopleSoft Campus Solutions
PeopleSoft Campus SolutionsCIMA IT
 

En vedette (15)

What is Loadrunner ?
What is Loadrunner ?What is Loadrunner ?
What is Loadrunner ?
 
An Introduction to Performance Testing
An Introduction to Performance TestingAn Introduction to Performance Testing
An Introduction to Performance Testing
 
Loadrunner vs Jmeter
Loadrunner vs JmeterLoadrunner vs Jmeter
Loadrunner vs Jmeter
 
Introduction to Performance testing
Introduction to Performance testingIntroduction to Performance testing
Introduction to Performance testing
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement Gathering
 
Performance Testing REST APIs
Performance Testing REST APIsPerformance Testing REST APIs
Performance Testing REST APIs
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testing
 
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load RunnerQSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load Runner
 
ORACLE UNIVERSITY CAMPUS SOLUTIONS TRAINING
ORACLE UNIVERSITY CAMPUS SOLUTIONS TRAININGORACLE UNIVERSITY CAMPUS SOLUTIONS TRAINING
ORACLE UNIVERSITY CAMPUS SOLUTIONS TRAINING
 
QSpiders - Introduction to Performance Testing
QSpiders - Introduction to Performance TestingQSpiders - Introduction to Performance Testing
QSpiders - Introduction to Performance Testing
 
Oracle Applications
Oracle ApplicationsOracle Applications
Oracle Applications
 
07 restful webservices design
07 restful webservices design07 restful webservices design
07 restful webservices design
 
PeopleSoft Campus Solutions
PeopleSoft Campus SolutionsPeopleSoft Campus Solutions
PeopleSoft Campus Solutions
 
Introducing Java 7
Introducing Java 7Introducing Java 7
Introducing Java 7
 

Similaire à Performance testing using hp load runner

advanced_load_runner.ppt
advanced_load_runner.pptadvanced_load_runner.ppt
advanced_load_runner.pptSunilKumar61580
 
Load runner 8.0
Load runner 8.0Load runner 8.0
Load runner 8.0medsherb
 
Cloud-based performance testing
Cloud-based performance testingCloud-based performance testing
Cloud-based performance testingabhinavm
 
Test Strategy For Future Cloud Architecture
Test Strategy For Future Cloud ArchitectureTest Strategy For Future Cloud Architecture
Test Strategy For Future Cloud ArchitectureMaheshShri1
 
Copy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxCopy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxssuser20fcbe
 
Performance testing with loadrunner by kc
Performance testing with loadrunner by kcPerformance testing with loadrunner by kc
Performance testing with loadrunner by kckrishna chaitanya
 
Testing using load runner performance testing
Testing using load runner  performance testingTesting using load runner  performance testing
Testing using load runner performance testingSivaprasanthRentala1975
 
Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter Hima Bindu Kosuru
 
Azure Cloud Application Development Workshop - UGIdotNET
Azure Cloud Application Development Workshop - UGIdotNETAzure Cloud Application Development Workshop - UGIdotNET
Azure Cloud Application Development Workshop - UGIdotNETLorenzo Barbieri
 
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...OpenWhisk
 
Hpe service virtualization 3.8 what's new chicago adm
Hpe service virtualization 3.8 what's new chicago admHpe service virtualization 3.8 what's new chicago adm
Hpe service virtualization 3.8 what's new chicago admJeffrey Nunn
 
Hyperledger Composer architecture
Hyperledger Composer architectureHyperledger Composer architecture
Hyperledger Composer architectureSimon Stone
 
Loadrunner interview questions and answers
Loadrunner interview questions and answersLoadrunner interview questions and answers
Loadrunner interview questions and answersGaruda Trainings
 
Silk Performer Presentation v1
Silk Performer Presentation v1Silk Performer Presentation v1
Silk Performer Presentation v1Sun Technlogies
 
Programmable infrastructure with FlyScript
Programmable infrastructure with FlyScriptProgrammable infrastructure with FlyScript
Programmable infrastructure with FlyScriptRiverbed Technology
 
E g innovations overview
E g innovations overviewE g innovations overview
E g innovations overviewNuno Alves
 

Similaire à Performance testing using hp load runner (20)

QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Simple Recording and Configuration of recording options for HP Loa...QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
 
advanced_load_runner.ppt
advanced_load_runner.pptadvanced_load_runner.ppt
advanced_load_runner.ppt
 
Load runner 8.0
Load runner 8.0Load runner 8.0
Load runner 8.0
 
Cloud-based performance testing
Cloud-based performance testingCloud-based performance testing
Cloud-based performance testing
 
Test Strategy For Future Cloud Architecture
Test Strategy For Future Cloud ArchitectureTest Strategy For Future Cloud Architecture
Test Strategy For Future Cloud Architecture
 
Copy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxCopy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptx
 
Performance testing with loadrunner by kc
Performance testing with loadrunner by kcPerformance testing with loadrunner by kc
Performance testing with loadrunner by kc
 
Testing using load runner performance testing
Testing using load runner  performance testingTesting using load runner  performance testing
Testing using load runner performance testing
 
LoadTracer
LoadTracer LoadTracer
LoadTracer
 
Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter
 
Azure Cloud Application Development Workshop - UGIdotNET
Azure Cloud Application Development Workshop - UGIdotNETAzure Cloud Application Development Workshop - UGIdotNET
Azure Cloud Application Development Workshop - UGIdotNET
 
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
 
Hpe service virtualization 3.8 what's new chicago adm
Hpe service virtualization 3.8 what's new chicago admHpe service virtualization 3.8 what's new chicago adm
Hpe service virtualization 3.8 what's new chicago adm
 
Hyperledger Composer architecture
Hyperledger Composer architectureHyperledger Composer architecture
Hyperledger Composer architecture
 
Loadrunner interview questions and answers
Loadrunner interview questions and answersLoadrunner interview questions and answers
Loadrunner interview questions and answers
 
Silk Performer Presentation v1
Silk Performer Presentation v1Silk Performer Presentation v1
Silk Performer Presentation v1
 
Programmable infrastructure with FlyScript
Programmable infrastructure with FlyScriptProgrammable infrastructure with FlyScript
Programmable infrastructure with FlyScript
 
Lets vRealize level -100 Presentation
Lets vRealize level -100 PresentationLets vRealize level -100 Presentation
Lets vRealize level -100 Presentation
 
loadrunner
loadrunnerloadrunner
loadrunner
 
E g innovations overview
E g innovations overviewE g innovations overview
E g innovations overview
 

Plus de Return on Intelligence

Unit Tests? It is Very Simple and Easy!
Unit Tests? It is Very Simple and Easy!Unit Tests? It is Very Simple and Easy!
Unit Tests? It is Very Simple and Easy!Return on Intelligence
 
Introduction to Backbone.js & Marionette.js
Introduction to Backbone.js & Marionette.jsIntroduction to Backbone.js & Marionette.js
Introduction to Backbone.js & Marionette.jsReturn on Intelligence
 
Types of testing and their classification
Types of testing and their classificationTypes of testing and their classification
Types of testing and their classificationReturn on Intelligence
 
Apache cassandra - future without boundaries (part3)
Apache cassandra - future without boundaries (part3)Apache cassandra - future without boundaries (part3)
Apache cassandra - future without boundaries (part3)Return on Intelligence
 
Apache cassandra - future without boundaries (part2)
Apache cassandra - future without boundaries (part2)Apache cassandra - future without boundaries (part2)
Apache cassandra - future without boundaries (part2)Return on Intelligence
 
Apache cassandra - future without boundaries (part1)
Apache cassandra - future without boundaries (part1)Apache cassandra - future without boundaries (part1)
Apache cassandra - future without boundaries (part1)Return on Intelligence
 

Plus de Return on Intelligence (20)

Clean Code Approach
Clean Code ApproachClean Code Approach
Clean Code Approach
 
Code Coverage
Code CoverageCode Coverage
Code Coverage
 
Effective Communication in english
Effective Communication in englishEffective Communication in english
Effective Communication in english
 
Anti-patterns
Anti-patternsAnti-patterns
Anti-patterns
 
Conflicts Resolving
Conflicts ResolvingConflicts Resolving
Conflicts Resolving
 
Database versioning with liquibase
Database versioning with liquibaseDatabase versioning with liquibase
Database versioning with liquibase
 
Effective Feedback
Effective FeedbackEffective Feedback
Effective Feedback
 
English for Negotiations 2016
English for Negotiations 2016English for Negotiations 2016
English for Negotiations 2016
 
Lean Software Development
Lean Software DevelopmentLean Software Development
Lean Software Development
 
Unit Tests? It is Very Simple and Easy!
Unit Tests? It is Very Simple and Easy!Unit Tests? It is Very Simple and Easy!
Unit Tests? It is Very Simple and Easy!
 
Quick Start to AngularJS
Quick Start to AngularJSQuick Start to AngularJS
Quick Start to AngularJS
 
Introduction to Backbone.js & Marionette.js
Introduction to Backbone.js & Marionette.jsIntroduction to Backbone.js & Marionette.js
Introduction to Backbone.js & Marionette.js
 
Types of testing and their classification
Types of testing and their classificationTypes of testing and their classification
Types of testing and their classification
 
Introduction to EJB
Introduction to EJBIntroduction to EJB
Introduction to EJB
 
Enterprise Service Bus
Enterprise Service BusEnterprise Service Bus
Enterprise Service Bus
 
Apache cassandra - future without boundaries (part3)
Apache cassandra - future without boundaries (part3)Apache cassandra - future without boundaries (part3)
Apache cassandra - future without boundaries (part3)
 
Apache cassandra - future without boundaries (part2)
Apache cassandra - future without boundaries (part2)Apache cassandra - future without boundaries (part2)
Apache cassandra - future without boundaries (part2)
 
Apache cassandra - future without boundaries (part1)
Apache cassandra - future without boundaries (part1)Apache cassandra - future without boundaries (part1)
Apache cassandra - future without boundaries (part1)
 
Career development in exigen services
Career development in exigen servicesCareer development in exigen services
Career development in exigen services
 
Introduction to selenium web driver
Introduction to selenium web driverIntroduction to selenium web driver
Introduction to selenium web driver
 

Dernier

WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...chiefasafspells
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...masabamasaba
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 

Dernier (20)

WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 

Performance testing using hp load runner

  • 1. PERFORMANCE TESTING Testing using HP LoadRunner Petr Kiryukhin December 12, 2014 www.ExigenServices.com
  • 2. 2 www.ExigenServices.com TABLE OF CONTENTS  Performance Testing. Why? Goals.  LoadRunner  Overview – LR Components, System Architecture  Virtual User Generator (VuGen): – Virtual Users; – Run and Debugging VuGen scripts; – Transactions, Rendezvous points; – Record, Vusers Types  Controller: – Understanding Scenarios; – Creating & Executing LoadRunner scenarios; – Configuring scenarios  Analysis
  • 3. 3 www.ExigenServices.com PERFORMANCE TESTING  Real system emulation  Test executing  Results analysis
  • 4. WHY SHOULD YOU USE PERFORMANCE TESTING?  Does the application respond quickly enough for the intended users?  Is the application stable under expected and unexpected user loads?  Will system meet the needs of the business before going live? 4 www.ExigenServices.com
  • 5. 5 www.ExigenServices.com WHY SHOULD YOU USE PERFORMANCE TESTING?  Are undetected application bottlenecks resulting in slow time or downtime in production?  Are you struggling to deploy business systems smoothly, with no performance surprises?  How do you know if an application or system can scale to the desired level of usage in production?
  • 6. WHY SHOULD YOU AUTOMATE PERFORMANCE TESTING?  Manual testing limitations: It is expensive, requiring large amount of both personnel and machinery It is complicated, especially coordinating and synchronizing multiple testers It involves a high degree of organization, especially to record and analyze results meaningfully The repeatability of the manual tests is limited 6 www.ExigenServices.com
  • 7. 7 www.ExigenServices.com TESTING PROCESS. HOW DOES IT LOOK? Record a basic Vuser script Enhance and edit the script Configure run-time settings Run the Vuser script in stand-alone mode Incorporate the Vuser script into a LR scenario Planning the Test Creating Vuser scripts Creating the scenario Running the scenario Monitoring the scenario Analyzing Test Results number of scripts
  • 8. 8 www.ExigenServices.com LOADRUNNER  LoadRunner is an automated solution: – Put your application into stress; – Create controlled and peak load conditions; – Thousands of Virtual Users; – Using a minimum of hardware resources; – Repeatable, and measurable load
  • 9. 9 www.ExigenServices.com LOADRUNNER – TYPICAL ARCHITECTURE
  • 10. 10 www.ExigenServices.com LOADRUNNER – COMPONENTS – Virtual User Generator (VuGen ) – Controller – Analysis
  • 11. 11 www.ExigenServices.com LOADRUNNER – VIRTUAL USER GENERATOR – Records & runs scripts (Records on Windows platforms only) – Debugging of the scripts – Script can run on a Windows or UNIX machine – A custom type Vuser script
  • 12. 12 www.ExigenServices.com VIRTUAL USERS.  Reduces personnel requirements  Vusers emulate the behavior of real  Control - from a single point of control  By increasing the number of Vusers, you increase the load on the system  Reduces the amount of hardware required for testing
  • 13. 13 www.ExigenServices.com VUSER SCRIPTS USES SCRIPTS. WHAT IS IT ?!  A small program  The actions that a Vuser performs  ‘User data point’  ‘Parameters’  ‘Rendezvous points’  ‘Transactions’  ‘Run-time settings’  ‘Types’
  • 14. 14 www.ExigenServices.com VUSER SCRIPT STRUCTURE Method within Actions class Record into action Used to emulate Executed during init vuser_init a login to a server Initialization action Action client activity Running end vuser_end a log off procedure Finish or Stopped
  • 15. 15 www.ExigenServices.com VUGEN – OVERVIEW, RUN, DEBUGGING
  • 17. 17 www.ExigenServices.com VUGEN - TRANSACTIONS  The time it takes for the server to respond to specified Vuser requests.  Transactions are defined to measure the performance of the server.  The Controller measures the response times.
  • 19. 19 www.ExigenServices.com VUGEN – RENDEZVOUS POINTS  synchronize Vusers;  to perform a task at exactly the same moment;  to emulate heavy user load.  Note: You may only add rendezvous points in the Action section – not to the init or end .
  • 20. 20 www.ExigenServices.com VUGEN – RENDEZVOUS POINTS
  • 22. 22 www.ExigenServices.com VUGEN – RECORDING OPTIONS  Recording options specify: – The information to record; – Client/browser with which to record; – Environment Settings; – Recording Properties  Some of the recording options available are: – Recording Level – what information to record and which functions to use when generating script; – Correlation (HTML/WEB)
  • 23. 23 www.ExigenServices.com VUGEN – RECORDING OPTIONS Setting the Recording Level:
  • 24. VUGEN – RUN-TIME SETTINGS  Run-time settings define the way in which a script runs. – Stored in the default.cfg in the Vuser script directory – Applied to Vusers when the script is executed using VuGen or the Controller  Configuring run-time settings enable you to emulate different kinds of user activity 24 www.ExigenServices.com
  • 25. 25 www.ExigenServices.com VUGEN – RUN-TIME SETTINGS  General run-time settings include: – Run Logic – Number of times the action block of the script iterations (For HTML/WEB); – Pacing – the time between iterations; – Log – how much information is logged to the output; – Think time – emulates the time a real user waits between actions; – Miscellaneous.
  • 26. 26 www.ExigenServices.com VUGEN – RUN-TIME SETTINGS Setting the Run Logic [HTML/WEB] :
  • 27. 27 www.ExigenServices.com VUGEN – RUN-TIME SETTINGS Setting the Pacing:
  • 28. 28 www.ExigenServices.com VUGEN – RUN-TIME SETTINGS Setting the Think time:
  • 29. 29 www.ExigenServices.com VUGEN – RUN-TIME SETTINGS Setting the Miscellaneous:
  • 30. VIRTUAL USER TYPES  Application Deployment Solution: For Citrix/Microsoft RDP  Client/Server: For DB2 CLI, DNS, MS SQL Server, ODBC, Oracle (2-tier), 30 www.ExigenServices.com Sybase Ctlib, Sybase Dblib, Windows Sockets protocols  Distributed Components: For COM/DCOM, CORBA–Java, and RMI– Java protocols  E-business: For FTP, LDAP, Palm, Web (HTTP/HTML), Web Services, SOAP and Web/Winsocket Dual protocol  Enterprise Java Beans: For EJB Testing and Rmi-Java protocols  ERP/CRM: For Baan, Oracle NCA, Peoplesoft-Tuxedo, Peoplesoft 8, SAPGUI, SAP-Web, and Siebel (Siebel-DB2CLI, Siebel-MSSQL, Siebel- Web, and Siebel-Oracle) protocols  Legacy: For Terminal Emulation (RTE)  Mailing Services: Internet Messaging (IMAP), MS Exchange (MAPI), POP3, and SMTP  Middleware: Jacada and Tuxedo (6, 7) protocols  Streaming: For MediaPlayer and RealPlayer protocols  Wireless: For i-Mode, VoiceXML, and WAP protocols  Custom: C Vuser, Java template, Javascript Vuser, VB Script Vuser, Visual Basic template
  • 31. 31 www.ExigenServices.com VIRTUAL USERS PROTOCOLS  Microsoft .NET Protocol  Java Protocol  Java Protocol - Manually Programming Scripts  Enterprise Java Beans (EJB) Protocol  Flex Protocol  AJAX Protocol  AMF Protocol  Citrix Protocol  RDP Protocol
  • 32. 32 www.ExigenServices.com VIRTUAL USERS PROTOCOLS  Click and Script Protocol  Web Protocols  Oracle NCA Protocol  SAP Protocols  Java over HTTP Protocol  RTE Protocol  Windows Sockets Protocol  Mailing Service Protocols  Tuxedo Protocols
  • 33. 33 www.ExigenServices.com VIRTUAL USERS PROTOCOLS  Siebel Web Protocol  COM Protocol  Database Protocols  LDAP Protocol  Wireless Protocols  SilverLight Protocol  Web Services - Adding Script Content  Web Services - Managing Services  Web Services – Security
  • 34. 34 www.ExigenServices.com VIRTUAL USERS PROTOCOLS  Web Services - Preparing Scripts for Replay  Web Services - Service Emulation
  • 35. 35 www.ExigenServices.com VIRTUAL USERS PROTOCOLS  Note: In order to run the various protocols, you must have either a global license or licenses for the desired protocols.
  • 36. 36 www.ExigenServices.com LOADRUNNER – CONTROLLER  Easily and effectively control  Single point of control  Creates scenarios to test – Manages: – Load generators; – Number of virtual users; – Monitors.
  • 37. 37 www.ExigenServices.com SCENARIOS  number of users to emulate;  the actions they perform (Vuser scripts);  load generators
  • 38. 38 www.ExigenServices.com CONTROLLER – SCENARIOS Choosing the scenario type:
  • 39. 39 www.ExigenServices.com CONTROLLER – CREATING A SCENARIO  Select the Vuser scripts for the scenario  Add a Vuser group: – Choose a group name; – Select the number of Vusers to create in the group; – Select a load generator; – Select a Vuser script from the list  Configure run-time settings for the group
  • 40. CONTROLLER – CONFIGURING A SCENARIO  Some of the important parameters that maybe configured for each scenario: 40 www.ExigenServices.com – Run-time settings; – Timeout interval; – Run-time file storage
  • 41. 41 www.ExigenServices.com CONTROLLER – TAB ‘DESIGN’
  • 42. 42 www.ExigenServices.com LOADRUNNER – MONITORS  Run – time: number and status of Vusers  Transaction: transaction rate and response time  Web Resource: statistics at the Web server  System Resource: Windows, UNIX etc.
  • 44. 44 www.ExigenServices.com LOADRUNNER – ANALYSIS  Graphs  Reports  Drill down  External monitors  Correlation analysis  Controller stores a result (.lrr)  Analyze creates session
  • 46. 46 www.ExigenServices.com HINTS  %LR_Home%helpbooksbooks.pdf

Notes de l'éditeur

  1. Virtual User Generator (VuGen), is the primary tool for developing Vuser scripts
  2. During recording, you can select the section of the script into which VuGen will insert the recorded functions. The vuser_init & vuser_end are executed only once. The Actions section is repeated during multiple iterations of the Vuser script.
  3. When a Vuser arrives at a rendezvous point, it is held by the Controller until all Vusers participating in the rendezvous reach that point.
  4. Record typical business processes on a client application. VuGen creates the script by recording the activity between the client and the server. Instead of manually creating a Vuser script by programming the application’s API function calls to the server, you use VuGen to: Monitor the communication between the application and the server; Generate the required function calls; Insert the generated function calls into a Vuser script.
  5. Virtual users depend upon the application layer protocol. Application layer protocol is the protocol that is used over TCP/IP. Examples are HTTP, SAP GUI Protocol, Protocols used by Oracle, etc.
  6. Note: In order to run the various protocols, you must have either a global license or licenses for the desired protocols.
  7. Note: In order to run the various protocols, you must have either a global license or licenses for the desired protocols.
  8. Note: In order to run the various protocols, you must have either a global license or licenses for the desired protocols.
  9. Note: In order to run the various protocols, you must have either a global license or licenses for the desired protocols.
  10. Note: In order to run the various protocols, you must have either a global license or licenses for the desired protocols.
  11. LoadRunner Analysis provides graphs and reports to help you analyze the performance of your system. When you run a scenario via Controller, data is stored in a result (.lrr) file. Analysis is the utility that processes the gathered result information and generates graphs and reports. Analysis graphs are generated for the resources that were monitored during the scenario execution.
  12. LoadRunner Analysis provides graphs and reports to help you analyze the performance of your system. When you run a scenario via Controller, data is stored in a result (.lrr) file. Analysis is the utility that processes the gathered result information and generates graphs and reports. Analysis graphs are generated for the resources that were monitored during the scenario execution.