【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.
机译:MicroServices架构最近越来越多地关注。通过将单片应用程序分为不同的服务,基于微服务的应用程序比传统应用程序更灵活,可扩展和便携式。然而,微服务架构的独特特征也为软件验证带来了重大挑战。一个主要挑战是Oracle问题:在微服务的测试中,由于具有广泛分布,异质性,频繁的变化和许多运行时行为的特征,验证测试结果通常很难验证测试结果。为了解决此类挑战,在本文中,我们调查如何将变质测试应用于基于微服务的应用程序的验证,这是一个简单而有效的Oracle问题的方法。进行实证研究以评估基于现实世界的微服务应用的变质测试的性能,与完整的Oracle的基线随机测试技术。结果表明,在没有oracles的情况下,变质测试可以提供相对较高的失败检测效果。我们的工作表明,变质测试既适用,有效地解决了Oracle问题,以便验证微服务,类似于许多其他应用域。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号