Proxy simulation service for testing stateless systems
First Claim
1. A system comprising:
- a simulation history database configured to store data regarding a plurality of events; and
a computing device in communication with the simulation history database, the computing device configured to at least;
receive, from a computing system, a first event during a first test, wherein the computing system does not store information regarding a state of the computing system, wherein the computing system is configured to send events to a downstream process, and wherein the computing device is configured to receive the first event as a proxy of the downstream process;
determine a unique identifier associated with the first test;
store data associated with the first event and the determined unique identifier in the simulation history database;
retrieve, from the simulation history database, all events data associated with the determined unique identifier;
determine a simulated response to the received first event based at least in part on an analysis of the retrieved events data; and
transmit the simulated response to the computing system.
1 Assignment
0 Petitions
Accused Products
Abstract
An enhanced proxy simulation service can be used to test a complex stateless system, such as a fulfillment network, that depends on upstream and downstream processes in order to operate. The enhanced proxy simulation service can be configured to send an event, such as an order request, so as to appear to be sent from a process upstream of the system; and can be configured to receive a request from the system, such as a request to charge payment information, so as to appear as a downstream process of the system. The proxy simulation service can store events received from the system and apply a set of rules to the stored events to construct a simulated response to the last event received from the system. The simulated response can then be sent to the system being tested.
11 Citations
20 Claims
-
1. A system comprising:
-
a simulation history database configured to store data regarding a plurality of events; and a computing device in communication with the simulation history database, the computing device configured to at least; receive, from a computing system, a first event during a first test, wherein the computing system does not store information regarding a state of the computing system, wherein the computing system is configured to send events to a downstream process, and wherein the computing device is configured to receive the first event as a proxy of the downstream process; determine a unique identifier associated with the first test; store data associated with the first event and the determined unique identifier in the simulation history database; retrieve, from the simulation history database, all events data associated with the determined unique identifier; determine a simulated response to the received first event based at least in part on an analysis of the retrieved events data; and transmit the simulated response to the computing system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-implemented method comprising:
-
as implemented by one or more computing devices configured with executable instructions, receiving, from a computing system, a first event during a first test, wherein the computing system does not store information regarding a state of the computing system, wherein the computing system is configured to send events to a first process, and wherein the one or more computing devices are configured to receive the first event as a proxy of the first process; storing data associated with the first event and a unique identifier associated with the first test in a simulation history database; retrieving, from the simulation history database, all events data associated with the unique identifier; determining a simulated response to the received first event based at least in part on an analysis of the retrieved events data; and transmitting the simulated response to the computing system. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A non-transitory computer-readable medium having stored thereon executable program code that direct a computing device to perform operations when executed by a simulation service operating on the computing device, the operations comprising:
-
receiving, from a computing system, a first event during a first test, wherein the computing system does not store information regarding a state of the computing system, wherein the computing system is configured to send events to a first process, and wherein the computing device is configured to receive the first event as a proxy of the first process; storing data associated with the first event and a unique identifier associated with the first test in a database; retrieving, from the database, data for at least one event associated with the unique identifier; determining a simulated response to the received first event based at least in part on an analysis of the retrieved data for the at least one event; and transmitting the simulated response to the computing system. - View Dependent Claims (17, 18, 19, 20)
-
Specification