SlideShare une entreprise Scribd logo
1  sur  36
Télécharger pour lire hors ligne
CLOSING THE LOOP: SHIFTING RIGHT
& OBSERVABILITY (& RISK)
MARCUS MERRELL, SR DIRECTOR OF FIELD SERVICES
FEBRUARY 22, 2020
WHAT WE’RE TALKING ABOUT
• Shift Left
• Shift Right
• The Feedback Loop
• Observability
• User Behavior
• Risk
© Sauce Labs, Inc. 2
@mmerrell
FEBRUARY 22, 2020
WHO AM I?
FEBRUARY 22, 2020
• Sr Director of Field Services, Sauce Labs
• Chair, Selenium Conference Organizing Committee
• Selenium Contributor
• 19 years in QA/Testing role
• Lurker on Social Media
• Family, Music, Robots
© Sauce Labs, Inc. 3
@mmerrell
WHAT IS SHIFT RIGHT?
• What is it that’s shifting?
• To the right of what?
• What is our ultimate goal?
© Sauce Labs, Inc. 4
@mmerrell
1 0 0 1 0 1 1 1
1 1 0 0 1 0 1 1
MSB
LSB
7 6 5 4 3 2 1 0
FEBRUARY 22, 2020
THE TRADITIONAL MODEL
© Sauce Labs, Inc. 5FEBRUARY 22, 2020
SHIFT LEFT, A BRIEF REVIEW
© Sauce Labs, Inc. 6FEBRUARY 22, 2020
WHAT WE’RE AFTER
© Sauce Labs, Inc. 7FEBRUARY 22, 2020
WHAT’S THE REAL QUESTION?
• What are the users doing with our software?
• We know what we thought they’d do with it
• We’ve studied their behavior...sort of
• (someone has)
• But have we closed the loop? Have we fed that back
into the product development cycle?
• Why do we still do so many things by gut feel?
© Sauce Labs, Inc. 8
@mmerrell
FEBRUARY 22, 2020
BUT WHY??
No matter what risks we define, we are still in an
information vacuum before we release the
software.
© Sauce Labs, Inc. 9
@mmerrell
FEBRUARY 22, 2020
“Without requirements or design, programming
is the art of adding bugs to an empty text file”
—Louis Srygley
© Sauce Labs, Inc. 10
@mmerrell
FEBRUARY 22, 2020
THE JOURNEY
Planning UAT MaintainingMonitoringReleasingCoding Testing
© Sauce Labs, Inc. 11
@mmerrell
SHIFT LEFT SHIFT RIGHT
FEBRUARY 22, 2020
THE JOURNEY
© Sauce Labs, Inc. 12
Requirements
Real-world user Behavior is now
available before requirements are
gathered, better informing focus group
and research
Monitor Analytics
Look at both overall traffic (compared to
Model) and qualitative user behavior
patterns
Development
Development understands User Traffic
Model, and has more trust & confidence
in Requirements
Testing
New tests are added to automation suite
based on analytics gathered after previous
release cycle
Release
Feature flags, quick-rollback, and New User Traffic
Model is in-place before release
FEBRUARY 22, 2020
We must use data, driven by user signals,
to generate and validate requirements
@mmerrell
© Sauce Labs, Inc. 13FEBRUARY 22, 2020
@mmerrell
© Sauce Labs, Inc. 14
THOUGHT EXERCISE
t.ly/XBzMw
FEBRUARY 22, 2020
@mmerrell
© Sauce Labs, Inc. 15
THOUGHT EXERCISE
t.ly/XBzMw
FEBRUARY 22, 2020
FOR MONDAY: CLOSE THE LOOP
16
Have a cross functional retrospective—Not just cross-engineering
• Business Intelligence
• Customer Success
• Marketing
• even an Exec
• Keep it brief
• Keep it action-oriented
17
• Ask how the user behaviors changed after release
• Identify opportunities and risks based on these inputs!
• Story time!
FOR MONDAY: CLOSE THE LOOP
OBSERVABILITY (O11y)
• Instrumentation
• Resilience
• Team Culture
• Release/Rollback Confidence
• Predictability
• Managed Tech Debt
• User Behavior, Well Understood
© Sauce Labs, Inc. 18
@mmerrell
FEBRUARY 22, 2020
WHERE DOES OBSERVABILITY FIT?
• Everywhere and nowhere—it’s not just about software
• Different areas of the system (and culture) give off signals
• These signals are studied by different teams at different times
• Silos don’t help us here
• Tooling, but also observation itself
© Sauce Labs, Inc. 19
@mmerrell
FEBRUARY 22, 2020
WHERE DOES OBSERVABILITY FIT?
© Sauce Labs, Inc. 20
@mmerrellt.ly/XBZDw
So much talk about
Observability is about
INFRASTRUCTURE
It needs to be about the
USER JOURNEY
FEBRUARY 22, 2020
WHERE DOES OBSERVABILITY FIT?
© Sauce Labs, Inc. 21
@mmerrellt.ly/XBZDw
Monitoring is an action you
PERFORM, to mitigate
risk
Observability is a
CHARACTERISTIC your
system possesses, which
lowers risk
FEBRUARY 22, 2020
FOR MONDAY: OBSERVABILITY
• For UI/Selenium Testers:
• Find an API that your UI depends on
• Find its Swagger spec
• Learn about the calls the UI is making
• Replace one or more Selenium steps with an API call
• For API/Back-end Testers:
• Learn about logging/tracing in your app
• How do developers diagnose production issues?
• For Exploratory Testers:
• What alerts will fire when errors occur in the app?
• What can those alerts tell you about your users’ actions?
@mmerrell
© Sauce Labs, Inc. 22FEBRUARY 22, 2020
RISK
Everything we do can be quantified in terms of risk
• The risk of doing something (or not doing something)
• The risk of the something being late
• The risk of the something being low quality
• The risk of the something being the wrong thing
• The risk of the market shifting
@mmerrell
© Sauce Labs, Inc. 23FEBRUARY 22, 2020
FOR MONDAY: RISK
The next time you report a bug, talk about it in terms of risk
• “Inserting a non-printable character into this field displays an
unattractive .NET stack trace to the user”
• “Inserting a non-printable character into this field surfaces a
security risk: the user sees a .NET stack trace, which allows
nefarious users to fingerprint our system”
@mmerrell
© Sauce Labs, Inc. 24FEBRUARY 22, 2020
WHAT DO WE PROPOSE?
~8 Stages (so far) of Shifting Right:
1. Smoke Tests in Production
2. Functional/Performance/Security Testing
3. Integrate with monitoring
4. Testing Analytics post-release
5. Testing full Analytics pipeline
6. Correlating UI tests with monitoring
7. Using Analytics to inform requirements
8. Using Analytics to generate tests
@mmerrell
© Sauce Labs, Inc. 25FEBRUARY 22, 2020
26
There’s actually one more stage:
Stage 0: Give people real insights into their tests
WHAT DO WE PROPOSE?
@mmerrell
STAGE 0
• Test failure pattern identification
• Functionality “clusters”
• “Ideal Suite” generation
• Proxy-generated HAR files
• For analytics testing
© Sauce Labs, Inc. 27
@mmerrell
FEBRUARY 22, 2020
WHAT WE’VE TALKED ABOUT
• Shift Left
• Shift Right
• The Feedback Loop
• Observability
• User Behavior
• Risk
© Sauce Labs, Inc. 28
@mmerrell
FEBRUARY 22, 2020
WHERE DO I FIT?
• This is your responsibility
• (This is everyone’s responsibility)
• You have a unique perspective
• We have a unique opportunity
© Sauce Labs, Inc. 29
@mmerrell
FEBRUARY 22, 2020
WHERE DO I FIT?
What does the $$ want?
© Sauce Labs, Inc. 30
@mmerrell
FEBRUARY 22, 2020
WHERE DO I FIT?
The more you talk about
Observability, the more
Engineers will hear you
© Sauce Labs, Inc. 31
@mmerrell
FEBRUARY 22, 2020
WHERE DO I FIT?
The more you talk about Risk, the
more Executives will hear you
© Sauce Labs, Inc. 32
@mmerrell
FEBRUARY 22, 2020
REFERENCES
• O11y
• Charity Majors - @mipsytipsy
• Liz Fong-Jones - @lizthegrey
• O11y Maturity Model - t.ly/lKPWB
• https://opentracing.io/
• Analytics
• Anand Bagmar - @BagmarAnand
• t.ly/YOwLD
© Sauce Labs, Inc. 33
@mmerrell
FEBRUARY 22, 2020
THANK YOU
WHAT WE’RE ULTIMATELY AFTER
© Sauce Labs, Inc. 35FEBRUARY 22, 2020
THE JOURNEY
PLANNING UAT MAINTAININGMONITORINGRELEASINGCODING TESTING
© Sauce Labs, Inc. 36FEBRUARY 22, 2020

