Patent ID: 11966722
Assignee: EXPRESS SCRIPTS STRATEGIC DEVELOPMENT, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A computerized method for service simulation using a dynamic mock engine, the method comprising:
receiving an endpoint name associated with an endpoint of a user interface, wherein a system endpoint module is configured to access system data sources, and a dynamic mock engine module is configured for service simulation in a user interface application development system;
receiving an input request having one or more fields and one or more values associated with each field;
selecting at least one of multiple mock configurations that corresponds to the endpoint of the user interface associated with the received endpoint name, wherein each mock configuration corresponds to a user interface endpoint and defines one or more fields of a mock request and an output response;
for each of the selected mock configurations corresponding to the endpoint:
comparing fields of the mock request of the selected mock configuration to fields of the received input request; and
determining a number of field values in the mock request of the selected mock configuration that match a field value of the input request;

determining which one of the selected mock configurations has a greatest match with the received input request according to the number of matching field values for each mock configuration;
accessing the output response of the mock configuration having the greatest match with the received input request; and
transmitting the output response to at least one computing device of a user interface application development system, wherein,
the system endpoint module and the dynamic mock engine module use a same definition of an application programming interface (API) layer,
the system endpoint module and the dynamic mock engine module use different profiles for different implementations of a service layer, and
a same representational state transfer (REST) API controller is used with the system endpoint module and the dynamic mock engine module, to implement a common controller API layer as the same API layer for both the system endpoint module and the dynamic mock engine module.