SlideShare a Scribd company logo
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load Runner
Click OK button to proceed with the installation of missing prerequisites. If you already
have .net framework 4.0 or above, you’ll not see this screen, rather the setup will show a
splash screen for a moment till it calculates space requirements. Refer below for a snapshot.
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load Runner
Business
Process
Total
Users
(%)
Avg Number
of concurrent
users
Peak number
of concurrent
users
Preferred
Response
Time (Total,
including
think time)
Unacceptable
Response
Time (Total ,
including
think time)
Browse 20% 100 2000 2-3 min > 5 min
Time Entry 60% 200 6000 3 min > 5 min
Update
personal
info.
20% 50 1000 1 min > 3 min
Total 100% 350 9000
Business
Process
Total
Users
(%)
Peak
Time
Peak
Load
(# of
users)
Preferred
Response Time
(Each transaction)
Unacceptable
Response Time
(Each transaction)
Create
Order
20% 4-6 pm 1000 3-5 sec > 8 sec
Browse
Catalog
60% 4-6 pm 6000 3-5 sec > 8 sec
Display
order
20% 4-6 pm 1000 3-5 sec > 8 sec
Total 100% 8000
 It is the traffic model of the application
 The better the documentation of the business processes,
the better the test scripts and scenarios.
 Save time on script and scenario creation
 Good business profile can make it possible to reuse
existing load testing scripts and results later.
- Business Profile is the basis for load testing
2. Create Scripts
- Automate business processes in LoadRunner VUGen (Virtual User
Generator):
Scripts are C, C++-like code
Scripts are different with different protocol/technology
LoadRunner has about 50 protocols, including WAP
- Record user actions
Need assistance of SME/Functional Testing group
- Add programming and test data in the scripts
- E.g. add correlation to handle dynamic data, e.g. session id
- Test data may need lot of work from project team
 web_submit_data("logon.sap",
 "Action=http://watstwscrm02:50000/bd/logon.sap",
 "Method=POST",
 "RecContentType=text/html",
 "Referer=http://watstwscrm02:50000/bd/startEBPP.sap",
 "Snapshot=t3.inf",
 "Mode=HTML",
 ITEMDATA,
 "Name=login_submit", "Value=true", ENDITEM,
 "Name=j_authscheme", "Value=default", ENDITEM,
 "Name=j_alias", "Value={UserName}", ENDITEM,
 "Name=j_password", "Value=coffee@2", ENDITEM,
 "Name=j_language", "Value=EN", ENDITEM,
 "Name=AgreeTerms", "Value=on", ENDITEM,
 "Name=Login", "Value=Log on", ENDITEM,
 LAST);
3. Create Test Scenario
- Build test scenario according to usage information in Business
Profile
- Load Calculation
- Can use rendezvous point, IP Spoofing, etc.
- Run-Time setting
 Think time
 Pacing
 Browser Emulation: simulate browser cache, new user each iteration
 Browser version, bandwidth, etc.
4. Execute Load Testing
• Execute test scenarios with automated test scripts in
LoadRunner Controller
• Isolate top time transactions with low load
• Overdrive test (120% of full load) to isolate SW & HW
limitations
• - Work with Internal Support Team to monitor the whole
system, e.g., web server, DB server, middleware, etc.
 system - % total processor time
 Memory - page faults/sec
 Server work queues - bytes transferred/sec
 HTTP Response
 Number of connections
• Support team will have better ideas for what to monitor
• Individual write-up is highly suggested as part of test report
• ---need to get csv files, then import to LoadRunner
5. Analyze Test Result - Analysis
- Collect statistics and graphs from LoadRunner
- Report results
- Most commonly requested results:
Transaction Response time
Throughput
Hits per sec
HTTP response
Network Delay
*Server Performance
- Merge graphs to make it more meaningful
Transaction response time under load
Response time/Vuser vs CPU utilization
Cross scenario graphs
6. Test Report
- Don’t send LoadRunner result and graphs
directly
- Send summary to the whole team
- Report key performance data and back end
performance data
- Add notes for each test run
- Keep test history: for team to compare test runs
7. Performance Tuning
- Help identify the bottlenecks and degradation
points to build an optimal system
- Hardware, Configuration, Database, Software, etc
- Drill down on transaction details,
- e.g. webpage breakdown
- Diagnostics
- Show Extended Log to dev team
- Data returned by server
- Advanced Trace: Show logs of all VUser messages
and function calls
8. Communication Plan
- Internal Support Team:
- - PM, BA, environment / development /
architect, network, DBA, functional test
lead, etc.
- Resource plan
Test Planning, Script Creation – 4 weeks
Test Execution – 4 weeks
Trail run - 2 days
1. Round 1 – Load Testing: Response time with SLA target load:
1 week
2. Round 2 – Stress Testing: find breaking point: 1 week
3. Round 3 – Duration (Reliability) test: 2 days
4. More performance tuning – 3 days
5. Document and deliver final report – 2-3 days
 Scripting: VUGen (Virtual User Generator)
 Performance test execution:
 Controller – build test scenarios according to
