[DevDay2019] Power of Test Automation and DevOps combination - One click saving your days! - By Toan Le, Engineering Manager at KMS Technology Vietnam

DevDay.org
DevDay.orgDevDay.org
Power of DevOps in Test Automation
My story to enable
One click saving your days
Engineering Manager at KMS Technology
TOAN LE
ABOUT ME
• A tester with 8+ years of experience in various
testing types and domains
• Managing a team of 30+ members doing
Software Development, Test Automation,
Performance Test and DevOps for a legacy
system of Scientific Data Management
• Our Test Automation Team has 20+ QA and
DevOps engineers, we are using Katalon Studio
to automate various testing types and execute
them on AWS streamlined by Jenkins pipelines
OBJECTIVES
Today, I’m going to share with you my story to enable DevOps solutions in Test
Automation that can help to save a lot of our time and effort as well as to maximize
the ROI of our test automation.
Continuous Testing
How DevOps helps?
My Lesson Learn in Automated Testing.
What If?
My Old Days
Lesson
Power of
DevOps in
Test
Automation
AGENDA
Past
Solution
Take
away
Test environment created and managed by client
Test servers and execution nodes had to run 24/7
Developers helped to create and deploy new builds
INFRASTRUCTURE
TEST EXECUTION
TEST REPORTING
We started with a team of 3 testers to develop
automated tests within Katalon Studio and delivered
to client for execution. The client then send back to
us the reports of failed test cases, our testers will
analyze those reports and tell them if any new big
encountered with those tests. The execution
frequency was not high and it took time to go back
and forth.
Tests were not executed frequently (weekly)
Tests takes long time to complete (5000 test
runs)
Unable to test against multiple versions at same
time
High flaky test rate of UI tests (5-10%)
Test results were not centralized, took time to
collect results from different nodes
Not easy to access test results of previous builds
Took too much time to analyze and categorize
failed test cases even with known issues
ROI OF TEST AUTOMATION IS LOW
MY OLD DAYS
INFRASTRUCTURE FREQUENCY FLAKY TEST KNOWN ISSUES
More
dependencies on
infrastructure will
limit the execution
frequency and
utilization
Less frequently
executing tests will
lead to low ROI of
test automation
since it does not
utilize much
repeated works
saving by
automated tests
The higher flaky
test rate, the less
reliability of
automated testing
as it requires more
time and effort to
analyze failures
Difficulty in
accessing to
historial testing
data will waste
more time and
effort in analyzing
test cases failed
because of known
issues
STREAMLINE
Deployment and
execution cycle
that is not
streamlined and
fully automated
will require weird
manual effort by
human
MY LESSON LEARNT IN AUTOMATED
TESTING
MY LESSON LEARN IN AUTOMATED
TESTING
WHAT IF?
The entire test environments including servers and
clients are completely managed by automated
pipelines and CLI/API
INFRASTRUCTURE AS A SERVICE
STREAMLINE
HISTORICAL DATA
TEST ANALYTICS
Test execution is fully streamlined and automated,
able to run dynamic requests of testing and test
against multiple product versions more frequently
Test results are centralized and historical testing
data is accessible at any time
Test failures and known issues are automatically
captured, quality trends and other test-related
analysis can be visualized and instantly reported to
stakeholders
The more tests are executed
The more time is saved
The more value returned on investment
into test automation
Our suggested DevOps solutions to accelerate Test Operation in automated testing
HOW DEVOPS HELPS?
Create builds
Run important API integration
tests within Docker containers
Publish build artifacts
MANAGE INFRASTRUCTURE WITH AWS
ScalingDeploymentBuilding
Create servers (Beanstalk)
Create database (RDS)
Deploy build to server (S3)
Create execution nodes
Dynamic number of servers
Dynamic data set
Dynamic number of execution
nodes
Dynamic system
configuration
Build is automatically
created and validated
Environments are ready
for testing within 20
mins
Environments are
scalable and
configurable
Tests are distributed to
different servers and nodes
with a balancer
Tests can be executed in
parallel
MANAGE TEST EXECUTION WITH
JENKINS PIPELINE
Re-testing Unknown
Failures
Re-trying Failed TCsTest Distribution
Re-try failed test cases on
same environment (supported
by Katalon)
Analyze and query test cases
failed with unknown reason
Re-deploy new environments
and re-test failed test cases
Reduce execution
time of entire build
Reduce failures due to
network issue
Reduce failures due to
environmental issues
All relevant attributes of
testing are captured and
stored in DB
Historical testing data is
accessible at any time
MANAGE TEST RESULTS WITH
CUSTOM REPORTING TOOL
Auto-AnalysisConsolidate ResultsTrack Relevant Data
Collect all results of one test
case for same build on
different servers and nodes
Consolidate into one test
report
Automatically analyze failed
test cases based on historical
data
Copy test analysis from
previous builds for same fail
reasons
Compare with common errors
Raw testing data is
tracked as much as
possible
Test results are in one
place
No need to analyze
known issues
Note: This tool has been developed by our testers within this project, you can also use a similar tool as an
alternative, access ReportPortal.io for more details.
COMMON TEST ATTRIBUTES
Re-test
Test
Deplo
y
Collect and analyze test reports
Filter test cases failed due to
unknown reasons
Verify environment health
Filter test cases to be executed
Notify test starting
Instant update
to QA and
stakeholders
Deploy and re-
test unknown
failures
Distribute and
execute tests
Re-analyze entire build with new test results
Notify QA to manually analyze new issues
Build and Deploy Report
ALL-IN-ONE SOLUTION
Full test execution cycle
Build and deployment cycle
ALL-IN-ONE SOLUTION
Group test execution Test execution on one server
ALL-IN-ONE SOLUTION
REAL-TIME TEST REPORT VISUALIZATION
OUR
RESULTS
By combining DevOps solutions into Test Automation project,
we have achieved significant improvement in our Automated
Testing. That make our client happier, our QAs have more time
to focus on other more important testing activities and our
Developers have more confidence to change the product in
order to achieve greater goals. This combination also enables
us in Continuous Testing and to be much closer to Continuous
Delivery model.
 5000 test runs
