SlideShare uma empresa Scribd logo
1 de 19
Baixar para ler offline
1
Introduction to Back End
Automation Testing
16 | 07 | 2016
Nguyen Vu HOANG
Hoang PHI
FPT Software
WHO we are
2
HOANG Nguyen PHI Hoang
Education and Certification Education and Certification
 Master of Computer Sciences
 ISTQB (Advanced Level Technical Test Analyst)
 Scrum Master, Product Owner and ITIL (FL)
 CEH, LPIC-1, Novell CLA, CCNA, MCSE, MCDBA, MCSA,
MCSD.NET and MCAD.NET.
 Bachelor of Sciences
 ISTQB (FL)
 IBM Certified (Plan, Estimation, Design and
Negotiation)
Agenda
3
WHAT is back end testing
WHY Test Automation
Testing Problems and Solutions
WHAT we do
HOW we do
Measurable Results
Demo
WHAT is back end testing
4
 Service layer (80%) – perform
testing for services WITHOUT User
Interface (UI), AND
WHAT in the scope
 Enterprise Services at API layer.
 RESTful Web Service architectural style.
 SOAP Web Service used for general enterprise integration.
 Connect-based middleware stack (i.e.: JMS – Java Message Service)
WHAT are tested…
No UI or Used by back-office operators Web Service, Database, File System, Web Application
 Backend application (20%) –
perform testing for
application/system with UI which
is used to monitor and control
services.
 Enterprise system with UI used by back-office operators.
WHAT is back end testing (Cont.)
5
Web Application
(Service Monitor and Control)
Core Business
Services
End-User Platforms
External
Services
or Apps
Client Platforms
Operators
Applications and Services Backend Web
Application can be
tested via user
interface.
 Platforms can be
any if it follows
service protocols.
Delivered services
are NOT for
specific platform.
1
1
2
2
Not
Available
3
 Platforms are not
available when
testing.
3
3rd party Services DBMSXML
WHY Test Automation
6
Saves time and money
Increases test coverage
Improves accuracy and quality
 Huge data verification achievable only by
automation. (i.e. verify thousands of XML
attributes)
 Better coverage, more executions, higher
number of test cycles.
 Reliability – ensure correct test at protocol
layer and eliminate human error.
 Auditability – provide comprehensive results.
 Regression testing – gain confidence that
nothing is broken.
 Reusability – same tests on different environments
and configurations.
 Reduce execution time.
Testing Problems and Solutions
7
Testing Problems High Level Solutions
 Different technology platforms under
test (Operating System, Database, Web
Server and application protocols and
development).
 High data rates and responsiveness
 Defragmented testing result so it is
difficult to make decision.
 Must align testing with agile
development methodologies.
 Integrate automation testing to Continuous
Integration.
 Select proper technology stack to centralize
the testing result from both manual and
automation teams
 Design automation test framework to deal
with Shell, Web Service, Web Application,
gigabytes of XML Data on Windows and
Linux.
1
2
3
WHAT we do - Standardize CI/CD
8
Continuous Integration
Build
Automation
Static Code
Quality
Analysis
Version
Control
Collaboration
Wikis, Forums
Manage Develop Build Test Deploy
Test
Automation,
Performance
Testing
Code
Review
and
Quality
Analysis
Unit Testing
Cloud
Deployment
Containerize
 Improve the way we develop and test applications by standardizing Continuous Integration (CI) and
Continuous Deployment (CD) tool set.
 Reduce test and deployment cycles through automation.
Issue Tracking
Test / Req
Management
Artifact
Management
1
WHAT we do – Do Continuous Deployment
9
 By saving time in deployment, testers will be able
to spend more time on feature testing.
 Prevent mistakes in installation while there is lots
of configuration defined in release note.
 New and old application/services are
deployed side by side to eliminate delay
impact on testing team in case testing is
blocked on the new version.
 Testing team starts testing cycle on the new
version after smoke testing passed.
Ant executes test
cases
Automation Test
Engine
VIP Cut Over
Application
1.0
Virtual IP
Application
1.1
Dependent
ComponentDB 1 DB 2
1
WHAT we do – Centralize Test Result
10
 Full cycle from test design to test
