You are on page 1of 10

BTS Performance Testing

Mukkoti Jan 2019

Hospitality Confi dential. All rights reserved.


Basics

 Introduction to Performance Testing


 Why Performance Testing
 Types of Testing
 Performance Problem
 Jmeter

Hospitality Confi dential. All rights reserved.


Introduction to performance testing

 Web Performance Testing is the process of to evaluate the effectiveness of


software or the discipline concerned with detecting and reporting the
current behavior of the software system.
 It is also said that its a non-functional testing to determine the system
responsiveness, stability, reliability and scalability.
 Factors that governs performance testing:
o Throughput- It represents the no. of requests processed by the
software in a specified time duration.
o Response Time - It is equally important to find out how much time each
of the transaction took to complete.
o Tuning – Tuning improves the product performance without having to
touch the source code of the product.

Hospitality Confi dential. All rights reserved.


Why Performance Testing

 To check the current product capacity.


 To measure what parts of the system or workload causes the system to
perform badly.
 To evaluate product against performance criteria.
 To address critical task of testing standard set for the application.
 To produce better quality, more scalable code.
 To expose bugs that do not surface in cursory testing such as memory
management bugs, memory leaks and buffer overflows etc.

Hospitality Confi dential. All rights reserved.


Types of Performance Testing

 Performance Testing –Performance testing determines or validates the


speed, scalability, and/or stability characteristics of the system or application
under test. Performance is concerned with achieving response times,
throughput, and resource-utilization levels that meet the performance
objectives for the project or product.
 Capacity Testing - Capacity Testing is to determine how many users the
system/application can handle successfully before the performance goals
become unacceptable. This allows us to avoid the potential problems in
future such as increased user base or increased volume of data.
 Load Testing - Load Testing is to verify that the system/application can
handle the expected number of transactions and to verify the
system/application behavior under both normal and peak load conditions
(no. of users).

Hospitality Confi dential. All rights reserved.


Types of Performance Testing

 Volume Testing –Volume Testing is to verify that the system/application can


handle a large amount of data. This testing focuses on Data Base.
 Stress Testing - Stress Testing is to verify the behaviour of the system once
the load increases more than the system’s design expectations. This testing
addresses which components fail first when we stress the system by
applying the load beyond the design expectations. So that we can design
more robust system.
 Soak Testing - Soak Testing is aka Endurance Testing. Running a system at
high load for a prolonged period of time to identify the performance
problems is called Soak Testing. It is to make sure the software can handle
the expected load over a long period of time.
 Spike Testing - Spike Testing is to determine the behaviour of the system
under sudden increase of load (a large number of users) on the system.

Hospitality Confi dential. All rights reserved.


Performance Symptoms and issues

 Web Application Performance Problem


 Web Application Performance Problem

 Database Problem
Database Problem
 Web Server Problem
 Web Server Problem
 Network Problem
 Network Problem

Hospitality Confi dential. All rights reserved.


Performance problems

There are some common performance problems that we can find during the
performance testing:

 Response time
 Memory leaks
 High CPU Usage
 Too many open connection
 Length queues for request
 Database deadlocks
 HTTP errors
 Page not available
 Insufficient Indexing in database etc..

Hospitality Confi dential. All rights reserved.


JMETER

Jmeter is an open source tool that can be used for performance and load testing
for analyzing and measuring the performance of variety of services. This tools
mainly used for web and web service applications.

Supported Protocols are:


Web : HTTP, HTTPS
Web Service : XML, SOAP etc.
Extended Functionality available with many 3rd party plugins like
 jmeter-plugins.org - This project is an independent set of plugins for
Apache JMeter. Many different plugins including Listeners and Samplers.
 https://github.com/maciejzaleski/JMeter-WebSocketSampler - Free
Open Source Plugin for Load Testing Websocket
 https://github.com/Mishail/CqlJmeter - Free Open Source Plugin for
Load Testing Apache Cassandra

Hospitality Confi dential. All rights reserved.


Q&A

Hospitality Confi dential. All rights reserved.

You might also like