SlideShare una empresa de Scribd logo
1 de 4
All About Performance Testing – The Best Acceptance Criteria

First of all, let us see what is the meaning of the term “Performance Testing”:

For general engineering practice, “Performance Testing” refers to evaluation & measurement of functional
characteristics of an individual, a system, a product or any material.

However in software industry parlance, the term “Performance Testing” widely refers to the evaluation &
measurement of functional effectiveness of a software system or a component, as regards its reliability,
scalability, efficiency, interoperability & its stability under load.

These days a new science by the name “Performance Engineering” is emerging in IT industry &
Performance Testing / Acceptance Testing are being viewed as its subsets. The performance engineering
lays prime emphasis on covering the performance aspects in the system design itself i.e. right from the
beginning & more important is that well before the start of actual coding.


Why Software Industry lays so much emphasis on Performance Testing:

The key reasons are:

1) Performance has become the key indicator of product quality and acceptance consideration nowadays
in a highly dynamic & competitive market.

2) Customers are becoming extremely demanding on quality front & have clear vision of their
performance objectives.

3) These days, every customer is looking for greater speed, scalability, reliability, efficiency & endurance
of all applications – may it be multi tier applications, web based applications or client server applications
etc. etc.

4) Greater need for identifying & eliminating the performance inhibiting factors early during the
development cycle. It is best to initiate the performance testing efforts right from the beginning of the
development project & these remain active till final deployment.


What are the objectives of Performance Testing?

1) To carry out root cause analysis of performance related common & uncommon problems & devise
plans to tackle them.

2) To reduce the response time of the application with minimal investment on hardware.

3) To identify the problems causing the malfunctioning of the system & fix them well before the production
run. Problems remedied during later stages of production have high cost tags attached to them.

4) Benchmarking of the applications, with a view to refine the company’s strategy towards software
acquisition for the next time.

5) To ensure that the new system conforms to the specified performance criteria.

6) To draw a comparison among performance of two or more systems.


Typical Structure of a Performance Testing Model:
Step-1: Collection of Requirements – The most important step & the backbone of performance test model


Step-2: System Study.

Step-3: Design of Testing Strategies – Can include the following.

a) Preparation of traversal documents.
b) Scripting Work.
c) Setting up of test environment.
d) Deployment of monitors.

Step-4: Test Runs can cover the following
a) Baseline Test Run
b) Enhancement Test Run
c) Diagnostic Test Run

Step-5: Analysis & preparation of an interim report.

Step-6: Implementation of recommendations from step-5.

Step-7: Preparation of a Finalized Report.


Attributes of a Good Performance Testing setup:

1) Availability of a performance baseline document detailing the present performance of the system &
acting as an effective baseline, which can be used in regression testing. This baseline document can be
conveniently used to compare the expectations when the system conditions happen to change.

2) Performance test beds & test environment should be separate & must replicate the live production
environment as far as possible.

3) Performance testing environment should not be coupled with the development environment.

4) Resources leading to fulfillment of objectives like:

# Deployment of personnel with sound knowledge
# Systematic & deliberate planning
# Study of existing infrastructure
# Proper preparation
# Systematic execution
# Scientific analysis
# Effective reporting

However these days many companies have started doing part of the testing under the live environment,
This helps them in establishing points of differences experienced during test & live systems.


How to gear up for Performance Testing?

1) Define the performance conditions: First of all we need to define performance conditions related to
functional requirements like speed, accuracy & consumption of resources. Resources can be like memory
requirements, storage space requirements & bandwidth of the communication system etc. etc.
2) Study the operational profile: The operational profile contains details of usage patterns and
environment of the live system. It includes description of the period of operation, the operating
environment, quantum of loads & expected transactions etc. When exact data is not available, the data
from the testing profiles can be approximated especially when testing is not being done under the live
environment.

3) Prepare good performance test cases: While designing performance test cases, our endeavor must
be to

