SlideShare una empresa de Scribd logo
1 de 29
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
Run the load down your mobile
appChristina Thalayasingam
• Importance of Mobile Performance Testing
• Aspects of Mobile Performance Testing
• Testing Backend response performance
• Device and Network Performance
• Demos
SELENIUM CONFERENCE CHICAGO - 2018
AGENDA
Source : Dimensional Research , A MOBILE APP USER SURVEY - Feb 2015
SELENIUM CONFERENCE CHICAGO - 2018
Source : Dimensional Research , A MOBILE APP USER SURVEY - Feb 2015
SELENIUM CONFERENCE CHICAGO - 2018
SELENIUM CONFERENCE CHICAGO - 2018
Source : Dimensional Research , A MOBILE APP USER SURVEY - Feb 2015
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
• 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
SERVER/API PERFORMANCE
• Data to and from server
• API Calls Generated from App
• Server Down Time
SERVER/API PERFORMANCE
SERVER/API PERFORMANCE
SERVER/API PERFORMANCE
Back End
Apache
Tomcat
node.js
.NET
Mobile App
HTTP Request
HTTP
Response
SERVER/API PERFORMANCE
Back End
Apache
Tomcat
node.js
.NET
Recorder
HTTP Request
HTTP
Response
Mobile App
HTTP Request
HTTP
Response
Back End
• 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
MOBILE APP TEST WITH JMETER
DEMO
DEVICE PERFORMANCE
• 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
NETWORK PERFORMANCE
• Jitters
• Packet Loss
• Network Speed
NETWORK PERFORMANCE
NETWORK PERFORMACE
PERFORMANCE TEST FOR ANDROID APPS WITH
APPIUM
DEMO
• 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
PERFORMANCE DATA FOR iOS APPS WITH
APPIUM
DEMO
• Start appium – “appium --relaxed-security”
• driver.executeScript("mobile: startPerfRecord", args);
• String b64Zip = (String)driver.executeScript("mobile: stopPerfRecord",
args);
PERFORMANCE DATA FOR iOS APPS WITH APPIUM
SELENIUM CONFERENCE CHICAGO - 2018
• https://jmeter.apache.org/
• https://appiumpro.com/
• http://BlazeMeter.com/blog/
SOURCES
SELENIUM CONFERENCE CHICAGO - 2018
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

Más contenido relacionado

La actualidad más candente

Modern Tools for API Testing, Debugging and Monitoring
Modern Tools for API Testing, Debugging and MonitoringModern Tools for API Testing, Debugging and Monitoring
Modern Tools for API Testing, Debugging and MonitoringNeil Mansilla
 
Evaluating and Testing Web APIs
Evaluating and Testing Web APIsEvaluating and Testing Web APIs
Evaluating and Testing Web APIsSmartBear
 
Speed upyourtest with_appium
Speed upyourtest with_appiumSpeed upyourtest with_appium
Speed upyourtest with_appiumVodqaBLR
 
ATAGTR2017 Testing of Connected Cars Based on IOT
ATAGTR2017 Testing of Connected Cars Based on IOTATAGTR2017 Testing of Connected Cars Based on IOT
ATAGTR2017 Testing of Connected Cars Based on IOTAgile Testing Alliance
 
An introduction to api testing | David Tzemach
An introduction to api testing | David TzemachAn introduction to api testing | David Tzemach
An introduction to api testing | David TzemachDavid Tzemach
 
Quality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI TestingQuality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI TestingSauce Labs
 
Super powered API testing
Super powered API testing Super powered API testing
Super powered API testing postmanclient
 
API Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonAPI Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonTEST Huddle
 
Using Postman to Test OAuth/OIDC
Using Postman to Test OAuth/OIDCUsing Postman to Test OAuth/OIDC
Using Postman to Test OAuth/OIDCPostman
 
Getting Ahead of Engineering
Getting Ahead of EngineeringGetting Ahead of Engineering
Getting Ahead of EngineeringPostman
 
4 Major Advantages of API Testing
4 Major Advantages of API Testing4 Major Advantages of API Testing
4 Major Advantages of API TestingQASource
 
Testing APIs in the Cloud
Testing APIs in the CloudTesting APIs in the Cloud
Testing APIs in the CloudSmartBear
 
