Automated http user flows simulator
AssigneeSynopsys, Inc.
InventorsTamir SHAVRO, Eran TAMIR, Lilian BLOCHET
Life of this patent
Estimating the term…
Abstract
A testing method and system for automatic Hypertext Transfer Protocol (HTTP) testing, the system including a memory configured to store sequences of user requests, a program store storing code for emulating a sequence of user requests, and at least one processor coupled to the program store and to the memory for executing the stored code, the code including instructions for generating an emulated request based on a request from a user sequence of requests, transmitting the emulated request to an application, receiving a response to the emulated request from the application, calculating an adapted emulated sequence based on validity of the received response, and instructing transmission of the adapted emulated sequence.
Claims21
A testing system for automatic Hypertext Transfer Protocol (HTTP) testing, comprising:
- a memory configured to store a sequence of user requests;
- a program store storing code for emulating the sequence of user requests;
- and
- at least one processor coupled to the program store and to the memory for executing the stored code, the code comprising instructions for:
- generating an emulated request based on a request from the sequence of user requests stored in the memory,
- transmitting the emulated request to an application coupled to the test system,
- receiving a response to the emulated request from the application,
- calculating an adapted emulated request sequence based on whether the received response is valid, and
- instructing transmission of the adapted emulated request sequence to the application.
A method for automatic HTTP testing, the method comprising:
- generating, by a processor, an emulated sequence of user requests, an emulated request based on a request from a user sequence stored in a memory;
- transmitting the emulated request to an application server;
- receiving a response to the emulated request from the application server;
- calculating, an adapted emulated request sequence based on whether the received response is valid;
- and
- instructing transmission of the adapted emulated request sequence to the application server.
A testing server comprising:
- a memory configured to store a sequence of user requests;
- a processor to implement a testing engine configured to generate an emulated request based on a request from the sequence of user requests stored in the memory, transmit the emulated request to an application server coupled to the test system, receive a response to the emulated request from the application server, calculate an adapted emulated request sequence based on whether the received response is valid, and to transmit the adapted emulated request sequence to the application server;
- the testing engine further configured to detect dependencies between requests in the sequence of user requests and adapt the emulated request dependent on at least one previous request of the sequence of user requests by inserting into the emulated dependent request information from a response to the at least one previous request that the emulated request depends on.
Dependencies are inferred from the claim text.