SlideShare a Scribd company logo
1 of 25
Introducing Operational
Intelligence into Testing
Albert Witteveen
Dublin 2014
www.eurostarconferences.com
Introduction
• > 15 years working in both operations and in test (Telco
industry)
• made responsible for operations of the systems I had
been testing for years.
• had to eat my own dogfood.....
• now back in testing
www.eurostarconferences.com
www.eurostarconferences.com
Excuses, excuses…
• Serious issues after go live
• “How could the testers have missed this?”
• We know all the reasons, right?
– can't test everything
– time
– wasn't in the design...
But in operations we knew within hours...
www.eurostarconferences.com
The difference?
• do the operations people:
– know things we don't?
– have documentation we don't
– have super powers?
• or is testing inadequate?
www.eurostarconferences.com
The situation
• Business process travel through many systems
• Systems coupled by enterprise service bus (ESB)
• Documentation is changed based, not system based
• No feedback loop test and operations
• Operations also handled business process issues
www.eurostarconferences.com
An overview of our test infrastructure
- A0 of the system under test
- Each square is a system
www.eurostarconferences.com
Findings
• Testers and operations use different tools
• Testers focus on their own test, ignore many other errors
• Test was finished when cases passed: No final check if we could perform the
functions with no errors left
• Forking nature service bus makes defining expected result hard
• Operations is experience based
• Operations cannot ignore errors → a customer is impacted
It differs! Both ops and testers had exceptions
www.eurostarconferences.com
How does operations check?
• Operations
– has no expected result, they have errors
– is experience based, they learn where to look
– Acts on errors from monitoring and reported issues
• Analysis on errors: trace the business process
• One ‘advantage’ over test: every error counts..
www.eurostarconferences.com
Down the rabbit hole
• Issues detected, unlike with test:
– unkown actions by user (no test case)
– not always expected result
• Analysis:
– Start at system with error(s)
– Trace back through logs in the systems
www.eurostarconferences.com
How can we use this?
• Lessons learned:
– Don’t just focus on the test case, get a view on the errors in
the systems
– Track back logs of your tests in all the systems, also the ones
you were unaware of
– When all test cases are done, (re)test the core business
processes and expect no errors
Gtac 2007: logs are a huge untapped resource
www.eurostarconferences.com
DIY or get operations involved
• Applying the skills and tools of operations improves
testing
• Operations is experience based and evolves -> get
involvement not just lessons
www.eurostarconferences.com
Classical operational analytics
• Digging through log files and databases is a lot of work
– Log in to many systems
– Manually search for the info of your process in many lines of
data
– Easy to miss lines or even logs
– The big picture is hard to see
www.eurostarconferences.com
Operational analytics software
• indexes logging information in real time
• indexes from multiple systems
• each line is turned into a time based event
• shows all the errors warnings etc.
• can show anything relating to your business process
• visualizes in real time
• provides history (is this error new)
• tackles the hard to reproduce issues
www.eurostarconferences.com
The haystack
• Operational analytics helps you to:
– See the big picture
– Find the needle
• The big picture: graphs, history, numbers
• The needle: find the error related to your business
process
Shouldn’t we be doing that in test as well?
www.eurostarconferences.com
Searching for errors
www.eurostarconferences.com
Dashboards
• Searches can be turned into real time dashboards
www.eurostarconferences.com
Reliability dashboard
www.eurostarconferences.com
Full business process overview
All messages in
sequence
Message in detail
www.eurostarconferences.com
Additional advantages for test
• After the fact data masking
• New testers up and running fast (central location of
info)
• Make ‘protected logs’ available for testing
• Monitor third party activity
• Quickly debunk emotional claims…..
– Or prove the seriousness!
www.eurostarconferences.com
Use cases for test
• Search (Google) for errors
• Full business process overview
• Fast root cause analysis
• Reproduce the hard cases
• Reliability dashboards (nr of errors/warnings vs. nr of (unique)
business processes)
• Outsourcing monitoring
• Production shadow (southbound systems)
www.eurostarconferences.com
Search for errors
• Actual error messages
• Statistics on errors (10% fail)
• Find the strange error that we couldn’t reproduce
• Advantages:
– Find unknown errors
– Find the cause for multiple functional errors
• -
www.eurostarconferences.com
Production shadow
• All life cycle
events in both
systems
• OA tools show
all errors
• Bills can be
compared
• Works ‘south
bound’
order
manager
Old billing
system
ESB
Customer
services system
Mediation
Usage (CDR’s)
New billing
system
Customer
services system
Existing system
Duplication point
Copy system (validation)
Greenfield interface
www.eurostarconferences.com
So no more testing?
• OA can show errors but not functionality failure
(2+2=5) ??
• With no one testing, there is nothing logged
It augments testing
www.eurostarconferences.com
Lessons learned
• Operations people are hard to get into a testing mode
• Resistance to OA, ‘we already have tool for that’
• Just teaching ops skills to testing misses the learning
part
• OA is useless without the right and skilled people
www.eurostarconferences.com
Summary
• Get people from ops involved
• Systems are too complex to expect testers to fully
understand expected result
• Logs are a huge resource
• Operational analytics helps the able

More Related Content

Similar to EuroSTAR_DUBLIN_2014_Albert_Witteveen_v6

