SlideShare a Scribd company logo
1 of 43
Download to read offline
Enhance mobile app testing
with performance-centric
strategies
Nithin SS
Hello!
Nithin SS
• A passionate tester, community builder &
blogger.
• AVP, Lead QA at Astro Malaysia.
• Founder - Synapse QA.
• Mentor at The Mentoring Club.
• Advisory board member, AskUI.
nithin-ss Nithin_Synapse
Mobile Apps
Let’s talk the basics first
4
What is a mobile
app?
A mobile application, also referred to as a mobile
app or simply an app, is a computer program or
software application designed to run on a mobile
device.
Native apps
Web apps
Hybrid apps
Basic types of
mobile apps
01
02
03
6
Native
apps
Native apps are created
for one specific platform
or operating system.
Technology Used: Native
apps are coded using a
variety of programming
languages. Some
examples include: Java,
Kotlin, Python, Swift,
Objective-C, C++, and
React.
Pros
&
Cons
Pros
● Faster & Better
performance
● Native UI for optimized
UX
● Able to access device
features
Cons
● Updates must be
downloaded
● Higher maintenance
cost
● Consumes device
space
8
Web
apps
Responsive versions of
websites that can work
on any mobile device or
OS because they’re
delivered using a mobile
browser.
One kind of web app is
the progressive web app
(PWA), which is basically
a native app running
inside a browser.
Technology Used: Web
apps are designed using
HTML5, CSS, JavaScript,
Ruby, and similar
programming languages
used for web work.
Pros
&
Cons
Pros
● Web based : works on
all devices
● Less maintenance &
development costs
● Less space on your
device memory
Cons
● Depends on browser
● Needs internet
● Device hardware
integration depends on
app features
10
Hybrid
Apps
Hybrid apps are
combinations of both
native and web apps, but
wrapped within a native
app, giving it the ability
to have its own icon or be
downloaded from an app
store.
They have home screen
app icon, responsive
design, fast performance,
even be able to function
offline, but they’re really
web apps made to look
native.
Technology Used: Hybrid
apps use a mixture of
web technologies and
native APIs. They’re
developed using: Ionic,
Objective C, Swift,
HTML5, and others.
Pros
&
Cons
Pros
● Quicker & economical
● Loads quickly
● Less code to maintain
Cons
● Might lack power and
speed
● Slower than native app
● Certain features might
not be usable on
devices
Mobile app
performance
Do we really need to think of it?
13
High performing apps are
user favorites!
Mobile app performance refers to
how an app behaves on a mobile
device under various
circumstances & loads.
It depends on three combined
factors: the backend, the network,
and how the app itself runs on
the device.
Objectives
● Performance of the application during big
workloads
● Evaluate the hardware usage
● Determine the capacity of the application
● Measure and assess the performance of the
app on the protocol level
● Evaluate app’s performance under critical
conditions.
Strategy
Align
Align test objectives and
business requirements
Identify
Identify the test KPIs
● Error rate
● Maximum response
time
● Average response time
● Peak number of
requests
● Average throughput &
number of concurrent
active users per device
and OS
Strategy
● Consider
Latency &
Bandwidth
● Simulate a
real-life
testing
environment
L .B.S Priority Collaboration
Prioritize scenarios Collaborate with
developers
The Backend
When the app is interacting with the server, the
response time becomes critical to performance.
Things to consider:
● Data to and from server
● Number of API Calls generated from App for a
specific functionality
● Server down-time
● Implementation of escalation policies
Tools for Load Testing:
● Jmeter
● Gatling
● Blazemeter
The Network
The performance of the app can vary depending on
different networks and this may impact on the app
response time.
Key factors to measure:
● Latency is the time that elapses when
information is send through the network
(measured in milliseconds). Lower the
latency better performance.
● Bandwidth is the maximum capacity (the
amount of data) that can be transmitted
through the network (measured in bits per
second). Higher the bandwidth is better.
The Client
Testing client-side performance allows to
understand how the app behaves on a device and
how it uses the resources that is shared with other
apps.
Metrics to understand client side mobile app
performance:
● Device resource usage
● Rendering
● Errors
● Response Times
Device
resource
usage
01
❏ % CPU
❏ Memory(Mb)
❏ Data sent and received
by the application(Kb)
❏ % Battery usage
Rendering
02 ❏ Measures how the app is
drawn on the device
❏ Render time (ms)
❏ Frames per second (fps)
❏ Render lag (janks/slow
rendering)
Errors
03 ❏ Exceptions
❏ ANR (Application Not
Responding) in Android
❏ Crashes
Response
time
04 Time taken to complete an
action.
❏ Server response times
❏ Database response time
❏ Network latency
❏ Screen drawing time
❏ App startup
❏ App background
Memory leaks
Screen freezes
Crashes
What problems
can we detect?
01
02
03
04 Start-up & transactional issues
Why?
Why all these matters?
Users
When a mobile app’s performance doesn’t
meet user expectations, there is a very high
chance they will stop using it, resulting in a
loss of revenue.
Tips & Tricks
Source Apptim Blog
Cache images
Downloading external resources takes time,
so make sure to cache your images.
Compress and resize
images
Make sure images are adequately sized
Re-use data templates
To make the app faster, load fewer templates
by reusing them.
Reduce HTTP Requests
Use fewer HTTP requests required to fetch the
resources for each page in order to simplify
things for your app.
Use loading validations
Provide some visible, instant feedback as the
application waits for the background
response
Load Data as you need
If your app requires a large amount of data, it’s
useful to only load it as you need it.
Create an offline mode
Give users an option to save the data for later,
so they can resume the activity once the
connection has been re-established.
Use the right tool for
tuning
Pick the right tool that gives insights on all
the metrics we need to capture for analysing
performance of the app.
APM
(application performance
monitoring) system
APM helps detect and diagnose deep-level
application performance problems to
maintain an expected level of service across
the board.
Should we use real
device for testing
performance?
It is recommended to test mobile app performance
on real devices. That's how you could get the
actual performance of the app based on the real
resource usages.
Change in mobile app
landscape with advent of
5G
◂ It will bring more customers online.
◂ More business will go online.
◂ 5G will have a lower latency so it will deliver
faster results for users and ensure that a
seamless interaction happens between the
client and server.
◂ More companies in the e-commerce
landscape will start leveraging AI/ML
capabilities in their mobile apps.
◂ 5G will also help increase the amount of apps
that people download.
Apptim
https://www.apptim.com/
—Ian Molyneaux
“If an end user perceives bad performance from
your website, his/her next click will likely be on
your-competition.com”
—Todd DeCapua
“Just as athletes can’t win without a sophisticated
mixture of strategy, form, attitude, tactics, and speed,
performance engineering requires a good collection
of metrics and tools to deliver the desired business
results.”
REFERENCES
&
FURTHER READS
◂ Apptim Blog.
◂ AppDynamics Blog
◂ Apptim Youtube.
◂ STET Session on
Apptim.
THANKS!
I would be happy to connect:
nithin.ss@synapse-qa.com
Nithin_Synapse nithin-ss synapse-qa.com

