【24h】

Verification of Microservices Using Metamorphic Testing

机译:使用变态测试验证微服务

获取原文

摘要

Microservices architecture is drawing more and more attention recently. By dividing the monolithic application into different services, microservices-based applications are more flexible, scalable and portable than traditional applications. However, the unique characteristics of Microservices architecture have also brought significant challenges for software verification. One major challenge is the oracle problem: in the testing of microservices, it is often very difficult to verify the test result given a test input, due to the features of wide distribution, heterogeneity, frequent changes, and numerous runtime behaviors. To tackle such a challenge, in this paper, we investigate how to apply metamorphic testing into the verification of microservices-based applications, which is a simple yet effective approach to oracle problem. Empirical studies are conducted to evaluate the performance of metamorphic testing based on real-world microservice applications, against the baseline random testing technique with a complete oracle. The results show that in the absence of oracles, metamorphic testing can deliver relatively high failure-detection effectiveness. Our work demonstrates that metamorphic testing is both applicable and effective in addressing the oracle problem for the verification of microservices, similar to many other application domains.
机译:最近,微服务架构吸引了越来越多的关注。通过将整体应用程序划分为不同的服务,基于微服务的应用程序比传统应用程序更加灵活,可扩展和可移植。但是,微服务体系结构的独特特性也给软件验证带来了巨大挑战。一个主要的挑战是预言问题:在微服务的测试中,由于分布广泛,异构,频繁更改和众多的运行时行为,通常很难在给定测试输入的情况下验证测试结果。为了解决这一挑战,在本文中,我们研究了如何将变态测试应用于基于微服务的应用程序的验证中,这是一种解决Oracle问题的简单而有效的方法。进行了实证研究,以评估基于真实微服务应用程序的变质测试的性能,并针对具有完整预言的基准随机测试技术进行了评估。结果表明,在没有预言的情况下,变质测试可以提供相对较高的故障检测效率。我们的工作表明,与许多其他应用程序域类似,变形测试在解决Oracle验证微服务问题方面既适用又有效。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号