New Model Testing: A New Test Process and Tool
New Model Testing:  A New Test Process and ToolNew Model Testing:  A New Test Process and Tool
New Model Testing: A New Test Process and ToolTEST Huddle
 
DockerCon SF 2019 - TDD is Dead
DockerCon SF 2019 - TDD is DeadDockerCon SF 2019 - TDD is Dead
DockerCon SF 2019 - TDD is DeadKevin Crawley
 
Generating unit tests based on user logs
Generating unit tests based on user logsGenerating unit tests based on user logs
Generating unit tests based on user logsRick Wicker
 
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...TEST Huddle
 
A practical guide for using Statistical Tests to assess Randomized Algorithms...
A practical guide for using Statistical Tests to assess Randomized Algorithms...A practical guide for using Statistical Tests to assess Randomized Algorithms...
A practical guide for using Statistical Tests to assess Randomized Algorithms...Lionel Briand
 
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdfTest Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdfDiana Gray, MBA
 
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...TEST Huddle
 
Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008Pete Schneider
 
SAP Test automation - fully automatic test of complex business processes incl...
SAP Test automation - fully automatic test of complex business processes incl...SAP Test automation - fully automatic test of complex business processes incl...
SAP Test automation - fully automatic test of complex business processes incl...Tobias Trapp
 
Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012
Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012
Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012TEST Huddle
 
The Evolution of Development Testing
The Evolution of Development TestingThe Evolution of Development Testing
The Evolution of Development TestingCathal King
 
Eric Proegler Early Performance Testing from CAST2014
Eric Proegler Early Performance Testing from CAST2014Eric Proegler Early Performance Testing from CAST2014
Eric Proegler Early Performance Testing from CAST2014Eric Proegler
 
Chromatography Data System: Getting It “Right First Time” Seminar Series – Pa...
Chromatography Data System: Getting It “Right First Time” Seminar Series – Pa...Chromatography Data System: Getting It “Right First Time” Seminar Series – Pa...
Chromatography Data System: Getting It “Right First Time” Seminar Series – Pa...Chromatography & Mass Spectrometry Solutions
 
39.Testing-Part3.ppt
39.Testing-Part3.ppt39.Testing-Part3.ppt
39.Testing-Part3.pptSapnaRastogi3
 
No Devops Without Continuous Testing
No Devops Without Continuous TestingNo Devops Without Continuous Testing
No Devops Without Continuous TestingParasoft
 
Agile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseAgile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseClareMcLennan
 
Mastering Complex Application Deployments
Mastering Complex Application DeploymentsMastering Complex Application Deployments
Mastering Complex Application DeploymentsIBM UrbanCode Products
 

Similar to EuroSTAR_DUBLIN_2014_Albert_Witteveen_v6 (20)

New Model Testing: A New Test Process and Tool
New Model Testing:  A New Test Process and ToolNew Model Testing:  A New Test Process and Tool
New Model Testing: A New Test Process and Tool
 
MES systems
MES systemsMES systems
MES systems
 
DockerCon SF 2019 - TDD is Dead
DockerCon SF 2019 - TDD is DeadDockerCon SF 2019 - TDD is Dead
DockerCon SF 2019 - TDD is Dead
 
Generating unit tests based on user logs
Generating unit tests based on user logsGenerating unit tests based on user logs
Generating unit tests based on user logs
 
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...
 
A practical guide for using Statistical Tests to assess Randomized Algorithms...
A practical guide for using Statistical Tests to assess Randomized Algorithms...A practical guide for using Statistical Tests to assess Randomized Algorithms...
A practical guide for using Statistical Tests to assess Randomized Algorithms...
 
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdfTest Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
 
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
 
Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008
 
Agile Testing
Agile TestingAgile Testing
Agile Testing
 
SAP Test automation - fully automatic test of complex business processes incl...
SAP Test automation - fully automatic test of complex business processes incl...SAP Test automation - fully automatic test of complex business processes incl...
SAP Test automation - fully automatic test of complex business processes incl...
 
Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012
Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012
Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012
 
The Evolution of Development Testing
The Evolution of Development TestingThe Evolution of Development Testing
The Evolution of Development Testing
 
Eric Proegler Early Performance Testing from CAST2014
Eric Proegler Early Performance Testing from CAST2014Eric Proegler Early Performance Testing from CAST2014
Eric Proegler Early Performance Testing from CAST2014
 
Chromatography Data System: Getting It “Right First Time” Seminar Series – Pa...
Chromatography Data System: Getting It “Right First Time” Seminar Series – Pa...Chromatography Data System: Getting It “Right First Time” Seminar Series – Pa...
Chromatography Data System: Getting It “Right First Time” Seminar Series – Pa...
 
39.Testing-Part3.ppt
39.Testing-Part3.ppt39.Testing-Part3.ppt
39.Testing-Part3.ppt
 
No Devops Without Continuous Testing
No Devops Without Continuous TestingNo Devops Without Continuous Testing
No Devops Without Continuous Testing
 
Design testabilty
Design testabiltyDesign testabilty
Design testabilty
 
Agile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseAgile Acceptance testing with Fitnesse
Agile Acceptance testing with Fitnesse
 
Mastering Complex Application Deployments
Mastering Complex Application DeploymentsMastering Complex Application Deployments
Mastering Complex Application Deployments
 

EuroSTAR_DUBLIN_2014_Albert_Witteveen_v6