Method, system and program product for recording and replaying target service interaction data
First Claim
1. A method for simulating a target service in a development environment comprising:
- receiving a service request for a target service in a proxy service executing in memory by a processor of a computer;
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 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
retrieving the corresponding interaction data from interaction store and replaying the recorded interactions with the target service previously recorded while in the record mode, andemulating the functionality of the target service in emulator service instead of delegating the service request to the target service.
1 Assignment
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.
44 Citations
4 Claims
-
1. A method for simulating a target service in a development environment comprising:
-
receiving a service request for a target service in a proxy service executing in memory by a processor of a computer; 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 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 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 (2, 3, 4)
-
Specification