quality - the key to successful soa

40
Quality - The Key to Successful SOA by Charitha Kankanamge Senior Technical Lead, Manager QA WSO2

Upload: wso2

Post on 04-Jul-2015

782 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Quality - The key to successful SOA

Quality - The Key to Successful SOA

by

Charitha KankanamgeSenior Technical Lead, Manager QA

WSO2

Page 2: Quality - The key to successful SOA

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

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

Glance at SOA

Building blocks of SOA

Page 5: Quality - The key to successful SOA

Glance at SOA

Common Principles of SOA

● Services are reusable

Page 6: Quality - The key to successful SOA

Glance at SOA

Common Principles of SOA

● Services are loosely-coupled

Page 7: Quality - The key to successful SOA

Importance of Quality in SOA

Page 8: Quality - The key to successful SOA

Importance of Quality in SOA

Traditional QA Lead

Page 9: Quality - The key to successful SOA

Importance of Quality in SOA

Page 10: Quality - The key to successful SOA

Importance of Quality in SOA

Page 11: Quality - The key to successful SOA

Importance of Quality in SOA

➢ Reusable components

Page 12: Quality - The key to successful SOA

Importance of Quality in SOA

➢ Business flexibility

Page 13: Quality - The key to successful SOA

Importance of Quality in SOA

➢ Higher level of integrations and diverse technologies

Page 14: Quality - The key to successful SOA

Traditional Software Testing

Page 15: Quality - The key to successful SOA

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

SOA Testing

Page 17: Quality - The key to successful SOA

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

SOA Testing

• Test automation

➢ Unit ➢ Integration➢ End-to-End

• Continuous integration

• Performance testing

Page 19: Quality - The key to successful SOA

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

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

SOA Testing in Practice

Page 22: Quality - The key to successful SOA

SOA Testing in Practice

Page 23: Quality - The key to successful SOA

Component Level Testing – Web Services

• Understand WSDL

• Mock services based testing

• Service level performance testing

Page 24: Quality - The key to successful SOA

Component Level Testing – Web Services - Demo

Page 25: Quality - The key to successful SOA

Component Level Testing – Web Services - Demo

Page 26: Quality - The key to successful SOA

Component Level Testing – Web Services - Demo

Page 27: Quality - The key to successful SOA

Component Level Testing – Web Services - Demo

Page 28: Quality - The key to successful SOA

Component Level Testing – Web Services - Demo

Page 29: Quality - The key to successful SOA

Component Level Testing – Web Services - Demo

Page 30: Quality - The key to successful SOA

Component Level Testing – Web Services - Demo

Page 31: Quality - The key to successful SOA

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

Testing associated with Broker (ESB)

• Message routing

• Transformations

• Split/Aggregate messages

Page 33: Quality - The key to successful SOA

Testing associated with ESB - Demo

Page 34: Quality - The key to successful SOA

Testing associated with ESB - Demo

Page 35: Quality - The key to successful SOA

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

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

Open Source Tools for SOA Testing – JMeter

Page 38: Quality - The key to successful SOA

Open Source Tools for SOA Testing – JMeter

Page 39: Quality - The key to successful SOA

Open Source Tools for SOA Testing – JMeter

Page 40: Quality - The key to successful SOA

Q&A