execution and reporting.
 LISA facilitates test result to
SpiraTeam.
 Integration with different tools –
extensibility mechanisms to
support Web GUI and bash shell.
 Simple maintenance – applied
keyword and data driven
automation, conventions and best
practices.
2
Reporting Database
Test Case Management
Requirement Management
HOW we do – LISA as Core
11
 Deliver end-to-end parallel app
development solutions to help
develop and test simultaneously [1].
 Powerful at testing middleware
using Service-Oriented Architecture
and Database.
 Allow high level of customization.
Functionality can be extended
through its SDK (software development kit)
[2].
 Enable in-process, bi-directional
communication between the Java
VM and the CLR (.NET)
 Both desktop or server versions
provide integrated environment to
build all in a code-less manner.
3
HOW we do – Test Web Service and Database
12
 Use Service Virtualization to
break dependency of testing
from development schedule [2].
 Use consistent approach to
design test cases for web
services.
 Use powerful built-in
functionalities of LISA to
automate Web Services and
Database testing.
 Extend LISA’s capabilities to
test JSON.
Client Server
Web Server Database Server
Development in progress
Business process analysis
Transaction analysis (loss and
duplication)
Performance analysis
Path coverage analysis
Error Handling analysis
Profiling …
Service Mocking,
Service Virtualized
Test Case
Design
Approach
3
HOW we do – Consideration in Scripting
13
Identification
Implementation
Execution
Report
Assessment
3
HOW we do – Test Web GUI and Shell
14
 Integrate Selenium into LISA so
that it can test Web GUI.
 A wrapper layer is built on top of
core Selenium in order to provide
strong GUI testing capability for
LISA.
 Integrate JCraft into LISA so that
it can test Shell script.
 Use Awk/Nawk/Gawk [3]
language at remote host instead
bash script to have fast text
processing with low memory
usage. Performance is 10+ times
faster than bash script.
JCraft
Extended
Selenium
(Java base)
Core
Selenium
LISA
SSH
3
HOW we do – Test Big XML files
15
LISA
Xstream JAXB
 Process large files (2GB to 3GB for
each).
 Traverse nodes to smaller chunk.
 Cost less memory resource but
takes time to read XML file.
Xstream
 Process delta (small) data.
 Binding Java-to-XML makes it easy to
incorporate XML data and processing
Java functions quickly.
 Cost more memory resource but it’s
fast.
JAXB
Combine Xstream and JAXB
3
 ~3 min: XML (~3GB)
and XSD Schema.
 ~6 min: 2 XML files
(~3GB per each)
Results
Measurable Results
16
 Unified automation test approach for 60+ projects.
 Automated tests that cannot be done by manual.
 100 000+ executed tests
 12 000+ automated tests
 92% saving execution time
Application 1
(547 TCs)
Manual
4 MDs
Automated
50 min
97%
Application 2
(590 TCs)
Manual
23.5 MDs
Automated
90 min
99%
Application 3
(211 TCs)
Manual
5.1 MDs
Automated
1 MD
80%
Application 4
(2000 TCs)
Manual
1755 hrs
Automated
155 hrs
91%
Application 5
(221 TCs)
Manual
117 hrs
Automated
7 hrs
94%
Application 6
(30 TCs)
Manual
30 hrs
Automated
13 min
99%
Tool Cost ($) Similar Tool
Spira 3-Users ($79.99 / month) Testlink (free)
LISA 5-Users (~$1,666 / month) SoapUI (free/license)
 Tool price and similar tool
Demo
17
1) Trigger test from Jenkins
2) Call LISA script
3) Call Shell script
4) Call Selenium script
5) Update result to SpiraTeam
(Duration: 1.5 minutes)
References
18
[1]. Develop & Test (former named CA LISA), http://www.ca.com/us/products/develop-test.html
[2]. Documentation of DevTest Solutions - 8.0, https://docops.ca.com/devtest-solutions/8-0/en
[3]. Awk/Nawk/Gawk tutorial, http://www.grymoire.com/Unix/Awk.html
© 2016 HCMC Software Testing Club
THANK YOU

Mais conteúdo relacionado

Mais procurados

Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planningSivaprasanthRentala1975
 