More Related Content

Similar to [TTT Meetup] Enhance mobile app testing with performance-centric strategies (1).pdf

SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...
SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...
SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...Sencha
 
Game-Changing Power of React Native for Businesses in 2024
Game-Changing Power of React Native for Businesses in 2024Game-Changing Power of React Native for Businesses in 2024
Game-Changing Power of React Native for Businesses in 2024Andolasoft Inc
 
Software QS Tag White Paper
Software QS Tag White PaperSoftware QS Tag White Paper
Software QS Tag White PaperDevendra Singh
 
Performance testing – mobile apps session1
Performance testing – mobile apps   session1Performance testing – mobile apps   session1
Performance testing – mobile apps session1Jyothirmayee Pola
 
Performance testing – mobile apps session1
Performance testing – mobile apps   session1Performance testing – mobile apps   session1
Performance testing – mobile apps session1Jyothirmayee Pola
 
Importance of Mobile App Architecture For Mobile App Development
Importance of Mobile App Architecture For Mobile App DevelopmentImportance of Mobile App Architecture For Mobile App Development
Importance of Mobile App Architecture For Mobile App DevelopmentHelios Solutions
 
The Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and MonitoringThe Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and MonitoringMobilePundits
 
What are the top 10 performance testing tools
What are the top 10 performance testing toolsWhat are the top 10 performance testing tools
What are the top 10 performance testing toolsTestingXperts
 
Mobile application-testing for shanethatech
Mobile application-testing for shanethatechMobile application-testing for shanethatech
Mobile application-testing for shanethatechshanethatech
 
