Creating a mock for an integration flow
AssigneeInternational Business Machines Corporation
InventorsTrevor Clifford Dolby, John Anthony Reeve, Andrew John Coleman, Matthew E. Golby-Kirk
Life of this patent
Estimating the term…
Abstract
Concepts for creating a mock for an integration flow are presented. One example comprises analyzing a response to each of a plurality of requests from an integration flow and determining whether or not an identifying property of each of the plurality of requests is present in the response. The method then comprises, responsive to determining that the identifying property is present in the response, generating a mock with an associated matcher based on the plurality of requests.
Claims20
A method, comprising:
- analyzing a response to each of a plurality of requests from an integration flow;
- determining that an identifying property of each of the plurality of requests is present in the response;
- and
- responsive to determining that the identifying property is present in the response, generating a mock with an associated matcher based on the plurality of requests.
A computer program product, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to:
- analyze a response to each of a plurality of requests from an integration flow;
- determine whether or not an identifying property of each of the plurality of requests is present in the response;
- and
- responsive to determining that the identifying property is present in the response, generate a mock with an associated matcher based on the plurality of requests.
A system for creating a mock for an integration flow, the system comprising:
- a response analysis unit configured to analyze a response to each of a plurality of requests from an integration flow;
- a property analysis unit configured to determine whether or not an identifying property of each of the plurality of requests is present in the response;
- and
- a mock generating unit configured to, responsive to determining that the identifying property is present in the response, generate a mock with an associated matcher based on the plurality of requests.
Dependencies are inferred from the claim text.