SlideShare a Scribd company logo
1 of 22
Download to read offline
© 2023 Thoughtworks | Confidential
Unconventional approaches for
testing in fast-paced,
business-critical environments
Pooja Subramanian
Principal Technologist,
Thoughtworks
Kumar Sankara Iyer
Principal Technologist,
Thoughtworks
© 2023 Thoughtworks | Confidential
Unconventional approaches for testing in
2
fast-paced, business-critical
environments
© 2023 Thoughtworks | Confidential
What’s unique about
these businesses?
3
● They are digital-first
● They thrive in extremely
competitive landscapes
● Features need to be put in
production rapidly
● Customer experience is of utmost
importance
© 2023 Thoughtworks | Confidential 4
But then, the path to
production is not an
easy one!
© 2023 Thoughtworks | Confidential
Presenting to you - the value stream..
5
Plan
Code
Validate
Pre-Deploy
Tests
Package
Deploy
Post-Deploy
Tests
Release
Monitor
Trunk-based
Development
Code Style
Unit Testing
Immutable
Artifacts
Ephemeral
Environment
Provisioning
Automated
Integration
Testing
Backwards
Compatibility
Testing
Reporting &
Dashboards
Lightweight
Architecture
Governance
IDE Integration
SAST
Contract
Testing
Image
Scanning
Toggle
Configuration
Automated
Functional
Testing
Production
Verification
Testing
Budget
Management
Developer
Experience
Local Dev
Environments
Static Code
Analysis
Architecture
Fitness
Functions
Artifact
Versioning
Application
Configuration
Automated
Performance
Testing
Sign-offs
Metrics
Pre-commit
Hooks
Software
Composition
Analysis
Standalone
Component
Testing
Secrets
Configuration
Manual
Exploratory
Testing
RASP
Templates &
Quickstarts
Automated
Code Reviews
Mutation
Testing
Service
Virtualization
Chaos Testing
Hotfix
Test-Driven
Design
API
Documentation
Tests
Test Data
Management
Automated
Compliance
Testing
Disaster
Recovery
Refactoring
Schema
Migrations
Zero Downtime
Deployments
Developer
Onboarding
Incident
Management
DAST
Structured
Logging
Zero Impact
Deployments
Distributed
Tracing
Micro
Benchmarking
Lightweight
Domain
Modeling
Release Notes
Synthetic
Monitoring
Synthetic
Monitoring
IAST
Threat
Modeling
Automated
Rollbacks
Accessibility
Tech Debt
Management
Pair
Programming
© 2023 Thoughtworks | Confidential
What are they
doing differently?
6
© 2023 Thoughtworks | Confidential 7
Gain real-world
insights, boost
confidence, and
iterate faster by
testing in production
© 2023 Thoughtworks | Confidential
So should you just test
in production?
8
Yes, as long as:
● There is safety
● There is monitoring
● You complement it with all some of
your existing checks
© 2023 Thoughtworks | Confidential
Enter canary testing…
9
© 2023 Thoughtworks | Confidential
Canary testing can
minimize unforeseen
negative impact on
end-customers
10
● New features rolled out to a subset
of users
● Actively monitor for any
performance, stability or
functional issues
● Gradually release to a wider
audience as the confidence on the
quality increases
© 2023 Thoughtworks | Confidential
The case for parallel
experimentation
11
● Mimic-ing test data is difficult
● Too many parameters to control
● Cannot afford to have any impact
to revenue and other KPIs
© 2023 Thoughtworks | Confidential
Forward all requests
Enter Replay testing…
Replay the transactions as and when
they occur. Or store them somewhere
and replay at leisure.
12
Disconnect the responses
Adjust downstreams
Cut-over when “done”
© 2023 Thoughtworks | Confidential
Canary Testing vs Replay Testing
Canary
13
Proxy
Existing
New
Replay
Proxy
Existing
New
© 2023 Thoughtworks | Confidential 14
Use observability to
measure the quality
of the software
● It is a lot more than traditional
monitoring
● Helps pinpoint issues proactively
● Particularly valuable in complex,
distributed systems, microservices
architectures
© 2023 Thoughtworks | Confidential
“If you can’t measure it,
you can’t improve it”
15
Lord Kelvin
15
© 2023 Thoughtworks Photo by Messrs. Dickinson, London, New Bond Street
© 2023 Thoughtworks | Confidential
Beware of
Observability
Overload!
16
© 2023 Thoughtworks | Confidential 17
Shift-left
performance testing
to eliminate pressure
points earlier on
© 2023 Thoughtworks | Confidential
Load tests shifted left
18
© 2023 Thoughtworks | Confidential 19
Canary
testing
Replay
testing
Observability
driven testing
Shift-
Left
performance
19
Recap of testing
techniques discussed
so far…
19
© 2022 Thoughtworks
© 2023 Thoughtworks | Confidential
Some honourable
mentions too…
20
● Multi-region testing
● Rollback testing
● Snapshot testing
● Chaos testing
© 2023 Thoughtworks | Confidential
You don’t have to spend a lot of time
trying to mimic all prod data
How can these
techniques help
you??
21
Quicker time to market due to reduced
time spent in earlier stages
Comprehensive, meaningful
dashboards reduce negative user
impact significantly
We have also used these for testing
certain subsystems that require fast
time to market
© 2023 Thoughtworks | Confidential
Questions?
22

