首页> 外国专利> Emulation-based testing of a microservices architecture

Emulation-based testing of a microservices architecture

机译:基于仿真的微服务架构测试

摘要

A method for integration-testing a microservices-based application is performed by an automated software-testing system by using mock software entities. The mock entities emulate the behavior of other microservices or external software applications that would normally interact with the tested microservices in a production environment. The mock entities are managed by a mock server that communicates with the test system through a messaging system. The mock server determines how the mock entities should respond to the tested application's service requests by referring to test guidelines stored in a behavior store. During testing, the test system dynamically updates the behavior store in response to the tested application's service requests and to other indicators of the current state of the tested application. If the tested application interacts with the mock entities during the test as expected, the test system deems the application to have passed the integration test.
机译:通过使用模拟软件实体,通过自动化软件测试系统执行基于微型软件的应用程序的集成方法。 模拟实体模拟了通常在生产环境中与测试的微服务通常相互作用的其他微服务或外部软件应用程序的行为。 模拟实体由模拟服务器管理,通过消息系统与测试系统通信。 模拟服务器通过参考存储在行为存储中的测试指南,确定模拟实体如何应响应测试的应用程序的服务请求。 在测试期间,测试系统响应于测试的应用程序的服务请求以及测试应用程序的当前状态的其他指标动态更新行为存储。 如果测试应用程序在测试期间与模拟实体相互作用,则测试系统认为应用程序已通过集成测试。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号