SlideShare una empresa de Scribd logo
1 de 49
Descargar para leer sin conexión
Testing in an Open-source Middleware
Platform Space: The WSO2 Way


   Iranga Muthuthanthri

   Technical Lead -QA
About WSO2
•   Providing the only complete open source componentized cloud platform
    o   Dedicated to removing all the stumbling blocks to enterprise agility
    o   Enabling you to focus on business logic and business value
•   Recognized by leading analyst firms as visionaries and leaders
    o   Gartner cites WSO2 as visionaries in all 3 categories of application infrastructure
    o   Forrester places WSO2 in top 2 for API Management
•   Global corporation with offices in USA, UK & Sri Lanka
    o   200+ employees and growing
•   Business model of selling comprehensive support & maintenance for our products
About WSO2
Agenda

•   Engineering process at WSO2.
•   Product & Release Management.
•   Testing Process at WSO2.
•   Patch Verification Process.
Testament

The Problem:
• eBay wanted to move away from a home-grown middleware solution to a commercial ESB
• Required very fast response times (< 5ms)
• Benchmarked 10 ESBs
• Including Proprietary, Open Source, Hardware Solutions
• WSO2 was the only ESB to support their performance and manageability requirements
• 2-3x faster than the other software based solutions on eBay’s workload.


The Solution:
• 1.5 billion API calls during peak times (prior to 2011 Holiday season & Black Friday)
• No downtime experienced during 2010 & 2011 holiday peaks!
WSO2 Engineering
Engineering Process


Doing the "right" thing in the "collaborative" way to make
people "happy".
People Centric Process
•
• People centric process.
•   User-engineer engagement model.
•   Promotes constant communication in push mode give
    and receive feedback.
•   Build products users actually use and want.
•   Get the "buy-in" from engineers to follow the process
    instead of pushing down a model.
Influenced by Apache Way


                      Communit
                      y
                      Openness
Passion & Commitment
Elements (in) Process
•
• Product management.
•   Milestone model.

•   Release model.

•   Support model.
Product Management Relationship
Milestone Model
Release Cycle
Done-Done
Support Model
•
• No Support Engineers.
•   Engineering runs Support.
•   SLA is Now!.
•   Engineers understand the real usage of their creation.
•   Engineers gets to know customers problems and pain.
•   Learning hub to understand platform aspects.


     Makes the next release cycle "Better".
Product

One Product
One Code Base
One Build Command
One Team
WSO2 Platform
WSO2 Testing Principles
•
• Quality is #1 priority of Engineering practice.
•   Engineering owns and is responsible for quality.

•   Everyone in Engineering does testing.

•   Collaborative Test methodology.
Agile Testing Principles

Based on Agile principles
•   Test early test often.
•   Face to Face communication (Hackathon mode).
•   Responsive to change.
•   Frequent feedback.
SOA-Middleware Testing Challenges
•
• Complexity of testing due to "Headless" state.
•   Difficulty in defect isolation.
•   Distribution nature of production deployment environments.
•   Multiple configuration points for component integrations.
SOA Middleware Test Practice


                       Data Server
                                          Oracle/MySQ
                       Service            L/MSSQL ...
Client
(Browser/       ESB
App)

                       Registry
                       Service




            Identity
                              LDAP/AD..
            Service
Types of Tests
•
•   Unit Tests.
•   Integration Tests.
•   End to End Tests.
•   Performance Tests.
•   Security Tests.
Integration Level Phase
•
•   Objective is to validate the integration scenarios of
    heterogeneous WSO2 products.
E.g: The ESB - Message Broker integration scenario.
End to End Tests
•
• Platform aspects of testing.
•   Objective is to validate that the platform provides an
    application developer to build and launch the application in an
    enterprise context.
E.g:
Authorize a request to a deployed web service in app server
through the entitlement mediator defined in the ESB referring to
the entitlement policy defined at the identity server.
Performance Tests


•   Performance Tests to Measure:
    o Throughput = requests served per second (data rate
      /sec).
    o Latency = How long each transaction takes ( time
      between requests).
Reliability Tests
•
•   Endurance tests:
    o Long running tests : Tests running for a significant
      periods of time (days,weeks).


•   Volume tests:
    o System loaded with incremental # of services, artifacts.
Security Tests

Security tests for the following threats are executed.


                        Threat                          Types of tests

     Spoofing                          Authentication

     Tampering                         Signature

     Privilege                         Authorization

     Information Disclosure            Encryption
Cloud Testing

Test the Cloud native features for
•   Multi Tenancy.
•   Elasticity.
•   Self Service.
•   Billing & Metering.
"Dogfood" Tests

•
•   Dogfood testing is about using own products for real
    usage.
•   Internal Patch Management Tool system developed
    using WSO2 G-reg product.
•   Usage introduced Product enhancements suggested
    by Engineers.
Team
Team
•
• Recognized as Team of the Year - 2010.
•   Technically skilled team.
•   6+ years experienced SOA Testers.
•   WSO2 Product experts.
•   Apache Committers.
•   Authors and reviewers of published books on SOA .
Tools
Test Cycles
The release life-cycle...

                                      •     Run integration tests

                      •   Commit automated test cases                         Download builds

            •   Fix regression issues of automated
                tests




                             •   Commit quality code                                        Tester
                            (new code, bug fixes)
Automation Engineer                                             Report Jira


                                                                                   Release candidate
                Developer



                                 Fix Jira
                                                                              Report Jira
                                                                                                     Users (Community /
                                                                                                        Customers)
Release Calendar
Tester...
Phase 1 - Test Planning

•   For new products
    - prepare detailed test plans for all features.
•   For mature products
    - add test cases for new features.

E.g.:-
https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0AvhVRxNoCg0KdHRVMm1pM2x
LUDREajdHRVlQekJRcUE#gid=20
Sources for Designing Test Plans

                   Support Issues



 QSPs & Client
 engagements                         POCs




  Architecture &
 Design Reviews

                                     Samples


                       Competitive
                        Products
Tester...
Phase 2 - Generate Artifacts
•   Create artifacts for each test scenario
    - webapps, axis2 services
    - synapse configurations
    - configurable governance artifacts
    - Jmeter scripts (to create APIs, publish, subscribe &
    invoke in bulk)
    - scripts for endurance testing
    E.g.: - https://svn.wso2.org/repos/wso2/trunk/commons/qa/qa-artifacts
Tester...
Phase 3 (cycle 1) - Test Execution

•   Setup product platforms in test lab
(with clustering/caching/mounting).
•   Prioritize & execute selected set of test cases on
    platform setups.
•   Report all L1s, L2s, L3s, etc (issues related to UI,
    features, samples & documentation).
•   Update test progress in the test plan.
Developer...

Cycle 2

•Fix L1s, L2s, etc.
•Continue functional & non-functional testing.
•Run integration tests.
Tester...
Phase 3 (cycle 2) - Test Execution

•   Verify all fixed issues in new build.
•   Execute test cases and report more issues.

Phase 3 (cycle n) - Test Execution
•   Do final round of testing (smoke test) on final RC (Release
    Candidate).
•   If no more L1s are found, release the product.
Automation Engineer...

•   Automates
    - UI & other features (security, throttling, etc).
    - certain platform scenarios.
    - volume test scenarios.
    - certain performance test scenarios.
Automation Engineer...

•   Code coverage for some products
    Product        LOC coverage   Class coverage

    ESB            38%            66%

    G-Reg          46%            65%

    DSS            49%            73%

    CEP            57%            74%

    MB             47%            90%
Support Patch Verification Process


                 Reports JIRA



Customer
                                                                                     Release the patch to the
                                                                                     customer
             •    Receives the JIRA              Private
             •    Post the first response         SVN
                                                                  Signs the patch if successful




                                                        Checkout the patch &
                                 Commits the patch      verify the fix
                                                                                                   Simulate customer
Support                                                                                            setup in test lab
Engineer

     Provides information on                                                            Tester
     the issue

                                              Add integration tests for the patch
                                                                                       Public
                                                                                       SVN
                 Developer /                  Commits the fix for future releases
                 Automation Engineer
Future...



     , Support Team
Q & A.
Engage with WSO2.
Engage with WSO2.

Más contenido relacionado

