Avoiding APIpocalypse
API Resiliency Testing FTW!
Naresh Jain
naresh@xnsio.com
© 2024 All Rights Reserved
© 2024 All Rights Reserved
© 2024 All Rights Reserved
Src: https://techcrunch.com/2024/05/23/bing-is-down-bringing-duckduckgo-and-ecosia-down-too/
© 2024 All Rights Reserved
Src: https://techcrunch.com/2020/09/23/tesla-experienced-an-hour-long-network-outage-early-wednesday/
© 2024 All Rights Reserved
Resiliency Testing
• Negative Functional Testing
• Boundary Value Testing
• Equivalence Partitioning
• Invalid Data Types Testing
• Format Validation Testing
• Overflow and Underflow Testing
• Service Dependency Testing
• Contract Testing
• Backward Compatibility Testing
• Chaos Engineering
• Fault Injection Testing
• Failover Testing
• Recovery Testing
• Network Partitioning
• Performance Testing
• Load Testing
• Stress Testing
• Soak Testing
• Latency Testing
• Concurrency Testing
• Security Resilience Testing
• SQL Injection Testing
• Cross-Site Scripting (XSS) Testing
• Unauthorized Access Testing
• Session Expiry Testing
• Penetration testing
• DDoS
• Vulnerability Scans
• Observability, Monitoring & Alerts
© 2024 All Rights Reserved
Negative Functional API Testing
&
Service Dependency Testing
Leveraging API Specifications
© 2024 All Rights Reserved
System Under Test Dependencies
Test
Application Architecture
Request
Response
Request
Response
1 2
3
4
5
Message
Topic
Product Service
App Order Service
Analytics Service
© 2024 All Rights Reserved
API Resiliency Live Demo
© 2024 All Rights Reserved
Contract Driven Development – In a nutshell
Consumer
Provider
API Design First
• Shift Left all the way to Design • Reduced time-to-market due to Parallel Development
• Enhanced DevEx with improved Collaboration • Resilient API Building Blocks
Thank you!
Naresh Jain
naresh@xnsio.com

Avoiding APIpocalypse; API Resiliency Testing FTW! - Naresh Jain, Xnsio

  • 1.
    Avoiding APIpocalypse API ResiliencyTesting FTW! Naresh Jain naresh@xnsio.com © 2024 All Rights Reserved
  • 2.
    © 2024 AllRights Reserved
  • 3.
    © 2024 AllRights Reserved Src: https://techcrunch.com/2024/05/23/bing-is-down-bringing-duckduckgo-and-ecosia-down-too/
  • 4.
    © 2024 AllRights Reserved Src: https://techcrunch.com/2020/09/23/tesla-experienced-an-hour-long-network-outage-early-wednesday/
  • 5.
    © 2024 AllRights Reserved Resiliency Testing • Negative Functional Testing • Boundary Value Testing • Equivalence Partitioning • Invalid Data Types Testing • Format Validation Testing • Overflow and Underflow Testing • Service Dependency Testing • Contract Testing • Backward Compatibility Testing • Chaos Engineering • Fault Injection Testing • Failover Testing • Recovery Testing • Network Partitioning • Performance Testing • Load Testing • Stress Testing • Soak Testing • Latency Testing • Concurrency Testing • Security Resilience Testing • SQL Injection Testing • Cross-Site Scripting (XSS) Testing • Unauthorized Access Testing • Session Expiry Testing • Penetration testing • DDoS • Vulnerability Scans • Observability, Monitoring & Alerts
  • 6.
    © 2024 AllRights Reserved Negative Functional API Testing & Service Dependency Testing Leveraging API Specifications
  • 7.
    © 2024 AllRights Reserved System Under Test Dependencies Test Application Architecture Request Response Request Response 1 2 3 4 5 Message Topic Product Service App Order Service Analytics Service
  • 8.
    © 2024 AllRights Reserved API Resiliency Live Demo
  • 9.
    © 2024 AllRights Reserved Contract Driven Development – In a nutshell Consumer Provider API Design First • Shift Left all the way to Design • Reduced time-to-market due to Parallel Development • Enhanced DevEx with improved Collaboration • Resilient API Building Blocks
  • 10.