SlideShare a Scribd company logo
1 of 37
Download to read offline
MODEL-BASED TESTING:
TODAY AND TOMORROW
Robert V. Binder

ETSI Model-Based Testing User Conference
Tallinn, Estonia
September 27, 2012
© 2012, Robert V. Binder. All Rights Reserved
2




Overview
• Is software eating the world?
• Bugs
• Black Swans
• Dragon Kings
• Multi-dimensional Testing
• Challenges
3



“Software is Eating the World”
-Marc Andreessen




 Wall Street Journal, Aug 20 2011
4




Internet Trends. Mary Meeker, D10 Conference. May 2012
5




Internet Trends. Mary Meeker, D10 Conference. May 2012
6




Internet Trends. Mary Meeker, D10 Conference. May 2012
7



Embedded and Connected




  2015 Connected Device Landscape: The Expanding Computing Continuum.
                                           David Perlmutter, Intel. 2009
8




  IT Disruption




Gartner Top Predictions for 2012: Control Slips Away, Daryl Plummer. March 2012
9




Internet Trends. Mary Meeker, D10 Conference. May 2012
10




Is Software really eating the world?
Methods/Tools since Y2K
• 2nd gen IDE
• MBT, MDD
• Aspect OP
• Open Source
• UML 2.0
• Cont. Integration
• Web 2.0
• Agile
• ISO 12027
• LAMP Stack
• Many protocols
• HTML 5
• iOS, Android
• Big Data                http://langpop.com/
• Software Def Netwks     Relative rank from ~2M data points
11



Is Software really eating the world?




 Engineering Change to Accelerate Product and Systems Development.
 Christopher Rommel, VDC Research. August 2012
12




 Hardware is eating the world
Everything Computes & Connects    Software Methods and Tools

 • 10x to 100x                   • ?X Productivity
   • ten years                   • ?X Quality
 • 100x to 1000x                 • Last ten years?
   • twenty years
                                 • Last twenty years?


 • Cheaper, better, faster       • Cheaper, better, faster
   • Disrupt or die                • “Choose two”
13




Old bugs, new bugs
• No fundamental or       • End of the uni-stack
 transformative           • Multi-stack, mobile,
 improvements in            connected
 software                 • Inherently unstable

• Bugs still as likely,   • New failure modes
 more code


     What do you think will happen?
14




Old Bugs
• Incorrect output   • Bohr Bugs
• Missing feature      Predictable, repeatable

• Abnormal end       • Mandel Bugs
                       Obscure, complex trigger
• Missed deadline
                     • Heisen Bugs
                       Disappears if you look


                      The Jargon File
                      http://www.catb.org/jargon
15




Bohr Bugs
16




Mandel Bugs
17




Heisen Bugs
18




New Bugs
• Power Law Models
• Black Swans
• Dragon Kings
19




 Power Law Models

• Many natural
 phenomena

• “Fat Tails”




     Dragon-Kings, Black Swans and the Prediction of Crises. Didier Sornette

    http://www.youtube.com/watch?v=FlTSbzOvKZI
20




Reliability Growth




   The Lognormal Distribution of Software Failure Rates: Application to
   Software Reliability Growth Modeling. Robert E. Mullen
21




 Black Swans
• Very rare
• Surprise
• Cannot predict
• Power law outliers
22



Software Black Swans
• Total eclipse
   • Once every 360 years


• Multi-cycle race
 conditions in hard
 realtime systems
23




Dragon Kings
• Extreme Outlier
   Beyond fat tail
• Latent Positive Feedback
• “Phase Shift”
    Earthquakes
    Material Fractures
    Epileptic Seizures
    Market Crashes
24




Dragon Kings




Sornett calls these exceptional events dragon
kings “to stress that we deal with a completely
different kind of animal, beyond the normal,
whose extraordinary characteristics [have]
profound significance.”
25




Latent Positive Feedback = Dragon King
26



New Failure Modes:
Amazon Cloud Outage
• Amazon web service Elastic      • ELB reaction: try to allocate
 Compute Cloud crashes             more larger servers.
 (power failure)
                                  • Backlog in the “control plane”
• The Elastic Load Balancing       results.
 (ELB) system frantically tries
 to assign workloads to           • Demand from customers in
 available servers.                unaffected availability zones
                                   continues
• As Amazon’s cloud rebooted,
 “a large number of ELBs          • System swamped and
 came up in a state which          crashes again.
 triggered a bug we hadn’t
 seen before”
27




