Enviar pesquisa
Carregar
Testing using load runner performance testing
•
Transferir como PPT, PDF
•
3 gostaram
•
5,503 visualizações
S
SivaprasanthRentala1975
Seguir
Educação
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 49
Baixar agora
Recomendados
Salesforce testing best_practices
Salesforce testing best_practices
Vijayaragavan k 🌩️
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
Leonard Fingerman
Test Automation Strategy
Test Automation Strategy
Martin Ruddy
Test Automation Strategies in a Continuous Delivery Ecosystem
Test Automation Strategies in a Continuous Delivery Ecosystem
Cognizant
Introduction to performance testing
Introduction to performance testing
Richard Bishop
Automation Concepts
Automation Concepts
Nishant Worah
Automation testing strategy, approach & planning
Automation testing strategy, approach & planning
SivaprasanthRentala1975
Introduction to Performance testing
Introduction to Performance testing
silviasiqueirahp
Recomendados
Salesforce testing best_practices
Salesforce testing best_practices
Vijayaragavan k 🌩️
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
Leonard Fingerman
Test Automation Strategy
Test Automation Strategy
Martin Ruddy
Test Automation Strategies in a Continuous Delivery Ecosystem
Test Automation Strategies in a Continuous Delivery Ecosystem
Cognizant
Introduction to performance testing
Introduction to performance testing
Richard Bishop
Automation Concepts
Automation Concepts
Nishant Worah
Automation testing strategy, approach & planning
Automation testing strategy, approach & planning
SivaprasanthRentala1975
Introduction to Performance testing
Introduction to Performance testing
silviasiqueirahp
Sap Integration Testing Test Scripting V0.1
Sap Integration Testing Test Scripting V0.1
ASCARR1
Performance Testing Using VS 2010 - Part 1
Performance Testing Using VS 2010 - Part 1
Mohamed Tarek
Jmeter Tester Certification
Jmeter Tester Certification
Vskills
Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.com
Idexcel Technologies
Performance Testing
Performance Testing
Selin Gungor
Automation_testing
Automation_testing
Yana Altunyan
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Eliane Collins
Best Practices for Testing in salesforce.com
Best Practices for Testing in salesforce.com
Blezard CRM Consulting Ltd
Test automation principles, terminologies and implementations
Test automation principles, terminologies and implementations
Steven Li
Customized Test Automation Solution
Customized Test Automation Solution
BabuDevanandam
Introduction to Performance Testing Part 1
Introduction to Performance Testing Part 1
C.T.Co
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
Lee Barnes
Guideto Successful Application Test Automation
Guideto Successful Application Test Automation
aimshigh7
Automation Framework/QTP Framework
Automation Framework/QTP Framework
HeyDay Software Solutions
Automation Testing
Automation Testing
Sun Technlogies
Test Automation
Test Automation
Tomas Riha
Performance Testing Using JMeter | Edureka
Performance Testing Using JMeter | Edureka
Edureka!
Full Testing Experience - Visual Studio and TFS 2010
Full Testing Experience - Visual Studio and TFS 2010
Ed Blankenship
An Introduction to Performance Testing
An Introduction to Performance Testing
SWAAM Tech
Final Automation Testing
Final Automation Testing
priya_trivedi
Cloud-based performance testing
Cloud-based performance testing
abhinavm
Performance testing material
Performance testing material
Keylabstraining Bangalore
Mais conteúdo relacionado
Mais procurados
Sap Integration Testing Test Scripting V0.1
Sap Integration Testing Test Scripting V0.1
ASCARR1
Performance Testing Using VS 2010 - Part 1
Performance Testing Using VS 2010 - Part 1
Mohamed Tarek
Jmeter Tester Certification
Jmeter Tester Certification
Vskills
Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.com
Idexcel Technologies
Performance Testing
Performance Testing
Selin Gungor
Automation_testing
Automation_testing
Yana Altunyan
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Eliane Collins
Best Practices for Testing in salesforce.com
Best Practices for Testing in salesforce.com
Blezard CRM Consulting Ltd
Test automation principles, terminologies and implementations
Test automation principles, terminologies and implementations
Steven Li
Customized Test Automation Solution
Customized Test Automation Solution
BabuDevanandam
Introduction to Performance Testing Part 1
Introduction to Performance Testing Part 1
C.T.Co
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
Lee Barnes
Guideto Successful Application Test Automation
Guideto Successful Application Test Automation
aimshigh7
Automation Framework/QTP Framework
Automation Framework/QTP Framework
HeyDay Software Solutions
Automation Testing
Automation Testing
Sun Technlogies
Test Automation
Test Automation
Tomas Riha
Performance Testing Using JMeter | Edureka
Performance Testing Using JMeter | Edureka
Edureka!
Full Testing Experience - Visual Studio and TFS 2010
Full Testing Experience - Visual Studio and TFS 2010
Ed Blankenship
An Introduction to Performance Testing
An Introduction to Performance Testing
SWAAM Tech
Final Automation Testing
Final Automation Testing
priya_trivedi
Mais procurados
(20)
Sap Integration Testing Test Scripting V0.1
Sap Integration Testing Test Scripting V0.1
Performance Testing Using VS 2010 - Part 1
Performance Testing Using VS 2010 - Part 1
Jmeter Tester Certification
Jmeter Tester Certification
Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.com
Performance Testing
Performance Testing
Automation_testing
Automation_testing
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Best Practices for Testing in salesforce.com
Best Practices for Testing in salesforce.com
Test automation principles, terminologies and implementations
Test automation principles, terminologies and implementations
Customized Test Automation Solution
Customized Test Automation Solution
Introduction to Performance Testing Part 1
Introduction to Performance Testing Part 1
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
Guideto Successful Application Test Automation
Guideto Successful Application Test Automation
Automation Framework/QTP Framework
Automation Framework/QTP Framework
Automation Testing
Automation Testing
Test Automation
Test Automation
Performance Testing Using JMeter | Edureka
Performance Testing Using JMeter | Edureka
Full Testing Experience - Visual Studio and TFS 2010
Full Testing Experience - Visual Studio and TFS 2010
An Introduction to Performance Testing
An Introduction to Performance Testing
Final Automation Testing
Final Automation Testing
Semelhante a Testing using load runner performance testing
Cloud-based performance testing
Cloud-based performance testing
abhinavm
Performance testing material
Performance testing material
Keylabstraining Bangalore
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination Features
Chris Bailey
Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...
Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...
IBM Systems UKI
Rit 8.5.0 virtualization training slides
Rit 8.5.0 virtualization training slides
Darrel Rader
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
DevOps.com
Advanced Load Runner
Advanced Load Runner
telab
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
WSO2
MuleSoft Sizing Guidelines - VirtualMuleys
MuleSoft Sizing Guidelines - VirtualMuleys
Angel Alberici
Performance testing using hp load runner
Performance testing using hp load runner
Return on Intelligence
Copy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptx
ssuser20fcbe
Bp307 Practical Solutions for Connections Administrators, tips and scrips for...
Bp307 Practical Solutions for Connections Administrators, tips and scrips for...
Sharon James
Was liberty at scale
Was liberty at scale
sflynn073
TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6
Sravanthi N
Load Runner
Load Runner
Shama Ahsan
Load runner 8.0
Load runner 8.0
medsherb
WebSphere Technical University: Introduction to the Java Diagnostic Tools
WebSphere Technical University: Introduction to the Java Diagnostic Tools
Chris Bailey
Jump-start your application migration to AWS with CloudEndure - STG305 - New ...
Jump-start your application migration to AWS with CloudEndure - STG305 - New ...
Amazon Web Services
JMeter & ColdFusion
JMeter & ColdFusion
isummation
Oracle Analytics Server Infrastructure Tuning guide v2.pdf
Oracle Analytics Server Infrastructure Tuning guide v2.pdf
sivakodali7
Semelhante a Testing using load runner performance testing
(20)
Cloud-based performance testing
Cloud-based performance testing
Performance testing material
Performance testing material
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination Features
Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...
Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...
Rit 8.5.0 virtualization training slides
Rit 8.5.0 virtualization training slides
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
Advanced Load Runner
Advanced Load Runner
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
MuleSoft Sizing Guidelines - VirtualMuleys
MuleSoft Sizing Guidelines - VirtualMuleys
Performance testing using hp load runner
Performance testing using hp load runner
Copy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptx
Bp307 Practical Solutions for Connections Administrators, tips and scrips for...
Bp307 Practical Solutions for Connections Administrators, tips and scrips for...
Was liberty at scale
Was liberty at scale
TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6
Load Runner
Load Runner
Load runner 8.0
Load runner 8.0
WebSphere Technical University: Introduction to the Java Diagnostic Tools
WebSphere Technical University: Introduction to the Java Diagnostic Tools
Jump-start your application migration to AWS with CloudEndure - STG305 - New ...
Jump-start your application migration to AWS with CloudEndure - STG305 - New ...
JMeter & ColdFusion
JMeter & ColdFusion
Oracle Analytics Server Infrastructure Tuning guide v2.pdf
Oracle Analytics Server Infrastructure Tuning guide v2.pdf
Mais de SivaprasanthRentala1975
Why contract savings are missing
Why contract savings are missing
SivaprasanthRentala1975
Voyager scm
Voyager scm
SivaprasanthRentala1975
Volumes
Volumes
SivaprasanthRentala1975
The new mainframe
The new mainframe
SivaprasanthRentala1975
Test execution may_04_2006
Test execution may_04_2006
SivaprasanthRentala1975
Telecom testing
Telecom testing
SivaprasanthRentala1975
Six sigma
Six sigma
SivaprasanthRentala1975
Sdlc models
Sdlc models
SivaprasanthRentala1975
Sdlc
Sdlc
SivaprasanthRentala1975
Scm
Scm
SivaprasanthRentala1975
Pt presentation1
Pt presentation1
SivaprasanthRentala1975
Pp employee learnnig initiative-iss-220-g tle 2007
Pp employee learnnig initiative-iss-220-g tle 2007
SivaprasanthRentala1975
Performance testing and rpt
Performance testing and rpt
SivaprasanthRentala1975
Patents
Patents
SivaprasanthRentala1975
Xpediter kanbay
Xpediter kanbay
SivaprasanthRentala1975
Copy of good quotes.ppt
Copy of good quotes.ppt
SivaprasanthRentala1975
Contract savings new
Contract savings new
SivaprasanthRentala1975
Contract savings schema
Contract savings schema
SivaprasanthRentala1975
Contract savings may 10th 2004 by gm euro
Contract savings may 10th 2004 by gm euro
SivaprasanthRentala1975
Contract savings job overview
Contract savings job overview
SivaprasanthRentala1975
Mais de SivaprasanthRentala1975
(20)
Why contract savings are missing
Why contract savings are missing
Voyager scm
Voyager scm
Volumes
Volumes
The new mainframe
The new mainframe
Test execution may_04_2006
Test execution may_04_2006
Telecom testing
Telecom testing
Six sigma
Six sigma
Sdlc models
Sdlc models
Sdlc
Sdlc
Scm
Scm
Pt presentation1
Pt presentation1
Pp employee learnnig initiative-iss-220-g tle 2007
Pp employee learnnig initiative-iss-220-g tle 2007
Performance testing and rpt
Performance testing and rpt
Patents
Patents
Xpediter kanbay
Xpediter kanbay
Copy of good quotes.ppt
Copy of good quotes.ppt
Contract savings new
Contract savings new
Contract savings schema
Contract savings schema
Contract savings may 10th 2004 by gm euro
Contract savings may 10th 2004 by gm euro
Contract savings job overview
Contract savings job overview
Último
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
BP KOIRALA INSTITUTE OF HELATH SCIENCS,, NEPAL
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
GloryAnnCastre1
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
DhatriParmar
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
Celine George
Concurrency Control in Database Management system
Concurrency Control in Database Management system
Christalin Nelson
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
Anupam32727
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Association for Project Management
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
Vanessa Camilleri
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
karenfajardo43
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
National Information Standards Organization (NISO)
Expanded definition: technical and operational
Expanded definition: technical and operational
ssuser3e220a
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
Nguyen Thanh Tu Collection
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
RicaMaeCastro1
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
Celine George
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
VijayaLaxmi84
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
chesterberbo7
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
mary850239
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
Mr Bounab Samir
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
MichelleTuguinay1
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
mary850239
Último
(20)
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
Concurrency Control in Database Management system
Concurrency Control in Database Management system
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
Expanded definition: technical and operational
Expanded definition: technical and operational
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
Testing using load runner performance testing
1.
ibm.com/bcs © Copyright
IBM Corporation 2006CONFIDENTIAL – Not for Distribution PLANNING LOADTESTINGPLANNING LOADTESTING LESSON 1LESSON 1
2.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Why Plan?Why Plan? So that you will be able to: Build test scenarios that accurately emulate your system Know the required resources for testing Define the load test objective Define success criteria (in measurable terms)
3.
CONFIDENTIAL © Copyright IBM
Corporation 2006 LoadRunnerWorkflowLoadRunnerWorkflow Plan Load TestingPlan Load Testing11 Create Scenario3 Run Scenario4 Analyze Results5 Create Vuser Scripts2 Debug and Run Scenario Again6 Define load testing objectives Analyze system under test Plan LoadRunner Implementation
4.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Planning Load TestingPlanning Load Testing In this lesson you will learn how to: 1 - Define load testing objectives Objectives 2 - Analyze the system under test 3 - Plan LoadRunner implementation Vuser Vuser VuserVuser Controller
5.
CONFIDENTIAL © Copyright IBM
Corporation 2006 1 - Define Load Testing Objectives1 - Define Load Testing Objectives Why test objectives? “Successful projects are those that have a defined test objective… and provide actionable results and conclusion…” Source: “The Art of Testing Network Systems” Robert W. Buchanan, Jr. Limit your objectives “...Projects should have one or, at the most, two test objectives… More than two objectives dilutes the effort and makes [ testing ] virtually impossible.” State objectives in measurable terms “...There is nothing worse than completing [ a test ] and then disagreeing on whether or not the system passed.”
6.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Common Test ObjectivesCommon Test Objectives Application response time How long does it take to complete a task? Configuration sizing Which configuration provides the best performance level? Acceptance Is the system stable enough to go into production? Regression Does the new version of the software adversely affect response time? Reliability How stable is the system under a heavy work load? Capacity planning At what point does degradation in performance occur? Bottleneck identification What is the cause of degradation in performance? Product evaluation What is the best server for 100 users?
7.
CONFIDENTIAL © Copyright IBM
Corporation 2006 State Objective in Measurable TermsState Objective in Measurable Terms Measurable objectives provide baselines for evaluating results Examples Examples Response time under a load of 50 sales representatives, the maximum response time for any transaction will not exceed 1 minute Reliability the system will run for 72 hours at 50% load(as measured by CPU utilization) without a crash, or any corrupted data
8.
CONFIDENTIAL © Copyright IBM
Corporation 2006 2 - Analyze The System UnderTest2 - Analyze The System UnderTest Identify system components schematic diagram of system Describe configuration of each component hardware/CPU speed operating system memory Describe user profile types of users common tasks for each user task distribution during the work day
9.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Identify System ComponentsIdentify System Components Example Example Clients 586/ Windows 98 OCI Pentium 400MHZ NT 4.0 Oracle 8.0 Server
10.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Describe ConfigurationDescribe Configuration Front End Client No of clients 120 Hardware/Memory 586 PC / 32 Mb Operating system Windows 95 Development tool Visual Basic Example Example Middleware/App Server (if exists) Server type Communication with server Server operating system Back End Server Server type Database- Oracle 8.0 Communication with server ODBC Server operating system NT Other Network Components Communication device handles 50 calls max. Provide details about the configuration of each component:
11.
CONFIDENTIAL © Copyright IBM
Corporation 2006 UserProfileUserProfile Who are the users? How many users are there? What tasks do the users perform? Business Process Type and number of users Task frequency (throughput per hour) Reservation Agent (170) Freq. Flyer Agent (50) Manager (30) 1- Enter Orders 3 - Calc. F.F. Miles 4 - Calc. Sales 2 - Update Orders 100 50 70 8 B.P. Users Example Example 25 10 5 How often do users perform their tasks?
12.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Transaction ProfileTransaction Profile What tasks do the users perform? 2- Enter Orders 4 - Calc. F.F. Miles 5 - Calc. Sales 3 - Update Orders 125 60 75 8 Business Process Transactions Per Hour 1- Logon 10 Example Example Tasks Frequency How often do users perform their tasks?
13.
CONFIDENTIAL © Copyright IBM
Corporation 2006 3 - Plan the LoadRunnerImplementation3 - Plan the LoadRunnerImplementation 1 - Set up test environment 2 - Define type and number of Vusers to be created 3 - Determine hardware required to run Vusers
14.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Set Up Test EnvironmentSet Up Test Environment All testing should be done in a test environment Allocate and configure machines to real-world conditions one for each type of GUI Vuser one for the database server any other middleware server(s) Allocate machines to run necessary number of DB Vusers Allocate and configure one machine for Controller Seed test database with appropriate amounts of data Verify that business processes function correctly
15.
CONFIDENTIAL © Copyright IBM
Corporation 2006 What Is a GUIVuser?What Is a GUIVuser? A WinRunner script, performing actions on the client application WinRunner Allows you to measure the response time a real user will experience end-to-end One GUI Vuser per host machine Host GUI Vuser Client application
16.
CONFIDENTIAL © Copyright IBM
Corporation 2006 What Is a DBVuser?What Is a DBVuser? Multiple DB Virtual UsersMultiple DB Virtual Users ServerServer API Calls C program that sends API calls to the server Allows you to generate load on the server using few machines Excludes application’s GUI processing time Many DB Vusers per host machine C Program C Program C Program C Program
17.
CONFIDENTIAL © Copyright IBM
Corporation 2006 GUIvs. DBVuserGUIvs. DBVuser Database Server Application Server Application Server Application Server WAN and/or Internet Example Example GUI VuserGUI Vuser: End-to-end (including GUI) GUI VuserGUI Vuser: End-to-end (including GUI) DB VuserDB Vuser: Network and Server (No GUI) DB VuserDB Vuser: Network and Server (No GUI)
18.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Type and Numberof VusersType and Numberof Vusers How many Vusers of each type (DB/GUI) do you need to run? Guidelines: one or few GUI Vusers for each type of user connection multiple DB Vusers generate remaining load for that user 100 customer service users (LAN connection) 2 98 50 Tokyo users (dial-in ISDN connection) 1 49 5 background batch processes — 5 20 managers (15 with 486; 5 with 586 machines) 1 (486 PC) 1 (586 PC) 18 UserExample Example DBGUI
19.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Which Hardware/Configuration?Which Hardware/Configuration? Based on previous steps, which hardware and software configuration is needed for testing? How many machines (PC/UNIX)? How much memory? Processor speed? How much disk space? How much swap?
20.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Hardware/Configuration GuidelinesHardware/Configuration Guidelines General: One machine for Controller One machine per GUI Vuser GUI Vuser machine configuration should be similar to ‘real-world’ machine Test server machine should be configured to real world DB Vuser machines: Can use a combination of NT and UNIX Machine configuration depends on number of Vusers and activity of user Exact configuration requirements in Appendix A
21.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Which Hardware/Configuration?Which Hardware/Configuration? Controller NT machine Pentium 200 MHz 64 MB memory Database Server 1 GUI Vuser (Accounting) • NT machine • Pentium 200 MHz • 32 MB memory 29 DB Vuser (Accounting) • NT machine •Pentium 166 MHz • 64 MB memory UNIX machine 256 MB memory Example Example 450 DB Vusers (Bank tellers)
22.
CONFIDENTIAL © Copyright IBM
Corporation 2006 SummarySummary Define load testing objectives limit your objectives state objectives in measurable terms Analyze the system under test system components configuration of each component user profile (users, tasks, distribution) Plan LoadRunner implementation set up test environment decide type and number of Vusers to be created hardware required to run Vusers
23.
CONFIDENTIAL23 © Copyright
IBM Corporation 2006 Lab ExerciseLab Exercise
24.
ibm.com/bcs © Copyright
IBM Corporation 2006CONFIDENTIAL – Not for Distribution LOADRUNNER SCENARIOS LESSON 2 LR/NTIntro6.0/02 Copyright 2000 Mercury Interactive Corp.
25.
CONFIDENTIAL © Copyright IBM
Corporation 2006 LoadRunner Workflow Plan Load TestingPlan Load Testing11 Create ScenarioCreate Scenario33 Run ScenarioRun Scenario44 Analyze ResultsAnalyze Results55 Create Vuser ScriptsCreate Vuser Scripts22 Debug and Run Scenario AgainDebug and Run Scenario Again66 • Define and connect hosts • Define Vusers and scripts • Group and schedule Vusers • Set rendezvous policy
26.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Lesson Objectives In this lesson you will learn: LoadRunner elements How to set up a scenario How to run a scenario
27.
CONFIDENTIAL © Copyright IBM
Corporation 2006 LoadRunner Environment LoadRunner Controller Vusers Host 1 Host 2 VusersDatabase Server
28.
CONFIDENTIAL © Copyright IBM
Corporation 2006 The LoadRunner Controller Runs scenarios Controls and communicates with each Vuser via the Agent Displays output messages Displays execution status Collects performance data
29.
CONFIDENTIAL29 © Copyright
IBM Corporation 2006 Controller Main Window Initialize / Run Vuser Vuser groups Vuser details Sub-window tabs
30.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Controller Sub-Window Tabs Hosts window - all available hosts and their connection statuses Scripts window - paths to all available Vuser scripts Vusers window - create and select Vusers and groups Online window - view real-time system resources during scenario execution
31.
CONFIDENTIAL © Copyright IBM
Corporation 2006 How Does Controller Communicate with Vusers ? Start the Remote Command Launcher on each host machine Controller Machine A Machine B Remote Command Launcher • RCL starts the Agent and initializes the Vusers INITIALIZE Agent Vusers • Controller Runs Vusers via the Agent RUN
32.
CONFIDENTIAL © Copyright IBM
Corporation 2006 The Scenario An environment that describes all the conditions under which you want to test your system virtual users load conditions host machines results location test scripts
33.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Setting Up a Scenario 1 - Define Hosts 2 - Connect Hosts 3 - Define Vuser scripts 4 - Add Vusers 5 - Set rendezvous policy (optional) 6 - Set up Vuser Scheduling (optional)
34.
CONFIDENTIAL34 © Copyright
IBM Corporation 2006 Machine name or IP address Host Status, Ready/Active 1 - Define Hosts Results handling information UNIX information for DB Vusers Initialization Quota Limits per host for each Vuser type WinRunner information for GUI Vusers
35.
CONFIDENTIAL35 © Copyright
IBM Corporation 2006 2 - Connect Hosts Connect / disconnect host Connection status Host name
36.
CONFIDENTIAL36 © Copyright
IBM Corporation 2006 3 - Define Vuser Scripts A scenario typically contains multiple instances of each script Vusers assigned to this script Transactions and Rendezvous in script Path to script Vuser type depends on script type
37.
CONFIDENTIAL37 © Copyright
IBM Corporation 2006 4 - Add Vusers Quantity Hostname Script name Click the Add Vusers toolbar button
38.
CONFIDENTIAL38 © Copyright
IBM Corporation 2006 4 - Add Vusers (cont.) NOTE: Run-Time Settings are discussed in the VuGen course Host machine Script name 1. Select an existing Vuser from the grid 2. Select Vuser > Details from the menu
39.
CONFIDENTIAL39 © Copyright
IBM Corporation 2006 5 - Define Rendezvous Policy (optional) Enable/disable rendezvous Specify when to release Vusers Specify maximum time Vusers wait to be released Release Vusers that arrived
40.
CONFIDENTIAL40 © Copyright
IBM Corporation 2006 • LoadRunner Program group – select SchedulerDouble-click to schedule a new group Properties button to select details Specify duration settingsSpecify Incremental Initialization PaceSpecify Incremental Run PaceSpecify Termination Pace – only available when a group duration has been set Visual Group Settings 6 - Scheduling Vusers (optional)
41.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Scenario Wizard Use the Scenario Wizard to simplify scenario creation
42.
CONFIDENTIAL © Copyright IBM
Corporation 2006 LoadRunner Workflow Plan Load TestingPlan Load Testing11 Create ScenarioCreate Scenario33 Run ScenarioRun Scenario44 Analyze ResultsAnalyze Results55 Create Vuser ScriptsCreate Vuser Scripts22 Debug and Run Scenario AgainDebug and Run Scenario Again66 • Check Remote Command Launcher • Specify results directory • Initialize Vusers • Run Vusers
43.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Running a Scenario 1 - Make sure Remote Command Launcher is active on all hosts 2 - Specify the directory for storing execution results - By default, the runtime files are stored locally on each host. After the scenario, the results are collated and processed on the Controller machine. - Alternatively, instruct LoadRunner to use a shared network drive - Use Mercury’s TestDirector to store results to a project 3 - Initialize Vusers 4 - Run Vusers
44.
CONFIDENTIAL © Copyright IBM
Corporation 2006 The Vuser Statuses Initializing Ready Running Rendezvous Exitin g Done
45.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Tips for Smooth Scenario Execution Make sure Remote Command Launcher is active on each host. Verify successful execution of each Vuser script before running with LoadRunner. Make sure all scripts have the proper path and run-time settings. Disconnect from the host and refresh after editing a script, to ensure that the new version of the script is transferred to the host.
46.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Managing the Scenario Good Practices: Run the scenario gradually for easy problem solving: - individual Vusers - a group of Vusers - entire scenario Initialize Vusers before running - initializing process is resource intensive - ensures that all Vusers start from same point
47.
CONFIDENTIAL © Copyright IBM
Corporation 2006 Summary Set up a scenario 1 - define Hosts 2 - connect Hosts 3 - define Vuser scripts 4 - add Vusers 5 - set rendezvous policy (optional) 6 - schedule Vusers (optional) Run a scenario 1 - check Remote Command Launcher 2 - specify results directory 3 - initialize Vusers 4 - run Vusers
48.
ibm.com/bcs © Copyright
IBM Corporation 2006CONFIDENTIAL – Not for Distribution SCENARIOS DEMO
49.
CONFIDENTIAL49 © Copyright
IBM Corporation 2006 Lab Exercise
Baixar agora