a) Understand the present performance levels & to use this information for benchmarking at a later date.

b) Evaluate the performance requirements of the system against the specified norms.

c) Clearly specify the system inputs and the expected outputs, when the system is subjected to the
defined load conditions like profile of the test, test environment & the test duration etc.


Ways of doing Performance Testing:

Conventionally there are two methods of performance testing like

1) Manual performance testing

2) Automated performance testing

1) Manual Performance Testing: In order to develop an adequate confidence, the response times being
a good indicator of performance of a transaction must be measured several times during the test. Use of
stopwatches monitored by many persons is one of the oldest & effective way to measure the test
performance. Depending upon the available infrastructure, other means can also be devised.

2) Automated Performance Testing: Many approaches can be practiced here. We can use the
automation software which can simulate the users actions & can simultaneously record the response
times & various system parameters like access of storage discs, usage of memory & queue length for
various messages etc. etc.

We can provide additional data load over the system, through many utility programs, message replication
programs, batch files & many protocols analyzing tools etc.


Important Considerations for Designing Good Performance Test Cases:

1) Stress: To take care of the ability of a system or its component to move beyond the specified limits of
performance requirements.

2) Capacity: To cover the maximum amounts which can be contained, or produced, or completely fully
occupy the entity.

3) Efficiency: To take care of the desired efficiency measured as the ratio of volume of data processed to
the amount of resources consumed for the particular processing.

4) Response time: To take care of the specified requirements of response time i.e. the total time elapsed
between the event of initiation of request to the receipt of response.

5) Reliability: Must be able to deliver the expected results with sufficient consistency.
6) Bandwidth: Must be able to measure & evaluate the bandwidth requirements i.e. the amount of data
passing across the system.

7) Security: Must be able to evaluate the user confidentiality, access permissions & data integrity
considerations in the system.

8) Recovery: Must be able to subject the system under test to higher loads, and measure the time it
takes to the normal situation after withdrawal of loads.

9) Scalability: Must be able to handle more loads by the addition of more hardware elements
components without any coding change.


Lessons learnt:
Performance engineering approach encompassing load testing, stress testing or endurance testing is
extremely important acceptance consideration in today’s highly competitive market with highly demanding
& quality conscious customers.

Read many more exciting articles at:
http://www.softwaretestinggenius.com

Más contenido relacionado

Más de Yogindernath Gupta

ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam Practice
Yogindernath Gupta
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
Yogindernath Gupta
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
Yogindernath Gupta
 
Introduction to specification based test design techniques
Introduction to specification based test design techniquesIntroduction to specification based test design techniques
Introduction to specification based test design techniques
Yogindernath Gupta
 

Más de Yogindernath Gupta (20)

ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6
 
ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5
 
ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4
 
ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam Practice
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
ISTQB Advanced Study Guide - 8
ISTQB Advanced Study Guide - 8ISTQB Advanced Study Guide - 8
ISTQB Advanced Study Guide - 8
 
ISTQB Advanced Study Guide - 6
ISTQB Advanced Study Guide - 6ISTQB Advanced Study Guide - 6
ISTQB Advanced Study Guide - 6
 
ISTQB Advanced Study Guide - 4
ISTQB Advanced Study Guide - 4ISTQB Advanced Study Guide - 4
ISTQB Advanced Study Guide - 4
 
ISTQB Advanced Study Guide - 2
ISTQB Advanced Study Guide - 2ISTQB Advanced Study Guide - 2
ISTQB Advanced Study Guide - 2
 
ISTQB Advanced – Study Guide -1
ISTQB Advanced – Study Guide -1ISTQB Advanced – Study Guide -1
ISTQB Advanced – Study Guide -1
 
Introduction to specification based test design techniques
Introduction to specification based test design techniquesIntroduction to specification based test design techniques
Introduction to specification based test design techniques
 
Knowledge Levels In Certifications
Knowledge Levels In CertificationsKnowledge Levels In Certifications
Knowledge Levels In Certifications
 
