...
首页> 外文期刊>Network Protocols and Algorithms >REST service testing based on inferred XML schemas
【24h】

REST service testing based on inferred XML schemas

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

获取原文
           

摘要

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.
机译:面向服务的体系结构的概念已经在软件工程中得到了广泛的探索,因为它产生的体系结构由多个相互连接的模块组成,在构建新系统时易于重用。如果没有诸如REST(表示状态转移)服务之类的互连机制,这种设计方法将是不可能的,该互连机制允许模块通信同时将耦合降到最低。 。然而,这种低耦合带来了诸如缺乏透明性的缺点,这使得难以在不了解系统内部工作的情况下从语义上创建测试。在本文中,我们基于对多个服务调用产生的响应的统计分析,介绍了REST服务的自动错误检测系统。因此,可以在不知道服务的完整规格的情况下对其进行系统测试。该方法可以发现REST服务中无法通过传统测试方法识别的错误,并且为响应格式未知的服务提供有限的测试覆盖范围。它也可以作为其他测试机制的补充。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号