16

Addressing The Challenges Of Testing Soa Based Applications From AppLabs

Embed Size (px)

Citation preview

Page 1: Addressing The Challenges Of Testing Soa Based Applications From AppLabs
Page 2: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

Addressing the Challenges of Testing SOA based Applications

Neil Pandit

19th March 2008

Page 3: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

Agenda

» What is SOA?

» An Example SOA Implementation - On-Line Loan System

» Business Risks and Benefits

» Main Challenges

» Addressing the Challenges - SOA Test Strategy

» Test Organisation Changes

» Approach by Testing Types and Relevant Tools

» Summary

Page 4: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

What is SOA?

» SOA is an Architectural style» Modular

» Shareable

» Distributable

» Defined interfaces

» It is about the design of the business» Focus on Business Processes / Business Driven» It is more than Web services!

Page 5: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

An Example SOA Implementation – On-Line Loan System

InternetCustomer

User Business Process

Customer DB

Web

Services

3rd party Credit Check

Financial Adviser

Login

Credit check

loan quote

Quotes

InternetCustomer Validation

loan quote

Credit check

Mainframe

Legacy / 3rd Party

Page 6: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

Business Risks and Benefits

» Risks » Increased costs» Early joiner – when there is little knowledge» No business commitment and resource available» No overall picture of business processes and ability to

prioritise» Quality – single point of failure» The industry decides that the future isn’t SOA after all!

» Benefits» Reuse of code» Reduced IT spend» Faster time to market

Page 7: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

Main Challenges

» Scope and boundaries

» Changes to composition of test team

» Increased knowledge required of testers

» Technical knowledge (WSDL)

» Domain knowledge

» Use of Tools

» Governance and the need for standards

» Increased focus on negative and non-functional testing

Page 8: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

Addressing the Challenges - SOA Test Strategy

» Test Design should follow a Top down Approach

» Test Execution should follow a Bottom up Approach starting at the individual service level.

» Current testing methodologies should be extended to support the use of services in an SOA solution.

Page 9: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

Test Organisation

Unit Testing System TestingIntegration TestingSystem Integration

TestingService TestingUser Acceptance

TestingBusiness Acceptance

Testing

Test Manager

UAT Test Co-ordinator

UATTest Manager

Test Team Leader

DevelopersSr. Test Analyst

Test Analyst

Test Engineer

Page 10: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

Functional and Regression Testing

» Approach» Need for more concentration on negative testing

» Impact on regression testing

» Backward compatibility testing

» Service quality becomes more important as reuse will require a level of quality to be achieved

» Tools» Parasoft SOAtest

» QTP

» Green Hat GH Tester

» Borland SilkPerformer SOA

Page 11: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

Performance

» Approach» Service must be fully performance tested

» Volume

» Stress

» Load

» Targeted infrastructure tests

» Tools» Loadrunner 9.1

» Parasoft SOAtest

» Green Hat GH Tester

» Borland SilkPerformer SOA

Page 12: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

Security

» Approach» Testing at the service level and not at the final stage

» Performing a security risk assessment

» No assumptions about 3rd party development

» Penetration tests

» Need to ensure data security is handled appropriately as per industry regulations

» Testing of changes to Security Policies

» Tools » Vordel Soapbox

» Parasoft SOAtest

» AppScan

Page 13: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

Integration Testing

» Approach» The need for an Integration Test Strategy

» Validate Functioning of Interfaces and Data Sharing between Services

» Creation of WSDL Definitions and testing against these

» Use of Regression Tests

» Tools» Parasoft SOAtest

» Green Hat GH Tester

» Borland SilkPerformer SOA

» QTP

Page 14: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

Interoperability

» Approach» Services need to adhere to WS-I (Web Services Interoperability)

» WS-I Basic Profile and Security Profile

» WS-I site http://www.ws-i.org/

» Ensure that Governance supports adherence to standards

» Tools» Parasoft SOAtest

» Borland SilkPerformer SOA

Page 15: Addressing The Challenges Of Testing Soa Based Applications From AppLabs

Summary

» SOA is here to stay» Risks and Benefits must be understood» SOA will change the organisational testing

methodology» Testers’ skills will need to change» Change in testing approach - Non-Functional Testing,

Interoperability» Increased development and use of tools

» Questions?» Email [email protected]

Page 16: Addressing The Challenges Of Testing Soa Based Applications From AppLabs