Design Review & Software Testing
Design Review & Software TestingDesign Review & Software Testing
Design Review & Software Testing
 
Software Development Life Cycle - SDLC
Software Development Life Cycle - SDLCSoftware Development Life Cycle - SDLC
Software Development Life Cycle - SDLC
 
Tutorial - 16 : How to pass parameters from one script to another by CallScri...
Tutorial - 16 : How to pass parameters from one script to another by CallScri...Tutorial - 16 : How to pass parameters from one script to another by CallScri...
Tutorial - 16 : How to pass parameters from one script to another by CallScri...
 
Tutorial - 14 How to insert a verification point from the script explorer usi...
Tutorial - 14 How to insert a verification point from the script explorer usi...Tutorial - 14 How to insert a verification point from the script explorer usi...
Tutorial - 14 How to insert a verification point from the script explorer usi...
 
A Practical Roadmap To HP QTP Certification
A Practical Roadmap To HP QTP CertificationA Practical Roadmap To HP QTP Certification
A Practical Roadmap To HP QTP Certification
 
Unearthing The Power Of IBM – Rational Functional Tester 7.0 - RFT
Unearthing The Power Of IBM – Rational Functional Tester 7.0 - RFTUnearthing The Power Of IBM – Rational Functional Tester 7.0 - RFT
Unearthing The Power Of IBM – Rational Functional Tester 7.0 - RFT
 
RFT Tutorial 4 How Do We Record A Script Using Rational Functional Tester - RFT
RFT Tutorial 4 How Do We Record A Script Using Rational Functional Tester - RFTRFT Tutorial 4 How Do We Record A Script Using Rational Functional Tester - RFT
RFT Tutorial 4 How Do We Record A Script Using Rational Functional Tester - RFT
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

