Service Oriented Architecture Testing: NOSQAA Cleveland, May 15th 2008
Service Oriented Architecture Testing: NOSQAA Cleveland, May 15th 2008
Service Oriented Architecture Testing: NOSQAA Cleveland, May 15th 2008
Architecture
Testing
NOSQAA Cleveland , May 15th 2008
“Service Oriented
Architecture will only
be successful if you
address the Testing
and Quality aspects
correctly and early on”
Erik.vanOmmeren@Sogeti.com
What are we talking about?
What is Testing
A Sogeti Point of View
• Dan Hannigan
What is Testing
A Sogeti Point of View
•Business Driven Test Management
•Testing Lifecycle
•Maturity
Business Driven Test Management
Infrastructure
Infrastructure Define and maintain
infrastructure
• Techniques: how
• Infrastructure:
where and with
what
• Organization: who
Adaptive and Flexible
• Complete And
Flexible
• Works with any
SDLC
• Works with any
technology
> Mainframe
> Web
> ERP
> SOA
Maturity
Increasing Maturity
Test Clients (out of 500+)
Why all this talk about SOA?
Why all this talk about SOA?
Service Interface
Implementation
SOA 101 - Example
Supermarket beer stocking process
Business Processes
WCC
WCC
Web
Adapter Adapter
Adapter
Adapter IT Domain
Enterprise Service Bus Integration
Legacy Adapter
Adapter Comm.
Adapter Adapter
3rd Party
Source: IBM
One of the things we’re aiming for:
Re-use
Reuse
Business
IT
Reuse
Business
IT
Reuse
Business
Accounting
Marketing
HR
Reuse
Business
Mirrors:
Services WHAT an
Mortgages
organisation
Customer
can do.
Credit
401K
…
…
…
…
…
Reuse
401K
Pensions
Mortgages
Customer
Intermediary
Credit
IT
…
Reuse
…
Services
…
…
…
Architecture example
Reuse
Transport
Autorizations
IT
Transformation Reuse
Security
Logging
Reuse
Reuse
IT
Reuse
The end of software development?
• Endstate of SOA
> Lot of reusable components
> Easily reconfigured
> In Business terminology
• Any business change is:
> Minor reconfiguration
> Add a business rule
> Click to a new integration
>…
• It’s like infrastructure + Excel
SOA and Testing
• Distributed
> Services are many and can be everywhere
> Services can have different owners
• Layered
> Services composed of services
> New infrastructural layers
• soA = “Enterprise Architecture”
> Reuse across boundaries
> Design principles are important too
• Easily changed
> Process, configuration can be changed at any
time
1. To Test one service
Driver Stub
User Interface
Test Harness
Automation
Load generation
1. To Test one service
• Formalized: BPEL
• Risk-based (e.g. performance)
Service Service
Service Service
3. Manage risk versus testing
• Contracts,
Service Level Agreements and
Delegated testing
> Ask for stubs
> Inspect SLA’s
• Portfolio approach
Can’t we do this
in production?
4. Testing of Architecture
Architecture for testing
• Adherence to architectural
principles is a test requirement!
4. Testing of Architecture
Architecture for testing
Wish / Idea Operation
Architect =
acceptant
Requirements
Acceptance test
PSA
Functional
design System test
Technical Module/unit
design test
Realisation
4. Testing of Architecture
Architecture for testing
• Adherence to architectural
principles is a test requirement!
• Fast
• Mature
• Repeatable
• Any Questions?
• ……. experiences to share?
• ……. comments?
Silver lining
“Service Oriented
Architecture will only
be successful if you
address the TESTING
and Quality aspects
correctly and early on”
Dan Hannigan
Dan.Hannigan@Sogeti.com
Erik van Ommeren
Erik.vanOmmeren@Sogeti.com