Directory Image
This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Privacy Policy.

Testing of Service Oriented Architecture with Service Virtualization

Author: Michael Wade
by Michael Wade
Posted: Sep 29, 2016

A comprehensive software system in today’s business comprises of many functional units or service components that provide or coordinate services with third party applications over a distributed network. Such services can be like exchanging data, authenticating a customer’s id, doing analysis etc. The framework upon which these independent and self contained units function is called Service Oriented Architecture. This framework enables components to service requests received from each other based on protocols that are independent of human intervention, programming language, technology, device, vendor or network. For example, services written in different languages and platforms (C++ on.NET and Java on Java EE) can easily interact with each other in SOA. This has given a new lease of life to legacy systems like COBOL run mainframes by turning them into software services. It is the presence of SOA that enables disparate applications in software to ‘cooperate’ with each other in the form of services. This exchange of services gives rise to the functionality of a software system.

The present day paradigms of mashups, SaaS, and cloud computing owe their existence and development to Service Oriented Architecture. Hence, like APIs or individual units of a software system, individual services offered by SOA are needed to be tested as part of SOA testing to reduce batch size, achieve overall functional accuracy, and reduce redundancies in a system. Continuously Delivering SOA offers faster and reliable software development at a lesser cost by automatically building, testing and deploying services. As the process is independent of human intervention, the services get integrated into production without any actual business decision taken in that regard.

Challenges of SOA Testing

Individual components or dependencies are inter dependent, distributed on different platforms, and might not be available under the same roof or time zone.
      • Third party dependencies providing services may prove to be a challenge in terms of cost, location and availability.
      • Services existing on different platforms might contain security challenges.
      • Entire suite of business functionalities might not generate desired services.
      • Services within legacy mainframe systems might not function properly.

As various components of the architecture – mainframe systems, database systems, or services, given their distributed occurrence across locations, time zones and owners are not always available for testing at the same time by parallel testing teams – the paradigm of Service Virtualization comes into play. According to this paradigm, the behaviour of external dependencies is simulated to create a test environment whereby service requests and their responses can be gauged and challenges addressed.

Advantages of Service Virtualization for continuously delivering SOA

Parallel Testing: Distributed services across heterogeneous platforms can be scaled up and tested by parallel teams to either get desired outcomes or test abnormal behaviour.

Reduce dependency on third party services: Services or components held by third parties can be tested through simulation of their behaviour and their physical presence is no longer required.

Cost saving: As access to a real test environment consisting of components and services like mainframes and database systems is not needed, resource optimization and saving of costs can be ensured.Reduce Redundancies: As defects are identified and fixed simultaneously as part of the continuous delivery routine, build up of similar type of defects across platforms a la in traditional testing, is avoided. Use of small batches: Continuous delivery of SOA ensures building of smaller batches that are easier to test, identify root cause of glitches and address them. Moreover, small batches of codes or services can be integrated easily into the overall system. Enhancement of brand value: Early release of software and better end user experience give fillip to the brand.

About the Author

Michael works for Cigniti Technologies, which is the world's first Independent Software Testing Company to be appraised at CMMI-SVC Level 5, and an ISO 9001:2008 & ISO 27001:2013 certified organization.

Rate this Article
Author: Michael Wade

Michael Wade

Member since: Aug 26, 2015
Published articles: 94

Related Articles