La actualidad más candente

IBM WebSphere application server
IBM WebSphere application serverIBM WebSphere application server
IBM WebSphere application serverIBM Sverige
 
Azure servicefabric
Azure servicefabricAzure servicefabric
Azure servicefabricAbhishek Sur
 
Keynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your businessKeynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your businessWSO2
 
Growing Adoption of Open Source in Enterprises
Growing Adoption of Open Source in EnterprisesGrowing Adoption of Open Source in Enterprises
Growing Adoption of Open Source in EnterprisesWSO2
 
WSO2 Product Release Webinar - Introducing the WSO2 Complex Event Processor
WSO2 Product Release Webinar - Introducing the WSO2 Complex Event Processor WSO2 Product Release Webinar - Introducing the WSO2 Complex Event Processor
WSO2 Product Release Webinar - Introducing the WSO2 Complex Event Processor WSO2
 
IBM WebSphere Application Server Update - Technical University (March 2015)
IBM WebSphere Application Server Update - Technical University (March 2015)IBM WebSphere Application Server Update - Technical University (March 2015)
IBM WebSphere Application Server Update - Technical University (March 2015)Ian Robinson
 
Whats new in was liberty security and cloud readiness
Whats new in was liberty   security and cloud readinessWhats new in was liberty   security and cloud readiness
Whats new in was liberty security and cloud readinesssflynn073
 
Microservices with Azure Service Fabric
Microservices with Azure Service FabricMicroservices with Azure Service Fabric
Microservices with Azure Service FabricDavide Benvegnù
 
Akka-intro-training-public.pdf
Akka-intro-training-public.pdfAkka-intro-training-public.pdf
Akka-intro-training-public.pdfBernardDeffarges
 
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the CloudAAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the CloudWASdev Community
 
Microservices to Scale using Azure Service Fabric
Microservices to Scale using Azure Service FabricMicroservices to Scale using Azure Service Fabric
Microservices to Scale using Azure Service FabricMukul Jain
 
Tokyo Azure Meetup #5 - Microservices and Azure Service Fabric
Tokyo Azure Meetup #5 - Microservices and Azure Service FabricTokyo Azure Meetup #5 - Microservices and Azure Service Fabric
Tokyo Azure Meetup #5 - Microservices and Azure Service FabricTokyo Azure Meetup
 
Understanding the WSO2 Platform
Understanding the WSO2 PlatformUnderstanding the WSO2 Platform
Understanding the WSO2 PlatformWSO2
 
WebSphere Application Server JBoss TCO analysis
WebSphere Application Server JBoss TCO analysisWebSphere Application Server JBoss TCO analysis
WebSphere Application Server JBoss TCO analysisShetal Patel
 
Jakarta EE und Microprofile sind bei Azure zu Hause
Jakarta EE und Microprofile sind bei Azure zu HauseJakarta EE und Microprofile sind bei Azure zu Hause
Jakarta EE und Microprofile sind bei Azure zu HauseEdward Burns
 
Continuous Integration and development environment approach
Continuous Integration and development environment approachContinuous Integration and development environment approach
Continuous Integration and development environment approachAleksandr Tsertkov
 
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...WASdev Community
 
Java on Your Terms with Azure
Java on Your Terms with AzureJava on Your Terms with Azure
Java on Your Terms with AzureEdward Burns
 

La actualidad más candente (20)

IBM WebSphere application server
IBM WebSphere application serverIBM WebSphere application server
IBM WebSphere application server
 
Azure servicefabric
Azure servicefabricAzure servicefabric
Azure servicefabric
 
Keynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your businessKeynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your business
 
Growing Adoption of Open Source in Enterprises
Growing Adoption of Open Source in EnterprisesGrowing Adoption of Open Source in Enterprises
Growing Adoption of Open Source in Enterprises
 
WSO2 Product Release Webinar - Introducing the WSO2 Complex Event Processor
WSO2 Product Release Webinar - Introducing the WSO2 Complex Event Processor WSO2 Product Release Webinar - Introducing the WSO2 Complex Event Processor
WSO2 Product Release Webinar - Introducing the WSO2 Complex Event Processor
 
