• DocumentCode
    3151195
  • Title

    Metamorphic Testing for Web Services: Framework and a Case Study

  • Author

    Sun, Chang-ai ; Wang, Guan ; Mu, Baohong ; Liu, Huai ; Wang, ZhaoShun ; Chen, T.Y.

  • Author_Institution
    Sch. of Comput. & Commun. Eng., Univ. of Sci. & Technol. Beijing, Beijing, China
  • fYear
    2011
  • fDate
    4-9 July 2011
  • Firstpage
    283
  • Lastpage
    290
  • 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. Since the development and consumption of Web services are completely separated under SOA environment, the consumers are normally provided with limited knowledge of the services and thus have little information about test oracles. The lack of source code and the restricted control of Web services limit the testability of Web services. To address the prominent oracle problem when testing Web services, we propose a metamorphic testing framework for Web services taking into account the unique features of SOA. We conduct a case study where the new metamorphic testing framework is employed to test a Web service that implements the electronic payment. The results of case study show the feasibility of the framework for web services, and also the efficiency of metamorphic testing. The work presented in the paper alleviates the test oracle problem when testing Web services under SOA.
  • Keywords
    Web services; program testing; service-oriented architecture; Web services testability; application development paradigm; electronic payment; metamorphic testing; restricted control; service oriented architecture; source code; test oracle problem; Business; Cities and towns; Magnetic resonance imaging; Service oriented architecture; Software testing; Service Oriented Architecture; Web services; metamorphic testing; software testing; test oracle;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Web Services (ICWS), 2011 IEEE International Conference on
  • Conference_Location
    Washington, DC
  • Print_ISBN
    978-1-4577-0842-8
  • Electronic_ISBN
    978-0-7695-4463-2
  • Type

    conf

  • DOI
    10.1109/ICWS.2011.65
  • Filename
    6009400