Postman Integration Testing
Postman Integration TestingPostman Integration Testing
Postman Integration TestingOm Vikram Thapa
 
Test Automation
Test AutomationTest Automation
Test Automationrockoder
 
AMHARIC TEXT TO SPEECH SYNTHESIS FOR SYSTEM DEVELOPMENT
AMHARIC TEXT TO SPEECH SYNTHESIS FOR SYSTEM DEVELOPMENTAMHARIC TEXT TO SPEECH SYNTHESIS FOR SYSTEM DEVELOPMENT
AMHARIC TEXT TO SPEECH SYNTHESIS FOR SYSTEM DEVELOPMENTNathan Mathis
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Leonard Fingerman
 
Test Automation Maturity: A Self-Assessment Tool
Test Automation Maturity: A Self-Assessment ToolTest Automation Maturity: A Self-Assessment Tool
Test Automation Maturity: A Self-Assessment ToolUniversity of Antwerp
 
Test Automation Framework Development Introduction
Test Automation Framework Development IntroductionTest Automation Framework Development Introduction
Test Automation Framework Development IntroductionGanuka Yashantha
 
In‐Vehicle Networking: a Survey and Look Forward
In‐Vehicle Networking: a Survey and Look ForwardIn‐Vehicle Networking: a Survey and Look Forward
In‐Vehicle Networking: a Survey and Look ForwardRealTime-at-Work (RTaW)
 
Selenium Testing Project report
Selenium Testing Project reportSelenium Testing Project report
Selenium Testing Project reportKapil Rajpurohit
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automationSrikanth Vuriti
 
Using Postman to Automate API On-Boarding
Using Postman to Automate API On-BoardingUsing Postman to Automate API On-Boarding
Using Postman to Automate API On-BoardingPostman
 
Algorithmsandflowcharts2
Algorithmsandflowcharts2Algorithmsandflowcharts2
Algorithmsandflowcharts2Darlene Interno
 
Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comTest Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comIdexcel Technologies
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introductionPankaj Dubey
 

Mais procurados (20)

Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
 
Postman Integration Testing
Postman Integration TestingPostman Integration Testing
Postman Integration Testing
 
Test Automation
Test AutomationTest Automation
Test Automation
 
AMHARIC TEXT TO SPEECH SYNTHESIS FOR SYSTEM DEVELOPMENT
AMHARIC TEXT TO SPEECH SYNTHESIS FOR SYSTEM DEVELOPMENTAMHARIC TEXT TO SPEECH SYNTHESIS FOR SYSTEM DEVELOPMENT
AMHARIC TEXT TO SPEECH SYNTHESIS FOR SYSTEM DEVELOPMENT
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
 
Selenium
SeleniumSelenium
Selenium
 
Test Automation Maturity: A Self-Assessment Tool
Test Automation Maturity: A Self-Assessment ToolTest Automation Maturity: A Self-Assessment Tool
Test Automation Maturity: A Self-Assessment Tool
 
Test Automation Framework Development Introduction
Test Automation Framework Development IntroductionTest Automation Framework Development Introduction
Test Automation Framework Development Introduction
 
In‐Vehicle Networking: a Survey and Look Forward
In‐Vehicle Networking: a Survey and Look ForwardIn‐Vehicle Networking: a Survey and Look Forward
In‐Vehicle Networking: a Survey and Look Forward
 
Hybrid framework
Hybrid frameworkHybrid framework
Hybrid framework
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Selenium Testing Project report
Selenium Testing Project reportSelenium Testing Project report
Selenium Testing Project report
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
 
Test Automation in Agile
Test Automation in AgileTest Automation in Agile
Test Automation in Agile
 
Using Postman to Automate API On-Boarding
Using Postman to Automate API On-BoardingUsing Postman to Automate API On-Boarding
Using Postman to Automate API On-Boarding
 
Algorithmsandflowcharts2
Algorithmsandflowcharts2Algorithmsandflowcharts2
Algorithmsandflowcharts2
 
Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comTest Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.com
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
 

Semelhante a Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi

Kevin Slade - CV
Kevin Slade - CVKevin Slade - CV
Kevin Slade - CVKevin Slade
 
