Metamorphic Testing for Web Services: Framework and a Case Study

Chang-ai Sun, Guan Wang, Baohong Mu, Huai Liu, Zhaoshun Wang, T. Chen
{"title":"Metamorphic Testing for Web Services: Framework and a Case Study","authors":"Chang-ai Sun, Guan Wang, Baohong Mu, Huai Liu, Zhaoshun Wang, T. Chen","doi":"10.1109/ICWS.2011.65","DOIUrl":null,"url":null,"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.","PeriodicalId":118512,"journal":{"name":"2011 IEEE International Conference on Web Services","volume":"104 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-07-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"34","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 IEEE International Conference on Web Services","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICWS.2011.65","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 34

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.
Web服务的变形测试:框架和案例研究
面向服务的体系结构(SOA)已经成为一种主要的应用程序开发范例。作为SOA应用程序的基本单元,Web服务对由它们构建的应用程序的质量影响很大。由于在SOA环境下,Web服务的开发和消费是完全分离的,因此消费者通常只知道有限的服务知识,因此很少有关于测试oracle的信息。缺乏源代码和对Web服务的限制控制限制了Web服务的可测试性。为了在测试Web服务时解决突出的oracle问题,我们提出了一个考虑到SOA独特特性的Web服务变形测试框架。我们进行了一个案例研究,其中使用新的变形测试框架来测试实现电子支付的Web服务。实例研究结果表明了该框架对web服务的可行性,以及变形测试的有效性。本文所做的工作减轻了SOA下Web服务测试时的测试oracle问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信