Contenu connexe

Tendances

The Four Hats of Load and Performance Testing with special guest Mentora
The Four Hats of Load and Performance Testing with special guest MentoraThe Four Hats of Load and Performance Testing with special guest Mentora
The Four Hats of Load and Performance Testing with special guest Mentora
SOASTA
 
Four best practices for performance testing mobile apps soasta and utopia
Four best practices for performance testing mobile apps   soasta and utopiaFour best practices for performance testing mobile apps   soasta and utopia
Four best practices for performance testing mobile apps soasta and utopia
SOASTA
 
Continuous Performance Testing
Continuous Performance TestingContinuous Performance Testing
Continuous Performance Testing
Mairbek Khadikov
 

Tendances (20)

TechWell Accelerating Software Delivery with Continuous Integration feat. Dan...
TechWell Accelerating Software Delivery with Continuous Integration feat. Dan...TechWell Accelerating Software Delivery with Continuous Integration feat. Dan...
TechWell Accelerating Software Delivery with Continuous Integration feat. Dan...
 
The Four Hats of Load and Performance Testing with special guest Mentora
The Four Hats of Load and Performance Testing with special guest MentoraThe Four Hats of Load and Performance Testing with special guest Mentora
The Four Hats of Load and Performance Testing with special guest Mentora
 
SRE-iously: Defining the Principles, Habits, and Practices of Site Reliabilit...
SRE-iously: Defining the Principles, Habits, and Practices of Site Reliabilit...SRE-iously: Defining the Principles, Habits, and Practices of Site Reliabilit...
SRE-iously: Defining the Principles, Habits, and Practices of Site Reliabilit...
 
Synthetic and rum webinar
Synthetic and rum webinarSynthetic and rum webinar
Synthetic and rum webinar
 
Testing In Production (TiP) Advances with Big Data & the Cloud
Testing In Production (TiP) Advances with Big Data & the CloudTesting In Production (TiP) Advances with Big Data & the Cloud
Testing In Production (TiP) Advances with Big Data & the Cloud
 
7 steps to pragmatic mobile testing
7 steps to pragmatic mobile testing7 steps to pragmatic mobile testing
7 steps to pragmatic mobile testing
 
Getting to Continuous Deployment (Webinar Slides)
Getting to Continuous Deployment (Webinar Slides)Getting to Continuous Deployment (Webinar Slides)
Getting to Continuous Deployment (Webinar Slides)
 
Building an effective mobile testing strategy
Building an effective mobile testing strategyBuilding an effective mobile testing strategy
Building an effective mobile testing strategy
 
Moving to Open-Source Tools - How to Increase Performance Test Coverage Throu...
Moving to Open-Source Tools - How to Increase Performance Test Coverage Throu...Moving to Open-Source Tools - How to Increase Performance Test Coverage Throu...
Moving to Open-Source Tools - How to Increase Performance Test Coverage Throu...
 
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal ReadinessTis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
 
Testing in DevOps: UKStar conference
Testing in DevOps: UKStar conferenceTesting in DevOps: UKStar conference
Testing in DevOps: UKStar conference
 
Performance Warrior Tales: Cloud Load Testing the Retail Giants
Performance Warrior Tales: Cloud Load Testing the Retail Giants Performance Warrior Tales: Cloud Load Testing the Retail Giants
Performance Warrior Tales: Cloud Load Testing the Retail Giants
 
Mobile Quality Assurance
Mobile Quality AssuranceMobile Quality Assurance
Mobile Quality Assurance
 
Implementing BDD at scale for agile and DevOps teams
Implementing BDD at scale for agile and DevOps teamsImplementing BDD at scale for agile and DevOps teams
Implementing BDD at scale for agile and DevOps teams
 
Accelerate Web and Mobile Testing for Continuous Integration and Delivery
Accelerate Web and Mobile Testing for Continuous Integration and DeliveryAccelerate Web and Mobile Testing for Continuous Integration and Delivery
Accelerate Web and Mobile Testing for Continuous Integration and Delivery
 
SplunkLive! London 2015 - DevOps Breakout
SplunkLive! London 2015 - DevOps BreakoutSplunkLive! London 2015 - DevOps Breakout
SplunkLive! London 2015 - DevOps Breakout
 
Four best practices for performance testing mobile apps soasta and utopia
Four best practices for performance testing mobile apps   soasta and utopiaFour best practices for performance testing mobile apps   soasta and utopia
Four best practices for performance testing mobile apps soasta and utopia
 
Continuous Performance Testing
Continuous Performance TestingContinuous Performance Testing
Continuous Performance Testing
 
Neste: How to Build Business Case, Ramp-up and Run SAP Test Automation Factory
Neste: How to Build Business Case, Ramp-up and Run SAP Test Automation FactoryNeste: How to Build Business Case, Ramp-up and Run SAP Test Automation Factory
Neste: How to Build Business Case, Ramp-up and Run SAP Test Automation Factory
 
Top Reasons Why Identity Management Projects Fail & How to Avoid Them
Top Reasons Why Identity Management Projects Fail & How to Avoid ThemTop Reasons Why Identity Management Projects Fail & How to Avoid Them
Top Reasons Why Identity Management Projects Fail & How to Avoid Them
 

Similaire à SeleniumCamp 2020 - Shift Right and Observability

Quality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI TestingQuality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI Testing
Sauce Labs
 
Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...
Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...
Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...
Curiosity Software Ireland
 
To Open Banking and Beyond: Developing APIs that are Resilient to every new I...
To Open Banking and Beyond: Developing APIs that are Resilient to every new I...To Open Banking and Beyond: Developing APIs that are Resilient to every new I...
To Open Banking and Beyond: Developing APIs that are Resilient to every new I...
Curiosity Software Ireland
 
Curiosity and SelectorsHub present: Generate Rigorous Automated Tests - and L...
Curiosity and SelectorsHub present: Generate Rigorous Automated Tests - and L...Curiosity and SelectorsHub present: Generate Rigorous Automated Tests - and L...
Curiosity and SelectorsHub present: Generate Rigorous Automated Tests - and L...
Curiosity Software Ireland
 
Hp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT MobileHp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT Mobile
Perfecto Mobile
 

Similaire à SeleniumCamp 2020 - Shift Right and Observability (20)

Quality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI TestingQuality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI Testing
 
Closing the Mobile App Quality Gap webinar
Closing the Mobile App Quality Gap webinarClosing the Mobile App Quality Gap webinar
Closing the Mobile App Quality Gap webinar
 
Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...
Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...
Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...
 
Closing the Mobile App Quality Gap webinar
Closing the Mobile App Quality Gap webinarClosing the Mobile App Quality Gap webinar
Closing the Mobile App Quality Gap webinar
 
To Open Banking and Beyond: Developing APIs that are Resilient to every new I...
To Open Banking and Beyond: Developing APIs that are Resilient to every new I...To Open Banking and Beyond: Developing APIs that are Resilient to every new I...
To Open Banking and Beyond: Developing APIs that are Resilient to every new I...
 
Why Modern Systems Require a New Approach to Observability
Why Modern Systems Require a New Approach to ObservabilityWhy Modern Systems Require a New Approach to Observability
Why Modern Systems Require a New Approach to Observability
 
