SlideShare a Scribd company logo
D I S C I P L I N E D I N N O VAT I O N
AUTOMATED PERFORMANCE TESTING
FOR DESKTOP APPLICATIONS
CIPRIAN BALEA
THE SCARY QUESTION OF APPLICATION
DEVELOPMENT
How does it perform in real life conditions?
Never as first expected!
BENCHMARKING
Ideally:
• consumming as little resources as possible without loosing
functionality
• the app should not break / slow the system down
What impact does the app have on the system running it?
(is the system still reliable)
How does the app perform when running on the host system?
(does it keep all functionality)
HOW TO PREDICT THE FUTURE?
Run it multiple times, and average out.
A slingle run doesn’t acurately predict real life usage.
HOW TO GET A CREDIBLE RESULT
Avoid inconsistencies induced by the outside world
=> no Internet connection, own webserver & assets
WHAT’S OUR APPLICATION ABOUT
A custom web browser
HARDWARE SETUP
© Copyright 2013 3PILLAR GLOBAL All rights reserved 7
BIG PROBLEM #1: HOW TO KNOW HOW MUCH
THE PAGE TOOK TO LOAD
Small solution:
Based on the HTML content, loading time cannot be computed.
(element loading order is not consistent across multiple runs)
BIG PROBLEM #2: HOW TO READ SYSTEM
RESOURCE USAGE WITHOUT 3RD PARY TOOLS
Small solution (a):
BIG PROBLEM #2: HOW TO READ SYSTEM
RESOURCE USAGE WITHOUT 3RD PARY TOOLS
Small solution (b)
BIG PROBLEM #3: HOW TO MANIPULATE THE
APPLICATION’S GUI
Small solution:
WHAT DATA WE COLLECT
Test 1
• Webpage load time
• CPU usage
• Memory usage
• Disk I/O
Test 2
• Timing a „complex” operation
TEST 1:
READING SYSTEM STATISTICS
HOW IS THE DATA COLLECTED
Not at the start of the game
Not at the end of the game
Throughout
the entire game
HOW IS THE DATA COLLECTED
RUNNING THE TEST
One test sequence:
• clear cache
• open the browser
• start reading system data
• load webpage
• close the browser
• save result in an Excel spreadsheet
Full test:
• restore the “clean” snapshot of the test environment
• automatically run the test sequence for 1000 times on the
native browser
• automatically run the the test sequence for 1000 times on
the custom browser
RUNNING THE TEST
TEST 2:
TIMING A „COMPLEX” OPERATION
„COMPLEX” OPERATION
Open the browser
Load a webpage
Bookmark page
Go to homepage
Open bookmark
Wait for page to load
RESULTS
RESULTS
CONCLUSIONS
It can be automated with an initial effor, but the
returned value is huge.
Offers very concludent results on what needs to be
improved in the application to boost performance.
Performance testing is very important as it can
reveal performance flaws.
Is very time & effor consuming to do manually.
Q & A
THANK YOU !

More Related Content

PDF
Gabriel carabat a healthy approach for test automation
PDF
Ady beleanu automate-theprocessdelivery
PDF
SauceCon 2017: Making Your Mobile App Automatable
PDF
Learnings from Hybrid App Testing Jijesh Mohan
PDF
SauceCon 2017: Building a Continuous Delivery Pipeline with Testing in Mind
PDF
Automation Best Practices
PDF
Key note Manish and Deepa
PDF
Roland van leusden mobile performance testing rtc 2014 v0.6
Gabriel carabat a healthy approach for test automation
Ady beleanu automate-theprocessdelivery
SauceCon 2017: Making Your Mobile App Automatable
Learnings from Hybrid App Testing Jijesh Mohan
SauceCon 2017: Building a Continuous Delivery Pipeline with Testing in Mind
Automation Best Practices
Key note Manish and Deepa
Roland van leusden mobile performance testing rtc 2014 v0.6

What's hot (20)

