Publication
ICWS 2007
Conference paper

Automated functional conformance test generation for semantic web services

View publication

Abstract

We present an automated approach to generate functional conformance tests for semantic web services. The semantics of the web services are defined using the Inputs, Outputs, Preconditions, Effects (IOPEs) paradigm. For each web service, our approach produces testing goals which are refinements of the web service preconditions using a set of fault models. A novel planner component accepts these testing goals, along with an initial state of the world and the web service definitions to generate a sequence of web service invocations as a test case. Another salient feature of our approach is generation of verification sequences to ensure that the changes to the world produced by an effect are implemented correctly. Lastly, a given application incorporating a set of semantic web services may be accessible through several interfaces such as 1) Direct Invocation of the web services, or 2)a Graphical User Interface (GUI). Our technique allows generation of executable test cases which can be applied through both interfaces. We describe the techniques used in our test generation approach. We also present results which compare two approaches: an existing manual approach without the formal IOPEs information and the IOPEs-based approach reported in this paper. These results indicate that the approach described here leads to substantial savings in effort with comparable results for requirements coverage and fault detection effectiveness. © 2007 IEEE.