SlideShare ist ein Scribd-Unternehmen logo
1 von 12
PERFORMANCE TESTING OVERVIEW
By KC
Introductionto Performance Testing
 Performance testing is the process of determining the speed or effectiveness of a
computer, network, software program or device
 Before going into the details, we should understand the factors that governs
Performance testing:
 Throughput
 Response Time
 Tuning
 Benchmarking
Introductionto Performance Testing
Throughput:
• Capability of a product to handle multiple transactions in a give period.
• Throughput represents the number of requests/business transactions processed by the
product in a specified time duration.
Response Time:
• It is equally important to find out how much time each of the transactions took to complete.
• Response time is defined as the delay between the point of request and the first response from the
product.
• The response time increases proportionally to the user load.
Benchmarking:
• Benchmarks provide a method of comparing the performance of various subsystems across
different chip/system architectures
• Benchmarking is the process of comparing your system’s performance against a baseline that you
have created internally or against an industry standard endorsed by some other organization.
Types of Performance Testing
Load testing
 Checks the application’s ability to perform under anticipated user loads. The objective is to
identify performance bottlenecks before the software application goes live.
Stress testing
 Involves testing an application under extreme workloads to see how it handles high traffic or
data processing .The objective is to identify breaking point of an application.
Endurance/Soak testing
 Done to make sure the software can handle the expected load over a long period of time.
Volume testing
 Under Volume Testing large no. of. Data is populated in database and the overall software
system’s behavior is monitored. The objective is to check software application’s performance
under varying database volumes.
Why Performance Testing?
 Scalability: Will the application handle the expected load and beyond?
 Stability: Is the application stable under expected and unexpected user loads?
 Availability: Is the application available to the end user without any
interruption?
 Serviceability: Can the system quickly recover from a failure?
 Speed: Does the application respond quickly?
 Confidence: Are you sure that clients will have a positive experience on go-live
day?
Why to use Performance Testing Tool
 Performance testing tool is helping us to reduce risks and minimize costs and for
measuring web application performance and load stress capacity. These load
testing tools will ensure your application performance in peak traffic and extreme
stress conditions This is surely a complex testing which involved objectives of
testing, cost, resources involved and potential return.
 Performance testing tools aim to make it easy to regularly test and check your