IBM WebSphere Application Server Update - Technical University (March 2015)
IBM WebSphere Application Server Update - Technical University (March 2015)IBM WebSphere Application Server Update - Technical University (March 2015)
IBM WebSphere Application Server Update - Technical University (March 2015)
 
Whats new in was liberty security and cloud readiness
Whats new in was liberty   security and cloud readinessWhats new in was liberty   security and cloud readiness
Whats new in was liberty security and cloud readiness
 
Microservices with Azure Service Fabric
Microservices with Azure Service FabricMicroservices with Azure Service Fabric
Microservices with Azure Service Fabric
 
Akka-intro-training-public.pdf
Akka-intro-training-public.pdfAkka-intro-training-public.pdf
Akka-intro-training-public.pdf
 
JavaCro'15 - Oracle Java Cloud Service Java PaaS - Duško Vukmanović
JavaCro'15 - Oracle Java Cloud Service  Java PaaS - Duško VukmanovićJavaCro'15 - Oracle Java Cloud Service  Java PaaS - Duško Vukmanović
JavaCro'15 - Oracle Java Cloud Service Java PaaS - Duško Vukmanović
 
Lets vRealize level -100 Presentation
Lets vRealize level -100 PresentationLets vRealize level -100 Presentation
Lets vRealize level -100 Presentation
 
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the CloudAAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
 
Microservices to Scale using Azure Service Fabric
Microservices to Scale using Azure Service FabricMicroservices to Scale using Azure Service Fabric
Microservices to Scale using Azure Service Fabric
 
Tokyo Azure Meetup #5 - Microservices and Azure Service Fabric
Tokyo Azure Meetup #5 - Microservices and Azure Service FabricTokyo Azure Meetup #5 - Microservices and Azure Service Fabric
Tokyo Azure Meetup #5 - Microservices and Azure Service Fabric
 
Understanding the WSO2 Platform
Understanding the WSO2 PlatformUnderstanding the WSO2 Platform
Understanding the WSO2 Platform
 
WebSphere Application Server JBoss TCO analysis
WebSphere Application Server JBoss TCO analysisWebSphere Application Server JBoss TCO analysis
WebSphere Application Server JBoss TCO analysis
 
Jakarta EE und Microprofile sind bei Azure zu Hause
Jakarta EE und Microprofile sind bei Azure zu HauseJakarta EE und Microprofile sind bei Azure zu Hause
Jakarta EE und Microprofile sind bei Azure zu Hause
 
Continuous Integration and development environment approach
Continuous Integration and development environment approachContinuous Integration and development environment approach
Continuous Integration and development environment approach
 
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
 
Java on Your Terms with Azure
Java on Your Terms with AzureJava on Your Terms with Azure
Java on Your Terms with Azure
 

Similar a Testing in an Open Source Middleware Platform Space The WSO2 Way.

Understand release engineering
Understand release engineeringUnderstand release engineering
Understand release engineeringgaoliang641
 
Beyond Scrum: Scaling Agile with Continuous Delivery and Subversion
Beyond Scrum: Scaling Agile with Continuous Delivery and SubversionBeyond Scrum: Scaling Agile with Continuous Delivery and Subversion
Beyond Scrum: Scaling Agile with Continuous Delivery and SubversionProduct Marketing Services
 
Unosquare SlideShare Presentation
Unosquare SlideShare PresentationUnosquare SlideShare Presentation
Unosquare SlideShare PresentationMichael Barrett
 
Постоянное тестирование интеграции
Постоянное тестирование интеграцииПостоянное тестирование интеграции
Постоянное тестирование интеграцииSQALab
 
Agile Open Source Performance Testing Workshop for Business Managers
Agile Open Source Performance Testing Workshop for Business ManagersAgile Open Source Performance Testing Workshop for Business Managers
Agile Open Source Performance Testing Workshop for Business ManagersClever Moe
 
Pankajavalli_Bandaru_Resume-updatedoctNov11th
Pankajavalli_Bandaru_Resume-updatedoctNov11thPankajavalli_Bandaru_Resume-updatedoctNov11th
Pankajavalli_Bandaru_Resume-updatedoctNov11thVeda Valli
 
