首页> 外文会议>International Conference on Web Information Systems and Technologies >Automation of Integration Testing of RESTful Hypermedia Systems: A Model-driven Approach
【24h】

Automation of Integration Testing of RESTful Hypermedia Systems: A Model-driven Approach

机译:RESTful HyperMedia系统的集成测试自动化:模型驱动方法

获取原文

摘要

The proper design of Representational State Transfer (REST) APIs is not trivial because developers have to deal with a flood of recommendations and best practices, especially the proper application of the hypermedia constraint requires some decent experience. Furthermore, testing RESTful APIs is a missing topic within literature. Especially hypermedia testing is not mentioned at all. Manual hypermedia testing is time-consuming and hard to maintain. Testing a hypermedia API requires many test cases that have similar structure, especially when different user roles and error cases are considered. In order to tackle this problem, we proposed a Model-driven Testing (MDT) approach for hypermedia systems using the metamodel within our existing Model Driven Software Development (MDSD) approach. This work discusses challenges and results of hypermedia testing for RESTful APIs using MDT techniques that were discovered within our research. MDT allows white-box testing, hence covering complete program structure and behavior of the generated application. By doing this, we are able to achieve a high automated test coverage. Moreover, any runtime behavior deviated from the metamodel reveals bugs within the generators.
机译:代表性国家转让(REST)API的适当设计并不琐碎,因为开发人员必须处理大量建议和最佳实践,特别是超媒体约束的适当应用需要一些体面的经验。此外,测试RESTFUL API是文献中的缺失主题。特别是尤其是超媒体测试。手动超媒体测试是耗时且难以维护。测试超媒体API需要许多具有相似结构的测试用例,特别是当考虑不同的用户角色和错误情况时。为了解决这个问题,我们提出了一种使用Metamodel在我们现有的模型驱动软件开发(MDSD)方法中的超媒体系统的模型驱动测试(MDT)方法。这项工作讨论了使用我们研究中发现的MDT技术进行了超级媒体测试的挑战和结果。 MDT允许白盒测试,因此涵盖生成应用程序的完整程序结构和行为。通过这样做,我们能够实现高自动化测试覆盖范围。此外,从元模型偏离的任何运行时行为都会在发电机内显示错误。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号