Automated HTTP user flows simulator
First Claim
1. A system for automatic testing of web service, the system comprising:
- a memory configured to store a sequence of requests;
a program store storing code; and
at least one processor coupled to the program store and to the memory for executing the stored code, the stored code comprising instructions that, when executed, cause the processor to perform operations comprising;
generating an emulated request based on a first stored request of the sequence of requests stored in the memory,transmitting the emulated request to an application coupled to the system,receiving a received response to the emulated request from the application,detecting a dependency between the first stored request and a second stored request of the sequence of requests stored in the memory, based on whether the received response to the emulated request is valid;
calculating an adapted emulated request sequence based on the dependency, wherein the adapted emulated request sequence is a result of an adaptation process executed by the processor using a machine learning (ML) based adaptation mechanism; and
transmitting the adapted emulated request sequence to the application; and
adapting, by the processor, a dependent emulated request that depends on a previous request of the sequence of requests by inserting, into the dependent emulated request, information from a response to the previous request on which the dependent emulated request depends.
5 Assignments
0 Petitions
Accused Products
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.
-
Citations
21 Claims
-
1. A system for automatic testing of web service, the system comprising:
-
a memory configured to store a sequence of requests; a program store storing code; and at least one processor coupled to the program store and to the memory for executing the stored code, the stored code comprising instructions that, when executed, cause the processor to perform operations comprising; generating an emulated request based on a first stored request of the sequence of requests stored in the memory, transmitting the emulated request to an application coupled to the system, receiving a received response to the emulated request from the application, detecting a dependency between the first stored request and a second stored request of the sequence of requests stored in the memory, based on whether the received response to the emulated request is valid; calculating an adapted emulated request sequence based on the dependency, wherein the adapted emulated request sequence is a result of an adaptation process executed by the processor using a machine learning (ML) based adaptation mechanism; and transmitting the adapted emulated request sequence to the application; and adapting, by the processor, a dependent emulated request that depends on a previous request of the sequence of requests by inserting, into the dependent emulated request, information from a response to the previous request on which the dependent emulated request depends. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method comprising:
-
generating, by a processor, an emulated request based on a first stored request of a sequence stored in a memory; transmitting, by the processor, the emulated request to an application server; receiving, by the processor, a received response to the emulated request from the application server; detecting, by the processor, a dependency between the first stored request and a second stored request of the sequence of requests stored in the memory, based on whether the received response to the emulated request is valid; calculating, by the processor, an adapted emulated request sequence based on the dependency, wherein the adapted emulated request sequence is a result of an adaptation process executed by the processor using a machine learning (ML) based adaptation mechanism; transmitting, by the processor, the adapted emulated request sequence to the application server; and adapting, by the processor, a dependent emulated request that depends on a previous request of the sequence of requests by inserting, by the processor, into the dependent emulated request, information from a response to the previous request on which the dependent emulated request depends. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A testing server comprising:
-
a memory configured to store a sequence of requests; a processor configured to implement a testing engine, wherein the testing engine is configured to; generate an emulated request based on a first stored request from the sequence of requests stored in the memory; transmit the emulated request to an application server coupled to the testing server; receive, from the application server, a response to the emulated request; detect a dependency between the first stored request and a second stored request of the sequence of requests stored in the memory, based on whether the received response to the emulated request is valid; calculate an adapted emulated request sequence based on the dependency, wherein the adapted emulated request sequence is a result of an adaptation process executed by the processor using a machine learning (ML) based adaptation mechanism; and transmit the adapted emulated request sequence to the application server; wherein the testing engine is further configured to adapt a dependent emulated request that depends on a previous request of the sequence of requests by inserting, into the dependent emulated request, information from a response to the previous request on which the dependent emulated request depends.
-
Specification