PPTX
Browser Vendors are Reshaping Testing - Are You Ready?
PPTX
Amalgamation of BDD, parallel execution and mobile automation
PPTX
Testing NodeJS, REST APIs and MongoDB with UFT
PDF
6 Steps to Implementing a World Class Testing Ecosystem Final
PPTX
Best Practices in Mobile CI (webinar)
PDF
SauceCon 2017: Testing @ the Speed of Concurrency
PPT
VodQA_ParallelizingCukes_AmanKing
PDF
ESLint Plugin for UI Tests
PDF
Awesome Test Automation Made Simple w/ Dave Haeffner
PPTX
Testing Your Software Testers
PPTX
Bringing Quality Design Systems to Life with Storybook & Applitools
PPTX
Integrate Visual AI Into Your Appium Scripts in Minutes
PDF
How to Make Your UI Tests Stable, Scalable, and Maintainable
PDF
Mobile Testing Tips - Let's achieve fast feedback loops
PDF
Boston MeetUp 10.10
PDF
Deeper Root Cause Analysis to App Performance Bottlenecks with Appvance APM I...
PDF
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
PPTX
ATAGTR2017 SPEAKING EYE for differently abled people to see the web content
PDF
Common Web UI Problems Transforming Manual to Automation
PDF
Top 5 Features To Look for in a Codeless Automation Solution -- Presentation ...
Browser Vendors are Reshaping Testing - Are You Ready?
Amalgamation of BDD, parallel execution and mobile automation
Testing NodeJS, REST APIs and MongoDB with UFT
6 Steps to Implementing a World Class Testing Ecosystem Final
Best Practices in Mobile CI (webinar)
SauceCon 2017: Testing @ the Speed of Concurrency
VodQA_ParallelizingCukes_AmanKing
ESLint Plugin for UI Tests
Awesome Test Automation Made Simple w/ Dave Haeffner
Testing Your Software Testers
Bringing Quality Design Systems to Life with Storybook & Applitools
Integrate Visual AI Into Your Appium Scripts in Minutes
How to Make Your UI Tests Stable, Scalable, and Maintainable
Mobile Testing Tips - Let's achieve fast feedback loops
Boston MeetUp 10.10
Deeper Root Cause Analysis to App Performance Bottlenecks with Appvance APM I...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
ATAGTR2017 SPEAKING EYE for differently abled people to see the web content
Common Web UI Problems Transforming Manual to Automation
Top 5 Features To Look for in a Codeless Automation Solution -- Presentation ...
Ad

Viewers also liked (7)

PDF
Luis fraile exploratory testing myths ro
PDF
Kiran karnad rtc2014 ghdb-final
PDF
Codruta bunea establishing a test approach for a private cloud environment
PPT
Mentoring embedded testing
PDF
Daniel billing exploring the security testers toolbox
PDF
Jan jaap TMMi facts and figures v2
PDF
Baris sarialioglu testing on the move, mobile testing
Luis fraile exploratory testing myths ro
Kiran karnad rtc2014 ghdb-final
Codruta bunea establishing a test approach for a private cloud environment
Mentoring embedded testing
Daniel billing exploring the security testers toolbox
Jan jaap TMMi facts and figures v2
Baris sarialioglu testing on the move, mobile testing
Ad

Similar to Ciprian balea automated performance-testing (20)

PPSX
Automated Performance Testing for Desktop Applications by Ciprian Balea
PDF
Comprehensive Performance Testing: From Early Dev to Live Production
PDF
Heuristics of performance testing
PDF
Fundamentals Performance Testing
PPTX
Performance testing and j meter overview
PDF
What is Performance Testing? - A Comprehensive Guide
PPTX
Introduction to performance testing
PPTX
Can we do performance testing manually
PPT
performance testing
PPTX
TGT#19 - 3 seconds or less - Piotr Liss
PPTX
Load testing with Visual Studio and Azure - Andrew Siemer
PDF
Show Me the Numbers: Automated Browser
PDF
Mastering performance testing_ a comprehensive guide to optimizing applicatio...
PDF
implementing_ai_for_improved_performance_testing_the_key_to_success.pdf
PDF
How to test performance and not die trying
PDF
Performance Testing Java Applications
PDF
Adding Performance Testing to a Software Development Project
PDF
Accelerate and Streamline Performance Testing with AI-powered Test Automation...
PDF
AtlasCamp 2013: Show Me Number! Automated Browser Performance Testing
PPTX
An Introduction to Performance Testing
Automated Performance Testing for Desktop Applications by Ciprian Balea
Comprehensive Performance Testing: From Early Dev to Live Production
Heuristics of performance testing
Fundamentals Performance Testing
Performance testing and j meter overview
What is Performance Testing? - A Comprehensive Guide
Introduction to performance testing
Can we do performance testing manually
performance testing
TGT#19 - 3 seconds or less - Piotr Liss
Load testing with Visual Studio and Azure - Andrew Siemer
Show Me the Numbers: Automated Browser
Mastering performance testing_ a comprehensive guide to optimizing applicatio...
implementing_ai_for_improved_performance_testing_the_key_to_success.pdf
How to test performance and not die trying
Performance Testing Java Applications
Adding Performance Testing to a Software Development Project
Accelerate and Streamline Performance Testing with AI-powered Test Automation...
AtlasCamp 2013: Show Me Number! Automated Browser Performance Testing
An Introduction to Performance Testing

More from Romania Testing (10)