finished within 12
hours
 Support up to 4
different builds per day
 Reduce up to 95%
flaky tests
 Save days of analyzing
failed test cases
 One click to trigger the
whole testing process
Build
Deploy
Test
Report
In order to streamline and
automate your
deployment process, you
may need to choose a
cloud service to manage
your test environments
(e.g. AWS).
Cloud Services
A Test Automation tool
that supports various
types of testing such as
UI, API, mobile as well as
a good CLI will help you to
control the whole testing
process (e.g. Katalon
Studio)
Test Automation
Tools
The whole test operation
process include interactions
with many parties, you will
need a Continuous
Integration tool support that
process (e.g. Jenkins
pipelines)
CI Tools
A Test Automation project
should go with a good
Reporting Tool that will help
to track and manage
historical testing data and
free yourselves from
repeated works (e.g.
ReportPortal.io)
Reporting Tools
CONTINUOUS
TESTING
Investment on DevOps solutions to put all those tools into one place is the key to
establish Continuous Testing and to increase ROI of your Test Automation
CONTINUOUS TESTING
Send me a message
whenever you need more
sharing on this topic.
KMS Technology
28 Truong Son, W.12, D. Tan Binh,
HCMC
toanle@kms-technology.com
CONTACT ME
THANKS FOR COMING
Inspiring IT Movement - Sharing makes us stronger
ON BEHALF OF DEVDAY 2019
ORGANIZERS
1 of 21

Recommended

qTest 7.4: New Features by
qTest 7.4: New FeaturesqTest 7.4: New Features
qTest 7.4: New FeaturesQASymphony
612 views26 slides
Case Coriant Tellabs - Agile Testing Implementation 22.5.2014 by
Case Coriant Tellabs - Agile Testing Implementation 22.5.2014Case Coriant Tellabs - Agile Testing Implementation 22.5.2014
Case Coriant Tellabs - Agile Testing Implementation 22.5.2014Knowit Oy
1.2K views10 slides
QTest by
QTest QTest
QTest Sun Technlogies
1.6K views8 slides
Continuous testing webinar 041017 slideshare by
Continuous testing webinar 041017 slideshareContinuous testing webinar 041017 slideshare
Continuous testing webinar 041017 slideshareQualiQuali
614 views33 slides
Continuous integration testing fundamentals by
Continuous integration testing fundamentalsContinuous integration testing fundamentals
Continuous integration testing fundamentalsCygnet Infotech
25.8K views14 slides
Relieveing the Testing Bottle Neck - Webinar by
Relieveing the Testing Bottle Neck - WebinarRelieveing the Testing Bottle Neck - Webinar
Relieveing the Testing Bottle Neck - WebinarCprime
930 views35 slides

More Related Content

What's hot

Top Chrome Extensions for Software Testing by
Top Chrome Extensions for Software TestingTop Chrome Extensions for Software Testing
Top Chrome Extensions for Software TestingKanoah
1.1K views23 slides
Testing a Microservices Architecture by
Testing a Microservices ArchitectureTesting a Microservices Architecture
Testing a Microservices ArchitectureParasoft
690 views27 slides
The Key to DevOps? Testing Early in the Pipeline by
The Key to DevOps? Testing Early in the PipelineThe Key to DevOps? Testing Early in the Pipeline
The Key to DevOps? Testing Early in the PipelineDevOps.com
203 views38 slides
Performance Testing Terms by
Performance Testing Terms Performance Testing Terms
Performance Testing Terms Apica
634 views18 slides
Neotys PAC 2018 - Bruno Da Silva by
Neotys PAC 2018 - Bruno Da SilvaNeotys PAC 2018 - Bruno Da Silva
Neotys PAC 2018 - Bruno Da SilvaNeotys_Partner
348 views14 slides
Pairwise testing by
Pairwise testingPairwise testing
Pairwise testingKanoah
2.2K views28 slides

