quality - the key to successful soa
TRANSCRIPT
![Page 1: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/1.jpg)
Quality - The Key to Successful SOA
by
Charitha KankanamgeSenior Technical Lead, Manager QA
WSO2
![Page 2: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/2.jpg)
Agenda
● SOA – Quick look
● Importance of quality in SOA
● Traditional software testing● SOA testing
● Challenges in SOA testing
● SOA testing in practice
● Open source SOA testing tools
● Summary
![Page 3: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/3.jpg)
Glance at SOA
A Service Oriented Architecture is a set of components which can be invoked and whose interface descriptions can be published and discovered.
![Page 4: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/4.jpg)
Glance at SOA
Building blocks of SOA
![Page 5: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/5.jpg)
Glance at SOA
Common Principles of SOA
● Services are reusable
![Page 6: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/6.jpg)
Glance at SOA
Common Principles of SOA
● Services are loosely-coupled
![Page 7: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/7.jpg)
Importance of Quality in SOA
![Page 8: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/8.jpg)
Importance of Quality in SOA
Traditional QA Lead
![Page 9: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/9.jpg)
Importance of Quality in SOA
![Page 10: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/10.jpg)
Importance of Quality in SOA
![Page 11: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/11.jpg)
Importance of Quality in SOA
➢ Reusable components
![Page 12: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/12.jpg)
Importance of Quality in SOA
➢ Business flexibility
![Page 13: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/13.jpg)
Importance of Quality in SOA
➢ Higher level of integrations and diverse technologies
![Page 14: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/14.jpg)
Traditional Software Testing
![Page 15: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/15.jpg)
Traditional Software Testing
• Test execution starts when an end-to-end solution is ready
• Higher UI interaction
• UI oriented test automation
• Too much focus on black-box testing
![Page 16: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/16.jpg)
SOA Testing
![Page 17: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/17.jpg)
SOA Testing
• Component based testing
• Bottom-up test execution
• Collaborative testing methodology
• Early involvement in testing
• Interop testing
• System Testing (End-to-End)
![Page 18: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/18.jpg)
SOA Testing
• Test automation
➢ Unit ➢ Integration➢ End-to-End
• Continuous integration
• Performance testing
![Page 19: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/19.jpg)
SOA Testing – Planning and Design
• Study business requirements
• Identify components
• Identify service consumers
• Identify Message Exchange Patterns (MEPs)
• Identify testing techniques
• Set scope
![Page 20: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/20.jpg)
SOA Testing Challenges
• Complex standards and specifications
• Message oriented tests
• Headless applications
• Defect isolation
• Complex test environments due to higher level of integrations
• Heterogeneous platforms
• Cloud complexities
![Page 21: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/21.jpg)
SOA Testing in Practice
![Page 22: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/22.jpg)
SOA Testing in Practice
![Page 23: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/23.jpg)
Component Level Testing – Web Services
• Understand WSDL
• Mock services based testing
• Service level performance testing
![Page 24: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/24.jpg)
Component Level Testing – Web Services - Demo
![Page 25: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/25.jpg)
Component Level Testing – Web Services - Demo
![Page 26: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/26.jpg)
Component Level Testing – Web Services - Demo
![Page 27: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/27.jpg)
Component Level Testing – Web Services - Demo
![Page 28: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/28.jpg)
Component Level Testing – Web Services - Demo
![Page 29: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/29.jpg)
Component Level Testing – Web Services - Demo
![Page 30: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/30.jpg)
Component Level Testing – Web Services - Demo
![Page 31: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/31.jpg)
Web Services Testing with Quality of Services (QoS)
• Service access is restricted using various policies (security, throttling)
• WS-RM
![Page 32: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/32.jpg)
Testing associated with Broker (ESB)
• Message routing
• Transformations
• Split/Aggregate messages
![Page 33: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/33.jpg)
Testing associated with ESB - Demo
![Page 34: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/34.jpg)
Testing associated with ESB - Demo
![Page 35: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/35.jpg)
Open Source Tools for SOA Testing – SOAPUI
• Ease-of-use
• Can be used for both functional and performance testing
• WS-* support
• Service simulation
![Page 36: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/36.jpg)
Open Source Tools for SOA Testing – JMeter
• SOAP/XML-RPC or WebService Samplers can be used
• Can be used for both functional and performance testing
• Data driven testing
![Page 37: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/37.jpg)
Open Source Tools for SOA Testing – JMeter
![Page 38: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/38.jpg)
Open Source Tools for SOA Testing – JMeter
![Page 39: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/39.jpg)
Open Source Tools for SOA Testing – JMeter
![Page 40: Quality - The key to successful SOA](https://reader035.vdocument.in/reader035/viewer/2022081404/559737fc1a28abb9768b4605/html5/thumbnails/40.jpg)
Q&A