All About Performance Testing

  • 1. All About Performance Testing – The Best Acceptance Criteria First of all, let us see what is the meaning of the term “Performance Testing”: For general engineering practice, “Performance Testing” refers to evaluation & measurement of functional characteristics of an individual, a system, a product or any material. However in software industry parlance, the term “Performance Testing” widely refers to the evaluation & measurement of functional effectiveness of a software system or a component, as regards its reliability, scalability, efficiency, interoperability & its stability under load. These days a new science by the name “Performance Engineering” is emerging in IT industry & Performance Testing / Acceptance Testing are being viewed as its subsets. The performance engineering lays prime emphasis on covering the performance aspects in the system design itself i.e. right from the beginning & more important is that well before the start of actual coding. Why Software Industry lays so much emphasis on Performance Testing: The key reasons are: 1) Performance has become the key indicator of product quality and acceptance consideration nowadays in a highly dynamic & competitive market. 2) Customers are becoming extremely demanding on quality front & have clear vision of their performance objectives. 3) These days, every customer is looking for greater speed, scalability, reliability, efficiency & endurance of all applications – may it be multi tier applications, web based applications or client server applications etc. etc. 4) Greater need for identifying & eliminating the performance inhibiting factors early during the development cycle. It is best to initiate the performance testing efforts right from the beginning of the development project & these remain active till final deployment. What are the objectives of Performance Testing? 1) To carry out root cause analysis of performance related common & uncommon problems & devise plans to tackle them. 2) To reduce the response time of the application with minimal investment on hardware. 3) To identify the problems causing the malfunctioning of the system & fix them well before the production run. Problems remedied during later stages of production have high cost tags attached to them. 4) Benchmarking of the applications, with a view to refine the company’s strategy towards software acquisition for the next time. 5) To ensure that the new system conforms to the specified performance criteria. 6) To draw a comparison among performance of two or more systems. Typical Structure of a Performance Testing Model:
  • 2. Step-1: Collection of Requirements – The most important step & the backbone of performance test model Step-2: System Study. Step-3: Design of Testing Strategies – Can include the following. a) Preparation of traversal documents. b) Scripting Work. c) Setting up of test environment. d) Deployment of monitors. Step-4: Test Runs can cover the following a) Baseline Test Run b) Enhancement Test Run c) Diagnostic Test Run Step-5: Analysis & preparation of an interim report. Step-6: Implementation of recommendations from step-5. Step-7: Preparation of a Finalized Report. Attributes of a Good Performance Testing setup: 1) Availability of a performance baseline document detailing the present performance of the system & acting as an effective baseline, which can be used in regression testing. This baseline document can be conveniently used to compare the expectations when the system conditions happen to change. 2) Performance test beds & test environment should be separate & must replicate the live production environment as far as possible. 3) Performance testing environment should not be coupled with the development environment. 4) Resources leading to fulfillment of objectives like: # Deployment of personnel with sound knowledge # Systematic & deliberate planning # Study of existing infrastructure # Proper preparation # Systematic execution # Scientific analysis # Effective reporting However these days many companies have started doing part of the testing under the live environment, This helps them in establishing points of differences experienced during test & live systems. How to gear up for Performance Testing? 1) Define the performance conditions: First of all we need to define performance conditions related to functional requirements like speed, accuracy & consumption of resources. Resources can be like memory requirements, storage space requirements & bandwidth of the communication system etc. etc.
  • 3. 2) Study the operational profile: The operational profile contains details of usage patterns and environment of the live system. It includes description of the period of operation, the operating environment, quantum of loads & expected transactions etc. When exact data is not available, the data from the testing profiles can be approximated especially when testing is not being done under the live environment. 3) Prepare good performance test cases: While designing performance test cases, our endeavor must be to a) Understand the present performance levels & to use this information for benchmarking at a later date. b) Evaluate the performance requirements of the system against the specified norms. c) Clearly specify the system inputs and the expected outputs, when the system is subjected to the defined load conditions like profile of the test, test environment & the test duration etc. Ways of doing Performance Testing: Conventionally there are two methods of performance testing like 1) Manual performance testing 2) Automated performance testing 1) Manual Performance Testing: In order to develop an adequate confidence, the response times being a good indicator of performance of a transaction must be measured several times during the test. Use of stopwatches monitored by many persons is one of the oldest & effective way to measure the test performance. Depending upon the available infrastructure, other means can also be devised. 2) Automated Performance Testing: Many approaches can be practiced here. We can use the automation software which can simulate the users actions & can simultaneously record the response times & various system parameters like access of storage discs, usage of memory & queue length for various messages etc. etc. We can provide additional data load over the system, through many utility programs, message replication programs, batch files & many protocols analyzing tools etc. Important Considerations for Designing Good Performance Test Cases: 1) Stress: To take care of the ability of a system or its component to move beyond the specified limits of performance requirements. 2) Capacity: To cover the maximum amounts which can be contained, or produced, or completely fully occupy the entity. 3) Efficiency: To take care of the desired efficiency measured as the ratio of volume of data processed to the amount of resources consumed for the particular processing. 4) Response time: To take care of the specified requirements of response time i.e. the total time elapsed between the event of initiation of request to the receipt of response. 5) Reliability: Must be able to deliver the expected results with sufficient consistency.
  • 4. 6) Bandwidth: Must be able to measure & evaluate the bandwidth requirements i.e. the amount of data passing across the system. 7) Security: Must be able to evaluate the user confidentiality, access permissions & data integrity considerations in the system. 8) Recovery: Must be able to subject the system under test to higher loads, and measure the time it takes to the normal situation after withdrawal of loads. 9) Scalability: Must be able to handle more loads by the addition of more hardware elements components without any coding change. Lessons learnt: Performance engineering approach encompassing load testing, stress testing or endurance testing is extremely important acceptance consideration in today’s highly competitive market with highly demanding & quality conscious customers. Read many more exciting articles at: http://www.softwaretestinggenius.com