API Test Automation Tips and Tricks
API Test Automation Tips and TricksAPI Test Automation Tips and Tricks
API Test Automation Tips and Trickstesthive
 
Postman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenarioPostman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenarioHYS Enterprise
 
Peeling the Onion: Making Sense of the Layers of API Security
Peeling the Onion: Making Sense of the Layers of API SecurityPeeling the Onion: Making Sense of the Layers of API Security
Peeling the Onion: Making Sense of the Layers of API SecurityMatt Tesauro
 
10x Test Coverage, Less Drama: Shift Left Functional & Performance Testing
10x Test Coverage, Less Drama: Shift Left Functional & Performance Testing10x Test Coverage, Less Drama: Shift Left Functional & Performance Testing
10x Test Coverage, Less Drama: Shift Left Functional & Performance TestingSauce Labs
 

La actualidad más candente (20)

Modern Tools for API Testing, Debugging and Monitoring
Modern Tools for API Testing, Debugging and MonitoringModern Tools for API Testing, Debugging and Monitoring
Modern Tools for API Testing, Debugging and Monitoring
 
Evaluating and Testing Web APIs
Evaluating and Testing Web APIsEvaluating and Testing Web APIs
Evaluating and Testing Web APIs
 
Speed upyourtest with_appium
Speed upyourtest with_appiumSpeed upyourtest with_appium
Speed upyourtest with_appium
 
ATAGTR2017 Testing of Connected Cars Based on IOT
ATAGTR2017 Testing of Connected Cars Based on IOTATAGTR2017 Testing of Connected Cars Based on IOT
ATAGTR2017 Testing of Connected Cars Based on IOT
 
An introduction to api testing | David Tzemach
An introduction to api testing | David TzemachAn introduction to api testing | David Tzemach
An introduction to api testing | David Tzemach
 
Api testing
Api testingApi testing
Api testing
 
Quality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI TestingQuality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI Testing
 
Super powered API testing
Super powered API testing Super powered API testing
Super powered API testing
 
Belajar Postman test runner
Belajar Postman test runnerBelajar Postman test runner
Belajar Postman test runner
 
API Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonAPI Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj Rollison
 
Using Postman to Test OAuth/OIDC
Using Postman to Test OAuth/OIDCUsing Postman to Test OAuth/OIDC
Using Postman to Test OAuth/OIDC
 
Getting Ahead of Engineering
Getting Ahead of EngineeringGetting Ahead of Engineering
Getting Ahead of Engineering
 
4 Major Advantages of API Testing
4 Major Advantages of API Testing4 Major Advantages of API Testing
4 Major Advantages of API Testing
 
Testing APIs in the Cloud
Testing APIs in the CloudTesting APIs in the Cloud
Testing APIs in the Cloud
 
API Test Automation Tips and Tricks
API Test Automation Tips and TricksAPI Test Automation Tips and Tricks
API Test Automation Tips and Tricks
 
Postman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenarioPostman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenario
 
Peeling the Onion: Making Sense of the Layers of API Security
Peeling the Onion: Making Sense of the Layers of API SecurityPeeling the Onion: Making Sense of the Layers of API Security
Peeling the Onion: Making Sense of the Layers of API Security
 
Paper CS
Paper CSPaper CS
Paper CS
 
10x Test Coverage, Less Drama: Shift Left Functional & Performance Testing
10x Test Coverage, Less Drama: Shift Left Functional & Performance Testing10x Test Coverage, Less Drama: Shift Left Functional & Performance Testing
10x Test Coverage, Less Drama: Shift Left Functional & Performance Testing
 
Postman
PostmanPostman
Postman
 

Similar a Run the load down your mobile app

CMG imPACt2016 - Mobile performance testing - Vendor training - Federico Tole...
CMG imPACt2016 - Mobile performance testing - Vendor training - Federico Tole...CMG imPACt2016 - Mobile performance testing - Vendor training - Federico Tole...
CMG imPACt2016 - Mobile performance testing - Vendor training - Federico Tole...Federico Toledo
 
Mobile Automation with Appium
Mobile Automation with AppiumMobile Automation with Appium
Mobile Automation with AppiumManoj Kumar Kumar
 
