Wait for ready state
First Claim
Patent Images
1. A method for performing at least two recorded actions on a server system, comprising:
- initiating a recorded action;
monitoring a status of one or more requests from the recorded action, comprising;
applying an adapter pattern to one or more request objects, the request objects comprising application programming interface request objects;
tracking state changes of the one or more request objects, comprising using references to an event handler specified by an application programming interface property;
determining when the one or more request objects are at a desired state, the desired state being one that corresponds to a request object being completed; and
upon detecting that a predetermined amount of time has elapsed, comprising detecting that a response to the request object has not been generated by the server system within the predetermined amount of time, setting the state of one or more request objects to the desired state;
upon detecting the desired state for one or more requests, comprising determining that the desired state for all of the one or more requests corresponds to a request being completed, performing a next recorded action; and
upon detecting that a predetermined amount of time has elapsed, comprising detecting that a response to a request has not been generated by the server system within the second predetermined amount of time, performing the recorded action.
2 Assignments
0 Petitions
Accused Products
Abstract
Automation of actions on a server system (e.g., web server, FTP server) is facilitated by a server system that is ready for actions to be performed upon it. Because there are scenarios when a server system is not in a state to be acted upon (e.g., web page changed due to navigation, script execution, asynchronous request through dynamic web extensions), an automated action needs to be synchronized to when then server system is in a ready state for that action to occur. A wait-for-ready state can be initiated that detects when a server system is ready for a next action.
38 Citations
20 Claims
-
1. A method for performing at least two recorded actions on a server system, comprising:
-
initiating a recorded action; monitoring a status of one or more requests from the recorded action, comprising; applying an adapter pattern to one or more request objects, the request objects comprising application programming interface request objects; tracking state changes of the one or more request objects, comprising using references to an event handler specified by an application programming interface property; determining when the one or more request objects are at a desired state, the desired state being one that corresponds to a request object being completed; and upon detecting that a predetermined amount of time has elapsed, comprising detecting that a response to the request object has not been generated by the server system within the predetermined amount of time, setting the state of one or more request objects to the desired state; upon detecting the desired state for one or more requests, comprising determining that the desired state for all of the one or more requests corresponds to a request being completed, performing a next recorded action; and upon detecting that a predetermined amount of time has elapsed, comprising detecting that a response to a request has not been generated by the server system within the second predetermined amount of time, performing the recorded action. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer readable device having computer-executable instructions, which when executed via a microprocessor perform actions, comprising:
-
initiating a recorded action; monitoring a status of one or more requests from the recorded action, comprising; applying an adapter pattern to one or more request objects, the request objects comprising application programming interface request objects; tracking state changes of the one or more request objects, comprising using references to an event handler specified by an application programming interface property; determining when the one or more request objects are at a desired state, the desired state being one that corresponds to a request object being completed; and upon detecting that a predetermined amount of time has elapsed, comprising detecting that a response to the request object has not been generated by a server system within the predetermined amount of time, setting the state of one or more request objects to the desired state; upon detecting the desired state for one or more requests, comprising determining that the desired state for all of the one or more requests corresponds to a request being completed, performing a next recorded action; and upon detecting that a second predetermined amount of time has elapsed, comprising detecting that a response to a request has not been generated by the server system within the second predetermined amount of time, performing the recorded action. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system configured to perform at least two recorded actions on a server system, comprising:
-
a recorded action performer component configured to; initiate a recorded action; perform a next recorded action upon detecting a desired state for one or more requests, detecting the desired state comprising determining that the desired state for all of the one or more requests corresponds to a request being completed, the desired state being one that corresponds to a request object being completed; and perform the recorded action upon detecting that a predetermined amount of time has elapsed, detecting that the predetermined amount of time has elapsed comprising detecting that a response to a request has not been generated by the server system within the predetermined amount of time; and a request monitor component configured to monitor a status of one or more requests from the recorded action and apply an adapter pattern to one or more request objects comprising application program interface request objects, wherein the request monitor comprises; a monitoring interface component configured to track state changes of the one or more request objects, comprising using references to an event handler specified by an application programming interface property; and a request complete detector component configured to; determine when the one or more request objects are at the desired state; and set the state of one or more requested objects to the desired state upon detecting that a second predetermined amount of time has elapsed, detecting that the second predetermined amount of time has elapsed comprising detecting that a response to the request object has not been generated by the server system within the second predetermined amount of time. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification