A Metamorphic Relation-Based Approach to Testing Web Services Without Oracles
Author(s) -
Changai Sun,
Guan Wang,
Baohong Mu,
Huai Liu,
ZhaoShun Wang,
Tsong Yueh Chen
Publication year - 2012
Publication title -
international journal of web services research
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.196
H-Index - 27
eISSN - 1546-5004
pISSN - 1545-7362
DOI - 10.4018/jwsr.2012010103
Subject(s) - computer science , web service , oracle , service oriented architecture , web modeling , unit testing , test case , web application , context (archaeology) , web testing , software engineering , ws policy , relation (database) , world wide web , web application security , database , web development , programming language , machine learning , software , web intelligence , paleontology , regression analysis , biology
Service Oriented Architecture SOA has become a major application development paradigm. As a basic unit of SOA applications, Web services significantly affect the quality of the applications constructed from them. In the context of SOA, the specification and implementation of Web services are completely separated. The lack of source code and the restricted control of Web services limit the testability of Web services, and make the oracle problem prominent. In this context, can one alleviate the test oracle problem, or effectively and efficiently test such Web services even without oracles? It is an important issue which has not been yet adequately addressed. To address the challenge of testing Web services, the authors propose a metamorphic relation-based approach to testing Web services without oracles. The proposed approach leverages so-called metamorphic relations to generate test cases and evaluate test results. To make the proposed approach practical and effective, the authors proposed a framework taking into account the unique features of SOA, and developed a prototype which partially automates the framework. Three case studies are conducted to validate the feasibility and effectiveness of the proposed approach. The work presented in the paper not only alleviates the test oracle problem of testing Web services, but also delivers an effective and efficient test technique without oracles.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom