Step Auto Conference,Bangalore SOA Implementation,Evaluation,SOA Testing 20th February 2008
Wipro Challenges confidential in SOA©Testing Copyright 2007 Wipro Ltd
Mr. Unnikrishnan Govindan-WiproWipro confidential © Copyright 2007 Wipro Ltd 1
Challenges in SOA Testing
Presenter: Unnikrishnan Govindan Designation: General Manager Date: Feb 20th, 2008
Wipro confidential © Copyright 2007 Wipro Ltd
Challenges in SOA Testing Mr. Unnikrishnan Govindan-Wipro
2
1
Step Auto Conference,Bangalore SOA Implementation,Evaluation,SOA Testing 20th February 2008
Agenda
ll now.. •Testing ti A testing •Why is SO different? g – key •SOA testin elements
Confidential © Copyright 2007 Wipro Ltd
3
SOA – A recap.. SOA is …
An IT architectural approach that ... Supports integration of repeatable business tasks or linked services that ... Can be accessed over a network when needed, using ... Standard interfaces
Benefits of SOA
On Demand Business Greater alignment of business and IT Component-based systems Loosely coupled components and systems A network-based infrastructure, enabling geographically and technologically diverse resources to work together Greater code reuse
Confidential © Copyright 2007 Wipro Ltd
Challenges in SOA Testing Mr. Unnikrishnan Govindan-Wipro
4
2
Step Auto Conference,Bangalore SOA Implementation,Evaluation,SOA Testing 20th February 2008
The good old days!
Confidential © Copyright 2007 Wipro Ltd
5
Confidential © Copyright 2007 Wipro Ltd
6
SOA is here!
Challenges in SOA Testing Mr. Unnikrishnan Govindan-Wipro
3
Step Auto Conference,Bangalore SOA Implementation,Evaluation,SOA Testing 20th February 2008
SOA Testing – current environment SOA promises easier integration, promotes reuse, reduces time to market and reduces business risk Testing is compounded by heterogeneous environment, evolving standards and testing skill needs Security considerations – services may be offered to partners/ external users Testing approach includes Unit based for services and UI for transactions
Internal Apps
B2C
Business Process Business Business Process Process P1 P2 Client Central
CICS
B2B
P3
P4
Cashiering
Client Central
RR Service Bus Exposed Services
.net Applications
Java Applications
Windows
Unix
Legacy Applications
Packaged Applications
Mainframes
Confidential © Copyright 2007 Wipro Ltd
7
SOA Testing Challenges Loose coupling Limited view of service implementation changes Each ‘reuse’ leads to more dependencies
Heterogeneous environment Combination of legacy and new technologies Test team is not used to ‘UI-less’ validation
Multiple points of failure No clear view of point of failure Difficult to isolate faults due to multiple layers
Security Multiple security policies to be negotiated while testing composite transactions
Confidential © Copyright 2007 Wipro Ltd
Challenges in SOA Testing Mr. Unnikrishnan Govindan-Wipro
8
4
Step Auto Conference,Bangalore SOA Implementation,Evaluation,SOA Testing 20th February 2008
SOA Testing – Four pillars Strategy Test early Test services in isolation Test all dependencies
People Re-skill the existing test team Induct developers into the test team
Tools Evaluate test harnesses Tests encompass functional, performance, security and compliance Knowledge of debugging tools
Compliance Effective Service Level Management (SLM) Define Quality of Service based on SLM Prioritize service uptime
9
Confidential © Copyright 2007 Wipro Ltd
Collaboration Strategy
People
Domain Decomposition
Tools
Compliance Service Acceptance
Domain for SOA Impl.
Service Acceptance Test Plan
Review & Audit
Func. & Non-Func. Tested Service
Decomposed Domain
System Tested Service
Decomposed Domain Subsystem Review
Service System Test
Service Non-Functional Test Plan
Subsystem Analysis
Subsystem Use-Cases Service Allocation
Service Allocation Review
All Services allocated
All Services allocated
Entry Validation Exit
Test Audit
Integration. Tested Subsystem
Subsystem Use-Cases
Task
Client Review
Acceptance Test
Integrate Subsystems
Service Optimization Plan
Review Subsystem Integration
Integration Tested Service Service Test Optimization Audit & Test Integrated Subsystems Integration Tested Service
Integration Test Plan
Integrated Subsystems
Service Integration Test
Test Audit Integrated Subsystems
Exit Task
Validation
Entry
Development Testing
Confidential © Copyright 2007 Wipro Ltd
Challenges in SOA Testing Mr. Unnikrishnan Govindan-Wipro
10
5
Step Auto Conference,Bangalore SOA Implementation,Evaluation,SOA Testing 20th February 2008
Deployment Strategy
People
Tools
Compliance
Multi-skilled team
Functional testers Automation Performance Testing Security testing Developers (unit testing of services)
Collaborative effort Developers and testers to be involved in test asset creation Quality to be owned by entire team and not just the testers
11
Confidential © Copyright 2007 Wipro Ltd
Choose Wisely Strategy
People
Tools
Compliance
Various aspects to be covered:
Functional (includes simulators) Automation Test/Defect management Security & Vulnerability
Performance Assurance Service level Integration/ interface bottlenecks Transaction/ end-to-end test
Confidential © Copyright 2007 Wipro Ltd
Challenges in SOA Testing Mr. Unnikrishnan Govindan-Wipro
12
6
Step Auto Conference,Bangalore SOA Implementation,Evaluation,SOA Testing 20th February 2008
Regulatory Board Strategy
People
Tools
Compliance
Project level Governance model for interactions with development team Whose responsibility is it?
Service level management Critical in multi vendor scenario Can be downplayed if one does not want to venture beyond one’s Intranet SLA definition and monitoring is key
Confidential © Copyright 2007 Wipro Ltd
13
Some best practices SOA requires changes in Testing Methods and life cycle.. Test Services in Isolation Test earlier in the life cycle
SOA requires testing from multiple perspectives.. Test from the Service Providers perspective Test from the Service Consumers perspective Test from the Registry perspective
SOA requires Testing along multiple dimensions..
Test Test Test Test
functionality for Interoperability and compliance to standards for Security for Performance
SOA requires specialized testing skills Testing exclusively through GUI is insufficient Test using Test Harnesses to invoke services directly Requires both Technical and Business expertise
Confidential © Copyright 2007 Wipro Ltd
Challenges in SOA Testing Mr. Unnikrishnan Govindan-Wipro
14
7
Step Auto Conference,Bangalore SOA Implementation,Evaluation,SOA Testing 20th February 2008
Q&A
www.wipro.com/testing Confidential © Copyright 2007 Wipro Ltd
Challenges in SOA Testing Mr. Unnikrishnan Govindan-Wipro
15
8