business profile and load calculation
 Load Generator – run virtual users
 Performance test result analysis
 Analysis
 provides test reports and Graphs
 Summarize the system performance
 Web-enabled global load testing tool
Performance Testing team can manage
multiple, concurrent load testing projects
across different geographic locations
User Site - conduct and monitor load tests.
Privilege Manager- manage user and project access rights
Administration Site - for overall resource management
and technical supervision
 - Pinpoint Root Cause
– Solve tough problems
 Memory leaks and trashing
 Thread deadlock and synchronization
 Instance tracing
 Exceptions
• Start with monitoring of business process
• Which transactions are problematic
• Eliminate system and network components
• Infrastructure monitors and metrics
• Isolate application Tier and method
• Triage (using Transaction Breakdown)
• Correct behavior and re-test
•
•
• WebSphere J2EE/Portal
Server
• WebLogic J2EE/Portal
Server
• JBoss, Tomcat, JServ
• Oracle Application
Server J2EE
MS .NET
Generic/Custom JAVA
SAP Net/Weaver
J2EE/Portal
Oracle 11i Applications
Siebel
 80% of IT Organizations experience failures in apps that
passed the test phases and rolled into production
 HyPerformix – Performance Engineering
 Production line: Designer, Optimizer and Capacity
Manager
 HyPerformix Optimizer (Capacity Planning): can bridge
the gap between testing and production environments
and leverage load test data to accurately show how the
application will perform when in production.
 Configuration sizing, Capacity planning
 Create production-scale models
 – Perf. Test team and Architect team work together
 Load test and production perf. data are
seamlessly integrated with Optimizer
 Ensure capacity is match to current and future
business requirements
 Reduce risk before application deployment
 Performance testing is critical. Competition in market is
high: customer switch cost is low, cost to keep
customers is high
 Performance Testing can protect revenue by helping to
isolate and fix problems in the software infrastructure
 Improve availability, functionality, and scalability of
business critical applications
 Ensure products are delivered to market with high
confidence that system performance will be acceptable
 Proactive performance testing can decrease costs of
production support and help desk
 A good Performance Testing Process is essential to get
performance testing done right and on time!

More Related Content

PPTX
How to make a Load Testing with Visual Studio 2012
PDF
Visual studio performance testing quick reference guide 3 6
PPT
Performance engineering
DOCX
Load testing with vs 2013
PDF
IBM ConnectED 2015 - MAS103 XPages Performance and Scalability
PPTX
Scaling asp.net websites to millions of users
PDF
Tips and Tricks For Faster Asp.NET and MVC Applications
PDF
Performance testing automation with Dynatrace @LDNWebPerf - AndreasGrabner
How to make a Load Testing with Visual Studio 2012
Visual studio performance testing quick reference guide 3 6
Performance engineering
Load testing with vs 2013
IBM ConnectED 2015 - MAS103 XPages Performance and Scalability
Scaling asp.net websites to millions of users
Tips and Tricks For Faster Asp.NET and MVC Applications
Performance testing automation with Dynatrace @LDNWebPerf - AndreasGrabner

What's hot (19)

