Towards efficient measuring of web services API coverage

W. Hummer, O. Raz, S. Dustdar
{"title":"Towards efficient measuring of web services API coverage","authors":"W. Hummer, O. Raz, S. Dustdar","doi":"10.1145/1985394.1985398","DOIUrl":null,"url":null,"abstract":"We address the problem of interface-based test coverage for Web services. We suggest an approach to analyze the Application Programming Interface (API) of Web services, calculate the number of possible input combinations and compare it to the number of actual historical invocations. Such API coverage metrics are an indicator to which extent the service has been used. Measuring API coverage is a key concern for assessing the significance of Verification and Validation (V&V) techniques; on the other hand, API coverage metrics can also yield interesting usage reports for a service-based system in production use. The coverage metrics rely on the exact specification of service interfaces, and we provide a mechanism to specify restrictions for data types in the Java Web services framework (JAX-WS). As full enumeration of all possible inputs is often infeasible, we allow the definition of custom coverage metrics by means of domain partitioning: the user divides domain ranges into subsets, and a coverage of 100% means that the logged invocations contain at least one sample for each subset. Based on a prototype implementation, we evaluate different aspects of our approach.","PeriodicalId":380234,"journal":{"name":"Principles of Engineering Service-Oriented Systems","volume":"74 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-05-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Principles of Engineering Service-Oriented Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1985394.1985398","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

We address the problem of interface-based test coverage for Web services. We suggest an approach to analyze the Application Programming Interface (API) of Web services, calculate the number of possible input combinations and compare it to the number of actual historical invocations. Such API coverage metrics are an indicator to which extent the service has been used. Measuring API coverage is a key concern for assessing the significance of Verification and Validation (V&V) techniques; on the other hand, API coverage metrics can also yield interesting usage reports for a service-based system in production use. The coverage metrics rely on the exact specification of service interfaces, and we provide a mechanism to specify restrictions for data types in the Java Web services framework (JAX-WS). As full enumeration of all possible inputs is often infeasible, we allow the definition of custom coverage metrics by means of domain partitioning: the user divides domain ranges into subsets, and a coverage of 100% means that the logged invocations contain at least one sample for each subset. Based on a prototype implementation, we evaluate different aspects of our approach.
朝着有效地度量web服务API覆盖的方向发展
我们解决了Web服务基于接口的测试覆盖问题。我们建议使用一种方法来分析Web服务的应用程序编程接口(API),计算可能的输入组合的数量,并将其与实际历史调用的数量进行比较。这样的API覆盖度量是服务被使用到何种程度的指示器。测量API覆盖率是评估验证和确认(V&V)技术重要性的关键问题;另一方面,API覆盖率度量也可以为生产使用中的基于服务的系统生成有趣的使用报告。覆盖率指标依赖于服务接口的确切规范,并且我们提供了一种机制来指定Java Web服务框架(JAX-WS)中数据类型的限制。由于所有可能输入的完整枚举通常是不可行的,因此我们允许通过域划分的方式定义自定义覆盖率度量:用户将域范围划分为子集,100%的覆盖率意味着记录的调用至少包含每个子集的一个样本。基于原型实现,我们评估方法的不同方面。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信