SlideShare a Scribd company logo
Testing Microservices at Scale
Discover Card Acquisitions
Kishore Kota, Sindhu Nair
Agenda
Paradigm Shift in Testing
Monolithic vs Micro Services
Test Pyramid
End-to-end Test Strategy
Q & A
E2E
UAT
Integration
DEV
E2E
Acceptance
Integration
DEV
Paradigm Shift in Testing
Paradigm Shift in Testing
Testing Monolithic vs Micro Service
● Heavy reliance on End-To-End testing
● Longer Testing Cycle
● Lots of moving pieces
● Smaller Test Surface Area
● More complex system integration
Testing Pyramid
Unit Testing
• Validate code in Isolation
• Make use of Mocking and
Stubbing
• Validate code behavior
• Fine grained test cases
Contract Testing
System Integration Testing
• Stub out API Dependencies locally
• Actual API when deployed to actual runtime
• Validation focus should be on your API
Backwards Compatibility Testing
• Can the old app work with new Database ?
• Does the blue – green install cause outage ?
• Can the release be backed out if needed ?
Performance Testing
• Create automation focusing on API boundaries
• Isolate test subject by decoupling from dependencies using virtualization
• Make sure test are run in short intervals and provide quick feedback
Vulnerability Testing
• Reuse Integration Test artifacts
• Execute System Integration Test for Contrast DSAT
• Pipeline to enforce governance
Disruptive Testing
• Simulate infra down to see app behavior
• Get to a known state with outage
• Identify gaps in design to address downtime
End to End User Journey Testing
• Daily execution of E2E user
journey test suite
• Dedicated test environment
• Refreshed from prod every
morning
• Changes are staged to test
environment before cut off
time
• Failed test cases are rerun
Browser Compatibility Testing
• Executed in parallel to end-to-end testing
• Use Selenium WebDriver
• Leverage Cross Browser Testing tool
Production Smoke Testing
• Staging space in Production to ensure Application are configured correctly and validate network
connection
• Validate JWT
• Validate Connectivity to dependent apis
• Check Certificates and Network Connection
Testing Stages and Testing Environments
Pipeline delivers code to
next stage after
successful completion of
previous stage of testing
C
o
n
t
i
n
u
o
u
s
I
n
t
e
g
r
a
t
i
o
n
,
C
o
n
t
i
n
u
o
u
s
D
e
l
i
v
e
r
y
How the Testing Pyramid is executed ?
Q & A

More Related Content

What's hot (20)

PPTX
Metaspace
Yasumasa Suenaga
 
PDF
Dkos(mesos기반의 container orchestration)
Won-Chon Jung
 
PDF
Karpenter
Knoldus Inc.
 
PDF
Kubernetes Architecture and Introduction
Stefan Schimanski
 
PDF
Elastic Observability
FaithWestdorp
 
PDF
VM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlue
ShapeBlue
 
PDF
Spring Boot Interview Questions | Edureka
Edureka!
 
PDF
Docker Birthday #3 - Intro to Docker Slides
Docker, Inc.
 
PPSX
Microservices Testing Strategies JUnit Cucumber Mockito Pact
Araf Karsh Hamid
 
PDF
Webinar "Introduction to OpenStack"
CREATE-NET
 
PDF
Docker swarm
Alberto Guimarães Viana
 
PDF
Efficient Kubernetes scaling using Karpenter
Marko Bevc
 
PDF
CI/CD Tools Universe: The Ultimate List
Plutora
 
PPTX
Serverless integration with Knative and Apache Camel on Kubernetes
Claus Ibsen
 
PDF
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
VMware Tanzu
 
PDF
Kubernetes security
Thomas Fricke
 
PPTX
Docker Security Overview
Sreenivas Makam
 
PPSX
Microservices, DevOps & SRE
Araf Karsh Hamid
 
PDF
DevSecOps Jenkins Pipeline -Security
n|u - The Open Security Community
 
PDF
Spring Interview Questions and Answers | Spring Tutorial | Spring Framework T...
Edureka!
 
Metaspace
Yasumasa Suenaga
 
Dkos(mesos기반의 container orchestration)
Won-Chon Jung
 
Karpenter
Knoldus Inc.
 
Kubernetes Architecture and Introduction
Stefan Schimanski
 
Elastic Observability
FaithWestdorp
 
VM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlue
ShapeBlue
 
Spring Boot Interview Questions | Edureka
Edureka!
 
Docker Birthday #3 - Intro to Docker Slides
Docker, Inc.
 
Microservices Testing Strategies JUnit Cucumber Mockito Pact
Araf Karsh Hamid
 
Webinar "Introduction to OpenStack"
CREATE-NET
 
Efficient Kubernetes scaling using Karpenter
Marko Bevc
 
CI/CD Tools Universe: The Ultimate List
Plutora
 
Serverless integration with Knative and Apache Camel on Kubernetes
Claus Ibsen
 
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
VMware Tanzu
 
Kubernetes security
Thomas Fricke
 
Docker Security Overview
Sreenivas Makam
 
Microservices, DevOps & SRE
Araf Karsh Hamid
 
DevSecOps Jenkins Pipeline -Security
n|u - The Open Security Community
 
Spring Interview Questions and Answers | Spring Tutorial | Spring Framework T...
Edureka!
 

Similar to Microservices Testing at Scale (20)

PDF
Modernizing Testing as Apps Re-Architect
DevOps.com
 
PDF
Cloud Native Testing, 2020 Edition: A Modern Blueprint for Pre-production Tes...
OlyaSurits
 
PPT
Test automation lessons from WebSphere Application Server
Robbie Minshall
 
PPTX
Continuous Integration as a Way of Life
Melissa Benua
 
PPTX
Curiosity and Xray present - In sprint testing: Aligning tests and teams to r...
Curiosity Software Ireland
 
PDF
Innovation in Action - #MFSummit2017
Micro Focus
 
PPTX
Neev QA Offering
Neev Technologies
 
PPTX
Zen Test Labs Mobile Application Testing
Zen Test Labs
 
PPTX
Neev Independent Testing Services
Neev Technologies
 
PDF
Digital Assurance Center of Excellence
Ira Agarwal
 
PPTX
TechTalk: Getting to Know Perfecto
Lizzy Guido (she/her)
 
PPTX
Service engineering
Qingsong Yao
 
PDF
Embedded world 2017
ChantalWauters
 
PDF
Experitest & Hexaware Co-Webinar
Experitest
 
PPTX
Appmotives - Software Testing As Service
Kalyan Paluri
 
PPTX
End to End Testing with Quality Enthusiasts: SDET Technologies
sdettech
 
PPTX
#ATAGTR2020 Presentation - Universal Test Automation Framework
Agile Testing Alliance
 
PDF
Automated Virtualized Testing (AVT) with Docker, Kubernetes, WireMock and Gat...
VMware Tanzu
 
PPTX
How to Fit Performance Testing into a DevOps Environment
Neotys
 
PPTX
Appium vs Appium with Perfecto
Lizzy Guido (she/her)
 
Modernizing Testing as Apps Re-Architect
DevOps.com
 
Cloud Native Testing, 2020 Edition: A Modern Blueprint for Pre-production Tes...
OlyaSurits
 
Test automation lessons from WebSphere Application Server
Robbie Minshall
 
Continuous Integration as a Way of Life
Melissa Benua
 
Curiosity and Xray present - In sprint testing: Aligning tests and teams to r...
Curiosity Software Ireland
 
Innovation in Action - #MFSummit2017
Micro Focus
 
Neev QA Offering
Neev Technologies
 
Zen Test Labs Mobile Application Testing
Zen Test Labs
 
Neev Independent Testing Services
Neev Technologies
 
Digital Assurance Center of Excellence
Ira Agarwal
 
TechTalk: Getting to Know Perfecto
Lizzy Guido (she/her)
 
Service engineering
Qingsong Yao
 
Embedded world 2017
ChantalWauters
 
Experitest & Hexaware Co-Webinar
Experitest
 
Appmotives - Software Testing As Service
Kalyan Paluri
 
End to End Testing with Quality Enthusiasts: SDET Technologies
sdettech
 
#ATAGTR2020 Presentation - Universal Test Automation Framework
Agile Testing Alliance
 
Automated Virtualized Testing (AVT) with Docker, Kubernetes, WireMock and Gat...
VMware Tanzu
 
How to Fit Performance Testing into a DevOps Environment
Neotys
 
Appium vs Appium with Perfecto
Lizzy Guido (she/her)
 
Ad

More from VMware Tanzu (20)

PDF
Spring into AI presented by Dan Vega 5/14
VMware Tanzu
 
PDF
What AI Means For Your Product Strategy And What To Do About It
VMware Tanzu
 
PDF
Make the Right Thing the Obvious Thing at Cardinal Health 2023
VMware Tanzu
 
PPTX
Enhancing DevEx and Simplifying Operations at Scale
VMware Tanzu
 
PDF
Spring Update | July 2023
VMware Tanzu
 
PPTX
Platforms, Platform Engineering, & Platform as a Product
VMware Tanzu
 
PPTX
Building Cloud Ready Apps
VMware Tanzu
 
PDF
Spring Boot 3 And Beyond
VMware Tanzu
 
PDF
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
VMware Tanzu
 
PDF
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
VMware Tanzu
 
PDF
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
VMware Tanzu
 
PPTX
tanzu_developer_connect.pptx
VMware Tanzu
 
PDF
Tanzu Virtual Developer Connect Workshop - French
VMware Tanzu
 