STARWest: Use Jenkins For Continuous 
Load Testing And Mobile Test Automation
STARWest: Use Jenkins For Continuous 
Load Testing And Mobile Test AutomationSTARWest: Use Jenkins For Continuous 
Load Testing And Mobile Test Automation
STARWest: Use Jenkins For Continuous 
Load Testing And Mobile Test AutomationClever Moe
 
Continuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile DevelopmentContinuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile DevelopmentDynatrace
 
Automated Testing Using Selenium
Automated Testing Using SeleniumAutomated Testing Using Selenium
Automated Testing Using SeleniumTechWell
 
How to Build Single Page HTML5 Apps that Scale
How to Build Single Page HTML5 Apps that ScaleHow to Build Single Page HTML5 Apps that Scale
How to Build Single Page HTML5 Apps that ScalePhil Leggetter
 
Use Jenkins For Continuous Load Testing And Mobile Test Automation
Use Jenkins For Continuous Load Testing And Mobile Test AutomationUse Jenkins For Continuous Load Testing And Mobile Test Automation
Use Jenkins For Continuous Load Testing And Mobile Test AutomationClever Moe
 
10 Emerging Test Frameworks for Cross Browser Testing
10 Emerging Test Frameworks for Cross Browser Testing10 Emerging Test Frameworks for Cross Browser Testing
10 Emerging Test Frameworks for Cross Browser TestingPerfecto by Perforce
 
Testing for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration MondayTesting for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration MondayBizTalk360
 
Continuous Integration, Deploy, Test From Beginning To End 2014
Continuous Integration, Deploy, Test From Beginning To End 2014Continuous Integration, Deploy, Test From Beginning To End 2014
Continuous Integration, Deploy, Test From Beginning To End 2014Clever Moe
 
Functional Testing of RESTful Applications
Functional Testing of RESTful ApplicationsFunctional Testing of RESTful Applications
Functional Testing of RESTful ApplicationsNenad Bozic
 
End to End Testing with Quality Enthusiasts: SDET Technologies
End to End Testing with Quality Enthusiasts: SDET TechnologiesEnd to End Testing with Quality Enthusiasts: SDET Technologies
End to End Testing with Quality Enthusiasts: SDET Technologiessdettech
 
Operating a High Velocity Large Organization with Spring Cloud Microservices
Operating a High Velocity Large Organization with Spring Cloud MicroservicesOperating a High Velocity Large Organization with Spring Cloud Microservices
Operating a High Velocity Large Organization with Spring Cloud MicroservicesNoriaki Tatsumi
 
Building an Open Source AppSec Pipeline - 2015 Texas Linux Fest
Building an Open Source AppSec Pipeline - 2015 Texas Linux FestBuilding an Open Source AppSec Pipeline - 2015 Texas Linux Fest
Building an Open Source AppSec Pipeline - 2015 Texas Linux FestMatt Tesauro
 
Continuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile DevelopmentContinuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile DevelopmentNeotys
 
Systematic Load Testing of Web Applications
Systematic Load Testing of Web ApplicationsSystematic Load Testing of Web Applications
Systematic Load Testing of Web ApplicationsJürg Stuker
 
Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]Munirathnam Naidu
 

Similar a Run the load down your mobile app (20)

CMG imPACt2016 - Mobile performance testing - Vendor training - Federico Tole...
CMG imPACt2016 - Mobile performance testing - Vendor training - Federico Tole...CMG imPACt2016 - Mobile performance testing - Vendor training - Federico Tole...
CMG imPACt2016 - Mobile performance testing - Vendor training - Federico Tole...
 
Mobile Automation with Appium
Mobile Automation with AppiumMobile Automation with Appium
Mobile Automation with Appium
 
STARWest: Use Jenkins For Continuous 
Load Testing And Mobile Test Automation
STARWest: Use Jenkins For Continuous 
Load Testing And Mobile Test AutomationSTARWest: Use Jenkins For Continuous 
Load Testing And Mobile Test Automation
STARWest: Use Jenkins For Continuous 
Load Testing And Mobile Test Automation
 
Continuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile DevelopmentContinuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile Development
 
Automated Testing Using Selenium
Automated Testing Using SeleniumAutomated Testing Using Selenium
Automated Testing Using Selenium
 
How to Build Single Page HTML5 Apps that Scale
How to Build Single Page HTML5 Apps that ScaleHow to Build Single Page HTML5 Apps that Scale
How to Build Single Page HTML5 Apps that Scale
 