What's hot(20)

Top Chrome Extensions for Software Testing by Kanoah
Top Chrome Extensions for Software TestingTop Chrome Extensions for Software Testing
Top Chrome Extensions for Software Testing
Kanoah1.1K views
Testing a Microservices Architecture by Parasoft
Testing a Microservices ArchitectureTesting a Microservices Architecture
Testing a Microservices Architecture
Parasoft690 views
The Key to DevOps? Testing Early in the Pipeline by DevOps.com
The Key to DevOps? Testing Early in the PipelineThe Key to DevOps? Testing Early in the Pipeline
The Key to DevOps? Testing Early in the Pipeline
DevOps.com203 views
Performance Testing Terms by Apica
Performance Testing Terms Performance Testing Terms
Performance Testing Terms
Apica634 views
Neotys PAC 2018 - Bruno Da Silva by Neotys_Partner
Neotys PAC 2018 - Bruno Da SilvaNeotys PAC 2018 - Bruno Da Silva
Neotys PAC 2018 - Bruno Da Silva
Neotys_Partner348 views
Pairwise testing by Kanoah
Pairwise testingPairwise testing
Pairwise testing
Kanoah2.2K views
Team Foundation Server 2010 - Overview by Steve Lange
Team Foundation Server 2010 - OverviewTeam Foundation Server 2010 - Overview
Team Foundation Server 2010 - Overview
Steve Lange5.7K views
Using Crowdsourced Testing to Turbocharge your Development Team by Rainforest QA
Using Crowdsourced Testing to Turbocharge your Development TeamUsing Crowdsourced Testing to Turbocharge your Development Team
Using Crowdsourced Testing to Turbocharge your Development Team
Rainforest QA716 views
qawithmicrosofttestmanagerandlabmanagement by sunil singh
qawithmicrosofttestmanagerandlabmanagementqawithmicrosofttestmanagerandlabmanagement
qawithmicrosofttestmanagerandlabmanagement
sunil singh81 views
QA Strategies for Testing Legacy Web Apps by Rainforest QA
QA Strategies for Testing Legacy Web AppsQA Strategies for Testing Legacy Web Apps
QA Strategies for Testing Legacy Web Apps
Rainforest QA697 views
What-is-RainforestQA-InfoSheet by Kevin Woods
What-is-RainforestQA-InfoSheetWhat-is-RainforestQA-InfoSheet
What-is-RainforestQA-InfoSheet
Kevin Woods68 views
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai... by Edureka!
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...
Edureka!474 views
Webinar: DevOps challenges facing QA by Qualitest
Webinar: DevOps challenges facing QAWebinar: DevOps challenges facing QA
Webinar: DevOps challenges facing QA
Qualitest1.1K views
How Agile Are you by Heaton Cai
How Agile Are youHow Agile Are you
How Agile Are you
Heaton Cai29 views
Ashwini - Effective use of CI by QA by vodQA
Ashwini - Effective use of CI by QAAshwini - Effective use of CI by QA
Ashwini - Effective use of CI by QA
vodQA1.2K views
The Road to DevOps: Data, Environment, and Test Automation by Josiah Renaudin
The Road to DevOps: Data, Environment, and Test AutomationThe Road to DevOps: Data, Environment, and Test Automation
The Road to DevOps: Data, Environment, and Test Automation
Josiah Renaudin414 views
Crowd Sourced Testing - Real-World Experience Using Rainforest QA Crowd-Sourc... by Marc Fasel
Crowd Sourced Testing - Real-World Experience Using Rainforest QA Crowd-Sourc...Crowd Sourced Testing - Real-World Experience Using Rainforest QA Crowd-Sourc...
Crowd Sourced Testing - Real-World Experience Using Rainforest QA Crowd-Sourc...
Marc Fasel3.8K views
Testing with Microsoft Technologies - Kick Off Session by Moataz Nabil
Testing with Microsoft Technologies - Kick Off SessionTesting with Microsoft Technologies - Kick Off Session
Testing with Microsoft Technologies - Kick Off Session
Moataz Nabil1.2K views

Similar to [DevDay2019] Power of Test Automation and DevOps combination - One click saving your days! - By Toan Le, Engineering Manager at KMS Technology Vietnam