Software Quality Plan
Software Quality PlanSoftware Quality Plan
Software Quality Planguy_davis
 
"Experiences Of Test Automation At Spotify" with Kristian Karl
"Experiences Of Test Automation At Spotify" with Kristian Karl"Experiences Of Test Automation At Spotify" with Kristian Karl
"Experiences Of Test Automation At Spotify" with Kristian KarlTEST Huddle
 
Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)CIVEL Benoit
 
Cerberus_Presentation1
Cerberus_Presentation1Cerberus_Presentation1
Cerberus_Presentation1CIVEL Benoit
 
20110812 CyberTAN presentation
20110812 CyberTAN presentation20110812 CyberTAN presentation
20110812 CyberTAN presentationRichard Hsu
 
Ashwini - Effective use of CI by QA
Ashwini - Effective use of CI by QAAshwini - Effective use of CI by QA
Ashwini - Effective use of CI by QAvodQA
 
Neil Tompson - SoftTest Ireland
Neil Tompson - SoftTest IrelandNeil Tompson - SoftTest Ireland
Neil Tompson - SoftTest IrelandDavid O'Dowd
 
Test automation lessons from WebSphere Application Server
Test automation lessons from WebSphere Application ServerTest automation lessons from WebSphere Application Server
Test automation lessons from WebSphere Application ServerRobbie Minshall
 
SOASTA CloudTest Lite
SOASTA CloudTest LiteSOASTA CloudTest Lite
SOASTA CloudTest LiteFred Beringer
 
Continuous Build To Continuous Release - Experience
Continuous Build To Continuous Release - ExperienceContinuous Build To Continuous Release - Experience
Continuous Build To Continuous Release - ExperienceRaja Soundaramourty
 
Accelerated test case - Anish bhanu
Accelerated test case - Anish bhanuAccelerated test case - Anish bhanu
Accelerated test case - Anish bhanuRoopa Nadkarni
 

Similar a Testing in an Open Source Middleware Platform Space The WSO2 Way. (20)

Understand release engineering
Understand release engineeringUnderstand release engineering
Understand release engineering
 
Beyond Scrum: Scaling Agile with Continuous Delivery and Subversion
Beyond Scrum: Scaling Agile with Continuous Delivery and SubversionBeyond Scrum: Scaling Agile with Continuous Delivery and Subversion
Beyond Scrum: Scaling Agile with Continuous Delivery and Subversion
 
Testing Process
Testing ProcessTesting Process
Testing Process
 
ITS-Fidel
ITS-FidelITS-Fidel
ITS-Fidel
 
Unosquare SlideShare Presentation
Unosquare SlideShare PresentationUnosquare SlideShare Presentation
Unosquare SlideShare Presentation
 
Постоянное тестирование интеграции
Постоянное тестирование интеграцииПостоянное тестирование интеграции
Постоянное тестирование интеграции
 
Agile Open Source Performance Testing Workshop for Business Managers
Agile Open Source Performance Testing Workshop for Business ManagersAgile Open Source Performance Testing Workshop for Business Managers
Agile Open Source Performance Testing Workshop for Business Managers
 
Pankajavalli_Bandaru_Resume-updatedoctNov11th
Pankajavalli_Bandaru_Resume-updatedoctNov11thPankajavalli_Bandaru_Resume-updatedoctNov11th
Pankajavalli_Bandaru_Resume-updatedoctNov11th
 
Software Quality Plan
Software Quality PlanSoftware Quality Plan
Software Quality Plan
 
"Experiences Of Test Automation At Spotify" with Kristian Karl
"Experiences Of Test Automation At Spotify" with Kristian Karl"Experiences Of Test Automation At Spotify" with Kristian Karl
"Experiences Of Test Automation At Spotify" with Kristian Karl
 
Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)
 
Cerberus_Presentation1
Cerberus_Presentation1Cerberus_Presentation1
Cerberus_Presentation1
 
20110812 CyberTAN presentation
20110812 CyberTAN presentation20110812 CyberTAN presentation
20110812 CyberTAN presentation
 
Neev QA Offering
Neev QA OfferingNeev QA Offering
Neev QA Offering
 