Use Jenkins For Continuous Load Testing And Mobile Test Automation
Use Jenkins For Continuous Load Testing And Mobile Test AutomationUse Jenkins For Continuous Load Testing And Mobile Test Automation
Use Jenkins For Continuous Load Testing And Mobile Test Automation
 
Performance testing
Performance testingPerformance testing
Performance testing
 
10 Emerging Test Frameworks for Cross Browser Testing
10 Emerging Test Frameworks for Cross Browser Testing10 Emerging Test Frameworks for Cross Browser Testing
10 Emerging Test Frameworks for Cross Browser Testing
 
Testing for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration MondayTesting for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration Monday
 
Continuous Integration, Deploy, Test From Beginning To End 2014
Continuous Integration, Deploy, Test From Beginning To End 2014Continuous Integration, Deploy, Test From Beginning To End 2014
Continuous Integration, Deploy, Test From Beginning To End 2014
 
Functional Testing of RESTful Applications
Functional Testing of RESTful ApplicationsFunctional Testing of RESTful Applications
Functional Testing of RESTful Applications
 
TechTalk: Getting to Know Perfecto
TechTalk: Getting to Know PerfectoTechTalk: Getting to Know Perfecto
TechTalk: Getting to Know Perfecto
 
End to End Testing with Quality Enthusiasts: SDET Technologies
End to End Testing with Quality Enthusiasts: SDET TechnologiesEnd to End Testing with Quality Enthusiasts: SDET Technologies
End to End Testing with Quality Enthusiasts: SDET Technologies
 
Operating a High Velocity Large Organization with Spring Cloud Microservices
Operating a High Velocity Large Organization with Spring Cloud MicroservicesOperating a High Velocity Large Organization with Spring Cloud Microservices
Operating a High Velocity Large Organization with Spring Cloud Microservices
 
Building an Open Source AppSec Pipeline - 2015 Texas Linux Fest
Building an Open Source AppSec Pipeline - 2015 Texas Linux FestBuilding an Open Source AppSec Pipeline - 2015 Texas Linux Fest
Building an Open Source AppSec Pipeline - 2015 Texas Linux Fest
 
TechTalk: Get to Know Perfecto
TechTalk: Get to Know Perfecto TechTalk: Get to Know Perfecto
TechTalk: Get to Know Perfecto
 
Continuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile DevelopmentContinuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile Development
 
Systematic Load Testing of Web Applications
Systematic Load Testing of Web ApplicationsSystematic Load Testing of Web Applications
Systematic Load Testing of Web Applications
 
Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]
 

Último

BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceanilsa9823
 
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Pooja Nehwal
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPsychicRuben LoveSpells
 
9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7Pooja Nehwal
 
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRnishacall1
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceanilsa9823
 

Último (7)

BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
 
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
 
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
 
9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7
 
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
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
  • 8. SELENIUM CONFERENCE CHICAGO - 2018 Source : Dimensional Research , A MOBILE APP USER SURVEY - Feb 2015
  • 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
  • 12. • Data to and from server • API Calls Generated from App • Server Down Time SERVER/API PERFORMANCE SERVER/API PERFORMANCE
  • 14. SERVER/API PERFORMANCE Back End Apache Tomcat node.js .NET Recorder HTTP Request HTTP Response Mobile App HTTP Request HTTP Response Back End
  • 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
  • 16. MOBILE APP TEST WITH JMETER DEMO
  • 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
  • 20. • Jitters • Packet Loss • Network Speed NETWORK PERFORMANCE NETWORK PERFORMACE
  • 21. PERFORMANCE TEST FOR ANDROID APPS WITH APPIUM DEMO
  • 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
  • 23. PERFORMANCE DATA FOR iOS APPS WITH APPIUM DEMO
  • 24. • Start appium – “appium --relaxed-security” • driver.executeScript("mobile: startPerfRecord", args); • String b64Zip = (String)driver.executeScript("mobile: stopPerfRecord", args); PERFORMANCE DATA FOR iOS APPS WITH APPIUM SELENIUM CONFERENCE CHICAGO - 2018
  • 25.
  • 26.
  • 27.
  • 28. • https://jmeter.apache.org/ • https://appiumpro.com/ • http://BlazeMeter.com/blog/ SOURCES 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