How to make your app last longer than 30 days - Developer's Guide to the Para...
How to make your app last longer than 30 days - Developer's Guide to the Para...How to make your app last longer than 30 days - Developer's Guide to the Para...
How to make your app last longer than 30 days - Developer's Guide to the Para...
 
Four Best Practices for Modern Performance Testing
Four Best Practices for Modern Performance TestingFour Best Practices for Modern Performance Testing
Four Best Practices for Modern Performance Testing
 
Webcast Presentation: Accelerate Continuous Delivery with Development Testing...
Webcast Presentation: Accelerate Continuous Delivery with Development Testing...Webcast Presentation: Accelerate Continuous Delivery with Development Testing...
Webcast Presentation: Accelerate Continuous Delivery with Development Testing...
 
Ration Management System
Ration Management SystemRation Management System
Ration Management System
 
Radical Quality From Toyota to Tech
Radical Quality From Toyota to TechRadical Quality From Toyota to Tech
Radical Quality From Toyota to Tech
 
Curiosity and SelectorsHub present: Generate Rigorous Automated Tests - and L...
Curiosity and SelectorsHub present: Generate Rigorous Automated Tests - and L...Curiosity and SelectorsHub present: Generate Rigorous Automated Tests - and L...
Curiosity and SelectorsHub present: Generate Rigorous Automated Tests - and L...
 
Product Manager vs Product Owner – Why Do Companies Still Struggle 23 Years A...
Product Manager vs Product Owner – Why Do Companies Still Struggle 23 Years A...Product Manager vs Product Owner – Why Do Companies Still Struggle 23 Years A...
Product Manager vs Product Owner – Why Do Companies Still Struggle 23 Years A...
 
Software Quality as a Competitive Differentiator
Software Quality as a Competitive Differentiator Software Quality as a Competitive Differentiator
Software Quality as a Competitive Differentiator
 
Hp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT MobileHp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT Mobile
 
Performance Warrior Tales: Cloud Load Testing the Retail Giants
Performance Warrior Tales: Cloud Load Testing the Retail Giants Performance Warrior Tales: Cloud Load Testing the Retail Giants
Performance Warrior Tales: Cloud Load Testing the Retail Giants
 
Microservices and the Modern IT Stack: Trends of Tomorrow - AppSphere16
Microservices and the Modern IT Stack: Trends of Tomorrow - AppSphere16Microservices and the Modern IT Stack: Trends of Tomorrow - AppSphere16
Microservices and the Modern IT Stack: Trends of Tomorrow - AppSphere16
 
DevOps 2020: How Enterprise Strategy has Matured
DevOps 2020: How Enterprise Strategy has MaturedDevOps 2020: How Enterprise Strategy has Matured
DevOps 2020: How Enterprise Strategy has Matured
 
Step by-step mobile testing approaches and strategies
Step by-step mobile testing approaches and strategiesStep by-step mobile testing approaches and strategies
Step by-step mobile testing approaches and strategies
 
Il paradigma DevOps e Continuous Delivery Automation
Il paradigma DevOps e Continuous Delivery Automation Il paradigma DevOps e Continuous Delivery Automation
Il paradigma DevOps e Continuous Delivery Automation
 

Dernier

AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Dernier (20)

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
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
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
 
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
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
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
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 