More Related Content

Similar to TestTribe - Testing techniques in business-critical environments.pdf

Curiosity and Xray present - In sprint testing: Aligning tests and teams to r...
Curiosity and Xray present - In sprint testing: Aligning tests and teams to r...Curiosity and Xray present - In sprint testing: Aligning tests and teams to r...
Curiosity and Xray present - In sprint testing: Aligning tests and teams to r...
Curiosity Software Ireland
 
Webmetrics Graphical Overview
Webmetrics Graphical OverviewWebmetrics Graphical Overview
Webmetrics Graphical Overview
Jason_Volm
 

Similar to TestTribe - Testing techniques in business-critical environments.pdf (20)

Getting Started with ThousandEyes Proof of Concepts
Getting Started with ThousandEyes Proof of ConceptsGetting Started with ThousandEyes Proof of Concepts
Getting Started with ThousandEyes Proof of Concepts
 
Agile Chennai 2023 | AI-Powered Agile : Transforming How We Deliver Extraordi...
Agile Chennai 2023 | AI-Powered Agile : Transforming How We Deliver Extraordi...Agile Chennai 2023 | AI-Powered Agile : Transforming How We Deliver Extraordi...
Agile Chennai 2023 | AI-Powered Agile : Transforming How We Deliver Extraordi...
 
Getting Demo & POV Ready
Getting Demo & POV ReadyGetting Demo & POV Ready
Getting Demo & POV Ready
 
Getting Started with ThousandEyes Proof of Concepts
Getting Started with ThousandEyes Proof of ConceptsGetting Started with ThousandEyes Proof of Concepts
Getting Started with ThousandEyes Proof of Concepts
 
Getting Started with ThousandEyes Proof of Concepts
Getting Started with ThousandEyes Proof of ConceptsGetting Started with ThousandEyes Proof of Concepts
Getting Started with ThousandEyes Proof of Concepts
 
How Real Device Cloud Testing Ensures Exceptional Efficiency and Scalability ...
How Real Device Cloud Testing Ensures Exceptional Efficiency and Scalability ...How Real Device Cloud Testing Ensures Exceptional Efficiency and Scalability ...
How Real Device Cloud Testing Ensures Exceptional Efficiency and Scalability ...
 
How Real Device Cloud Testing Ensures Exceptional Efficiency and Scalability ...
How Real Device Cloud Testing Ensures Exceptional Efficiency and Scalability ...How Real Device Cloud Testing Ensures Exceptional Efficiency and Scalability ...
How Real Device Cloud Testing Ensures Exceptional Efficiency and Scalability ...
 
