Method, system and program product for recording and replaying target service interaction data
First Claim
1. A computer program product comprising a computer storage medium embodying computer usable program code for simulating a target service in a development environment, the computer program product comprising:
- computer usable program code for receiving a service request for a target service in a proxy service executing in memory by a processor of a computer;
computer usable program code for determining whether a mode for the proxy service is selected to be either a normal mode, a record mode or an emulate mode;
computer usable program code for delegating the service request to the target service through the proxy service if in the normal mode, to a recorder service wrapping the target service and configured to record interactions with the target service if in the record mode, andcomputer usable program code for retrieving the corresponding interaction data from interaction store and replaying the recorded interactions with the target service previously recorded while in the record mode, andcomputer usable program code for emulating the functionality of the target service in emulator service instead of delegating the service request to the target service.
0 Assignments
0 Petitions
Accused Products
Abstract
An architecture that allows target service interactions to be realistically simulated in a development environment. The architecture includes a proxy service, an interaction recorder, an interaction store and an emulator service. The proxy service delegates service requests received from a client component to a target service. If it is in “record” mode, the proxy service routes any interaction data corresponding to the interaction (between the target service and the client component) to the interaction recorder. Upon receipt, the interaction recorder records the interaction data in the interaction store. Later, the proxy service can be placed in “replay” mode so that a subsequent service request for the target service is delegated to the emulator service. Upon receipt, the emulator service retrieves the corresponding interaction data from the data store and replays the same to emulate/simulate the target service.
-
Citations
7 Claims
-
1. A computer program product comprising a computer storage medium embodying computer usable program code for simulating a target service in a development environment, the computer program product comprising:
-
computer usable program code for receiving a service request for a target service in a proxy service executing in memory by a processor of a computer; computer usable program code for determining whether a mode for the proxy service is selected to be either a normal mode, a record mode or an emulate mode; computer usable program code for delegating the service request to the target service through the proxy service if in the normal mode, to a recorder service wrapping the target service and configured to record interactions with the target service if in the record mode, and computer usable program code for retrieving the corresponding interaction data from interaction store and replaying the recorded interactions with the target service previously recorded while in the record mode, and computer usable program code for emulating the functionality of the target service in emulator service instead of delegating the service request to the target service. - View Dependent Claims (2, 3, 4)
-
-
5. A system for simulating a target service in a development environment, the system comprising:
-
a computer with at least one processor and memory; and a proxy service executing in the memory of the computer by the processor of the computer, the proxy service when executing in the memory of the computer, receiving a service request for a target service, determining whether a mode for the proxy service is selected to be either a normal mode, a record mode or an emulate mode, delegating the service request to the target service if in the normal mode, to a recorder service wrapping the target service and configured to record interactions with the target service if in the record mode, retrieving the corresponding interaction data from interaction store and replaying the recorded interactions with the target service previously recorded while in the record mode, and emulating the functionality of the target service in emulator service instead of delegating the service request to the target service. - View Dependent Claims (6, 7)
-
Specification