SeleniumCamp 2020 - Shift Right and Observability

  • 1. CLOSING THE LOOP: SHIFTING RIGHT & OBSERVABILITY (& RISK) MARCUS MERRELL, SR DIRECTOR OF FIELD SERVICES FEBRUARY 22, 2020
  • 2. WHAT WE’RE TALKING ABOUT • Shift Left • Shift Right • The Feedback Loop • Observability • User Behavior • Risk © Sauce Labs, Inc. 2 @mmerrell FEBRUARY 22, 2020
  • 3. WHO AM I? FEBRUARY 22, 2020 • Sr Director of Field Services, Sauce Labs • Chair, Selenium Conference Organizing Committee • Selenium Contributor • 19 years in QA/Testing role • Lurker on Social Media • Family, Music, Robots © Sauce Labs, Inc. 3 @mmerrell
  • 4. WHAT IS SHIFT RIGHT? • What is it that’s shifting? • To the right of what? • What is our ultimate goal? © Sauce Labs, Inc. 4 @mmerrell 1 0 0 1 0 1 1 1 1 1 0 0 1 0 1 1 MSB LSB 7 6 5 4 3 2 1 0 FEBRUARY 22, 2020
  • 5. THE TRADITIONAL MODEL © Sauce Labs, Inc. 5FEBRUARY 22, 2020
  • 6. SHIFT LEFT, A BRIEF REVIEW © Sauce Labs, Inc. 6FEBRUARY 22, 2020
  • 7. WHAT WE’RE AFTER © Sauce Labs, Inc. 7FEBRUARY 22, 2020
  • 8. WHAT’S THE REAL QUESTION? • What are the users doing with our software? • We know what we thought they’d do with it • We’ve studied their behavior...sort of • (someone has) • But have we closed the loop? Have we fed that back into the product development cycle? • Why do we still do so many things by gut feel? © Sauce Labs, Inc. 8 @mmerrell FEBRUARY 22, 2020
  • 9. BUT WHY?? No matter what risks we define, we are still in an information vacuum before we release the software. © Sauce Labs, Inc. 9 @mmerrell FEBRUARY 22, 2020
  • 10. “Without requirements or design, programming is the art of adding bugs to an empty text file” —Louis Srygley © Sauce Labs, Inc. 10 @mmerrell FEBRUARY 22, 2020
  • 11. THE JOURNEY Planning UAT MaintainingMonitoringReleasingCoding Testing © Sauce Labs, Inc. 11 @mmerrell SHIFT LEFT SHIFT RIGHT FEBRUARY 22, 2020
  • 12. THE JOURNEY © Sauce Labs, Inc. 12 Requirements Real-world user Behavior is now available before requirements are gathered, better informing focus group and research Monitor Analytics Look at both overall traffic (compared to Model) and qualitative user behavior patterns Development Development understands User Traffic Model, and has more trust & confidence in Requirements Testing New tests are added to automation suite based on analytics gathered after previous release cycle Release Feature flags, quick-rollback, and New User Traffic Model is in-place before release FEBRUARY 22, 2020
  • 13. We must use data, driven by user signals, to generate and validate requirements @mmerrell © Sauce Labs, Inc. 13FEBRUARY 22, 2020
  • 14. @mmerrell © Sauce Labs, Inc. 14 THOUGHT EXERCISE t.ly/XBzMw FEBRUARY 22, 2020
  • 15. @mmerrell © Sauce Labs, Inc. 15 THOUGHT EXERCISE t.ly/XBzMw FEBRUARY 22, 2020
  • 16. FOR MONDAY: CLOSE THE LOOP 16 Have a cross functional retrospective—Not just cross-engineering • Business Intelligence • Customer Success • Marketing • even an Exec • Keep it brief • Keep it action-oriented
  • 17. 17 • Ask how the user behaviors changed after release • Identify opportunities and risks based on these inputs! • Story time! FOR MONDAY: CLOSE THE LOOP
  • 18. OBSERVABILITY (O11y) • Instrumentation • Resilience • Team Culture • Release/Rollback Confidence • Predictability • Managed Tech Debt • User Behavior, Well Understood © Sauce Labs, Inc. 18 @mmerrell FEBRUARY 22, 2020
  • 19. WHERE DOES OBSERVABILITY FIT? • Everywhere and nowhere—it’s not just about software • Different areas of the system (and culture) give off signals • These signals are studied by different teams at different times • Silos don’t help us here • Tooling, but also observation itself © Sauce Labs, Inc. 19 @mmerrell FEBRUARY 22, 2020
  • 20. WHERE DOES OBSERVABILITY FIT? © Sauce Labs, Inc. 20 @mmerrellt.ly/XBZDw So much talk about Observability is about INFRASTRUCTURE It needs to be about the USER JOURNEY FEBRUARY 22, 2020
  • 21. WHERE DOES OBSERVABILITY FIT? © Sauce Labs, Inc. 21 @mmerrellt.ly/XBZDw Monitoring is an action you PERFORM, to mitigate risk Observability is a CHARACTERISTIC your system possesses, which lowers risk FEBRUARY 22, 2020
  • 22. FOR MONDAY: OBSERVABILITY • For UI/Selenium Testers: • Find an API that your UI depends on • Find its Swagger spec • Learn about the calls the UI is making • Replace one or more Selenium steps with an API call • For API/Back-end Testers: • Learn about logging/tracing in your app • How do developers diagnose production issues? • For Exploratory Testers: • What alerts will fire when errors occur in the app? • What can those alerts tell you about your users’ actions? @mmerrell © Sauce Labs, Inc. 22FEBRUARY 22, 2020
  • 23. RISK Everything we do can be quantified in terms of risk • The risk of doing something (or not doing something) • The risk of the something being late • The risk of the something being low quality • The risk of the something being the wrong thing • The risk of the market shifting @mmerrell © Sauce Labs, Inc. 23FEBRUARY 22, 2020
  • 24. FOR MONDAY: RISK The next time you report a bug, talk about it in terms of risk • “Inserting a non-printable character into this field displays an unattractive .NET stack trace to the user” • “Inserting a non-printable character into this field surfaces a security risk: the user sees a .NET stack trace, which allows nefarious users to fingerprint our system” @mmerrell © Sauce Labs, Inc. 24FEBRUARY 22, 2020
  • 25. WHAT DO WE PROPOSE? ~8 Stages (so far) of Shifting Right: 1. Smoke Tests in Production 2. Functional/Performance/Security Testing 3. Integrate with monitoring 4. Testing Analytics post-release 5. Testing full Analytics pipeline 6. Correlating UI tests with monitoring 7. Using Analytics to inform requirements 8. Using Analytics to generate tests @mmerrell © Sauce Labs, Inc. 25FEBRUARY 22, 2020
  • 26. 26 There’s actually one more stage: Stage 0: Give people real insights into their tests WHAT DO WE PROPOSE? @mmerrell
  • 27. STAGE 0 • Test failure pattern identification • Functionality “clusters” • “Ideal Suite” generation • Proxy-generated HAR files • For analytics testing © Sauce Labs, Inc. 27 @mmerrell FEBRUARY 22, 2020
  • 28. WHAT WE’VE TALKED ABOUT • Shift Left • Shift Right • The Feedback Loop • Observability • User Behavior • Risk © Sauce Labs, Inc. 28 @mmerrell FEBRUARY 22, 2020
  • 29. WHERE DO I FIT? • This is your responsibility • (This is everyone’s responsibility) • You have a unique perspective • We have a unique opportunity © Sauce Labs, Inc. 29 @mmerrell FEBRUARY 22, 2020
  • 30. WHERE DO I FIT? What does the $$ want? © Sauce Labs, Inc. 30 @mmerrell FEBRUARY 22, 2020
  • 31. WHERE DO I FIT? The more you talk about Observability, the more Engineers will hear you © Sauce Labs, Inc. 31 @mmerrell FEBRUARY 22, 2020
  • 32. WHERE DO I FIT? The more you talk about Risk, the more Executives will hear you © Sauce Labs, Inc. 32 @mmerrell FEBRUARY 22, 2020
  • 33. REFERENCES • O11y • Charity Majors - @mipsytipsy • Liz Fong-Jones - @lizthegrey • O11y Maturity Model - t.ly/lKPWB • https://opentracing.io/ • Analytics • Anand Bagmar - @BagmarAnand • t.ly/YOwLD © Sauce Labs, Inc. 33 @mmerrell FEBRUARY 22, 2020
  • 35. WHAT WE’RE ULTIMATELY AFTER © Sauce Labs, Inc. 35FEBRUARY 22, 2020
  • 36. THE JOURNEY PLANNING UAT MAINTAININGMONITORINGRELEASINGCODING TESTING © Sauce Labs, Inc. 36FEBRUARY 22, 2020