Automation Concepts by
Automation ConceptsAutomation Concepts
Automation ConceptsNishant Worah
10.9K views29 slides
QA with Microsoft Test Manager and Lab Management by
QA with Microsoft Test Manager and Lab ManagementQA with Microsoft Test Manager and Lab Management
QA with Microsoft Test Manager and Lab ManagementRofiqi Setiawan
3.8K views42 slides
Web Performance Testing by
Web Performance TestingWeb Performance Testing
Web Performance TestingCSC Trusted Cloud Services
843 views18 slides
Nuevosoft Test Manager Overview by
Nuevosoft Test Manager OverviewNuevosoft Test Manager Overview
Nuevosoft Test Manager OverviewSuhas Patil
716 views21 slides
How to Optimise Continuous Testing by
How to Optimise Continuous TestingHow to Optimise Continuous Testing
How to Optimise Continuous TestingSauce Labs
564 views36 slides
Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S... by
 Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S... Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...
Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...Skytap Cloud
2.7K views21 slides

Similar to [DevDay2019] Power of Test Automation and DevOps combination - One click saving your days! - By Toan Le, Engineering Manager at KMS Technology Vietnam(20)

Automation Concepts by Nishant Worah
Automation ConceptsAutomation Concepts
Automation Concepts
Nishant Worah10.9K views
QA with Microsoft Test Manager and Lab Management by Rofiqi Setiawan
QA with Microsoft Test Manager and Lab ManagementQA with Microsoft Test Manager and Lab Management
QA with Microsoft Test Manager and Lab Management
Rofiqi Setiawan3.8K views
Nuevosoft Test Manager Overview by Suhas Patil
Nuevosoft Test Manager OverviewNuevosoft Test Manager Overview
Nuevosoft Test Manager Overview
Suhas Patil716 views
How to Optimise Continuous Testing by Sauce Labs
How to Optimise Continuous TestingHow to Optimise Continuous Testing
How to Optimise Continuous Testing
Sauce Labs564 views
Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S... by Skytap Cloud
 Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S... Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...
Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...
Skytap Cloud2.7K views
SAP Testing Services by r_shanki
SAP Testing ServicesSAP Testing Services
SAP Testing Services
r_shanki4.2K views
Incorporating Performance Testing in Agile Development Process by Michael Vax
Incorporating Performance Testing in Agile Development ProcessIncorporating Performance Testing in Agile Development Process
Incorporating Performance Testing in Agile Development Process
Michael Vax3.4K views
Rainforest QA InfoSheet by Emily Nansen
Rainforest QA InfoSheetRainforest QA InfoSheet
Rainforest QA InfoSheet
Emily Nansen126 views
Lightning Talks by Globant - Automation (This app runs by itself ) by Globant
Lightning Talks by Globant -  Automation (This app runs by itself ) Lightning Talks by Globant -  Automation (This app runs by itself )
Lightning Talks by Globant - Automation (This app runs by itself )
Globant105 views
Digital Test Analytics by Experitest
Digital Test AnalyticsDigital Test Analytics
Digital Test Analytics
Experitest130 views
Overview of Lab Management and TFS by Chris Kadel, MBA
Overview of Lab Management and TFSOverview of Lab Management and TFS
Overview of Lab Management and TFS
Chris Kadel, MBA1.1K views
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010 by TEST Huddle
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
TEST Huddle2K views
Performance Test Slideshow Recent by Future Simmons
Performance Test Slideshow RecentPerformance Test Slideshow Recent
Performance Test Slideshow Recent
Future Simmons475 views
Performance Test Slideshow R E C E N T by Future Simmons
Performance Test Slideshow R E C E N TPerformance Test Slideshow R E C E N T
Performance Test Slideshow R E C E N T
Future Simmons622 views
Selenium Framework for Testing Web Application - Mindtree by samirandev1
Selenium Framework for Testing Web Application - MindtreeSelenium Framework for Testing Web Application - Mindtree
Selenium Framework for Testing Web Application - Mindtree
samirandev138 views
Best Selenium Framework for Testing Web Application - A Mindtree Article by devraajsingh
Best Selenium Framework for Testing Web Application - A Mindtree ArticleBest Selenium Framework for Testing Web Application - A Mindtree Article
Best Selenium Framework for Testing Web Application - A Mindtree Article
devraajsingh3 views
Neotys PAC 2018 - Ramya Ramalinga Moorthy by Neotys_Partner
Neotys PAC 2018 - Ramya Ramalinga MoorthyNeotys PAC 2018 - Ramya Ramalinga Moorthy
Neotys PAC 2018 - Ramya Ramalinga Moorthy
Neotys_Partner715 views
The Importance of Performance Testing Theory and Practice - QueBIT Consulting... by QueBIT Consulting
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
QueBIT Consulting492 views

More from DevDay.org