PDF
Stephen janaway mobile testing - that's just a smaller screen, right
PDF
Rene tuinhout passionate dating for testers and vice versa
PDF
Georgi hristov continuous integration-for mobile test automation
PDF
Andy glover - Artist within everyone
PDF
Andy glover - Visual Testing Workshop
PDF
Adrian bolboaca sherlock holmesandpairing-adibolboaca
PDF
Stephen blower inspiring testers - rtc2014
ODP
Testing-as-a-service on demand
PDF
10 Lessons learned in test automation
PPT
Programming skills for test automation
Stephen janaway mobile testing - that's just a smaller screen, right
Rene tuinhout passionate dating for testers and vice versa
Georgi hristov continuous integration-for mobile test automation
Andy glover - Artist within everyone
Andy glover - Visual Testing Workshop
Adrian bolboaca sherlock holmesandpairing-adibolboaca
Stephen blower inspiring testers - rtc2014
Testing-as-a-service on demand
10 Lessons learned in test automation
Programming skills for test automation

Recently uploaded (20)

PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PPTX
The various Industrial Revolutions .pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
project resource management chapter-09.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
1. Introduction to Computer Programming.pptx
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
Tartificialntelligence_presentation.pptx
DP Operators-handbook-extract for the Mautical Institute
A contest of sentiment analysis: k-nearest neighbor versus neural network
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
cloud_computing_Infrastucture_as_cloud_p
Univ-Connecticut-ChatGPT-Presentaion.pdf
Final SEM Unit 1 for mit wpu at pune .pptx
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
1 - Historical Antecedents, Social Consideration.pdf
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
The various Industrial Revolutions .pptx
Hindi spoken digit analysis for native and non-native speakers
project resource management chapter-09.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
TLE Review Electricity (Electricity).pptx
1. Introduction to Computer Programming.pptx
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
A comparative study of natural language inference in Swahili using monolingua...
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Tartificialntelligence_presentation.pptx

Ciprian balea automated performance-testing

  • 1. D I S C I P L I N E D I N N O VAT I O N AUTOMATED PERFORMANCE TESTING FOR DESKTOP APPLICATIONS CIPRIAN BALEA
  • 2. THE SCARY QUESTION OF APPLICATION DEVELOPMENT How does it perform in real life conditions? Never as first expected!
  • 3. BENCHMARKING Ideally: • consumming as little resources as possible without loosing functionality • the app should not break / slow the system down What impact does the app have on the system running it? (is the system still reliable) How does the app perform when running on the host system? (does it keep all functionality)
  • 4. HOW TO PREDICT THE FUTURE? Run it multiple times, and average out. A slingle run doesn’t acurately predict real life usage.
  • 5. HOW TO GET A CREDIBLE RESULT Avoid inconsistencies induced by the outside world => no Internet connection, own webserver & assets
  • 6. WHAT’S OUR APPLICATION ABOUT A custom web browser
  • 7. HARDWARE SETUP © Copyright 2013 3PILLAR GLOBAL All rights reserved 7
  • 8. BIG PROBLEM #1: HOW TO KNOW HOW MUCH THE PAGE TOOK TO LOAD Small solution: Based on the HTML content, loading time cannot be computed. (element loading order is not consistent across multiple runs)
  • 9. BIG PROBLEM #2: HOW TO READ SYSTEM RESOURCE USAGE WITHOUT 3RD PARY TOOLS Small solution (a):
  • 10. BIG PROBLEM #2: HOW TO READ SYSTEM RESOURCE USAGE WITHOUT 3RD PARY TOOLS Small solution (b)
  • 11. BIG PROBLEM #3: HOW TO MANIPULATE THE APPLICATION’S GUI Small solution:
  • 12. WHAT DATA WE COLLECT Test 1 • Webpage load time • CPU usage • Memory usage • Disk I/O Test 2 • Timing a „complex” operation
  • 14. HOW IS THE DATA COLLECTED Not at the start of the game Not at the end of the game Throughout the entire game
  • 15. HOW IS THE DATA COLLECTED
  • 16. RUNNING THE TEST One test sequence: • clear cache • open the browser • start reading system data • load webpage • close the browser • save result in an Excel spreadsheet Full test: • restore the “clean” snapshot of the test environment • automatically run the test sequence for 1000 times on the native browser • automatically run the the test sequence for 1000 times on the custom browser
  • 18. TEST 2: TIMING A „COMPLEX” OPERATION
  • 19. „COMPLEX” OPERATION Open the browser Load a webpage Bookmark page Go to homepage Open bookmark Wait for page to load
  • 22. CONCLUSIONS It can be automated with an initial effor, but the returned value is huge. Offers very concludent results on what needs to be improved in the application to boost performance. Performance testing is very important as it can reveal performance flaws. Is very time & effor consuming to do manually.
  • 23. Q & A