PPTX
Eric Beland Ajax Load Testing Considerations
PPTX
Ajax Load Testing Concerns By Eric Beland
PDF
Weblogic performance tuning1
PPTX
10 performance and scalability secrets of ASP.NET websites
PDF
Weblogic performance tuning2
PDF
Weblogic plug in
PPTX
Ainars Galvans - Hints on complex system performance optimization
DOCX
High performance coding practices code project
PDF
UEMB240: Managing Your User Profile Data at Scale
PDF
Introduction to Magento Optimization
PPTX
Learn SoapUI
PPTX
Slideshare - Magento Imagine - Do You Queue
PPTX
SharePoint 2013 Performance Analysis - Robi Vončina
PPT
Ajax Testing Approach
PPT
Ajax Testing Approach
PPT
]project-open[ Workflow Developer Tutorial Part 1
PPTX
New World Of SharePoint 2010 Administration Oleson
PPTX
NServiceBus_for_Admins
PDF
Testing Web Services - QA or the Highway 2016
Eric Beland Ajax Load Testing Considerations
Ajax Load Testing Concerns By Eric Beland
Weblogic performance tuning1
10 performance and scalability secrets of ASP.NET websites
Weblogic performance tuning2
Weblogic plug in
Ainars Galvans - Hints on complex system performance optimization
High performance coding practices code project
UEMB240: Managing Your User Profile Data at Scale
Introduction to Magento Optimization
Learn SoapUI
Slideshare - Magento Imagine - Do You Queue
SharePoint 2013 Performance Analysis - Robi Vončina
Ajax Testing Approach
Ajax Testing Approach
]project-open[ Workflow Developer Tutorial Part 1
New World Of SharePoint 2010 Administration Oleson
NServiceBus_for_Admins
Testing Web Services - QA or the Highway 2016
Ad

Similar to QSpiders - Installation and Brief Dose of Load Runner (20)

PPTX
Performance eng prakash.sahu
PPTX
Basic of jMeter
PPTX
performancetestingjmeter-121109061704-phpapp02
PPTX
performancetestingjmeter-121109061704-phpapp02 (1)
PPT
JMeter & ColdFusion
PPT
T3 Consortium's Performance Center of Excellence
PPT
Performance testing jmeter
PDF
Shuvam dutta
PDF
Performancetestingjmeter 121109061704-phpapp02
PPT
NoCOUG Presentation on Oracle RAT
PPTX
Advance Sql Server Store procedure Presentation
PDF
Shuvam Dutta | Performance analyst
PPTX
Sql storeprocedure
PDF
PAC 2019 virtual Arjan Van Den Berg
PDF
Salesforce Performance hacks - Client Side
PPT
Quick guide to plan and execute a load test
PDF
Production profiling what, why and how (JBCN Edition)
PDF
Shuvam dutta
PDF
Shuvam dutta | Performance tester
PPTX
Windows Azure Acid Test
Performance eng prakash.sahu
Basic of jMeter
performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02 (1)
JMeter & ColdFusion
T3 Consortium's Performance Center of Excellence
Performance testing jmeter
Shuvam dutta
Performancetestingjmeter 121109061704-phpapp02
NoCOUG Presentation on Oracle RAT
Advance Sql Server Store procedure Presentation
Shuvam Dutta | Performance analyst
Sql storeprocedure
PAC 2019 virtual Arjan Van Den Berg
Salesforce Performance hacks - Client Side
Quick guide to plan and execute a load test
Production profiling what, why and how (JBCN Edition)
Shuvam dutta
Shuvam dutta | Performance tester
Windows Azure Acid Test
Ad

More from Qspiders - Software Testing Training Institute (20)

PPS
QSpiders - Unix Operating Systems and Commands
PPS
QSpiders - Variable Length-Subnet-Masks
PPS
QSpiders - Upper layer-protocols
PPTX
QSpiders - Day1 Network Basics
PPTX
QSpiders - Aptitude Assignments
PPTX
PPTX
QSpiders - Chapter 7 Debugging
PPTX
QSpiders - Chapter 4 Checkpoints
PPTX
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
PPTX
QSpiders - Wonderlic Sample Question
PPTX
QSpiders - Chapter- 3 Synchronization point
PPTX
QSpiders - Presentation JMeter
PPTX
QSpiders - Memory (JVM architecture)
PPTX
QSpiders - Jdk Jvm Jre and Jit
PPTX
QSpiders - Simple replay and run time settings Loadrunner
PPTX
PPTX
QSpiders - Introduction to HP Load Runner
PPTX
QSpiders - Interacting with My SQL Database
PPT
QSpiders - Automation using Selenium
QSpiders - Unix Operating Systems and Commands
QSpiders - Variable Length-Subnet-Masks
QSpiders - Upper layer-protocols
QSpiders - Day1 Network Basics
QSpiders - Aptitude Assignments
QSpiders - Chapter 7 Debugging
QSpiders - Chapter 4 Checkpoints
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Wonderlic Sample Question
QSpiders - Chapter- 3 Synchronization point
QSpiders - Presentation JMeter
QSpiders - Memory (JVM architecture)
QSpiders - Jdk Jvm Jre and Jit
QSpiders - Simple replay and run time settings Loadrunner
QSpiders - Introduction to HP Load Runner
QSpiders - Interacting with My SQL Database
QSpiders - Automation using Selenium

Recently uploaded (20)

PDF
01-Introduction-to-Information-Management.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Cell Structure & Organelles in detailed.
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Business Ethics Teaching Materials for college
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Introduction-to-Social-Work-by-Leonora-Serafeca-De-Guzman-Group-2.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
Cardiovascular Pharmacology for pharmacy students.pptx
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Basic Mud Logging Guide for educational purpose
01-Introduction-to-Information-Management.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Cell Structure & Organelles in detailed.
Renaissance Architecture: A Journey from Faith to Humanism
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Business Ethics Teaching Materials for college
Anesthesia in Laparoscopic Surgery in India
Week 4 Term 3 Study Techniques revisited.pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Introduction-to-Social-Work-by-Leonora-Serafeca-De-Guzman-Group-2.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Cardiovascular Pharmacology for pharmacy students.pptx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
GDM (1) (1).pptx small presentation for students
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
O7-L3 Supply Chain Operations - ICLT Program
Basic Mud Logging Guide for educational purpose

QSpiders - Installation and Brief Dose of Load Runner

  • 3. Click OK button to proceed with the installation of missing prerequisites. If you already have .net framework 4.0 or above, you’ll not see this screen, rather the setup will show a splash screen for a moment till it calculates space requirements. Refer below for a snapshot.
  • 14. Business Process Total Users (%) Avg Number of concurrent users Peak number of concurrent users Preferred Response Time (Total, including think time) Unacceptable Response Time (Total , including think time) Browse 20% 100 2000 2-3 min > 5 min Time Entry 60% 200 6000 3 min > 5 min Update personal info. 20% 50 1000 1 min > 3 min Total 100% 350 9000
  • 15. Business Process Total Users (%) Peak Time Peak Load (# of users) Preferred Response Time (Each transaction) Unacceptable Response Time (Each transaction) Create Order 20% 4-6 pm 1000 3-5 sec > 8 sec Browse Catalog 60% 4-6 pm 6000 3-5 sec > 8 sec Display order 20% 4-6 pm 1000 3-5 sec > 8 sec Total 100% 8000
  • 16.  It is the traffic model of the application  The better the documentation of the business processes, the better the test scripts and scenarios.  Save time on script and scenario creation  Good business profile can make it possible to reuse existing load testing scripts and results later. - Business Profile is the basis for load testing
  • 17. 2. Create Scripts - Automate business processes in LoadRunner VUGen (Virtual User Generator): Scripts are C, C++-like code Scripts are different with different protocol/technology LoadRunner has about 50 protocols, including WAP - Record user actions Need assistance of SME/Functional Testing group - Add programming and test data in the scripts - E.g. add correlation to handle dynamic data, e.g. session id - Test data may need lot of work from project team
  • 18.  web_submit_data("logon.sap",  "Action=http://watstwscrm02:50000/bd/logon.sap",  "Method=POST",  "RecContentType=text/html",  "Referer=http://watstwscrm02:50000/bd/startEBPP.sap",  "Snapshot=t3.inf",  "Mode=HTML",  ITEMDATA,  "Name=login_submit", "Value=true", ENDITEM,  "Name=j_authscheme", "Value=default", ENDITEM,  "Name=j_alias", "Value={UserName}", ENDITEM,  "Name=j_password", "Value=coffee@2", ENDITEM,  "Name=j_language", "Value=EN", ENDITEM,  "Name=AgreeTerms", "Value=on", ENDITEM,  "Name=Login", "Value=Log on", ENDITEM,  LAST);
  • 19. 3. Create Test Scenario - Build test scenario according to usage information in Business Profile - Load Calculation - Can use rendezvous point, IP Spoofing, etc. - Run-Time setting  Think time  Pacing  Browser Emulation: simulate browser cache, new user each iteration  Browser version, bandwidth, etc.
  • 20. 4. Execute Load Testing • Execute test scenarios with automated test scripts in LoadRunner Controller • Isolate top time transactions with low load • Overdrive test (120% of full load) to isolate SW & HW limitations • - Work with Internal Support Team to monitor the whole system, e.g., web server, DB server, middleware, etc.
  • 21.  system - % total processor time  Memory - page faults/sec  Server work queues - bytes transferred/sec  HTTP Response  Number of connections • Support team will have better ideas for what to monitor • Individual write-up is highly suggested as part of test report • ---need to get csv files, then import to LoadRunner
  • 22. 5. Analyze Test Result - Analysis - Collect statistics and graphs from LoadRunner - Report results - Most commonly requested results: Transaction Response time Throughput Hits per sec HTTP response Network Delay *Server Performance - Merge graphs to make it more meaningful Transaction response time under load Response time/Vuser vs CPU utilization Cross scenario graphs
  • 23. 6. Test Report - Don’t send LoadRunner result and graphs directly - Send summary to the whole team - Report key performance data and back end performance data - Add notes for each test run - Keep test history: for team to compare test runs
  • 24. 7. Performance Tuning - Help identify the bottlenecks and degradation points to build an optimal system - Hardware, Configuration, Database, Software, etc - Drill down on transaction details, - e.g. webpage breakdown - Diagnostics - Show Extended Log to dev team - Data returned by server - Advanced Trace: Show logs of all VUser messages and function calls
  • 25. 8. Communication Plan - Internal Support Team: - - PM, BA, environment / development / architect, network, DBA, functional test lead, etc. - Resource plan
  • 26. Test Planning, Script Creation – 4 weeks Test Execution – 4 weeks Trail run - 2 days 1. Round 1 – Load Testing: Response time with SLA target load: 1 week 2. Round 2 – Stress Testing: find breaking point: 1 week 3. Round 3 – Duration (Reliability) test: 2 days 4. More performance tuning – 3 days 5. Document and deliver final report – 2-3 days
  • 27.  Scripting: VUGen (Virtual User Generator)  Performance test execution:  Controller – build test scenarios according to business profile and load calculation  Load Generator – run virtual users  Performance test result analysis  Analysis  provides test reports and Graphs  Summarize the system performance
  • 28.  Web-enabled global load testing tool Performance Testing team can manage multiple, concurrent load testing projects across different geographic locations User Site - conduct and monitor load tests. Privilege Manager- manage user and project access rights Administration Site - for overall resource management and technical supervision
  • 29.  - Pinpoint Root Cause – Solve tough problems  Memory leaks and trashing  Thread deadlock and synchronization  Instance tracing  Exceptions
  • 30. • Start with monitoring of business process • Which transactions are problematic • Eliminate system and network components • Infrastructure monitors and metrics • Isolate application Tier and method • Triage (using Transaction Breakdown) • Correct behavior and re-test • •
  • 31. • WebSphere J2EE/Portal Server • WebLogic J2EE/Portal Server • JBoss, Tomcat, JServ • Oracle Application Server J2EE MS .NET Generic/Custom JAVA SAP Net/Weaver J2EE/Portal Oracle 11i Applications Siebel
  • 32.  80% of IT Organizations experience failures in apps that passed the test phases and rolled into production  HyPerformix – Performance Engineering  Production line: Designer, Optimizer and Capacity Manager  HyPerformix Optimizer (Capacity Planning): can bridge the gap between testing and production environments and leverage load test data to accurately show how the application will perform when in production.
  • 33.  Configuration sizing, Capacity planning  Create production-scale models  – Perf. Test team and Architect team work together  Load test and production perf. data are seamlessly integrated with Optimizer  Ensure capacity is match to current and future business requirements  Reduce risk before application deployment
  • 34.  Performance testing is critical. Competition in market is high: customer switch cost is low, cost to keep customers is high  Performance Testing can protect revenue by helping to isolate and fix problems in the software infrastructure  Improve availability, functionality, and scalability of business critical applications  Ensure products are delivered to market with high confidence that system performance will be acceptable  Proactive performance testing can decrease costs of production support and help desk  A good Performance Testing Process is essential to get performance testing done right and on time!