Varalakhmi_Suresh_1
Varalakhmi_Suresh_1Varalakhmi_Suresh_1
Varalakhmi_Suresh_1varu suresh
 
Selenium Framework for Testing Web Application - Mindtree
Selenium Framework for Testing Web Application - MindtreeSelenium Framework for Testing Web Application - Mindtree
Selenium Framework for Testing Web Application - Mindtreesamirandev1
 
Best Selenium Framework for Testing Web Application - A Mindtree Article
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 Articledevraajsingh
 
Functional Continuous Integration with Selenium and Hudson
Functional Continuous Integration with Selenium and HudsonFunctional Continuous Integration with Selenium and Hudson
Functional Continuous Integration with Selenium and HudsonDavid Jellison
 
Muves3 Elastic Grid Java One2009 Final
Muves3 Elastic Grid Java One2009 FinalMuves3 Elastic Grid Java One2009 Final
Muves3 Elastic Grid Java One2009 FinalElastic Grid, LLC.
 
Web Service Test Automation Framework (WSTAF).
Web Service Test Automation Framework (WSTAF).Web Service Test Automation Framework (WSTAF).
Web Service Test Automation Framework (WSTAF).Mindtree Ltd.
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectDevOps.com
 
Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)Steve Lange
 
Silk4net Tcm6 174178
Silk4net Tcm6 174178Silk4net Tcm6 174178
Silk4net Tcm6 174178titita13
 
Felix Ramos_Automation Programmer Analyst_QA
Felix Ramos_Automation Programmer Analyst_QAFelix Ramos_Automation Programmer Analyst_QA
Felix Ramos_Automation Programmer Analyst_QAFelix Ramos
 
Shuvam dutta | Performance tester
Shuvam dutta | Performance testerShuvam dutta | Performance tester
Shuvam dutta | Performance testerShuvam Dutta
 

Semelhante a Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi (20)

Kevin Slade - CV
Kevin Slade - CVKevin Slade - CV
Kevin Slade - CV
 
Varalakhmi_Suresh_1
Varalakhmi_Suresh_1Varalakhmi_Suresh_1
Varalakhmi_Suresh_1
 
Selenium Framework for Testing Web Application - Mindtree
Selenium Framework for Testing Web Application - MindtreeSelenium Framework for Testing Web Application - Mindtree
Selenium Framework for Testing Web Application - Mindtree
 
Best Selenium Framework for Testing Web Application - A Mindtree Article
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
 
Resume_QA
Resume_QAResume_QA
Resume_QA
 
GardiasResume2015
GardiasResume2015GardiasResume2015
GardiasResume2015
 
Preetham Paulose
Preetham PaulosePreetham Paulose
Preetham Paulose
 
Functional Continuous Integration with Selenium and Hudson
Functional Continuous Integration with Selenium and HudsonFunctional Continuous Integration with Selenium and Hudson
Functional Continuous Integration with Selenium and Hudson
 
Muves3 Elastic Grid Java One2009 Final
Muves3 Elastic Grid Java One2009 FinalMuves3 Elastic Grid Java One2009 Final
Muves3 Elastic Grid Java One2009 Final
 
Web Service Test Automation Framework (WSTAF).
Web Service Test Automation Framework (WSTAF).Web Service Test Automation Framework (WSTAF).
Web Service Test Automation Framework (WSTAF).
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
 
Ibm innovate ci for system z
Ibm innovate ci for system zIbm innovate ci for system z
Ibm innovate ci for system z
 
Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)
 
keerthi-resume
keerthi-resumekeerthi-resume
keerthi-resume
 
Silk4net Tcm6 174178
Silk4net Tcm6 174178Silk4net Tcm6 174178
Silk4net Tcm6 174178
 
Felix Ramos_Automation Programmer Analyst_QA
Felix Ramos_Automation Programmer Analyst_QAFelix Ramos_Automation Programmer Analyst_QA
Felix Ramos_Automation Programmer Analyst_QA
 
About online examination system
About online examination systemAbout online examination system
About online examination system
 
Sakshi Tripathi Resume
Sakshi Tripathi ResumeSakshi Tripathi Resume
Sakshi Tripathi Resume
 