IBM MobileFirst Technical Overview
IBM MobileFirst Technical OverviewIBM MobileFirst Technical Overview
IBM MobileFirst Technical Overviewibmmobile
 
The Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.pptThe Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.pptAsad Majeed
 
A Comprehensive Guide to Measuring and Comparing Cross-Platform Performance M...
A Comprehensive Guide to Measuring and Comparing Cross-Platform Performance M...A Comprehensive Guide to Measuring and Comparing Cross-Platform Performance M...
A Comprehensive Guide to Measuring and Comparing Cross-Platform Performance M...kalichargn70th171
 
IBM Mobile Overview for Ecosystem Partners
IBM Mobile Overview for Ecosystem PartnersIBM Mobile Overview for Ecosystem Partners
IBM Mobile Overview for Ecosystem PartnersJeremy Siewert
 
Practical Tips for Ops: End User Monitoring
Practical Tips for Ops: End User MonitoringPractical Tips for Ops: End User Monitoring
Practical Tips for Ops: End User MonitoringDynatrace
 
Head into the Mobile App Maintenance for flawless performance
Head into the Mobile App Maintenance for flawless performanceHead into the Mobile App Maintenance for flawless performance
Head into the Mobile App Maintenance for flawless performanceiMOBDEV Technologies Pvt. Ltd.
 
Cloud Migration - The Earlier You Instrument, The Faster You Go
Cloud Migration - The Earlier You Instrument, The Faster You GoCloud Migration - The Earlier You Instrument, The Faster You Go
Cloud Migration - The Earlier You Instrument, The Faster You GoKevin Downs
 
The Best of Both Worlds - Combining Performance and Functional Mobile App Tes...
The Best of Both Worlds - Combining Performance and Functional Mobile App Tes...The Best of Both Worlds - Combining Performance and Functional Mobile App Tes...
The Best of Both Worlds - Combining Performance and Functional Mobile App Tes...Bitbar
 
Testing a GPS application | Testbytes
Testing a GPS application | TestbytesTesting a GPS application | Testbytes
Testing a GPS application | TestbytesTestbytes
 

Similar to [TTT Meetup] Enhance mobile app testing with performance-centric strategies (1).pdf (20)

SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...
SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...
SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...
 
Game-Changing Power of React Native for Businesses in 2024
Game-Changing Power of React Native for Businesses in 2024Game-Changing Power of React Native for Businesses in 2024
Game-Changing Power of React Native for Businesses in 2024
 
Software QS Tag White Paper
Software QS Tag White PaperSoftware QS Tag White Paper
Software QS Tag White Paper
 
Performance testing – mobile apps session1
Performance testing – mobile apps   session1Performance testing – mobile apps   session1
Performance testing – mobile apps session1
 
Performance testing – mobile apps session1
Performance testing – mobile apps   session1Performance testing – mobile apps   session1
Performance testing – mobile apps session1
 
Importance of Mobile App Architecture For Mobile App Development
Importance of Mobile App Architecture For Mobile App DevelopmentImportance of Mobile App Architecture For Mobile App Development
Importance of Mobile App Architecture For Mobile App Development
 
IBM MobileFirst Platform v7 Tech Overview
IBM MobileFirst Platform v7 Tech OverviewIBM MobileFirst Platform v7 Tech Overview
IBM MobileFirst Platform v7 Tech Overview
 
The Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and MonitoringThe Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and Monitoring
 
What are the top 10 performance testing tools
What are the top 10 performance testing toolsWhat are the top 10 performance testing tools
What are the top 10 performance testing tools
 
Mobile application-testing for shanethatech
Mobile application-testing for shanethatechMobile application-testing for shanethatech
Mobile application-testing for shanethatech
 
IBM MobileFirst Technical Overview
IBM MobileFirst Technical OverviewIBM MobileFirst Technical Overview
IBM MobileFirst Technical Overview
 
The Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.pptThe Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.ppt
 
Web Applications: Dominance and Drawbacks
Web Applications: Dominance and DrawbacksWeb Applications: Dominance and Drawbacks
Web Applications: Dominance and Drawbacks
 
A Comprehensive Guide to Measuring and Comparing Cross-Platform Performance M...
A Comprehensive Guide to Measuring and Comparing Cross-Platform Performance M...A Comprehensive Guide to Measuring and Comparing Cross-Platform Performance M...
A Comprehensive Guide to Measuring and Comparing Cross-Platform Performance M...
 