What kind of failure was this?


• Why didn’t test find it?


• What would we have to do to find
 these kind of bugs?
28




Hic Sunt
Dracones
29




Here be Dragons
 Latent positive feedback
  External disruptors
  Malicious attack target
 Partial degradation
  Provoked panic
 Low testability
  Multi-stack
  Field-infeasible
  Uncontrollable inputs
30




Looking under the Model-based Lampost?
Logic errors and incorrect
assumptions are inversely
proportional to a path’s
execution probability.

                  Boris Beizer
• 9 in 10 MBT testers do
  functionality only
• Climbs a tree, not the twigs
• Typically no load test
31




Multi-Dimensional Testing
Test suite interleaves three kinds of variation
Behavior                   Interfaces
• Realistic variation      • Drive all interfaces
• Markov event/data        • Disrupt resources
• Include
  • Fat finger             Load
  • Abuse cases            • Vary input rate wrt time
  • Sneak paths
  • Panics

  Not possible without full automation
32




 Interleave Behavior, Load, Interfaces
                                                                                            3500.000
10000000
                                                                                            3000.000
1000000
                                                                                            2500.000
  100000




                                                                    X
                                                                                            2000.000
   10000




                                                                        Events Per Second
                                                                                            1500.000
    1000
                                                                                            1000.000
     100
                                                                                             500.000
      10
                                                                                               0.000
       1                                                                -5000        0                 5000   10000       15000        20000   25000
Use Case A       B      C   D E    F   G     H   I   J   K L                -500.000
                                                                                                               Time (seconds)



           Simulator

                                            Oracle




X                                                                       =
             Adapter
                                                             Splainer
             Adapter


             Adapter                       Comparator


              Adapter                                    Test Verdict
                                                         Run Reports
                             SUT
33




Hunting the Dragon King
                                    Common Black Dragon
                                     Bugs  Swans Kings
                Fragile                1     0      0
     Massively Manual                  2     0      0
       Test Driven Dev                 3     1      0
           Exploratory                 3     1      0
        Crowdsourced                   2     0      0
       Functional MBT                  5     3      1
Multi-dimensional MBT                  5     4      3

• 0 You must be joking               • 3 One Sigma
• 1 Write if you get work            • 4 Michael Jordan free throw (82%)
• 2 Even a broken clock is right…    • 5 Sargent Preston
34




What have we learned?
• Information Technology is eating the world

• Common bug rates will not decline

• More new systems will have dragon kings

• Functional/model coverage MBT will not find
 dragon kings

• Multi-dimensional MBT can find dragon kings

• Opportunity for test engineering to lead
35




May you live in interesting times …

Challenges for the MBT Community

Tool Providers             MBT Test Engineers
 • Start shipping multi-    • Learn to lead
  dimensional               • Start hunting your
  solutions                  dragon kings
36




Thank you !


rvbinder@gmail.com

www.robertvbinder.com
37




Content and Image Sources
First Generation of Re-Imagination                                  Reliability Growth
Android Phone Adoption has ramped even faster                       R. E. Mullen, “The Lognormal Distribution of Software Failure Rates:
Despite Tremendous Ramp so Far, Smartphone User Adoption…           Application to Software Reliability Growth Modeling,” International
Magnitude of Upcoming Change Will be Stunning…                      Symposium on Software Reliability Engineering, 1998, p 134.
Internet Trends. Mary Meeker, D10 Conference May 2012
http://kpcb.com/insights/2012-internet-trends                       Black Swans
                                                                    The Black Swan: the Impact of the Highly Improbable. Nassim
Embedded and Connected                                              Taleb.
2015 Connected Device Landscape: The Expanding                      http://www.publicdomainpictures.net/view-
Computing Continuum. David Perlmutter, Intel. 2009                  image.php?image=8248&picture=black-swan&large=1
http://www.intel.com/pressroom/kits/events/idffall_2009/video.htm
                                                                    Software Black Swans
IT Disruption                                                       http://apod.nasa.gov/apod/ap060404.html
Gartner Top Predictions for 2012: Control Slips Away, Daryl
Plummer. March 2012                                                 Dragon Kings
                                                                    http://wallpaper4me.com/wallpaper/Dragon-King-of-The-Land/
Is Software really eating the world?
Engineering Change to Accelerate Product and Systems                Latent Positive Feedback = Dragon King
Development. Christopher Rommel, VDC Research. August               http://www.everythingselectric.com/forum/index.php?topic=244.0
2012
                                                                    Amazon Outage