Shuvam dutta
Shuvam duttaShuvam dutta
Shuvam dutta
 
Shuvam dutta | Performance tester
Shuvam dutta | Performance testerShuvam dutta | Performance tester
Shuvam dutta | Performance tester
 

Mais de Ho Chi Minh City Software Testing Club

A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...
A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...
A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...Ho Chi Minh City Software Testing Club
 
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...Ho Chi Minh City Software Testing Club
 
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...Ho Chi Minh City Software Testing Club
 
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...Ho Chi Minh City Software Testing Club
 
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing TeamHo Chi Minh City Software Testing Club
 

Mais de Ho Chi Minh City Software Testing Club (20)

Web API Test Automation Using Frisby & Node.js
Web API Test Automation Using Frisby  & Node.jsWeb API Test Automation Using Frisby  & Node.js
Web API Test Automation Using Frisby & Node.js
 
Building an effective mobile testing strategy
Building an effective mobile testing strategyBuilding an effective mobile testing strategy
Building an effective mobile testing strategy
 
Common Web UI Problems Transforming Manual to Automation
Common Web UI Problems Transforming Manual to Automation Common Web UI Problems Transforming Manual to Automation
Common Web UI Problems Transforming Manual to Automation
 
A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...
A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...
A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...
 
Test Design with Action-based Testing Methodology - Ngo Hoang Minh
Test Design with Action-based Testing Methodology - Ngo Hoang MinhTest Design with Action-based Testing Methodology - Ngo Hoang Minh
Test Design with Action-based Testing Methodology - Ngo Hoang Minh
 
Security testing-What can we do - Trinh Minh Hien
Security testing-What can we do - Trinh Minh HienSecurity testing-What can we do - Trinh Minh Hien
Security testing-What can we do - Trinh Minh Hien
 
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...
 
Analytical Risk-based and Specification-based Testing - Bui Duy Tam
Analytical Risk-based and Specification-based Testing - Bui Duy TamAnalytical Risk-based and Specification-based Testing - Bui Duy Tam
Analytical Risk-based and Specification-based Testing - Bui Duy Tam
 
Agile Testing - Not Just Tester’s Story _ Dang Thanh Long
Agile Testing - Not Just Tester’s Story _ Dang Thanh LongAgile Testing - Not Just Tester’s Story _ Dang Thanh Long
Agile Testing - Not Just Tester’s Story _ Dang Thanh Long
 
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
 
Mobile Video Games Testing Principles - Benjamin Poirrier
Mobile Video Games Testing Principles - Benjamin PoirrierMobile Video Games Testing Principles - Benjamin Poirrier
Mobile Video Games Testing Principles - Benjamin Poirrier
 
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
 
Key Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework SuccessKey Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework Success
 
Why a Mobile Test Strategy is just Test Strategy
Why a Mobile Test Strategy is just Test StrategyWhy a Mobile Test Strategy is just Test Strategy
Why a Mobile Test Strategy is just Test Strategy
 
[HCMC STC Jan 2015] Risk-Based Software Testing Approaches
[HCMC STC Jan 2015] Risk-Based Software Testing Approaches[HCMC STC Jan 2015] Risk-Based Software Testing Approaches
[HCMC STC Jan 2015] Risk-Based Software Testing Approaches
 
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
 
[HCMC STC Jan 2015] Practical Experiences In Test Automation
[HCMC STC Jan 2015] Practical Experiences In Test Automation[HCMC STC Jan 2015] Practical Experiences In Test Automation
[HCMC STC Jan 2015] Practical Experiences In Test Automation
 
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
 