IBM Mobile Overview for Ecosystem Partners
IBM Mobile Overview for Ecosystem PartnersIBM Mobile Overview for Ecosystem Partners
IBM Mobile Overview for Ecosystem Partners
 
Practical Tips for Ops: End User Monitoring
Practical Tips for Ops: End User MonitoringPractical Tips for Ops: End User Monitoring
Practical Tips for Ops: End User Monitoring
 
Head into the Mobile App Maintenance for flawless performance
Head into the Mobile App Maintenance for flawless performanceHead into the Mobile App Maintenance for flawless performance
Head into the Mobile App Maintenance for flawless performance
 
Cloud Migration - The Earlier You Instrument, The Faster You Go
Cloud Migration - The Earlier You Instrument, The Faster You GoCloud Migration - The Earlier You Instrument, The Faster You Go
Cloud Migration - The Earlier You Instrument, The Faster You Go
 
The Best of Both Worlds - Combining Performance and Functional Mobile App Tes...
The Best of Both Worlds - Combining Performance and Functional Mobile App Tes...The Best of Both Worlds - Combining Performance and Functional Mobile App Tes...
The Best of Both Worlds - Combining Performance and Functional Mobile App Tes...
 
Testing a GPS application | Testbytes
Testing a GPS application | TestbytesTesting a GPS application | Testbytes
Testing a GPS application | Testbytes
 

More from NITHIN S.S

The beginning of breaking the shell & enroute to growth
The beginning of breaking the shell & enroute to growthThe beginning of breaking the shell & enroute to growth
The beginning of breaking the shell & enroute to growthNITHIN S.S
 
Mobile DevOps Summit_ Shift before you Suffer - Future of building the right ...
Mobile DevOps Summit_ Shift before you Suffer - Future of building the right ...Mobile DevOps Summit_ Shift before you Suffer - Future of building the right ...
Mobile DevOps Summit_ Shift before you Suffer - Future of building the right ...NITHIN S.S
 
PractiTest Webinar_ The Hidden Logic of Thinking for Testers.pdf
PractiTest Webinar_ The Hidden Logic of Thinking for Testers.pdfPractiTest Webinar_ The Hidden Logic of Thinking for Testers.pdf
PractiTest Webinar_ The Hidden Logic of Thinking for Testers.pdfNITHIN S.S
 
Testing United 2021: The hidden logic of thinking for testers.pdf
Testing United 2021: The hidden logic of thinking for testers.pdfTesting United 2021: The hidden logic of thinking for testers.pdf
Testing United 2021: The hidden logic of thinking for testers.pdfNITHIN S.S
 
TestFlix: 10 Usability Heuristics & Testing
TestFlix: 10 Usability Heuristics &  TestingTestFlix: 10 Usability Heuristics &  Testing
TestFlix: 10 Usability Heuristics & TestingNITHIN S.S
 
API Summit 2021: What to know before you start dating APIs.pdf
API Summit 2021: What to know before you start dating APIs.pdfAPI Summit 2021: What to know before you start dating APIs.pdf
API Summit 2021: What to know before you start dating APIs.pdfNITHIN S.S
 
How 3 p’s (process, planning & pairing) helped us to engage teams
How  3 p’s (process, planning & pairing)  helped us to engage teamsHow  3 p’s (process, planning & pairing)  helped us to engage teams
How 3 p’s (process, planning & pairing) helped us to engage teamsNITHIN S.S
 
How I Break The Shell With L.I.E.S
How I Break The Shell With L.I.E.SHow I Break The Shell With L.I.E.S
How I Break The Shell With L.I.E.SNITHIN S.S
 
MoT KL Meetup #3 Presentation
MoT KL Meetup #3 PresentationMoT KL Meetup #3 Presentation
MoT KL Meetup #3 PresentationNITHIN S.S
 

More from NITHIN S.S (9)

The beginning of breaking the shell & enroute to growth
The beginning of breaking the shell & enroute to growthThe beginning of breaking the shell & enroute to growth
The beginning of breaking the shell & enroute to growth
 
Mobile DevOps Summit_ Shift before you Suffer - Future of building the right ...
Mobile DevOps Summit_ Shift before you Suffer - Future of building the right ...Mobile DevOps Summit_ Shift before you Suffer - Future of building the right ...
Mobile DevOps Summit_ Shift before you Suffer - Future of building the right ...
 