[DevDay2019] Lean UX - By Bryant Castro, Bryant Castro at Wizeline by
[DevDay2019] Lean UX - By  Bryant Castro,  Bryant Castro at Wizeline[DevDay2019] Lean UX - By  Bryant Castro,  Bryant Castro at Wizeline
[DevDay2019] Lean UX - By Bryant Castro, Bryant Castro at WizelineDevDay.org
901 views137 slides
[DevDay2019] Why you'll lose without UX Design - By Szilard Toth, CTO at e·pi... by
[DevDay2019] Why you'll lose without UX Design - By Szilard Toth, CTO at e·pi...[DevDay2019] Why you'll lose without UX Design - By Szilard Toth, CTO at e·pi...
[DevDay2019] Why you'll lose without UX Design - By Szilard Toth, CTO at e·pi...DevDay.org
424 views59 slides
[DevDay2019] Things i wish I knew when I was a 23-year-old Developer - By Chr... by
[DevDay2019] Things i wish I knew when I was a 23-year-old Developer - By Chr...[DevDay2019] Things i wish I knew when I was a 23-year-old Developer - By Chr...
[DevDay2019] Things i wish I knew when I was a 23-year-old Developer - By Chr...DevDay.org
374 views50 slides
[DevDay2019] Designing design teams - Christopher Nguyen, UX Manager at Wizeline by
[DevDay2019] Designing design teams - Christopher Nguyen, UX Manager at Wizeline[DevDay2019] Designing design teams - Christopher Nguyen, UX Manager at Wizeline
[DevDay2019] Designing design teams - Christopher Nguyen, UX Manager at WizelineDevDay.org
196 views38 slides
[DevDay2019] Growth Hacking - How to double the benefits of your startup with... by
[DevDay2019] Growth Hacking - How to double the benefits of your startup with...[DevDay2019] Growth Hacking - How to double the benefits of your startup with...
[DevDay2019] Growth Hacking - How to double the benefits of your startup with...DevDay.org
387 views42 slides
[DevDay2019] Collaborate or die: The designers’ guide to working with develop... by
[DevDay2019] Collaborate or die: The designers’ guide to working with develop...[DevDay2019] Collaborate or die: The designers’ guide to working with develop...
[DevDay2019] Collaborate or die: The designers’ guide to working with develop...DevDay.org
181 views25 slides

More from DevDay.org(20)