Ashwini - Effective use of CI by QA
Ashwini - Effective use of CI by QAAshwini - Effective use of CI by QA
Ashwini - Effective use of CI by QA
 
Neil Tompson - SoftTest Ireland
Neil Tompson - SoftTest IrelandNeil Tompson - SoftTest Ireland
Neil Tompson - SoftTest Ireland
 
Test automation lessons from WebSphere Application Server
Test automation lessons from WebSphere Application ServerTest automation lessons from WebSphere Application Server
Test automation lessons from WebSphere Application Server
 
SOASTA CloudTest Lite
SOASTA CloudTest LiteSOASTA CloudTest Lite
SOASTA CloudTest Lite
 
Continuous Build To Continuous Release - Experience
Continuous Build To Continuous Release - ExperienceContinuous Build To Continuous Release - Experience
Continuous Build To Continuous Release - Experience
 
Accelerated test case - Anish bhanu
Accelerated test case - Anish bhanuAccelerated test case - Anish bhanu
Accelerated test case - Anish bhanu
 

Más de WSO2

Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessWSO2
 
How to Create a Service in Choreo
How to Create a Service in ChoreoHow to Create a Service in Choreo
How to Create a Service in ChoreoWSO2
 
Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023WSO2
 
Platform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on AzurePlatform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on AzureWSO2
 
GartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdfGartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdfWSO2
 