Customer centric delivery to the cloud
Customer centric delivery to the cloudCustomer centric delivery to the cloud
Customer centric delivery to the cloud
 
End to-End Monitoring for ITSM and DevOps
End to-End Monitoring for ITSM and DevOpsEnd to-End Monitoring for ITSM and DevOps
End to-End Monitoring for ITSM and DevOps
 
Curiosity and Xray present - In sprint testing: Aligning tests and teams to r...
Curiosity and Xray present - In sprint testing: Aligning tests and teams to r...Curiosity and Xray present - In sprint testing: Aligning tests and teams to r...
Curiosity and Xray present - In sprint testing: Aligning tests and teams to r...
 
Managing Mobile App Performance Through Geo-Performance Visibility
Managing Mobile App Performance Through Geo-Performance VisibilityManaging Mobile App Performance Through Geo-Performance Visibility
Managing Mobile App Performance Through Geo-Performance Visibility
 
How to build confidence in your release cycle
How to build confidence in your release cycleHow to build confidence in your release cycle
How to build confidence in your release cycle
 
The Business Case for Cloud Management - RightScale Compute 2013
The Business Case for Cloud Management - RightScale Compute 2013The Business Case for Cloud Management - RightScale Compute 2013
The Business Case for Cloud Management - RightScale Compute 2013
 
Demystifying Control Towers: What Drives Effectiveness?
Demystifying Control Towers: What Drives Effectiveness?Demystifying Control Towers: What Drives Effectiveness?
Demystifying Control Towers: What Drives Effectiveness?
 
SF Chaos Engineering Meetup: Building Disaster Recovery via Resilience Engine...
SF Chaos Engineering Meetup: Building Disaster Recovery via Resilience Engine...SF Chaos Engineering Meetup: Building Disaster Recovery via Resilience Engine...
SF Chaos Engineering Meetup: Building Disaster Recovery via Resilience Engine...
 
Metrics driven dev ops 2017
Metrics driven dev ops 2017Metrics driven dev ops 2017
Metrics driven dev ops 2017
 
Webmetrics Graphical Overview
Webmetrics Graphical OverviewWebmetrics Graphical Overview
Webmetrics Graphical Overview
 
OPS Executive insights Webinar - Tanzu Slides
OPS Executive insights Webinar - Tanzu SlidesOPS Executive insights Webinar - Tanzu Slides
OPS Executive insights Webinar - Tanzu Slides
 
DevOps in the Hybrid Cloud
DevOps in the Hybrid CloudDevOps in the Hybrid Cloud
DevOps in the Hybrid Cloud
 
Patterns of evolution from monolith to microservices
Patterns of evolution from monolith to microservicesPatterns of evolution from monolith to microservices
Patterns of evolution from monolith to microservices
 

Recently uploaded

scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Recently uploaded (20)

Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 

