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

Running distributed tests with k6.pdf
Running distributed tests with k6.pdfRunning distributed tests with k6.pdf
Running distributed tests with k6.pdfLibbySchulze
 
Develop custom SAPUI5 libraries using SAP Web IDE
Develop custom SAPUI5 libraries using SAP Web IDEDevelop custom SAPUI5 libraries using SAP Web IDE
Develop custom SAPUI5 libraries using SAP Web IDEThomas Nelissen
 
Test Automation
Test AutomationTest Automation
Test Automationrockoder
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework DesignsSauce Labs
 
What is Performance Testing?
What is Performance Testing?What is Performance Testing?
What is Performance Testing?QA InfoTech
 
Make a Mobile Web Site
Make a Mobile Web SiteMake a Mobile Web Site
Make a Mobile Web SiteJasmine Sante
 
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...Postman
 
LoadRunner Performance Testing
LoadRunner Performance TestingLoadRunner Performance Testing
LoadRunner Performance TestingAtul Pant
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingArchana Krushnan
 
Mobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.pptMobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.pptQA Programmer
 
Ppt of soap ui
Ppt of soap uiPpt of soap ui
Ppt of soap uipkslide28
 
Why Progressive Web Apps For WordPress - WordCamp Finland
Why Progressive Web Apps For WordPress - WordCamp FinlandWhy Progressive Web Apps For WordPress - WordCamp Finland
Why Progressive Web Apps For WordPress - WordCamp FinlandImran Sayed
 
Presentation for soap ui
Presentation for soap uiPresentation for soap ui
Presentation for soap uiAnjali Rao
 
Progressive Web Applications
Progressive Web ApplicationsProgressive Web Applications
Progressive Web ApplicationsBartek Igielski
 

Mais procurados (20)

Running distributed tests with k6.pdf
Running distributed tests with k6.pdfRunning distributed tests with k6.pdf
Running distributed tests with k6.pdf
 
Develop custom SAPUI5 libraries using SAP Web IDE
Develop custom SAPUI5 libraries using SAP Web IDEDevelop custom SAPUI5 libraries using SAP Web IDE
Develop custom SAPUI5 libraries using SAP Web IDE
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
What is Performance Testing?
What is Performance Testing?What is Performance Testing?
What is Performance Testing?
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Testing methodology
Testing methodologyTesting methodology
Testing methodology
 
Sanity testing and smoke testing
Sanity testing and smoke testingSanity testing and smoke testing
Sanity testing and smoke testing
 
Make a Mobile Web Site
Make a Mobile Web SiteMake a Mobile Web Site
Make a Mobile Web Site
 
Test link
Test linkTest link
Test link
 
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
 
LoadRunner Performance Testing
LoadRunner Performance TestingLoadRunner Performance Testing
LoadRunner Performance Testing
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Mobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.pptMobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.ppt
 
Ppt of soap ui
Ppt of soap uiPpt of soap ui
Ppt of soap ui
 
Why Progressive Web Apps For WordPress - WordCamp Finland
Why Progressive Web Apps For WordPress - WordCamp FinlandWhy Progressive Web Apps For WordPress - WordCamp Finland
Why Progressive Web Apps For WordPress - WordCamp Finland
 
Software testing
Software testingSoftware testing
Software testing
 
Presentation for soap ui
Presentation for soap uiPresentation for soap ui
Presentation for soap ui
 
Progressive Web Applications
Progressive Web ApplicationsProgressive Web Applications
Progressive Web Applications
 
Soap ui
Soap uiSoap ui
Soap ui
 

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

Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 

Último (20)

Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 

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