[DevDay2019] Lean UX - By Bryant Castro, Bryant Castro at Wizeline by DevDay.org
[DevDay2019] Lean UX - By  Bryant Castro,  Bryant Castro at Wizeline[DevDay2019] Lean UX - By  Bryant Castro,  Bryant Castro at Wizeline
[DevDay2019] Lean UX - By Bryant Castro, Bryant Castro at Wizeline
DevDay.org901 views
[DevDay2019] Why you'll lose without UX Design - By Szilard Toth, CTO at e·pi... by DevDay.org
[DevDay2019] Why you'll lose without UX Design - By Szilard Toth, CTO at e·pi...[DevDay2019] Why you'll lose without UX Design - By Szilard Toth, CTO at e·pi...
[DevDay2019] Why you'll lose without UX Design - By Szilard Toth, CTO at e·pi...
DevDay.org424 views
[DevDay2019] Things i wish I knew when I was a 23-year-old Developer - By Chr... by DevDay.org
[DevDay2019] Things i wish I knew when I was a 23-year-old Developer - By Chr...[DevDay2019] Things i wish I knew when I was a 23-year-old Developer - By Chr...
[DevDay2019] Things i wish I knew when I was a 23-year-old Developer - By Chr...
DevDay.org374 views
[DevDay2019] Designing design teams - Christopher Nguyen, UX Manager at Wizeline by DevDay.org
[DevDay2019] Designing design teams - Christopher Nguyen, UX Manager at Wizeline[DevDay2019] Designing design teams - Christopher Nguyen, UX Manager at Wizeline
[DevDay2019] Designing design teams - Christopher Nguyen, UX Manager at Wizeline
DevDay.org196 views
[DevDay2019] Growth Hacking - How to double the benefits of your startup with... by DevDay.org
[DevDay2019] Growth Hacking - How to double the benefits of your startup with...[DevDay2019] Growth Hacking - How to double the benefits of your startup with...
[DevDay2019] Growth Hacking - How to double the benefits of your startup with...
DevDay.org387 views
[DevDay2019] Collaborate or die: The designers’ guide to working with develop... by DevDay.org
[DevDay2019] Collaborate or die: The designers’ guide to working with develop...[DevDay2019] Collaborate or die: The designers’ guide to working with develop...
[DevDay2019] Collaborate or die: The designers’ guide to working with develop...
DevDay.org181 views
[DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguy... by DevDay.org
[DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguy...[DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguy...
[DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguy...
DevDay.org479 views
[DevDay2019] Hands-on Machine Learning on Google Cloud Platform - By Thanh Le... by DevDay.org
[DevDay2019] Hands-on Machine Learning on Google Cloud Platform - By Thanh Le...[DevDay2019] Hands-on Machine Learning on Google Cloud Platform - By Thanh Le...
[DevDay2019] Hands-on Machine Learning on Google Cloud Platform - By Thanh Le...
DevDay.org339 views
[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En... by DevDay.org
[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...
[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...
DevDay.org496 views
[DevDay2019] How do I test AI models? - By Minh Hoang, Senior QA Engineer at KMS by DevDay.org
[DevDay2019] How do I test AI models? - By Minh Hoang, Senior QA Engineer at KMS[DevDay2019] How do I test AI models? - By Minh Hoang, Senior QA Engineer at KMS
[DevDay2019] How do I test AI models? - By Minh Hoang, Senior QA Engineer at KMS
DevDay.org433 views
[DevDay2019] How to quickly become a Senior Engineer - By Tran Anh Minh, CEO ... by DevDay.org
[DevDay2019] How to quickly become a Senior Engineer - By Tran Anh Minh, CEO ...[DevDay2019] How to quickly become a Senior Engineer - By Tran Anh Minh, CEO ...
[DevDay2019] How to quickly become a Senior Engineer - By Tran Anh Minh, CEO ...
DevDay.org242 views
[Devday2019] Dev start-up - By Le Trung, Founder & CEO at Hifiveplus and Edu... by DevDay.org
[Devday2019]  Dev start-up - By Le Trung, Founder & CEO at Hifiveplus and Edu...[Devday2019]  Dev start-up - By Le Trung, Founder & CEO at Hifiveplus and Edu...
[Devday2019] Dev start-up - By Le Trung, Founder & CEO at Hifiveplus and Edu...
DevDay.org169 views
[DevDay2019] Web Development In 2019 - A Practical Guide - By Hoang Nhu Vinh,... by DevDay.org
[DevDay2019] Web Development In 2019 - A Practical Guide - By Hoang Nhu Vinh,...[DevDay2019] Web Development In 2019 - A Practical Guide - By Hoang Nhu Vinh,...
[DevDay2019] Web Development In 2019 - A Practical Guide - By Hoang Nhu Vinh,...
DevDay.org291 views
[DevDay2019] Opportunities and challenges for human resources during the digi... by DevDay.org
[DevDay2019] Opportunities and challenges for human resources during the digi...[DevDay2019] Opportunities and challenges for human resources during the digi...
[DevDay2019] Opportunities and challenges for human resources during the digi...
DevDay.org384 views
[DevDay2019] Python Machine Learning with Jupyter Notebook - By Nguyen Huu Th... by DevDay.org
[DevDay2019] Python Machine Learning with Jupyter Notebook - By Nguyen Huu Th...[DevDay2019] Python Machine Learning with Jupyter Notebook - By Nguyen Huu Th...
[DevDay2019] Python Machine Learning with Jupyter Notebook - By Nguyen Huu Th...
DevDay.org286 views
[DevDay2019] Do you dockerize? Are your containers safe? - By Pham Hong Khanh... by DevDay.org
[DevDay2019] Do you dockerize? Are your containers safe? - By Pham Hong Khanh...[DevDay2019] Do you dockerize? Are your containers safe? - By Pham Hong Khanh...
[DevDay2019] Do you dockerize? Are your containers safe? - By Pham Hong Khanh...
DevDay.org173 views
[DevDay2019] Develop a web application with Kubernetes - By Nguyen Xuan Phong... by DevDay.org
[DevDay2019] Develop a web application with Kubernetes - By Nguyen Xuan Phong...[DevDay2019] Develop a web application with Kubernetes - By Nguyen Xuan Phong...
[DevDay2019] Develop a web application with Kubernetes - By Nguyen Xuan Phong...
DevDay.org326 views
[DevDay2019] Paradigm shift towards effective Scrum - By Tam Doan, Agile Coac... by DevDay.org
[DevDay2019] Paradigm shift towards effective Scrum - By Tam Doan, Agile Coac...[DevDay2019] Paradigm shift towards effective Scrum - By Tam Doan, Agile Coac...
[DevDay2019] Paradigm shift towards effective Scrum - By Tam Doan, Agile Coac...
DevDay.org199 views
[DevDay2019] JAM Stack - By Ngo Thi Ni, Web Developer at Agility IO by DevDay.org
[DevDay2019] JAM Stack - By Ngo Thi Ni, Web Developer at Agility IO[DevDay2019] JAM Stack - By Ngo Thi Ni, Web Developer at Agility IO
[DevDay2019] JAM Stack - By Ngo Thi Ni, Web Developer at Agility IO
DevDay.org205 views
[DevDay2019] Layering GraphQL on top of existing infrastructure - By Phan Tha... by DevDay.org
[DevDay2019] Layering GraphQL on top of existing infrastructure - By Phan Tha...[DevDay2019] Layering GraphQL on top of existing infrastructure - By Phan Tha...
[DevDay2019] Layering GraphQL on top of existing infrastructure - By Phan Tha...
DevDay.org105 views

Recently uploaded

Data Integrity for Banking and Financial Services by
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial ServicesPrecisely
76 views26 slides
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... by
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...ShapeBlue
128 views20 slides
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...James Anderson
142 views32 slides
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... by
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...ShapeBlue
52 views10 slides
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... by
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...ShapeBlue
120 views62 slides
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT by
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITUpdates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITShapeBlue
138 views8 slides

Recently uploaded(20)

Data Integrity for Banking and Financial Services by Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely76 views
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... by ShapeBlue
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
ShapeBlue128 views
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson142 views
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... by ShapeBlue
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
ShapeBlue52 views
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... by ShapeBlue
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
ShapeBlue120 views
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT by ShapeBlue
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITUpdates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
ShapeBlue138 views
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue by ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueWhat’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
ShapeBlue191 views
The Role of Patterns in the Era of Large Language Models by Yunyao Li
The Role of Patterns in the Era of Large Language ModelsThe Role of Patterns in the Era of Large Language Models
The Role of Patterns in the Era of Large Language Models
Yunyao Li74 views
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue by ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
ShapeBlue147 views
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue by ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
ShapeBlue63 views
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti... by ShapeBlue
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
ShapeBlue69 views
"Surviving highload with Node.js", Andrii Shumada by Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays49 views
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... by TrustArc
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc130 views
NTGapps NTG LowCode Platform by Mustafa Kuğu
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform
Mustafa Kuğu287 views
Keynote Talk: Open Source is Not Dead - Charles Schulz - Vates by ShapeBlue
Keynote Talk: Open Source is Not Dead - Charles Schulz - VatesKeynote Talk: Open Source is Not Dead - Charles Schulz - Vates
Keynote Talk: Open Source is Not Dead - Charles Schulz - Vates
ShapeBlue178 views
Igniting Next Level Productivity with AI-Infused Data Integration Workflows by Safe Software
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software373 views
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava... by ShapeBlue
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
ShapeBlue74 views
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas... by Bernd Ruecker
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
Bernd Ruecker50 views

[DevDay2019] Power of Test Automation and DevOps combination - One click saving your days! - By Toan Le, Engineering Manager at KMS Technology Vietnam

  • 1. Power of DevOps in Test Automation My story to enable One click saving your days
  • 2. Engineering Manager at KMS Technology TOAN LE ABOUT ME • A tester with 8+ years of experience in various testing types and domains • Managing a team of 30+ members doing Software Development, Test Automation, Performance Test and DevOps for a legacy system of Scientific Data Management • Our Test Automation Team has 20+ QA and DevOps engineers, we are using Katalon Studio to automate various testing types and execute them on AWS streamlined by Jenkins pipelines
  • 3. OBJECTIVES Today, I’m going to share with you my story to enable DevOps solutions in Test Automation that can help to save a lot of our time and effort as well as to maximize the ROI of our test automation.
  • 4. Continuous Testing How DevOps helps? My Lesson Learn in Automated Testing. What If? My Old Days Lesson Power of DevOps in Test Automation AGENDA Past Solution Take away
  • 5. Test environment created and managed by client Test servers and execution nodes had to run 24/7 Developers helped to create and deploy new builds INFRASTRUCTURE TEST EXECUTION TEST REPORTING We started with a team of 3 testers to develop automated tests within Katalon Studio and delivered to client for execution. The client then send back to us the reports of failed test cases, our testers will analyze those reports and tell them if any new big encountered with those tests. The execution frequency was not high and it took time to go back and forth. Tests were not executed frequently (weekly) Tests takes long time to complete (5000 test runs) Unable to test against multiple versions at same time High flaky test rate of UI tests (5-10%) Test results were not centralized, took time to collect results from different nodes Not easy to access test results of previous builds Took too much time to analyze and categorize failed test cases even with known issues ROI OF TEST AUTOMATION IS LOW MY OLD DAYS
  • 6. INFRASTRUCTURE FREQUENCY FLAKY TEST KNOWN ISSUES More dependencies on infrastructure will limit the execution frequency and utilization Less frequently executing tests will lead to low ROI of test automation since it does not utilize much repeated works saving by automated tests The higher flaky test rate, the less reliability of automated testing as it requires more time and effort to analyze failures Difficulty in accessing to historial testing data will waste more time and effort in analyzing test cases failed because of known issues STREAMLINE Deployment and execution cycle that is not streamlined and fully automated will require weird manual effort by human MY LESSON LEARNT IN AUTOMATED TESTING
  • 7. MY LESSON LEARN IN AUTOMATED TESTING
  • 8. WHAT IF? The entire test environments including servers and clients are completely managed by automated pipelines and CLI/API INFRASTRUCTURE AS A SERVICE STREAMLINE HISTORICAL DATA TEST ANALYTICS Test execution is fully streamlined and automated, able to run dynamic requests of testing and test against multiple product versions more frequently Test results are centralized and historical testing data is accessible at any time Test failures and known issues are automatically captured, quality trends and other test-related analysis can be visualized and instantly reported to stakeholders The more tests are executed The more time is saved The more value returned on investment into test automation
  • 9. Our suggested DevOps solutions to accelerate Test Operation in automated testing HOW DEVOPS HELPS?
  • 10. Create builds Run important API integration tests within Docker containers Publish build artifacts MANAGE INFRASTRUCTURE WITH AWS ScalingDeploymentBuilding Create servers (Beanstalk) Create database (RDS) Deploy build to server (S3) Create execution nodes Dynamic number of servers Dynamic data set Dynamic number of execution nodes Dynamic system configuration Build is automatically created and validated Environments are ready for testing within 20 mins Environments are scalable and configurable
  • 11. Tests are distributed to different servers and nodes with a balancer Tests can be executed in parallel MANAGE TEST EXECUTION WITH JENKINS PIPELINE Re-testing Unknown Failures Re-trying Failed TCsTest Distribution Re-try failed test cases on same environment (supported by Katalon) Analyze and query test cases failed with unknown reason Re-deploy new environments and re-test failed test cases Reduce execution time of entire build Reduce failures due to network issue Reduce failures due to environmental issues
  • 12. All relevant attributes of testing are captured and stored in DB Historical testing data is accessible at any time MANAGE TEST RESULTS WITH CUSTOM REPORTING TOOL Auto-AnalysisConsolidate ResultsTrack Relevant Data Collect all results of one test case for same build on different servers and nodes Consolidate into one test report Automatically analyze failed test cases based on historical data Copy test analysis from previous builds for same fail reasons Compare with common errors Raw testing data is tracked as much as possible Test results are in one place No need to analyze known issues Note: This tool has been developed by our testers within this project, you can also use a similar tool as an alternative, access ReportPortal.io for more details.
  • 14. Re-test Test Deplo y Collect and analyze test reports Filter test cases failed due to unknown reasons Verify environment health Filter test cases to be executed Notify test starting Instant update to QA and stakeholders Deploy and re- test unknown failures Distribute and execute tests Re-analyze entire build with new test results Notify QA to manually analyze new issues Build and Deploy Report ALL-IN-ONE SOLUTION
  • 15. Full test execution cycle Build and deployment cycle ALL-IN-ONE SOLUTION
  • 16. Group test execution Test execution on one server ALL-IN-ONE SOLUTION
  • 17. REAL-TIME TEST REPORT VISUALIZATION
  • 18. OUR RESULTS By combining DevOps solutions into Test Automation project, we have achieved significant improvement in our Automated Testing. That make our client happier, our QAs have more time to focus on other more important testing activities and our Developers have more confidence to change the product in order to achieve greater goals. This combination also enables us in Continuous Testing and to be much closer to Continuous Delivery model.  5000 test runs finished within 12 hours  Support up to 4 different builds per day  Reduce up to 95% flaky tests  Save days of analyzing failed test cases  One click to trigger the whole testing process
  • 19. Build Deploy Test Report In order to streamline and automate your deployment process, you may need to choose a cloud service to manage your test environments (e.g. AWS). Cloud Services A Test Automation tool that supports various types of testing such as UI, API, mobile as well as a good CLI will help you to control the whole testing process (e.g. Katalon Studio) Test Automation Tools The whole test operation process include interactions with many parties, you will need a Continuous Integration tool support that process (e.g. Jenkins pipelines) CI Tools A Test Automation project should go with a good Reporting Tool that will help to track and manage historical testing data and free yourselves from repeated works (e.g. ReportPortal.io) Reporting Tools CONTINUOUS TESTING Investment on DevOps solutions to put all those tools into one place is the key to establish Continuous Testing and to increase ROI of your Test Automation CONTINUOUS TESTING
  • 20. Send me a message whenever you need more sharing on this topic. KMS Technology 28 Truong Son, W.12, D. Tan Binh, HCMC toanle@kms-technology.com CONTACT ME
  • 21. THANKS FOR COMING Inspiring IT Movement - Sharing makes us stronger ON BEHALF OF DEVDAY 2019 ORGANIZERS