CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
Run the load down your mobile app
1. Hello!
Nice to meet you!
• I am Christina Thalayasingam
• Senior Quality Engineer (Test Automation) at Sysco
LABS.
• 4 years in Test Automation
• Currently working solely with Selenium and Apache
Jmeter.
• Spoken at various Technical Test Meetups and also at
Selenium Conf ‘16, London, Selenium Conf ‘17, Austin,
Texas and at the Colombo Test Automation Conference
2017.
Find me at:
@ChristinaThalay
2.
3.
4. Run the load down your mobile
appChristina Thalayasingam
5. • Importance of Mobile Performance Testing
• Aspects of Mobile Performance Testing
• Testing Backend response performance
• Device and Network Performance
• Demos
SELENIUM CONFERENCE CHICAGO - 2018
AGENDA
6. Source : Dimensional Research , A MOBILE APP USER SURVEY - Feb 2015
SELENIUM CONFERENCE CHICAGO - 2018
7. Source : Dimensional Research , A MOBILE APP USER SURVEY - Feb 2015
SELENIUM CONFERENCE CHICAGO - 2018
9. Desktop Mobile
Client “Standard” Browser Multitude of clients
Technology HTML HTML / Native
Bandwidth Fast (1-20 Mb/s)
Slow (0.1 Mb/s and
up)
Latency
Small (less than
100ms)
Large (100-1000ms)
Visual Feedback Immediate
After data has
loaded*
MOBILE vs WEB (CHALLENGES)
SELENIUM CONFERENCE CHICAGO - 2018
10. • Application performance on a mobile phone or any smart device
is usually measured in following three categories.
↳ Server/API Performance
↳ Device Performance
↳ Network Performance
MOBILE PERFORMANCE TESTING
ASPECTS
SELENIUM CONFERENCE CHICAGO - 2018
15. • Record the Mobile User Scenario
↳ Install Certificate for Secure Requests
↳ Make Mobile work on proxy
• Configure Test Parameters
• Run Load Test
• Analyze The Results
LOAD TESTING STEPS
SERVER/API PERFORMANCE
18. • App Start-Up
• Battery Time while using an app
• Memory Consumption
• Hardware/Software Variation
• Usage with Other Apps
• App in background
• Server Down Time
DEVICE PERFORMANCE
DEVICE PERFORMANCE
22. • driver.getPerformanceData("<package>", "<perf type>", <timeout>);
• <package> is the package of your AUT (or any other app you wish
to profile).
• <perf type> is what kind of performance data you want. For the time
being,
↳ they are: cpuinfo, memoryinfo, batteryinfo, and networkinfo.
• <timeout> is an integer denoting the number of seconds Appium
will poll for performance data if it is not immediately available.
PERFORMANCE TEST FOR ANDROID APPS WITH
APPIUM
List<List<Object>> data = driver.getPerformanceData("io.appium.android.apis", "memoryinfo", 10);
SELENIUM CONFERENCE CHICAGO - 2018
29. Thank you very much for
your time
If you have any questions please don’t
hesitate to contact me at:
▪ www.thalayasingamchristina.wordpress.com
▪ @ChristinaThalay