Professional Documents
Culture Documents
Performance Testing White Paper
Performance Testing White Paper
Testing of
Mobile Applications
An end-to-end approach to Mobile
Application Testing
A White Paper
By Amit Mohanty
Architect
Testing Practice
Contents
Introduction........................................................ 3
Why Performance Testing?................................ 3
The Importance of Performance Testing........................ 3
How Performance Testing Helps.................................... 3
Performance Testing Challenges of
Mobile Applications............................................ 3
Key Parameters - Performance Testing of
Mobile Applications............................................ 4
Key Focus Areas - Performance Testing of
Mobile Applications............................................ 4
Performance Testing of Mobile Applications
- Process Flow.................................................... 6
End-User Perspective (Functional
Performance Testing)......................................... 6
Overview......................................................................... 6
Benefits.......................................................................... 7
Topology......................................................................... 7
Device Perspective............................................ 7
Overview........................................................................ 7
Benefits.......................................................................... 7
Topology......................................................................... 8
Network Perspective......................................... 8
Overview........................................................................ 8
Benefits.......................................................................... 10
Server Perspective............................................ 10
Overview........................................................................ 10
Topology......................................................................... 10
Benefits.......................................................................... 11
The Conclusion.................................................. 11
Transaction Response Time How long does it take for the transaction to complete?
Power Management Does the application causes faster battery drain out?
Figure 2: Four main perspectives of Performance Testing of mobile applications and the focus areas
ios
Android
Client Server
End-User Perspective Network Perspective Server Perspective
Application launch time Application features tested Transaction Time of the
Navigation response time under varying network server by varying the
Screen transition time conditions like bandwidth, bandwidth, latency and
Transaction time measured latency and packet loss and packet loss of the
on the application 2G, 3G, network profiles. TCL/IP network.
Remote Mobile
Cloud
Central Node
Server
Softwares
Required
Test Management
UFT UFT Mobile
Quality
Loadrunner Center/ ALM
This kind of Remote Mobile Cloud Device
Racks
Performance Test Teams
Devices with Operator SIMs on
network
Testing helps in
Figure 5: End-user perspective
checking how the
mobile application
performs Device Perspective
under the limited Overview
hardware The device perspective of Performance Testing of mobile applications helps
resources of a in gauging the device vitals while an application is. This kind of
Performance Testing helps in checking how the mobile application
mobile device and
performs under the limited hardware resources of a mobile device and
check CPU check CPU usage, memory consumption, battery consumption, data
usage, memory throughput, etc. when the application is in use. This also helps in testing a
consumption, mobile application under stressed memory conditions like low memory and
low battery, thus ensuring a great user application.
battery
consumption, data Benefits
throughput, etc. Using any standard web browser, a user can remotely activate a handset
located anywhere worldwide.
when the
application is in The solution allows collecting all vital information about the device like
memory usage, battery level, battery voltage, CPU usage, etc.
use.
Certain tools installed on mobile devices help accurately collect
information about the battery consumption and radio interface.
Internet
Remote Mobile
Cloud Network
UFT/Native Central Node Virtualization
Scripting Server
Test Management
Shunra
Quality
Center/ ALM
Test Teams Remote Mobile Cloud Device
Racks
Devices with Operator SIMs on
network
Remote Mobile
Cloud
Central Node
Server
Softwares
Required
Test Management
UFT UFT Mobile
Quality
Shunra NV Loadrunner Center/ ALM
Remote Mobile Cloud Device
Racks
Devices with Operator SIMs on
Test Teams network
Server Perspective
Overview
Testing the The server perspective of Performance Testing of mobile application deals
backend server of with testing the backend server of the mobile application by applying
varying the virtual user load and then extrapolating the data for the
the mobile production server capacity. It gives confidence about the performance of
application by the application at all times during a day/week/month whenever the load on
applying varying the server varies. It also incorporates the capability through which
the virtual user bandwidth and latency can be varied to create a more life-like scenario. It is
the traditional load testing of mobile applications backend server
load. capabilities using Loadrunner.
Topology
L0 Real Devices
The Mobile Cloud
L1 V1
L2 V2
Mobile
L3 V3 Application
Service
L4 V4
Performance Test L5 V5
Controller
Virtual Mobile Users
Load Generators - Multi user/multi location
simulations
Performance Diagnostics
The Conclusion
A growing number of mobile users are using their mobile devices for their
day to day tasks including important transactions like money transfers,
paying credit card bills, etc. Due to this, todays mobile applications are
very important and are expected to perform at their best at all times. The
surging growth in the number of mobile users using high end mobile
devices and relying on them for various kinds of transactions necessitates
that all mobile applications are thoroughly tested for performance glitches
before their launch. Failing to prepare for these highly variable conditions
can lead to customer dissatisfaction and cause damage to the brand
reputation.
This whitepaper aims at combining the various solutions and perspectives
for Performance Testing of mobile applications and provides a guide to the
overall process of Performance Testing.
EFFICIENCY/PERFORMANCE
(INCLUDING NETWORK - RELATED) 64%
FUNCTIONALITY
48%
46%
PORTABILITY
36%
USER INTERFACE/EASE OF USE 31%
COMPATIBILITY/
REGRESSION TESTING 18%
14%
SECURITY (PROTECTION OF SENSITIVE
DATA OVER THE PHONE OR AIR)
CERTIFICATION OF APPLICATION
CANADA
GREAT BRITAIN
FRANCE
IRELAND
NETHERLANDS
POLAND
BELGIUM
Indore
GERMANY
Vadodara
SWITZERLAND Raipur
Mumbai Bhubaneshwar
INDIA Pune
JAPAN
CHINA Bangalore
Mangalore Chennai
PHILIPPINES Pondicherry
SINGAPORE
INDONESIA
SRI LANKA
AUSTRALIA
NEW ZEALAND
OUR GLOBAL FOOTPRINT Delivery Footprint Client Footprint India Centre (BPO) Global Service Centre (ITO & APPS) Training Academy
About Mphasis
Mphasis (an HP Company) enables chosen customers to meet the demands of an evolving market place.
Mphasis fuels this by combining superior human capital with cutting edge solutions in hyper-specialized areas.
Contact with us on www.mphasis.com
To find out more about Mphasiss ability to help your organization in the
Performance Testing of Mobile Applications space, please contact:
Amit Mohanty
Architect - Testing Practice
amit.mohanty@mphasis.com
USA UK INDIA
460 Park Avenue South 88 Wood Street Bagmane World Technology Centre
Suite #1101, New York London EC2V 7RS, UK Marathahalli Outer Ring Road
NY 10016, USA Tel.: +44 20 85281000 Doddanakhundi Village, Mahadevapura
Tel.: +1 212 686 6655 Bangalore 560 048, India.
Tel.: +91 080 3352 5000
Copyright Information
Mphasis and the Mphasis logo are registered trademarks of Mphasis Corporation.
All other brand or product names are trademarks or registered marks of their respective owners.
Copyright Mphasis Corporation. All rights reserved.