Bringing white-box testing to Service Oriented Architectures through a Service Oriented Approach

  • Authors:
  • Cesare Bartolini;Antonia Bertolino;Sebastian Elbaum;Eda Marchetti

  • Affiliations:
  • ISTI - CNR, Via Moruzzi 1, 56124 Pisa, Italy;ISTI - CNR, Via Moruzzi 1, 56124 Pisa, Italy;Computer Science and Engineering Department, University of Nebraska, Lincoln, USA;ISTI - CNR, Via Moruzzi 1, 56124 Pisa, Italy

  • Venue:
  • Journal of Systems and Software
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

The attractive feature of Service Oriented Architecture (SOA) is that pieces of software conceived and developed by independent organizations can be dynamically composed to provide richer functionality. The same reasons that enable flexible compositions, however, also prevent the application of some traditional testing approaches, making SOA validation challenging and costly. Web services usually expose just an interface, enough to invoke them and develop some general (black-box) tests, but insufficient for a tester to develop an adequate understanding of the integration quality between the application and the independent web services. To address this lack we propose an approach that makes web services more transparent to testers through the addition of an intermediary service that provides coverage information. The approach, named Service Oriented Coverage Testing (SOCT), provides testers with feedback about how much a service is exercised by their tests without revealing the service internals. In SOCT, testing feedback is offered itself as a service, thus preserving SOA founding principles of loose coupling and implementation neutrality. In this paper we motivate and define the SOCT approach, and implement an instance of it. We also perform a study to asses SOCT feasibility and provide a preliminary evaluation of its viability and value.