Invention Grant
- Patent Title: Automated integration testing with mock microservices
-
Application No.: US15817364Application Date: 2017-11-20
-
Publication No.: US10592402B2Publication Date: 2020-03-17
- Inventor: John A. Reeve , Mark Peter Frost , Paul S.M. Thorpe
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Schmeiser, Olsen & Watts
- Agent Mark C. Vallone
- Main IPC: G06F11/36
- IPC: G06F11/36 ; G06F17/17 ; G06K9/62 ; G06N3/08

Abstract:
Automated software-testing systems and computer program products use mock software entities to perform integration testing on a microservices-based application. 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.
Public/Granted literature
- US20190155721A1 AUTOMATED INTEGRATION TESTING WITH MOCK MICROSERVICES Public/Granted day:2019-05-23
Information query