[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile
[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile
[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile
 
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team
 

Último

Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slidesvaideheekore1
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...OnePlan Solutions
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesVictoriaMetrics
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfkalichargn70th171
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorTier1 app
 
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingOpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingShane Coughlan
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxRTS corp
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
VictoriaMetrics Anomaly Detection Updates: Q1 2024
VictoriaMetrics Anomaly Detection Updates: Q1 2024VictoriaMetrics Anomaly Detection Updates: Q1 2024
VictoriaMetrics Anomaly Detection Updates: Q1 2024VictoriaMetrics
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingShane Coughlan
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shardsChristopher Curtin
 
Strategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsStrategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsJean Silva
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptxVinzoCenzo
 

Último (20)

Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slides
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 Updates
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryError
 
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingOpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
VictoriaMetrics Anomaly Detection Updates: Q1 2024
VictoriaMetrics Anomaly Detection Updates: Q1 2024VictoriaMetrics Anomaly Detection Updates: Q1 2024
VictoriaMetrics Anomaly Detection Updates: Q1 2024
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards
 
Strategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsStrategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero results
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptx
 

Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi

  • 1. 1 Introduction to Back End Automation Testing 16 | 07 | 2016 Nguyen Vu HOANG Hoang PHI FPT Software
  • 2. WHO we are 2 HOANG Nguyen PHI Hoang Education and Certification Education and Certification  Master of Computer Sciences  ISTQB (Advanced Level Technical Test Analyst)  Scrum Master, Product Owner and ITIL (FL)  CEH, LPIC-1, Novell CLA, CCNA, MCSE, MCDBA, MCSA, MCSD.NET and MCAD.NET.  Bachelor of Sciences  ISTQB (FL)  IBM Certified (Plan, Estimation, Design and Negotiation)
  • 3. Agenda 3 WHAT is back end testing WHY Test Automation Testing Problems and Solutions WHAT we do HOW we do Measurable Results Demo
  • 4. WHAT is back end testing 4  Service layer (80%) – perform testing for services WITHOUT User Interface (UI), AND WHAT in the scope  Enterprise Services at API layer.  RESTful Web Service architectural style.  SOAP Web Service used for general enterprise integration.  Connect-based middleware stack (i.e.: JMS – Java Message Service) WHAT are tested… No UI or Used by back-office operators Web Service, Database, File System, Web Application  Backend application (20%) – perform testing for application/system with UI which is used to monitor and control services.  Enterprise system with UI used by back-office operators.
  • 5. WHAT is back end testing (Cont.) 5 Web Application (Service Monitor and Control) Core Business Services End-User Platforms External Services or Apps Client Platforms Operators Applications and Services Backend Web Application can be tested via user interface.  Platforms can be any if it follows service protocols. Delivered services are NOT for specific platform. 1 1 2 2 Not Available 3  Platforms are not available when testing. 3 3rd party Services DBMSXML
  • 6. WHY Test Automation 6 Saves time and money Increases test coverage Improves accuracy and quality  Huge data verification achievable only by automation. (i.e. verify thousands of XML attributes)  Better coverage, more executions, higher number of test cycles.  Reliability – ensure correct test at protocol layer and eliminate human error.  Auditability – provide comprehensive results.  Regression testing – gain confidence that nothing is broken.  Reusability – same tests on different environments and configurations.  Reduce execution time.
  • 7. Testing Problems and Solutions 7 Testing Problems High Level Solutions  Different technology platforms under test (Operating System, Database, Web Server and application protocols and development).  High data rates and responsiveness  Defragmented testing result so it is difficult to make decision.  Must align testing with agile development methodologies.  Integrate automation testing to Continuous Integration.  Select proper technology stack to centralize the testing result from both manual and automation teams  Design automation test framework to deal with Shell, Web Service, Web Application, gigabytes of XML Data on Windows and Linux. 1 2 3
  • 8. WHAT we do - Standardize CI/CD 8 Continuous Integration Build Automation Static Code Quality Analysis Version Control Collaboration Wikis, Forums Manage Develop Build Test Deploy Test Automation, Performance Testing Code Review and Quality Analysis Unit Testing Cloud Deployment Containerize  Improve the way we develop and test applications by standardizing Continuous Integration (CI) and Continuous Deployment (CD) tool set.  Reduce test and deployment cycles through automation. Issue Tracking Test / Req Management Artifact Management 1
  • 9. WHAT we do – Do Continuous Deployment 9  By saving time in deployment, testers will be able to spend more time on feature testing.  Prevent mistakes in installation while there is lots of configuration defined in release note.  New and old application/services are deployed side by side to eliminate delay impact on testing team in case testing is blocked on the new version.  Testing team starts testing cycle on the new version after smoke testing passed. Ant executes test cases Automation Test Engine VIP Cut Over Application 1.0 Virtual IP Application 1.1 Dependent ComponentDB 1 DB 2 1
  • 10. WHAT we do – Centralize Test Result 10  Full cycle from test design to test execution and reporting.  LISA facilitates test result to SpiraTeam.  Integration with different tools – extensibility mechanisms to support Web GUI and bash shell.  Simple maintenance – applied keyword and data driven automation, conventions and best practices. 2 Reporting Database Test Case Management Requirement Management
  • 11. HOW we do – LISA as Core 11  Deliver end-to-end parallel app development solutions to help develop and test simultaneously [1].  Powerful at testing middleware using Service-Oriented Architecture and Database.  Allow high level of customization. Functionality can be extended through its SDK (software development kit) [2].  Enable in-process, bi-directional communication between the Java VM and the CLR (.NET)  Both desktop or server versions provide integrated environment to build all in a code-less manner. 3
  • 12. HOW we do – Test Web Service and Database 12  Use Service Virtualization to break dependency of testing from development schedule [2].  Use consistent approach to design test cases for web services.  Use powerful built-in functionalities of LISA to automate Web Services and Database testing.  Extend LISA’s capabilities to test JSON. Client Server Web Server Database Server Development in progress Business process analysis Transaction analysis (loss and duplication) Performance analysis Path coverage analysis Error Handling analysis Profiling … Service Mocking, Service Virtualized Test Case Design Approach 3
  • 13. HOW we do – Consideration in Scripting 13 Identification Implementation Execution Report Assessment 3
  • 14. HOW we do – Test Web GUI and Shell 14  Integrate Selenium into LISA so that it can test Web GUI.  A wrapper layer is built on top of core Selenium in order to provide strong GUI testing capability for LISA.  Integrate JCraft into LISA so that it can test Shell script.  Use Awk/Nawk/Gawk [3] language at remote host instead bash script to have fast text processing with low memory usage. Performance is 10+ times faster than bash script. JCraft Extended Selenium (Java base) Core Selenium LISA SSH 3
  • 15. HOW we do – Test Big XML files 15 LISA Xstream JAXB  Process large files (2GB to 3GB for each).  Traverse nodes to smaller chunk.  Cost less memory resource but takes time to read XML file. Xstream  Process delta (small) data.  Binding Java-to-XML makes it easy to incorporate XML data and processing Java functions quickly.  Cost more memory resource but it’s fast. JAXB Combine Xstream and JAXB 3  ~3 min: XML (~3GB) and XSD Schema.  ~6 min: 2 XML files (~3GB per each) Results
  • 16. Measurable Results 16  Unified automation test approach for 60+ projects.  Automated tests that cannot be done by manual.  100 000+ executed tests  12 000+ automated tests  92% saving execution time Application 1 (547 TCs) Manual 4 MDs Automated 50 min 97% Application 2 (590 TCs) Manual 23.5 MDs Automated 90 min 99% Application 3 (211 TCs) Manual 5.1 MDs Automated 1 MD 80% Application 4 (2000 TCs) Manual 1755 hrs Automated 155 hrs 91% Application 5 (221 TCs) Manual 117 hrs Automated 7 hrs 94% Application 6 (30 TCs) Manual 30 hrs Automated 13 min 99% Tool Cost ($) Similar Tool Spira 3-Users ($79.99 / month) Testlink (free) LISA 5-Users (~$1,666 / month) SoapUI (free/license)  Tool price and similar tool
  • 17. Demo 17 1) Trigger test from Jenkins 2) Call LISA script 3) Call Shell script 4) Call Selenium script 5) Update result to SpiraTeam (Duration: 1.5 minutes)
  • 18. References 18 [1]. Develop & Test (former named CA LISA), http://www.ca.com/us/products/develop-test.html [2]. Documentation of DevTest Solutions - 8.0, https://docops.ca.com/devtest-solutions/8-0/en [3]. Awk/Nawk/Gawk tutorial, http://www.grymoire.com/Unix/Awk.html
  • 19. © 2016 HCMC Software Testing Club THANK YOU