[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in Minutes[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in MinutesWSO2
 
Modernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos IdentityModernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos IdentityWSO2
 
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...WSO2
 
CIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdfCIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdfWSO2
 
Delivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoDelivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoWSO2
 
Fueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected ProductsFueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected ProductsWSO2
 
A Reference Methodology for Agile Digital Businesses
 A Reference Methodology for Agile Digital Businesses A Reference Methodology for Agile Digital Businesses
A Reference Methodology for Agile Digital BusinessesWSO2
 
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)WSO2
 
Lessons from the pandemic - From a single use case to true transformation
 Lessons from the pandemic - From a single use case to true transformation Lessons from the pandemic - From a single use case to true transformation
Lessons from the pandemic - From a single use case to true transformationWSO2
 
Adding Liveliness to Banking Experiences
Adding Liveliness to Banking ExperiencesAdding Liveliness to Banking Experiences
Adding Liveliness to Banking ExperiencesWSO2
 
Building a Future-ready Bank
Building a Future-ready BankBuilding a Future-ready Bank
Building a Future-ready BankWSO2
 
WSO2 API Manager Community Call - November 2021
WSO2 API Manager Community Call - November 2021WSO2 API Manager Community Call - November 2021
WSO2 API Manager Community Call - November 2021WSO2
 
[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIs[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIsWSO2
 
[API World 2021 ] - Understanding Cloud Native Deployment
[API World 2021 ] - Understanding Cloud Native Deployment[API World 2021 ] - Understanding Cloud Native Deployment
[API World 2021 ] - Understanding Cloud Native DeploymentWSO2
 
[API Word 2021] - Quantum Duality of “API as a Business and a Technology”
[API Word 2021] - Quantum Duality of “API as a Business and a Technology”[API Word 2021] - Quantum Duality of “API as a Business and a Technology”
[API Word 2021] - Quantum Duality of “API as a Business and a Technology”WSO2
 

Más de WSO2 (20)

Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with Platformless
 
How to Create a Service in Choreo
How to Create a Service in ChoreoHow to Create a Service in Choreo
How to Create a Service in Choreo
 
Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023
 
Platform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on AzurePlatform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on Azure
 
GartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdfGartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdf
 
[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in Minutes[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in Minutes
 
Modernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos IdentityModernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos Identity
 
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
 
CIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdfCIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdf
 
Delivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoDelivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing Choreo
 
Fueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected ProductsFueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected Products
 
A Reference Methodology for Agile Digital Businesses
 A Reference Methodology for Agile Digital Businesses A Reference Methodology for Agile Digital Businesses
A Reference Methodology for Agile Digital Businesses
 
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
 
Lessons from the pandemic - From a single use case to true transformation
 Lessons from the pandemic - From a single use case to true transformation Lessons from the pandemic - From a single use case to true transformation
Lessons from the pandemic - From a single use case to true transformation
 
Adding Liveliness to Banking Experiences
Adding Liveliness to Banking ExperiencesAdding Liveliness to Banking Experiences
Adding Liveliness to Banking Experiences
 
Building a Future-ready Bank
Building a Future-ready BankBuilding a Future-ready Bank
Building a Future-ready Bank
 
WSO2 API Manager Community Call - November 2021
WSO2 API Manager Community Call - November 2021WSO2 API Manager Community Call - November 2021
WSO2 API Manager Community Call - November 2021
 
[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIs[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIs
 
[API World 2021 ] - Understanding Cloud Native Deployment
[API World 2021 ] - Understanding Cloud Native Deployment[API World 2021 ] - Understanding Cloud Native Deployment
[API World 2021 ] - Understanding Cloud Native Deployment
 
[API Word 2021] - Quantum Duality of “API as a Business and a Technology”
[API Word 2021] - Quantum Duality of “API as a Business and a Technology”[API Word 2021] - Quantum Duality of “API as a Business and a Technology”
[API Word 2021] - Quantum Duality of “API as a Business and a Technology”
 

Testing in an Open Source Middleware Platform Space The WSO2 Way.

  • 1. Testing in an Open-source Middleware Platform Space: The WSO2 Way Iranga Muthuthanthri Technical Lead -QA
  • 2. About WSO2 • Providing the only complete open source componentized cloud platform o Dedicated to removing all the stumbling blocks to enterprise agility o Enabling you to focus on business logic and business value • Recognized by leading analyst firms as visionaries and leaders o Gartner cites WSO2 as visionaries in all 3 categories of application infrastructure o Forrester places WSO2 in top 2 for API Management • Global corporation with offices in USA, UK & Sri Lanka o 200+ employees and growing • Business model of selling comprehensive support & maintenance for our products
  • 4. Agenda • Engineering process at WSO2. • Product & Release Management. • Testing Process at WSO2. • Patch Verification Process.
  • 5. Testament The Problem: • eBay wanted to move away from a home-grown middleware solution to a commercial ESB • Required very fast response times (< 5ms) • Benchmarked 10 ESBs • Including Proprietary, Open Source, Hardware Solutions • WSO2 was the only ESB to support their performance and manageability requirements • 2-3x faster than the other software based solutions on eBay’s workload. The Solution: • 1.5 billion API calls during peak times (prior to 2011 Holiday season & Black Friday) • No downtime experienced during 2010 & 2011 holiday peaks!
  • 7. Engineering Process Doing the "right" thing in the "collaborative" way to make people "happy".
  • 8. People Centric Process • • People centric process. • User-engineer engagement model. • Promotes constant communication in push mode give and receive feedback. • Build products users actually use and want. • Get the "buy-in" from engineers to follow the process instead of pushing down a model.
  • 9. Influenced by Apache Way Communit y Openness
  • 11. Elements (in) Process • • Product management. • Milestone model. • Release model. • Support model.
  • 16. Support Model • • No Support Engineers. • Engineering runs Support. • SLA is Now!. • Engineers understand the real usage of their creation. • Engineers gets to know customers problems and pain. • Learning hub to understand platform aspects. Makes the next release cycle "Better".
  • 17. Product One Product One Code Base One Build Command One Team
  • 19. WSO2 Testing Principles • • Quality is #1 priority of Engineering practice. • Engineering owns and is responsible for quality. • Everyone in Engineering does testing. • Collaborative Test methodology.
  • 20. Agile Testing Principles Based on Agile principles • Test early test often. • Face to Face communication (Hackathon mode). • Responsive to change. • Frequent feedback.
  • 21. SOA-Middleware Testing Challenges • • Complexity of testing due to "Headless" state. • Difficulty in defect isolation. • Distribution nature of production deployment environments. • Multiple configuration points for component integrations.
  • 22. SOA Middleware Test Practice Data Server Oracle/MySQ Service L/MSSQL ... Client (Browser/ ESB App) Registry Service Identity LDAP/AD.. Service
  • 23. Types of Tests • • Unit Tests. • Integration Tests. • End to End Tests. • Performance Tests. • Security Tests.
  • 24. Integration Level Phase • • Objective is to validate the integration scenarios of heterogeneous WSO2 products. E.g: The ESB - Message Broker integration scenario.
  • 25. End to End Tests • • Platform aspects of testing. • Objective is to validate that the platform provides an application developer to build and launch the application in an enterprise context. E.g: Authorize a request to a deployed web service in app server through the entitlement mediator defined in the ESB referring to the entitlement policy defined at the identity server.
  • 26. Performance Tests • Performance Tests to Measure: o Throughput = requests served per second (data rate /sec). o Latency = How long each transaction takes ( time between requests).
  • 27. Reliability Tests • • Endurance tests: o Long running tests : Tests running for a significant periods of time (days,weeks). • Volume tests: o System loaded with incremental # of services, artifacts.
  • 28. Security Tests Security tests for the following threats are executed. Threat Types of tests Spoofing Authentication Tampering Signature Privilege Authorization Information Disclosure Encryption
  • 29. Cloud Testing Test the Cloud native features for • Multi Tenancy. • Elasticity. • Self Service. • Billing & Metering.
  • 30. "Dogfood" Tests • • Dogfood testing is about using own products for real usage. • Internal Patch Management Tool system developed using WSO2 G-reg product. • Usage introduced Product enhancements suggested by Engineers.
  • 31. Team
  • 32. Team • • Recognized as Team of the Year - 2010. • Technically skilled team. • 6+ years experienced SOA Testers. • WSO2 Product experts. • Apache Committers. • Authors and reviewers of published books on SOA .
  • 33. Tools
  • 35. The release life-cycle... • Run integration tests • Commit automated test cases Download builds • Fix regression issues of automated tests • Commit quality code Tester (new code, bug fixes) Automation Engineer Report Jira Release candidate Developer Fix Jira Report Jira Users (Community / Customers)
  • 37. Tester... Phase 1 - Test Planning • For new products - prepare detailed test plans for all features. • For mature products - add test cases for new features. E.g.:- https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0AvhVRxNoCg0KdHRVMm1pM2x LUDREajdHRVlQekJRcUE#gid=20
  • 38. Sources for Designing Test Plans Support Issues QSPs & Client engagements POCs Architecture & Design Reviews Samples Competitive Products
  • 39. Tester... Phase 2 - Generate Artifacts • Create artifacts for each test scenario - webapps, axis2 services - synapse configurations - configurable governance artifacts - Jmeter scripts (to create APIs, publish, subscribe & invoke in bulk) - scripts for endurance testing E.g.: - https://svn.wso2.org/repos/wso2/trunk/commons/qa/qa-artifacts
  • 40. Tester... Phase 3 (cycle 1) - Test Execution • Setup product platforms in test lab (with clustering/caching/mounting). • Prioritize & execute selected set of test cases on platform setups. • Report all L1s, L2s, L3s, etc (issues related to UI, features, samples & documentation). • Update test progress in the test plan.
  • 41. Developer... Cycle 2 •Fix L1s, L2s, etc. •Continue functional & non-functional testing. •Run integration tests.
  • 42. Tester... Phase 3 (cycle 2) - Test Execution • Verify all fixed issues in new build. • Execute test cases and report more issues. Phase 3 (cycle n) - Test Execution • Do final round of testing (smoke test) on final RC (Release Candidate). • If no more L1s are found, release the product.
  • 43. Automation Engineer... • Automates - UI & other features (security, throttling, etc). - certain platform scenarios. - volume test scenarios. - certain performance test scenarios.
  • 44. Automation Engineer... • Code coverage for some products Product LOC coverage Class coverage ESB 38% 66% G-Reg 46% 65% DSS 49% 73% CEP 57% 74% MB 47% 90%
  • 45. Support Patch Verification Process Reports JIRA Customer Release the patch to the customer • Receives the JIRA Private • Post the first response SVN Signs the patch if successful Checkout the patch & Commits the patch verify the fix Simulate customer Support setup in test lab Engineer Provides information on Tester the issue Add integration tests for the patch Public SVN Developer / Commits the fix for future releases Automation Engineer
  • 46. Future... , Support Team