TestTribe - Testing techniques in business-critical environments.pdf

  • 1. © 2023 Thoughtworks | Confidential Unconventional approaches for testing in fast-paced, business-critical environments Pooja Subramanian Principal Technologist, Thoughtworks Kumar Sankara Iyer Principal Technologist, Thoughtworks
  • 2. © 2023 Thoughtworks | Confidential Unconventional approaches for testing in 2 fast-paced, business-critical environments
  • 3. © 2023 Thoughtworks | Confidential What’s unique about these businesses? 3 ● They are digital-first ● They thrive in extremely competitive landscapes ● Features need to be put in production rapidly ● Customer experience is of utmost importance
  • 4. © 2023 Thoughtworks | Confidential 4 But then, the path to production is not an easy one!
  • 5. © 2023 Thoughtworks | Confidential Presenting to you - the value stream.. 5 Plan Code Validate Pre-Deploy Tests Package Deploy Post-Deploy Tests Release Monitor Trunk-based Development Code Style Unit Testing Immutable Artifacts Ephemeral Environment Provisioning Automated Integration Testing Backwards Compatibility Testing Reporting & Dashboards Lightweight Architecture Governance IDE Integration SAST Contract Testing Image Scanning Toggle Configuration Automated Functional Testing Production Verification Testing Budget Management Developer Experience Local Dev Environments Static Code Analysis Architecture Fitness Functions Artifact Versioning Application Configuration Automated Performance Testing Sign-offs Metrics Pre-commit Hooks Software Composition Analysis Standalone Component Testing Secrets Configuration Manual Exploratory Testing RASP Templates & Quickstarts Automated Code Reviews Mutation Testing Service Virtualization Chaos Testing Hotfix Test-Driven Design API Documentation Tests Test Data Management Automated Compliance Testing Disaster Recovery Refactoring Schema Migrations Zero Downtime Deployments Developer Onboarding Incident Management DAST Structured Logging Zero Impact Deployments Distributed Tracing Micro Benchmarking Lightweight Domain Modeling Release Notes Synthetic Monitoring Synthetic Monitoring IAST Threat Modeling Automated Rollbacks Accessibility Tech Debt Management Pair Programming
  • 6. © 2023 Thoughtworks | Confidential What are they doing differently? 6
  • 7. © 2023 Thoughtworks | Confidential 7 Gain real-world insights, boost confidence, and iterate faster by testing in production
  • 8. © 2023 Thoughtworks | Confidential So should you just test in production? 8 Yes, as long as: ● There is safety ● There is monitoring ● You complement it with all some of your existing checks
  • 9. © 2023 Thoughtworks | Confidential Enter canary testing… 9
  • 10. © 2023 Thoughtworks | Confidential Canary testing can minimize unforeseen negative impact on end-customers 10 ● New features rolled out to a subset of users ● Actively monitor for any performance, stability or functional issues ● Gradually release to a wider audience as the confidence on the quality increases
  • 11. © 2023 Thoughtworks | Confidential The case for parallel experimentation 11 ● Mimic-ing test data is difficult ● Too many parameters to control ● Cannot afford to have any impact to revenue and other KPIs
  • 12. © 2023 Thoughtworks | Confidential Forward all requests Enter Replay testing… Replay the transactions as and when they occur. Or store them somewhere and replay at leisure. 12 Disconnect the responses Adjust downstreams Cut-over when “done”
  • 13. © 2023 Thoughtworks | Confidential Canary Testing vs Replay Testing Canary 13 Proxy Existing New Replay Proxy Existing New
  • 14. © 2023 Thoughtworks | Confidential 14 Use observability to measure the quality of the software ● It is a lot more than traditional monitoring ● Helps pinpoint issues proactively ● Particularly valuable in complex, distributed systems, microservices architectures
  • 15. © 2023 Thoughtworks | Confidential “If you can’t measure it, you can’t improve it” 15 Lord Kelvin 15 © 2023 Thoughtworks Photo by Messrs. Dickinson, London, New Bond Street
  • 16. © 2023 Thoughtworks | Confidential Beware of Observability Overload! 16
  • 17. © 2023 Thoughtworks | Confidential 17 Shift-left performance testing to eliminate pressure points earlier on
  • 18. © 2023 Thoughtworks | Confidential Load tests shifted left 18
  • 19. © 2023 Thoughtworks | Confidential 19 Canary testing Replay testing Observability driven testing Shift- Left performance 19 Recap of testing techniques discussed so far… 19 © 2022 Thoughtworks
  • 20. © 2023 Thoughtworks | Confidential Some honourable mentions too… 20 ● Multi-region testing ● Rollback testing ● Snapshot testing ● Chaos testing
  • 21. © 2023 Thoughtworks | Confidential You don’t have to spend a lot of time trying to mimic all prod data How can these techniques help you?? 21 Quicker time to market due to reduced time spent in earlier stages Comprehensive, meaningful dashboards reduce negative user impact significantly We have also used these for testing certain subsystems that require fast time to market
  • 22. © 2023 Thoughtworks | Confidential Questions? 22