Mandel Bug                                                          Hidden bugs that made Amazon Web Service outage worse. Cnet
http://www.incamouflage.com/2009/05/bug-camouflage/                 News, July 3, 2012.
                                                                    http://news.cnet.com/8301-1009_3-57465761-83/hidden-bugs-that-
Heisen Bug                                                          made-amazon-web-service-outage-worse/
http://www.adriennehedger.com/2009/07/june-bug-situation.html
http://openclipart.org/detail/145735/cartoon-fly-by-printerkiller   Hic Sunt Dracones
                                                                    http://tomlytle.com/
Power Law Models
Dragon-Kings, Black Swans and the Prediction of Crises.             Looking under the Model-based Lampost?
Didier Sornette. International Journal of Terraspace Science and    http://stconsultant.blogspot.com/2010/11/old-saying.html
Engineering 2009
http://www.youtube.com/watch?v=FlTSbzOvKZI

More Related Content

Similar to Model-based Testing: Today And Tomorrow

MapReduce In The Cloud Infinispan Distributed Task Execution Framework
MapReduce In The Cloud Infinispan Distributed Task Execution FrameworkMapReduce In The Cloud Infinispan Distributed Task Execution Framework
MapReduce In The Cloud Infinispan Distributed Task Execution FrameworkManik Surtani
 
Dirty - How simple is your database?
Dirty - How simple is your database?Dirty - How simple is your database?
Dirty - How simple is your database?Felix Geisendörfer
 
Salim Ismail - Exponential Canada
Salim Ismail - Exponential CanadaSalim Ismail - Exponential Canada
Salim Ismail - Exponential CanadaSUCanadaSummit
 
MonoRails - GoGaRuCo 2012
MonoRails - GoGaRuCo 2012MonoRails - GoGaRuCo 2012
MonoRails - GoGaRuCo 2012jackdanger
 
Functional solid
Functional solidFunctional solid
Functional solidMatt Stine
 
