基于推断的XML模式的REST服务测试

Álvaro Navas, P. Capelastegui, Francisco Huertas, Pablo Alonso-Rodriguez, Juan C. Dueñas
{"title":"基于推断的XML模式的REST服务测试","authors":"Álvaro Navas, P. Capelastegui, Francisco Huertas, Pablo Alonso-Rodriguez, Juan C. Dueñas","doi":"10.5296/npa.v6i2.5360","DOIUrl":null,"url":null,"abstract":"The concept of service oriented architecture has been extensively explored in software engineering, due to the fact that it produces architectures made up of several interconnected modules, easy to reuse when building new systems. This approach to design would be impossible without interconnection mechanisms such as REST (Representationa State Transfer) services, which allow module communication while minimizing coupling. . However, this low coupling brings disadvantages, such as the lack of transparency, which makes it difficult to sistematically create tests without knowledge of the inner working of a system. In this article, we present an automatic error detection system for REST services, based on a statistical analysis over responses produced at multiple service invocations. Thus, a service can be systematically tested without knowing its full specification. The method can find errors in REST services which could not be identified by means of traditional testing methods, and provides limited testing coverage for services whose response format is unknown. It can be also useful as a complement to other testing mechanisms.","PeriodicalId":190994,"journal":{"name":"Netw. Protoc. Algorithms","volume":"18 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"REST service testing based on inferred XML schemas\",\"authors\":\"Álvaro Navas, P. Capelastegui, Francisco Huertas, Pablo Alonso-Rodriguez, Juan C. Dueñas\",\"doi\":\"10.5296/npa.v6i2.5360\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The concept of service oriented architecture has been extensively explored in software engineering, due to the fact that it produces architectures made up of several interconnected modules, easy to reuse when building new systems. This approach to design would be impossible without interconnection mechanisms such as REST (Representationa State Transfer) services, which allow module communication while minimizing coupling. . However, this low coupling brings disadvantages, such as the lack of transparency, which makes it difficult to sistematically create tests without knowledge of the inner working of a system. In this article, we present an automatic error detection system for REST services, based on a statistical analysis over responses produced at multiple service invocations. Thus, a service can be systematically tested without knowing its full specification. The method can find errors in REST services which could not be identified by means of traditional testing methods, and provides limited testing coverage for services whose response format is unknown. It can be also useful as a complement to other testing mechanisms.\",\"PeriodicalId\":190994,\"journal\":{\"name\":\"Netw. Protoc. Algorithms\",\"volume\":\"18 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2014-06-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Netw. Protoc. Algorithms\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.5296/npa.v6i2.5360\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Netw. Protoc. Algorithms","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5296/npa.v6i2.5360","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

面向服务的体系结构的概念在软件工程中得到了广泛的探索,因为它产生了由几个相互连接的模块组成的体系结构,在构建新系统时易于重用。如果没有诸如REST(表示状态传输)服务之类的互连机制,这种设计方法是不可能的,REST允许模块通信,同时最大限度地减少耦合。然而,这种低耦合带来了缺点,例如缺乏透明性,这使得在不了解系统内部工作的情况下系统地创建测试变得困难。在本文中,我们基于对多个服务调用产生的响应的统计分析,提出了一个REST服务的自动错误检测系统。因此,可以在不知道其完整规范的情况下对服务进行系统测试。该方法可以发现传统测试方法无法识别的REST服务中的错误,并为响应格式未知的服务提供有限的测试覆盖率。它还可以作为其他测试机制的补充。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
REST service testing based on inferred XML schemas
The concept of service oriented architecture has been extensively explored in software engineering, due to the fact that it produces architectures made up of several interconnected modules, easy to reuse when building new systems. This approach to design would be impossible without interconnection mechanisms such as REST (Representationa State Transfer) services, which allow module communication while minimizing coupling. . However, this low coupling brings disadvantages, such as the lack of transparency, which makes it difficult to sistematically create tests without knowledge of the inner working of a system. In this article, we present an automatic error detection system for REST services, based on a statistical analysis over responses produced at multiple service invocations. Thus, a service can be systematically tested without knowing its full specification. The method can find errors in REST services which could not be identified by means of traditional testing methods, and provides limited testing coverage for services whose response format is unknown. It can be also useful as a complement to other testing mechanisms.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信