website’s performance so that you can then carry out remedial action in order to
speed up the time it takes to load each page..
What is JMeter?
JMeter Basics
How to launch the Jmeter:
 {JMeter home dir -> bin-> jmeter.bat for launch the Jmeter
How to increase Heap Memory:
 {JMeter home dir}/bin/jmeter.bat
How to Run the jmeter:
 Ctrl + R to run the JMeter scripts
 Ctrl + E to clear the previous results
JMeter Basics
Identify the category under which the application falls. i.e. FTP, HTTP,
LDAP, JDBC
 Creating the test plan
 Recording the Scripts
 Inserting the timers
 Running & Saving the tests
 Analyzing the results and check for possible bottlenecks
JMeterComponents/ElementsOverview
 Thread Group
 Stepping Thread Group
 Controllers
 Throughput Controller
 Transaction Controller
 IF Controller
 Assertions
 Response Assertion
JMeterComponents/ElementsOverview
 Post-Processor Elements
 Regular Expression Extractor
 Listeners
 Simple Data Writer
 View Results Tree
 View Results in Table
JMeterComponents/ElementsOverview
 Other Elements
 CSV Data Set Config
 HTTP Cache Manager
 HTTP Cookie Manager
 User Defined Variable
 Random Variable
 Test Action

Weitere ähnliche Inhalte

Was ist angesagt?

Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testing
sonukalpana
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testing
Qualitest
 
Testing Types And Models
Testing Types And ModelsTesting Types And Models
Testing Types And Models
nazeer pasha
 

Was ist angesagt? (20)

Performance Testing Using VS 2010 - Part 1
Performance Testing Using VS 2010 - Part 1Performance Testing Using VS 2010 - Part 1
Performance Testing Using VS 2010 - Part 1
 
Types of performance testing
Types of performance testingTypes of performance testing
Types of performance testing
 
Performance testing services
Performance testing servicesPerformance testing services
Performance testing services
 
Performance testing Web Application - A complete Guide
Performance testing Web Application - A complete GuidePerformance testing Web Application - A complete Guide
Performance testing Web Application - A complete Guide
 
Load Testing Strategy 101
Load Testing Strategy 101Load Testing Strategy 101
Load Testing Strategy 101
 
The right way to manage your load testing project
The right way to manage your load testing projectThe right way to manage your load testing project
The right way to manage your load testing project
 
Performance Testing Overview
Performance Testing OverviewPerformance Testing Overview
Performance Testing Overview
 
What do you mean by recovery testing ?
What do you mean by recovery testing ?What do you mean by recovery testing ?
What do you mean by recovery testing ?
 
QSpiders - Introduction to JMeter
QSpiders - Introduction to JMeterQSpiders - Introduction to JMeter
QSpiders - Introduction to JMeter
 
Getting start with Performance Testing
Getting start with Performance Testing Getting start with Performance Testing
Getting start with Performance Testing
 
Performance testing
Performance testing Performance testing
Performance testing
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testing
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testing
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best Practices
 
How to start performance testing project
How to start performance testing projectHow to start performance testing project
How to start performance testing project
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
 
Technical Testing Introduction
Technical Testing IntroductionTechnical Testing Introduction
Technical Testing Introduction
 
Testing Types And Models
Testing Types And ModelsTesting Types And Models
Testing Types And Models
 
Glimpse and Benefits of Testing
Glimpse and Benefits of TestingGlimpse and Benefits of Testing
Glimpse and Benefits of Testing
 
Services in detail
Services in detailServices in detail
Services in detail
 

Ähnlich wie Performance testing and j meter overview

PerformanceTestingWithLoadrunner
PerformanceTestingWithLoadrunnerPerformanceTestingWithLoadrunner
PerformanceTestingWithLoadrunner
techgajanan
 
Performance Testing With Loadrunner
Performance Testing With LoadrunnerPerformance Testing With Loadrunner
Performance Testing With Loadrunner
vladimir zaremba
 
Types of Software testing
Types of  Software testingTypes of  Software testing
Types of Software testing
Makan Singh
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
Bhojan Rajan
 

Ähnlich wie Performance testing and j meter overview (20)

QSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load RunnerQSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load Runner
 
Application Performance, Test and Monitoring
Application Performance, Test and MonitoringApplication Performance, Test and Monitoring
Application Performance, Test and Monitoring
 
Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02
 
4.3.application performance
4.3.application performance4.3.application performance
4.3.application performance
 
Performance testing
Performance testing Performance testing
Performance testing
 
Performance testing interview questions and answers
Performance testing interview questions and answersPerformance testing interview questions and answers
Performance testing interview questions and answers
 
Jmeter From Scratch
Jmeter From ScratchJmeter From Scratch
Jmeter From Scratch
 
Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1
 
PerformanceTestingWithLoadrunner
PerformanceTestingWithLoadrunnerPerformanceTestingWithLoadrunner
PerformanceTestingWithLoadrunner
 
Performance Testing With Loadrunner
Performance Testing With LoadrunnerPerformance Testing With Loadrunner
Performance Testing With Loadrunner
 
performance testing training in hyderabad
performance testing training in hyderabadperformance testing training in hyderabad
performance testing training in hyderabad
 
Getting Started with Apache Jmeter
Getting Started with Apache JmeterGetting Started with Apache Jmeter
Getting Started with Apache Jmeter
 
Performance testing and j meter
Performance testing and j meterPerformance testing and j meter
Performance testing and j meter
 
Fundamentals Performance Testing
Fundamentals Performance TestingFundamentals Performance Testing
Fundamentals Performance Testing
 
Types of Software testing
Types of  Software testingTypes of  Software testing
Types of Software testing
 
Performance Testing Training in Hyderabad
Performance Testing Training in HyderabadPerformance Testing Training in Hyderabad
Performance Testing Training in Hyderabad
 
performance testing training in hyderabad
performance testing training in hyderabadperformance testing training in hyderabad
performance testing training in hyderabad
 
performance testing training in hyderabad
performance testing training in hyderabadperformance testing training in hyderabad
performance testing training in hyderabad
 
Performance Testing.3zen.pdf
Performance Testing.3zen.pdfPerformance Testing.3zen.pdf
Performance Testing.3zen.pdf
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
 

Performance testing and j meter overview

  • 2. Introductionto Performance Testing  Performance testing is the process of determining the speed or effectiveness of a computer, network, software program or device  Before going into the details, we should understand the factors that governs Performance testing:  Throughput  Response Time  Tuning  Benchmarking
  • 3. Introductionto Performance Testing Throughput: • Capability of a product to handle multiple transactions in a give period. • Throughput represents the number of requests/business transactions processed by the product in a specified time duration. Response Time: • It is equally important to find out how much time each of the transactions took to complete. • Response time is defined as the delay between the point of request and the first response from the product. • The response time increases proportionally to the user load. Benchmarking: • Benchmarks provide a method of comparing the performance of various subsystems across different chip/system architectures • Benchmarking is the process of comparing your system’s performance against a baseline that you have created internally or against an industry standard endorsed by some other organization.
  • 4. Types of Performance Testing Load testing  Checks the application’s ability to perform under anticipated user loads. The objective is to identify performance bottlenecks before the software application goes live. Stress testing  Involves testing an application under extreme workloads to see how it handles high traffic or data processing .The objective is to identify breaking point of an application. Endurance/Soak testing  Done to make sure the software can handle the expected load over a long period of time. Volume testing  Under Volume Testing large no. of. Data is populated in database and the overall software system’s behavior is monitored. The objective is to check software application’s performance under varying database volumes.
  • 5. Why Performance Testing?  Scalability: Will the application handle the expected load and beyond?  Stability: Is the application stable under expected and unexpected user loads?  Availability: Is the application available to the end user without any interruption?  Serviceability: Can the system quickly recover from a failure?  Speed: Does the application respond quickly?  Confidence: Are you sure that clients will have a positive experience on go-live day?
  • 6. Why to use Performance Testing Tool  Performance testing tool is helping us to reduce risks and minimize costs and for measuring web application performance and load stress capacity. These load testing tools will ensure your application performance in peak traffic and extreme stress conditions This is surely a complex testing which involved objectives of testing, cost, resources involved and potential return.  Performance testing tools aim to make it easy to regularly test and check your website’s performance so that you can then carry out remedial action in order to speed up the time it takes to load each page..
  • 8. JMeter Basics How to launch the Jmeter:  {JMeter home dir -> bin-> jmeter.bat for launch the Jmeter How to increase Heap Memory:  {JMeter home dir}/bin/jmeter.bat How to Run the jmeter:  Ctrl + R to run the JMeter scripts  Ctrl + E to clear the previous results
  • 9. JMeter Basics Identify the category under which the application falls. i.e. FTP, HTTP, LDAP, JDBC  Creating the test plan  Recording the Scripts  Inserting the timers  Running & Saving the tests  Analyzing the results and check for possible bottlenecks
  • 10. JMeterComponents/ElementsOverview  Thread Group  Stepping Thread Group  Controllers  Throughput Controller  Transaction Controller  IF Controller  Assertions  Response Assertion
  • 11. JMeterComponents/ElementsOverview  Post-Processor Elements  Regular Expression Extractor  Listeners  Simple Data Writer  View Results Tree  View Results in Table
  • 12. JMeterComponents/ElementsOverview  Other Elements  CSV Data Set Config  HTTP Cache Manager  HTTP Cookie Manager  User Defined Variable  Random Variable  Test Action