Secure Because Math: A Deep-Dive on Machine Learning-Based Monitoring (#Secur...
Secure Because Math: A Deep-Dive on Machine Learning-Based Monitoring (#Secur...Secure Because Math: A Deep-Dive on Machine Learning-Based Monitoring (#Secur...
Secure Because Math: A Deep-Dive on Machine Learning-Based Monitoring (#Secur...Alex Pinto
 
Morning with MongoDB Paris 2012 - Making Big Data Small
Morning with MongoDB Paris 2012 - Making Big Data SmallMorning with MongoDB Paris 2012 - Making Big Data Small
Morning with MongoDB Paris 2012 - Making Big Data SmallMongoDB
 
Breaking for commercials: Characterizing Mobile Advertising
Breaking for commercials: Characterizing Mobile AdvertisingBreaking for commercials: Characterizing Mobile Advertising
Breaking for commercials: Characterizing Mobile AdvertisingNarseo Rodriguez
 
Experience is the teacher of fools [liber eblida digitization workshop 201110]
Experience is the teacher of fools [liber eblida digitization workshop 201110]Experience is the teacher of fools [liber eblida digitization workshop 201110]
Experience is the teacher of fools [liber eblida digitization workshop 201110]Frederick Zarndt
 
2015 05-07 - vu amsterdam - testing safety critical systems
2015 05-07 - vu amsterdam - testing safety critical systems2015 05-07 - vu amsterdam - testing safety critical systems
2015 05-07 - vu amsterdam - testing safety critical systemsJaap van Ekris
 
Testing Safety Critical Systems (10-02-2014, VU amsterdam)
Testing Safety Critical Systems (10-02-2014, VU amsterdam)Testing Safety Critical Systems (10-02-2014, VU amsterdam)
Testing Safety Critical Systems (10-02-2014, VU amsterdam)Jaap van Ekris
 
Hadoop World 2011: BI on Hadoop in Financial Services - Stefan Grschupf, Data...
Hadoop World 2011: BI on Hadoop in Financial Services - Stefan Grschupf, Data...Hadoop World 2011: BI on Hadoop in Financial Services - Stefan Grschupf, Data...
Hadoop World 2011: BI on Hadoop in Financial Services - Stefan Grschupf, Data...Cloudera, Inc.
 
C gros-webscience-talk
C gros-webscience-talkC gros-webscience-talk
C gros-webscience-talkfroubeac
 
Parse.ly: Inside a modern RIA built with Solr
Parse.ly: Inside a modern RIA built with SolrParse.ly: Inside a modern RIA built with Solr
Parse.ly: Inside a modern RIA built with SolrAndrew Montalenti
 
Quotables Quotes
Quotables QuotesQuotables Quotes
Quotables Quotesmat f.
 
Fix What Matters: A Data Driven Approach to Vulnerability Management
Fix What Matters: A Data Driven Approach to Vulnerability ManagementFix What Matters: A Data Driven Approach to Vulnerability Management
Fix What Matters: A Data Driven Approach to Vulnerability ManagementMichael Roytman
 
Autonomous Microservices - Manning - July 2020
Autonomous Microservices - Manning - July 2020Autonomous Microservices - Manning - July 2020
Autonomous Microservices - Manning - July 2020Matthew Groves
 
Quelle stratégie pour EMC en 2015 ? Repensons l'IT
Quelle stratégie pour EMC en 2015 ? Repensons l'ITQuelle stratégie pour EMC en 2015 ? Repensons l'IT
Quelle stratégie pour EMC en 2015 ? Repensons l'ITRSD
 

Similar to Model-based Testing: Today And Tomorrow (20)

MapReduce In The Cloud Infinispan Distributed Task Execution Framework
MapReduce In The Cloud Infinispan Distributed Task Execution FrameworkMapReduce In The Cloud Infinispan Distributed Task Execution Framework
MapReduce In The Cloud Infinispan Distributed Task Execution Framework
 
Dirty - How simple is your database?
Dirty - How simple is your database?Dirty - How simple is your database?
Dirty - How simple is your database?
 
Salim Ismail - Exponential Canada
Salim Ismail - Exponential CanadaSalim Ismail - Exponential Canada
Salim Ismail - Exponential Canada
 
MonoRails - GoGaRuCo 2012
MonoRails - GoGaRuCo 2012MonoRails - GoGaRuCo 2012
MonoRails - GoGaRuCo 2012
 
Functional solid
Functional solidFunctional solid
Functional solid
 
Secure Because Math: A Deep-Dive on Machine Learning-Based Monitoring (#Secur...
Secure Because Math: A Deep-Dive on Machine Learning-Based Monitoring (#Secur...Secure Because Math: A Deep-Dive on Machine Learning-Based Monitoring (#Secur...
Secure Because Math: A Deep-Dive on Machine Learning-Based Monitoring (#Secur...
 
Morning with MongoDB Paris 2012 - Making Big Data Small
Morning with MongoDB Paris 2012 - Making Big Data SmallMorning with MongoDB Paris 2012 - Making Big Data Small
Morning with MongoDB Paris 2012 - Making Big Data Small
 
Breaking for commercials: Characterizing Mobile Advertising
Breaking for commercials: Characterizing Mobile AdvertisingBreaking for commercials: Characterizing Mobile Advertising
Breaking for commercials: Characterizing Mobile Advertising
 
Experience is the teacher of fools [liber eblida digitization workshop 201110]
Experience is the teacher of fools [liber eblida digitization workshop 201110]Experience is the teacher of fools [liber eblida digitization workshop 201110]
Experience is the teacher of fools [liber eblida digitization workshop 201110]
 
2015 05-07 - vu amsterdam - testing safety critical systems
2015 05-07 - vu amsterdam - testing safety critical systems2015 05-07 - vu amsterdam - testing safety critical systems
2015 05-07 - vu amsterdam - testing safety critical systems
 
Testing Safety Critical Systems (10-02-2014, VU amsterdam)
Testing Safety Critical Systems (10-02-2014, VU amsterdam)Testing Safety Critical Systems (10-02-2014, VU amsterdam)
Testing Safety Critical Systems (10-02-2014, VU amsterdam)
 
Hadoop World 2011: BI on Hadoop in Financial Services - Stefan Grschupf, Data...
Hadoop World 2011: BI on Hadoop in Financial Services - Stefan Grschupf, Data...Hadoop World 2011: BI on Hadoop in Financial Services - Stefan Grschupf, Data...
Hadoop World 2011: BI on Hadoop in Financial Services - Stefan Grschupf, Data...
 
C gros-webscience-talk
C gros-webscience-talkC gros-webscience-talk
C gros-webscience-talk
 
The new mobile world
The new mobile worldThe new mobile world
The new mobile world
 
Parse.ly: Inside a modern RIA built with Solr
Parse.ly: Inside a modern RIA built with SolrParse.ly: Inside a modern RIA built with Solr
Parse.ly: Inside a modern RIA built with Solr
 
Quotables Quotes
Quotables QuotesQuotables Quotes
Quotables Quotes
 
Presentation dropbox
Presentation dropboxPresentation dropbox
Presentation dropbox
 
Fix What Matters: A Data Driven Approach to Vulnerability Management
Fix What Matters: A Data Driven Approach to Vulnerability ManagementFix What Matters: A Data Driven Approach to Vulnerability Management
Fix What Matters: A Data Driven Approach to Vulnerability Management
 
Autonomous Microservices - Manning - July 2020
Autonomous Microservices - Manning - July 2020Autonomous Microservices - Manning - July 2020
Autonomous Microservices - Manning - July 2020
 
Quelle stratégie pour EMC en 2015 ? Repensons l'IT
Quelle stratégie pour EMC en 2015 ? Repensons l'ITQuelle stratégie pour EMC en 2015 ? Repensons l'IT
Quelle stratégie pour EMC en 2015 ? Repensons l'IT
 

More from Bob Binder

How to Release Rock-solid RESTful APIs and Ice the Testing BackBlob
How to Release Rock-solid RESTful APIs and Ice the Testing BackBlobHow to Release Rock-solid RESTful APIs and Ice the Testing BackBlob
How to Release Rock-solid RESTful APIs and Ice the Testing BackBlobBob Binder
 
Lessons learned validating 60,000 pages of api documentation
Lessons learned validating 60,000 pages of api documentationLessons learned validating 60,000 pages of api documentation
Lessons learned validating 60,000 pages of api documentationBob Binder
 
Mobile App Assurance: Yesterday, Today, and Tomorrow.
Mobile App Assurance: Yesterday, Today, and Tomorrow.Mobile App Assurance: Yesterday, Today, and Tomorrow.
Mobile App Assurance: Yesterday, Today, and Tomorrow.Bob Binder
 
Popular Delusions, Crowds, and the Coming Deluge: end of the Oracle?
Popular Delusions, Crowds, and the Coming Deluge: end of the Oracle?Popular Delusions, Crowds, and the Coming Deluge: end of the Oracle?
Popular Delusions, Crowds, and the Coming Deluge: end of the Oracle?Bob Binder
 
MTS: Controllable Test Objects
MTS: Controllable Test ObjectsMTS: Controllable Test Objects
MTS: Controllable Test ObjectsBob Binder
 
Achieving Very High Reliability for Ubiquitous Information Technology
Achieving Very High Reliability for Ubiquitous Information Technology Achieving Very High Reliability for Ubiquitous Information Technology
Achieving Very High Reliability for Ubiquitous Information Technology Bob Binder
 
The Tester’s Dashboard: Release Decision Support
The Tester’s Dashboard: Release Decision SupportThe Tester’s Dashboard: Release Decision Support
The Tester’s Dashboard: Release Decision SupportBob Binder
 
Performance Testing Mobile and Multi-Tier Applications
Performance Testing Mobile and Multi-Tier ApplicationsPerformance Testing Mobile and Multi-Tier Applications
Performance Testing Mobile and Multi-Tier ApplicationsBob Binder
 
Testing Object-Oriented Systems: Lessons Learned
Testing Object-Oriented Systems: Lessons LearnedTesting Object-Oriented Systems: Lessons Learned
Testing Object-Oriented Systems: Lessons LearnedBob Binder
 
mVerify Investor Overview
mVerify Investor OverviewmVerify Investor Overview
mVerify Investor OverviewBob Binder
 
MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.Bob Binder
 
Mobile Reliability Challenges
Mobile Reliability ChallengesMobile Reliability Challenges
Mobile Reliability ChallengesBob Binder
 
Experience with a Profile-based Automated Testing Environment
Experience with a Profile-based Automated Testing EnvironmentExperience with a Profile-based Automated Testing Environment
Experience with a Profile-based Automated Testing EnvironmentBob Binder
 
Testability: Factors and Strategy
Testability: Factors and StrategyTestability: Factors and Strategy
Testability: Factors and StrategyBob Binder
 
Test Objects -- They Just Work
Test Objects -- They Just WorkTest Objects -- They Just Work
Test Objects -- They Just WorkBob Binder
 
A Million Users in a Box: The WTS Story
A Million Users in a Box: The WTS StoryA Million Users in a Box: The WTS Story
A Million Users in a Box: The WTS StoryBob Binder
 
ISSRE 2008 Trip Report
ISSRE 2008 Trip ReportISSRE 2008 Trip Report
ISSRE 2008 Trip ReportBob Binder
 
Software Test Patterns: Successes and Challenges
Software Test Patterns: Successes and ChallengesSoftware Test Patterns: Successes and Challenges
Software Test Patterns: Successes and ChallengesBob Binder
 
Assurance for Cloud Computing
Assurance for Cloud ComputingAssurance for Cloud Computing
Assurance for Cloud ComputingBob Binder
 
The Advanced Mobile Application Testing Environment: Project Report
The Advanced Mobile Application Testing Environment: Project ReportThe Advanced Mobile Application Testing Environment: Project Report
The Advanced Mobile Application Testing Environment: Project ReportBob Binder
 

More from Bob Binder (20)

How to Release Rock-solid RESTful APIs and Ice the Testing BackBlob
How to Release Rock-solid RESTful APIs and Ice the Testing BackBlobHow to Release Rock-solid RESTful APIs and Ice the Testing BackBlob
How to Release Rock-solid RESTful APIs and Ice the Testing BackBlob
 
Lessons learned validating 60,000 pages of api documentation
Lessons learned validating 60,000 pages of api documentationLessons learned validating 60,000 pages of api documentation
Lessons learned validating 60,000 pages of api documentation
 
Mobile App Assurance: Yesterday, Today, and Tomorrow.
Mobile App Assurance: Yesterday, Today, and Tomorrow.Mobile App Assurance: Yesterday, Today, and Tomorrow.
Mobile App Assurance: Yesterday, Today, and Tomorrow.
 
Popular Delusions, Crowds, and the Coming Deluge: end of the Oracle?
Popular Delusions, Crowds, and the Coming Deluge: end of the Oracle?Popular Delusions, Crowds, and the Coming Deluge: end of the Oracle?
Popular Delusions, Crowds, and the Coming Deluge: end of the Oracle?
 
MTS: Controllable Test Objects
MTS: Controllable Test ObjectsMTS: Controllable Test Objects
MTS: Controllable Test Objects
 
Achieving Very High Reliability for Ubiquitous Information Technology
Achieving Very High Reliability for Ubiquitous Information Technology Achieving Very High Reliability for Ubiquitous Information Technology
Achieving Very High Reliability for Ubiquitous Information Technology
 
The Tester’s Dashboard: Release Decision Support
The Tester’s Dashboard: Release Decision SupportThe Tester’s Dashboard: Release Decision Support
The Tester’s Dashboard: Release Decision Support
 
Performance Testing Mobile and Multi-Tier Applications
Performance Testing Mobile and Multi-Tier ApplicationsPerformance Testing Mobile and Multi-Tier Applications
Performance Testing Mobile and Multi-Tier Applications
 
Testing Object-Oriented Systems: Lessons Learned
Testing Object-Oriented Systems: Lessons LearnedTesting Object-Oriented Systems: Lessons Learned
Testing Object-Oriented Systems: Lessons Learned
 
mVerify Investor Overview
mVerify Investor OverviewmVerify Investor Overview
mVerify Investor Overview
 
MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.
 
Mobile Reliability Challenges
Mobile Reliability ChallengesMobile Reliability Challenges
Mobile Reliability Challenges
 
Experience with a Profile-based Automated Testing Environment
Experience with a Profile-based Automated Testing EnvironmentExperience with a Profile-based Automated Testing Environment
Experience with a Profile-based Automated Testing Environment
 
Testability: Factors and Strategy
Testability: Factors and StrategyTestability: Factors and Strategy
Testability: Factors and Strategy
 
Test Objects -- They Just Work
Test Objects -- They Just WorkTest Objects -- They Just Work
Test Objects -- They Just Work
 
A Million Users in a Box: The WTS Story
A Million Users in a Box: The WTS StoryA Million Users in a Box: The WTS Story
A Million Users in a Box: The WTS Story
 
ISSRE 2008 Trip Report
ISSRE 2008 Trip ReportISSRE 2008 Trip Report
ISSRE 2008 Trip Report
 
Software Test Patterns: Successes and Challenges
Software Test Patterns: Successes and ChallengesSoftware Test Patterns: Successes and Challenges
Software Test Patterns: Successes and Challenges
 
Assurance for Cloud Computing
Assurance for Cloud ComputingAssurance for Cloud Computing
Assurance for Cloud Computing
 
The Advanced Mobile Application Testing Environment: Project Report
The Advanced Mobile Application Testing Environment: Project ReportThe Advanced Mobile Application Testing Environment: Project Report
The Advanced Mobile Application Testing Environment: Project Report
 

Recently uploaded

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Recently uploaded (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

Model-based Testing: Today And Tomorrow

  • 1. MODEL-BASED TESTING: TODAY AND TOMORROW Robert V. Binder ETSI Model-Based Testing User Conference Tallinn, Estonia September 27, 2012 © 2012, Robert V. Binder. All Rights Reserved
  • 2. 2 Overview • Is software eating the world? • Bugs • Black Swans • Dragon Kings • Multi-dimensional Testing • Challenges
  • 3. 3 “Software is Eating the World” -Marc Andreessen Wall Street Journal, Aug 20 2011
  • 4. 4 Internet Trends. Mary Meeker, D10 Conference. May 2012
  • 5. 5 Internet Trends. Mary Meeker, D10 Conference. May 2012
  • 6. 6 Internet Trends. Mary Meeker, D10 Conference. May 2012
  • 7. 7 Embedded and Connected 2015 Connected Device Landscape: The Expanding Computing Continuum. David Perlmutter, Intel. 2009
  • 8. 8 IT Disruption Gartner Top Predictions for 2012: Control Slips Away, Daryl Plummer. March 2012
  • 9. 9 Internet Trends. Mary Meeker, D10 Conference. May 2012
  • 10. 10 Is Software really eating the world? Methods/Tools since Y2K • 2nd gen IDE • MBT, MDD • Aspect OP • Open Source • UML 2.0 • Cont. Integration • Web 2.0 • Agile • ISO 12027 • LAMP Stack • Many protocols • HTML 5 • iOS, Android • Big Data http://langpop.com/ • Software Def Netwks Relative rank from ~2M data points
  • 11. 11 Is Software really eating the world? Engineering Change to Accelerate Product and Systems Development. Christopher Rommel, VDC Research. August 2012
  • 12. 12 Hardware is eating the world Everything Computes & Connects Software Methods and Tools • 10x to 100x • ?X Productivity • ten years • ?X Quality • 100x to 1000x • Last ten years? • twenty years • Last twenty years? • Cheaper, better, faster • Cheaper, better, faster • Disrupt or die • “Choose two”
  • 13. 13 Old bugs, new bugs • No fundamental or • End of the uni-stack transformative • Multi-stack, mobile, improvements in connected software • Inherently unstable • Bugs still as likely, • New failure modes more code What do you think will happen?
  • 14. 14 Old Bugs • Incorrect output • Bohr Bugs • Missing feature  Predictable, repeatable • Abnormal end • Mandel Bugs  Obscure, complex trigger • Missed deadline • Heisen Bugs  Disappears if you look The Jargon File http://www.catb.org/jargon
  • 18. 18 New Bugs • Power Law Models • Black Swans • Dragon Kings
  • 19. 19 Power Law Models • Many natural phenomena • “Fat Tails” Dragon-Kings, Black Swans and the Prediction of Crises. Didier Sornette http://www.youtube.com/watch?v=FlTSbzOvKZI
  • 20. 20 Reliability Growth The Lognormal Distribution of Software Failure Rates: Application to Software Reliability Growth Modeling. Robert E. Mullen
  • 21. 21 Black Swans • Very rare • Surprise • Cannot predict • Power law outliers
  • 22. 22 Software Black Swans • Total eclipse • Once every 360 years • Multi-cycle race conditions in hard realtime systems
  • 23. 23 Dragon Kings • Extreme Outlier  Beyond fat tail • Latent Positive Feedback • “Phase Shift”  Earthquakes  Material Fractures  Epileptic Seizures  Market Crashes
  • 24. 24 Dragon Kings Sornett calls these exceptional events dragon kings “to stress that we deal with a completely different kind of animal, beyond the normal, whose extraordinary characteristics [have] profound significance.”
  • 26. 26 New Failure Modes: Amazon Cloud Outage • Amazon web service Elastic • ELB reaction: try to allocate Compute Cloud crashes more larger servers. (power failure) • Backlog in the “control plane” • The Elastic Load Balancing results. (ELB) system frantically tries to assign workloads to • Demand from customers in available servers. unaffected availability zones continues • As Amazon’s cloud rebooted, “a large number of ELBs • System swamped and came up in a state which crashes again. triggered a bug we hadn’t seen before”
  • 27. 27 What kind of failure was this? • Why didn’t test find it? • What would we have to do to find these kind of bugs?
  • 29. 29 Here be Dragons  Latent positive feedback  External disruptors  Malicious attack target  Partial degradation  Provoked panic  Low testability  Multi-stack  Field-infeasible  Uncontrollable inputs
  • 30. 30 Looking under the Model-based Lampost? Logic errors and incorrect assumptions are inversely proportional to a path’s execution probability. Boris Beizer • 9 in 10 MBT testers do functionality only • Climbs a tree, not the twigs • Typically no load test
  • 31. 31 Multi-Dimensional Testing Test suite interleaves three kinds of variation Behavior Interfaces • Realistic variation • Drive all interfaces • Markov event/data • Disrupt resources • Include • Fat finger Load • Abuse cases • Vary input rate wrt time • Sneak paths • Panics Not possible without full automation
  • 32. 32 Interleave Behavior, Load, Interfaces 3500.000 10000000 3000.000 1000000 2500.000 100000 X 2000.000 10000 Events Per Second 1500.000 1000 1000.000 100 500.000 10 0.000 1 -5000 0 5000 10000 15000 20000 25000 Use Case A B C D E F G H I J K L -500.000 Time (seconds) Simulator Oracle X = Adapter Splainer Adapter Adapter Comparator Adapter Test Verdict Run Reports SUT
  • 33. 33 Hunting the Dragon King Common Black Dragon Bugs Swans Kings Fragile 1 0 0 Massively Manual 2 0 0 Test Driven Dev 3 1 0 Exploratory 3 1 0 Crowdsourced 2 0 0 Functional MBT 5 3 1 Multi-dimensional MBT 5 4 3 • 0 You must be joking • 3 One Sigma • 1 Write if you get work • 4 Michael Jordan free throw (82%) • 2 Even a broken clock is right… • 5 Sargent Preston
  • 34. 34 What have we learned? • Information Technology is eating the world • Common bug rates will not decline • More new systems will have dragon kings • Functional/model coverage MBT will not find dragon kings • Multi-dimensional MBT can find dragon kings • Opportunity for test engineering to lead
  • 35. 35 May you live in interesting times … Challenges for the MBT Community Tool Providers MBT Test Engineers • Start shipping multi- • Learn to lead dimensional • Start hunting your solutions dragon kings
  • 37. 37 Content and Image Sources First Generation of Re-Imagination Reliability Growth Android Phone Adoption has ramped even faster R. E. Mullen, “The Lognormal Distribution of Software Failure Rates: Despite Tremendous Ramp so Far, Smartphone User Adoption… Application to Software Reliability Growth Modeling,” International Magnitude of Upcoming Change Will be Stunning… Symposium on Software Reliability Engineering, 1998, p 134. Internet Trends. Mary Meeker, D10 Conference May 2012 http://kpcb.com/insights/2012-internet-trends Black Swans The Black Swan: the Impact of the Highly Improbable. Nassim Embedded and Connected Taleb. 2015 Connected Device Landscape: The Expanding http://www.publicdomainpictures.net/view- Computing Continuum. David Perlmutter, Intel. 2009 image.php?image=8248&picture=black-swan&large=1 http://www.intel.com/pressroom/kits/events/idffall_2009/video.htm Software Black Swans IT Disruption http://apod.nasa.gov/apod/ap060404.html Gartner Top Predictions for 2012: Control Slips Away, Daryl Plummer. March 2012 Dragon Kings http://wallpaper4me.com/wallpaper/Dragon-King-of-The-Land/ Is Software really eating the world? Engineering Change to Accelerate Product and Systems Latent Positive Feedback = Dragon King Development. Christopher Rommel, VDC Research. August http://www.everythingselectric.com/forum/index.php?topic=244.0 2012 Amazon Outage Mandel Bug Hidden bugs that made Amazon Web Service outage worse. Cnet http://www.incamouflage.com/2009/05/bug-camouflage/ News, July 3, 2012. http://news.cnet.com/8301-1009_3-57465761-83/hidden-bugs-that- Heisen Bug made-amazon-web-service-outage-worse/ http://www.adriennehedger.com/2009/07/june-bug-situation.html http://openclipart.org/detail/145735/cartoon-fly-by-printerkiller Hic Sunt Dracones http://tomlytle.com/ Power Law Models Dragon-Kings, Black Swans and the Prediction of Crises. Looking under the Model-based Lampost? Didier Sornette. International Journal of Terraspace Science and http://stconsultant.blogspot.com/2010/11/old-saying.html Engineering 2009 http://www.youtube.com/watch?v=FlTSbzOvKZI