PractiTest Webinar_ The Hidden Logic of Thinking for Testers.pdf
PractiTest Webinar_ The Hidden Logic of Thinking for Testers.pdfPractiTest Webinar_ The Hidden Logic of Thinking for Testers.pdf
PractiTest Webinar_ The Hidden Logic of Thinking for Testers.pdf
 
Testing United 2021: The hidden logic of thinking for testers.pdf
Testing United 2021: The hidden logic of thinking for testers.pdfTesting United 2021: The hidden logic of thinking for testers.pdf
Testing United 2021: The hidden logic of thinking for testers.pdf
 
TestFlix: 10 Usability Heuristics & Testing
TestFlix: 10 Usability Heuristics &  TestingTestFlix: 10 Usability Heuristics &  Testing
TestFlix: 10 Usability Heuristics & Testing
 
API Summit 2021: What to know before you start dating APIs.pdf
API Summit 2021: What to know before you start dating APIs.pdfAPI Summit 2021: What to know before you start dating APIs.pdf
API Summit 2021: What to know before you start dating APIs.pdf
 
How 3 p’s (process, planning & pairing) helped us to engage teams
How  3 p’s (process, planning & pairing)  helped us to engage teamsHow  3 p’s (process, planning & pairing)  helped us to engage teams
How 3 p’s (process, planning & pairing) helped us to engage teams
 
How I Break The Shell With L.I.E.S
How I Break The Shell With L.I.E.SHow I Break The Shell With L.I.E.S
How I Break The Shell With L.I.E.S
 
MoT KL Meetup #3 Presentation
MoT KL Meetup #3 PresentationMoT KL Meetup #3 Presentation
MoT KL Meetup #3 Presentation
 

Recently uploaded

Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 

Recently uploaded (20)

Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 

