IDEAS home Printed from https://ideas.repec.org/a/igg/jwsr00/v9y2012i1p51-73.html
   My bibliography  Save this article

A Metamorphic Relation-Based Approach to Testing Web Services Without Oracles

Author

Listed:
  • Chang-ai Sun

    (University of Science and Technology Beijing and Chinese Academy of Science, China)

  • Guan Wang

    (University of Science and Technology Beijing, China)

  • Baohong Mu

    (University of Science and Technology Beijing, China)

  • Huai Liu

    (Swinburne University of Technology, Australia)

  • ZhaoShun Wang

    (University of Science and Technology Beijing, China)

  • T. Y. Chen

    (Swinburne University of Technology, Australia)

Abstract

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.

Suggested Citation

  • Chang-ai Sun & Guan Wang & Baohong Mu & Huai Liu & ZhaoShun Wang & T. Y. Chen, 2012. "A Metamorphic Relation-Based Approach to Testing Web Services Without Oracles," International Journal of Web Services Research (IJWSR), IGI Global, vol. 9(1), pages 51-73, January.
  • Handle: RePEc:igg:jwsr00:v:9:y:2012:i:1:p:51-73
    as

    Download full text from publisher

    File URL: http://services.igi-global.com/resolvedoi/resolve.aspx?doi=10.4018/jwsr.2012010103
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Jing Chen & Yinglong Wang & Ying Guo & Mingyue Jiang, 2019. "A metamorphic testing approach for event sequences," PLOS ONE, Public Library of Science, vol. 14(2), pages 1-39, February.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:igg:jwsr00:v:9:y:2012:i:1:p:51-73. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Journal Editor (email available below). General contact details of provider: https://www.igi-global.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.