Performance Testing
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
INTRODUCTION
Performance testing of an application entails
testing the speed of the application verify whether it
meets the expected criteria of the customers. It can be
used to detect bottlenecks in the application that can
slow down the entire system.
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
The focus of performance testing is checking a software
program's
• Speed
• Scalability
• Stability
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
Objective
To ensure that will perform well under their expected
workload
The goal of performance testing is not to find bugs but
to eliminate performance bottlenecks
The focus of performance testing is checking software
program’s,
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
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 testing - is done to make sure the software
can handle the expected load over a long period of
time.
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
•Spike testing - tests the software's reaction to sudden large
spikes in the load generated by users.
•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.
•Scalability testing - The objective of scalability testing is to
determine the software application's effectiveness in "scaling
up" to support an increase in user load. It helps plan capacity
addition to your software system.
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
Performance Testing Tools
Load Runner
Silk Performer
SOASTA
JMeter
WebLoad
Rational Performance Tester
Loadster
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
Performance Testing @Skava
Performance testing was handled in two approaches;
Front End Testing[FE]
Back End Testing[BE]
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
Front End Testing[FE]
In FE testing every client navigation page API’s will be tracked
via firebug. Based on the skava domain, assets[JS,CSS, FONTS,
IMAGES, STREAM & SOCIAL] performance parameter will be
validated. If any of the asset lacks in performance degradation
[specific to common performance issues] will be analyzed and
fine-tuned for further optimization.
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
Tools Used For FE Testing
Firebug
PageSpeed Insights
WebPageTest
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
WebPageTest
Webpagetest enables you to run web
performance tests on your site from a number
of different locations across the world in a
number of different browsers.
These are the top-level measurements captured
and displayed for the overall page;
First Byte
Start Render
Page Render Time
Fully Loaded
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
Result View
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
Flimstrip View [UI Rendered]
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
Back End Testing[BE]
In BE testing, API’s[skava domain] of all navigation pages
will be recorded and load test was executed.
The load test criteria will be based on;
Number of Users
Ramp Up
Test Duration
Tool Used For BE Testing
JMeter
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
JMeter
The Apache JMeter desktop application is open source
software, a 100% pure Java application designed to load test
functional behavior and measure performance
Apache JMeter may be used to test performance both on static
and dynamic resources (Files, Web dynamic languages - PHP,
Java, ASP.NET, etc. -, Java Objects, Data Bases and Queries, FTP
Servers and more).
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
Features
Ability to load and performance test many different
server/protocol types
Web - HTTP, HTTPS
SOAP
FTP,………
Complete portability and 100% Java purity.
Full multithreading framework allows concurrent sampling
by many threads and simultaneous sampling of different
functions by separate thread groups
Highly Extensible core
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
Blazemeter
Blazemter is a third party[licensed] tool which
is used to handle the load test in an integrated
cloud environment.
Blazemter is designed to be intuitive and user
friendly
It is used to generate huge volume of load
based on the package plans.
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
Average Response Time to Max Users
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
Hits Per Second
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
KB/s Per Second
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
Performance Testing Dashboard
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.
References
http://jmeter.apache.org/
http://jmeter.apache.org/usermanual/index.html
https://sites.google.com/a/webpagetest.org/docs/using-
webpagetest/quick-start-quide
http://community.blazemeter.com/knowledgebase
www.skava.com | San Francisco | New York I London I India Skava Confidential and Proprietary. All Rights Reserved.