SlideShare uma empresa Scribd logo
1 de 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?

Mais conteúdo relacionado

Mais procurados

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
 
Load Testing and JMeter Presentation
Load Testing and JMeter PresentationLoad Testing and JMeter Presentation
Load Testing and JMeter PresentationNeill Lima
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testingsonukalpana
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance TestingAtul Pant
 
Introduction to blazemeter and jmeter
Introduction to blazemeter and jmeterIntroduction to blazemeter and jmeter
Introduction to blazemeter and jmeterb4usolution .
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement GatheringAtul Pant
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeterBhojan Rajan
 
Perofrmance testing and apache jmeter
Perofrmance testing and apache jmeterPerofrmance testing and apache jmeter
Perofrmance testing and apache jmeterlethibichhoa
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testingQualitest
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with JmeterPrashanth Kumar
 
Infographic: Importance of Performance Testing
Infographic: Importance of Performance TestingInfographic: Importance of Performance Testing
Infographic: Importance of Performance TestingKiwiQA
 
Loadrunner vs Jmeter
Loadrunner vs JmeterLoadrunner vs Jmeter
Loadrunner vs JmeterAtul Pant
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best PracticesApica
 
JMeter Load Testing | Load Testing Using JMmeter | JMeter Tutorial For Beginn...
JMeter Load Testing | Load Testing Using JMmeter | JMeter Tutorial For Beginn...JMeter Load Testing | Load Testing Using JMmeter | JMeter Tutorial For Beginn...
JMeter Load Testing | Load Testing Using JMmeter | JMeter Tutorial For Beginn...Simplilearn
 

Mais procurados (20)

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]
 
LoadRunner walkthrough
LoadRunner walkthroughLoadRunner walkthrough
LoadRunner walkthrough
 
Hp Loadrunner
Hp LoadrunnerHp Loadrunner
Hp Loadrunner
 
Load Testing and JMeter Presentation
Load Testing and JMeter PresentationLoad Testing and JMeter Presentation
Load Testing and JMeter Presentation
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testing
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance Testing
 
Fundamentals Performance Testing
Fundamentals Performance TestingFundamentals Performance Testing
Fundamentals Performance Testing
 
Neoload
Neoload Neoload
Neoload
 
Introduction to blazemeter and jmeter
Introduction to blazemeter and jmeterIntroduction to blazemeter and jmeter
Introduction to blazemeter and jmeter
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement Gathering
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
 
Perofrmance testing and apache jmeter
Perofrmance testing and apache jmeterPerofrmance testing and apache jmeter
Perofrmance testing and apache jmeter
 
Neoload overview
Neoload overviewNeoload overview
Neoload overview
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testing
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with Jmeter
 
Infographic: Importance of Performance Testing
Infographic: Importance of Performance TestingInfographic: Importance of Performance Testing
Infographic: Importance of Performance Testing
 
JMeter
JMeterJMeter
JMeter
 
Loadrunner vs Jmeter
Loadrunner vs JmeterLoadrunner vs Jmeter
Loadrunner vs Jmeter
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best Practices
 
JMeter Load Testing | Load Testing Using JMmeter | JMeter Tutorial For Beginn...
JMeter Load Testing | Load Testing Using JMmeter | JMeter Tutorial For Beginn...JMeter Load Testing | Load Testing Using JMmeter | JMeter Tutorial For Beginn...
JMeter Load Testing | Load Testing Using JMmeter | JMeter Tutorial For Beginn...
 

Destaque

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
 
Introduction to Performance testing
Introduction to Performance testingIntroduction to Performance testing
Introduction to Performance testingsilviasiqueirahp
 
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
 
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
 

Destaque (12)

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
 
Introduction to Performance testing
Introduction to Performance testingIntroduction to Performance testing
Introduction to Performance testing
 
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
 
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
 

Semelhante a 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
 

Semelhante a 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
 

Mais 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
 

Mais 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
 

Último

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...kalichargn70th171
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...software pro Development
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 

Último (20)

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 

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

Notas do Editor

  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.