PDF
Tanzu Developer Connect Workshop - English
VMware Tanzu
 
PDF
Virtual Developer Connect Workshop - English
VMware Tanzu
 
PDF
Tanzu Developer Connect - French
VMware Tanzu
 
PDF
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
VMware Tanzu
 
PDF
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
VMware Tanzu
 
PDF
SpringOne Tour: The Influential Software Engineer
VMware Tanzu
 
PDF
SpringOne Tour: Domain-Driven Design: Theory vs Practice
VMware Tanzu
 
Spring into AI presented by Dan Vega 5/14
VMware Tanzu
 
What AI Means For Your Product Strategy And What To Do About It
VMware Tanzu
 
Make the Right Thing the Obvious Thing at Cardinal Health 2023
VMware Tanzu
 
Enhancing DevEx and Simplifying Operations at Scale
VMware Tanzu
 
Spring Update | July 2023
VMware Tanzu
 
Platforms, Platform Engineering, & Platform as a Product
VMware Tanzu
 
Building Cloud Ready Apps
VMware Tanzu
 
Spring Boot 3 And Beyond
VMware Tanzu
 
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
VMware Tanzu
 
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
VMware Tanzu
 
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
VMware Tanzu
 
tanzu_developer_connect.pptx
VMware Tanzu
 
Tanzu Virtual Developer Connect Workshop - French
VMware Tanzu
 
Tanzu Developer Connect Workshop - English
VMware Tanzu
 
Virtual Developer Connect Workshop - English
VMware Tanzu
 
Tanzu Developer Connect - French
VMware Tanzu
 
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
VMware Tanzu
 
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
VMware Tanzu
 
SpringOne Tour: The Influential Software Engineer
VMware Tanzu
 
SpringOne Tour: Domain-Driven Design: Theory vs Practice
VMware Tanzu
 
Ad

Recently uploaded (20)

PDF
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PPTX
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
PPTX
Engineering the Java Web Application (MVC)
abhishekoza1981
 
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
PPTX
An Introduction to ZAP by Checkmarx - Official Version
Simon Bennetts
 
PPTX
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PPTX
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PDF
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PDF
Executive Business Intelligence Dashboards
vandeslie24
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PPTX
Platform for Enterprise Solution - Java EE5
abhishekoza1981
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PPTX
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
PDF
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
Engineering the Java Web Application (MVC)
abhishekoza1981
 
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
An Introduction to ZAP by Checkmarx - Official Version
Simon Bennetts
 
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Executive Business Intelligence Dashboards
vandeslie24
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
Platform for Enterprise Solution - Java EE5
abhishekoza1981
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 

Microservices Testing at Scale

  • 1. Testing Microservices at Scale Discover Card Acquisitions Kishore Kota, Sindhu Nair
  • 2. Agenda Paradigm Shift in Testing Monolithic vs Micro Services Test Pyramid End-to-end Test Strategy Q & A
  • 4. Testing Monolithic vs Micro Service ● Heavy reliance on End-To-End testing ● Longer Testing Cycle ● Lots of moving pieces ● Smaller Test Surface Area ● More complex system integration
  • 6. Unit Testing • Validate code in Isolation • Make use of Mocking and Stubbing • Validate code behavior • Fine grained test cases
  • 8. System Integration Testing • Stub out API Dependencies locally • Actual API when deployed to actual runtime • Validation focus should be on your API
  • 9. Backwards Compatibility Testing • Can the old app work with new Database ? • Does the blue – green install cause outage ? • Can the release be backed out if needed ?
  • 10. Performance Testing • Create automation focusing on API boundaries • Isolate test subject by decoupling from dependencies using virtualization • Make sure test are run in short intervals and provide quick feedback
  • 11. Vulnerability Testing • Reuse Integration Test artifacts • Execute System Integration Test for Contrast DSAT • Pipeline to enforce governance
  • 12. Disruptive Testing • Simulate infra down to see app behavior • Get to a known state with outage • Identify gaps in design to address downtime
  • 13. End to End User Journey Testing • Daily execution of E2E user journey test suite • Dedicated test environment • Refreshed from prod every morning • Changes are staged to test environment before cut off time • Failed test cases are rerun
  • 14. Browser Compatibility Testing • Executed in parallel to end-to-end testing • Use Selenium WebDriver • Leverage Cross Browser Testing tool
  • 15. Production Smoke Testing • Staging space in Production to ensure Application are configured correctly and validate network connection • Validate JWT • Validate Connectivity to dependent apis • Check Certificates and Network Connection
  • 16. Testing Stages and Testing Environments Pipeline delivers code to next stage after successful completion of previous stage of testing C o n t i n u o u s I n t e g r a t i o n , C o n t i n u o u s D e l i v e r y How the Testing Pyramid is executed ?
  • 17. Q & A