[TTT Meetup] Enhance mobile app testing with performance-centric strategies (1).pdf

  • 1. Enhance mobile app testing with performance-centric strategies Nithin SS
  • 2. Hello! Nithin SS • A passionate tester, community builder & blogger. • AVP, Lead QA at Astro Malaysia. • Founder - Synapse QA. • Mentor at The Mentoring Club. • Advisory board member, AskUI. nithin-ss Nithin_Synapse
  • 3. Mobile Apps Let’s talk the basics first
  • 4. 4 What is a mobile app? A mobile application, also referred to as a mobile app or simply an app, is a computer program or software application designed to run on a mobile device.
  • 5. Native apps Web apps Hybrid apps Basic types of mobile apps 01 02 03
  • 6. 6 Native apps Native apps are created for one specific platform or operating system. Technology Used: Native apps are coded using a variety of programming languages. Some examples include: Java, Kotlin, Python, Swift, Objective-C, C++, and React.
  • 7. Pros & Cons Pros ● Faster & Better performance ● Native UI for optimized UX ● Able to access device features Cons ● Updates must be downloaded ● Higher maintenance cost ● Consumes device space
  • 8. 8 Web apps Responsive versions of websites that can work on any mobile device or OS because they’re delivered using a mobile browser. One kind of web app is the progressive web app (PWA), which is basically a native app running inside a browser. Technology Used: Web apps are designed using HTML5, CSS, JavaScript, Ruby, and similar programming languages used for web work.
  • 9. Pros & Cons Pros ● Web based : works on all devices ● Less maintenance & development costs ● Less space on your device memory Cons ● Depends on browser ● Needs internet ● Device hardware integration depends on app features
  • 10. 10 Hybrid Apps Hybrid apps are combinations of both native and web apps, but wrapped within a native app, giving it the ability to have its own icon or be downloaded from an app store. They have home screen app icon, responsive design, fast performance, even be able to function offline, but they’re really web apps made to look native. Technology Used: Hybrid apps use a mixture of web technologies and native APIs. They’re developed using: Ionic, Objective C, Swift, HTML5, and others.
  • 11. Pros & Cons Pros ● Quicker & economical ● Loads quickly ● Less code to maintain Cons ● Might lack power and speed ● Slower than native app ● Certain features might not be usable on devices
  • 12. Mobile app performance Do we really need to think of it?
  • 13. 13 High performing apps are user favorites! Mobile app performance refers to how an app behaves on a mobile device under various circumstances & loads. It depends on three combined factors: the backend, the network, and how the app itself runs on the device.
  • 14. Objectives ● Performance of the application during big workloads ● Evaluate the hardware usage ● Determine the capacity of the application ● Measure and assess the performance of the app on the protocol level ● Evaluate app’s performance under critical conditions.
  • 15. Strategy Align Align test objectives and business requirements Identify Identify the test KPIs ● Error rate ● Maximum response time ● Average response time ● Peak number of requests ● Average throughput & number of concurrent active users per device and OS
  • 16. Strategy ● Consider Latency & Bandwidth ● Simulate a real-life testing environment L .B.S Priority Collaboration Prioritize scenarios Collaborate with developers
  • 17. The Backend When the app is interacting with the server, the response time becomes critical to performance. Things to consider: ● Data to and from server ● Number of API Calls generated from App for a specific functionality ● Server down-time ● Implementation of escalation policies Tools for Load Testing: ● Jmeter ● Gatling ● Blazemeter
  • 18. The Network The performance of the app can vary depending on different networks and this may impact on the app response time. Key factors to measure: ● Latency is the time that elapses when information is send through the network (measured in milliseconds). Lower the latency better performance. ● Bandwidth is the maximum capacity (the amount of data) that can be transmitted through the network (measured in bits per second). Higher the bandwidth is better.
  • 19. The Client Testing client-side performance allows to understand how the app behaves on a device and how it uses the resources that is shared with other apps. Metrics to understand client side mobile app performance: ● Device resource usage ● Rendering ● Errors ● Response Times
  • 20. Device resource usage 01 ❏ % CPU ❏ Memory(Mb) ❏ Data sent and received by the application(Kb) ❏ % Battery usage
  • 21. Rendering 02 ❏ Measures how the app is drawn on the device ❏ Render time (ms) ❏ Frames per second (fps) ❏ Render lag (janks/slow rendering)
  • 22. Errors 03 ❏ Exceptions ❏ ANR (Application Not Responding) in Android ❏ Crashes
  • 23. Response time 04 Time taken to complete an action. ❏ Server response times ❏ Database response time ❏ Network latency ❏ Screen drawing time ❏ App startup ❏ App background
  • 24. Memory leaks Screen freezes Crashes What problems can we detect? 01 02 03 04 Start-up & transactional issues
  • 25. Why? Why all these matters?
  • 26. Users When a mobile app’s performance doesn’t meet user expectations, there is a very high chance they will stop using it, resulting in a loss of revenue.
  • 27. Tips & Tricks Source Apptim Blog
  • 28. Cache images Downloading external resources takes time, so make sure to cache your images.
  • 29. Compress and resize images Make sure images are adequately sized
  • 30. Re-use data templates To make the app faster, load fewer templates by reusing them.
  • 31. Reduce HTTP Requests Use fewer HTTP requests required to fetch the resources for each page in order to simplify things for your app.
  • 32. Use loading validations Provide some visible, instant feedback as the application waits for the background response
  • 33. Load Data as you need If your app requires a large amount of data, it’s useful to only load it as you need it.
  • 34. Create an offline mode Give users an option to save the data for later, so they can resume the activity once the connection has been re-established.
  • 35. Use the right tool for tuning Pick the right tool that gives insights on all the metrics we need to capture for analysing performance of the app.
  • 36. APM (application performance monitoring) system APM helps detect and diagnose deep-level application performance problems to maintain an expected level of service across the board.
  • 37. Should we use real device for testing performance? It is recommended to test mobile app performance on real devices. That's how you could get the actual performance of the app based on the real resource usages.
  • 38. Change in mobile app landscape with advent of 5G ◂ It will bring more customers online. ◂ More business will go online. ◂ 5G will have a lower latency so it will deliver faster results for users and ensure that a seamless interaction happens between the client and server. ◂ More companies in the e-commerce landscape will start leveraging AI/ML capabilities in their mobile apps. ◂ 5G will also help increase the amount of apps that people download.
  • 40. —Ian Molyneaux “If an end user perceives bad performance from your website, his/her next click will likely be on your-competition.com”
  • 41. —Todd DeCapua “Just as athletes can’t win without a sophisticated mixture of strategy, form, attitude, tactics, and speed, performance engineering requires a good collection of metrics and tools to deliver the desired business results.”
  • 42. REFERENCES & FURTHER READS ◂ Apptim Blog. ◂ AppDynamics Blog ◂ Apptim Youtube. ◂ STET Session on Apptim.
  • 43. THANKS! I would be happy to connect: nithin.ss@synapse-qa.com Nithin_Synapse nithin-ss synapse-qa.com