将web服务描述转换为用于自动测试的快速检查模型

Miguel Angel Francisco, Macías López, Henrique Ferreiro, Laura M. Castro
{"title":"将web服务描述转换为用于自动测试的快速检查模型","authors":"Miguel Angel Francisco, Macías López, Henrique Ferreiro, Laura M. Castro","doi":"10.1145/2505305.2505306","DOIUrl":null,"url":null,"abstract":"In this work, we face the problem of generating good quality test suites and test cases for web services. We present a framework to test web services based on their formal description, following a black-box approach and using Property-Based Testing.\n Web services are a popular solution to integrate components when building a software system, or to allow communication between a system and third-party users, providing a flexible, reusable mechanism to access its functionalities. Testing of web services is a key activity: we need to verify their behaviour and ensure their quality as much as possible, as efficiently as possible.\n By automatically deriving QuickCheck models from its WSDL description and its OCL semantic constraints, we enable generation and execution of great amounts of automatically generated test cases. Thus, we avoid the usual compromise between effort and cost, which too often leads to smaller and less exhaustive test suites than desirable.\n To illustrate the advantages of our framework, we present an industrial case study: a distributed system which serves media contents customers' TV screens.","PeriodicalId":140676,"journal":{"name":"Erlang Workshop","volume":"1983 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-09-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"13","resultStr":"{\"title\":\"Turning web services descriptions into quickcheck models for automatic testing\",\"authors\":\"Miguel Angel Francisco, Macías López, Henrique Ferreiro, Laura M. Castro\",\"doi\":\"10.1145/2505305.2505306\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this work, we face the problem of generating good quality test suites and test cases for web services. We present a framework to test web services based on their formal description, following a black-box approach and using Property-Based Testing.\\n Web services are a popular solution to integrate components when building a software system, or to allow communication between a system and third-party users, providing a flexible, reusable mechanism to access its functionalities. Testing of web services is a key activity: we need to verify their behaviour and ensure their quality as much as possible, as efficiently as possible.\\n By automatically deriving QuickCheck models from its WSDL description and its OCL semantic constraints, we enable generation and execution of great amounts of automatically generated test cases. Thus, we avoid the usual compromise between effort and cost, which too often leads to smaller and less exhaustive test suites than desirable.\\n To illustrate the advantages of our framework, we present an industrial case study: a distributed system which serves media contents customers' TV screens.\",\"PeriodicalId\":140676,\"journal\":{\"name\":\"Erlang Workshop\",\"volume\":\"1983 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2013-09-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"13\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Erlang Workshop\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/2505305.2505306\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Erlang Workshop","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2505305.2505306","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 13

摘要

在这项工作中,我们面临的问题是为web服务生成高质量的测试套件和测试用例。我们提出了一个基于web服务的正式描述测试框架,遵循黑盒方法并使用基于属性的测试。Web服务是一种流行的解决方案,用于在构建软件系统时集成组件,或允许系统与第三方用户之间进行通信,从而提供灵活的、可重用的机制来访问其功能。测试web服务是一项关键的活动:我们需要验证它们的行为,并尽可能高效地确保它们的质量。通过从其WSDL描述和OCL语义约束中自动派生QuickCheck模型,我们可以生成和执行大量自动生成的测试用例。因此,我们避免了通常的工作量和成本之间的妥协,这通常会导致比期望的更小、更不详尽的测试套件。为了说明我们的框架的优势,我们提出了一个工业案例研究:一个为媒体内容客户的电视屏幕提供服务的分布式系统。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Turning web services descriptions into quickcheck models for automatic testing
In this work, we face the problem of generating good quality test suites and test cases for web services. We present a framework to test web services based on their formal description, following a black-box approach and using Property-Based Testing. Web services are a popular solution to integrate components when building a software system, or to allow communication between a system and third-party users, providing a flexible, reusable mechanism to access its functionalities. Testing of web services is a key activity: we need to verify their behaviour and ensure their quality as much as possible, as efficiently as possible. By automatically deriving QuickCheck models from its WSDL description and its OCL semantic constraints, we enable generation and execution of great amounts of automatically generated test cases. Thus, we avoid the usual compromise between effort and cost, which too often leads to smaller and less exhaustive test suites than desirable. To illustrate the advantages of our framework, we present an industrial case study: a distributed system which serves media contents customers' TV screens.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:604180095
Book学术官方微信