Expectation based event verification
First Claim
Patent Images
1. A computer implemented method of verifying events generated by an agent, said method comprising:
- detecting an input signal at an input of said agent;
creating a transaction record corresponding to said input signal, each transaction record including storage for expectation records associated with that transaction record;
generating an expected output signal, corresponding to said transaction record, based at least in part on said input signal; and
signaling an error when said agent does not generate said expected output signal corresponding to said transaction record.
4 Assignments
0 Petitions
Accused Products
Abstract
A computer implemented method of verifying events generated by an agent includes detecting an input signal at an input of the agent, generating an expected output signal based at least in part on the input signal, detecting an output signal at an output of the agent, wherein the output signal is a translation of the input signal generated by the agent, and comparing the output signal with the expected output signal to verify whether the agent produced the output signal correctly based on the input signal.
-
Citations
25 Claims
-
1. A computer implemented method of verifying events generated by an agent, said method comprising:
-
detecting an input signal at an input of said agent; creating a transaction record corresponding to said input signal, each transaction record including storage for expectation records associated with that transaction record; generating an expected output signal, corresponding to said transaction record, based at least in part on said input signal; and signaling an error when said agent does not generate said expected output signal corresponding to said transaction record. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for producing expectations to verify events generated by an agent;
- comprising;
a. at least one computer readable medium; and b. computer readable program code stored on said at least one computer readable medium, said computer readable program code comprising; i. program code for monitoring at least one input of said agent for a stimulus; ii. program code for creating a transaction record corresponding to said stimulus, each transaction record including storage for expectation records associated with that transaction record; iii. program code for generating an expectation of an event, corresponding to said transaction record, based at least in part on said stimulus, wherein said event is expected to be generated by said agent as a result of said stimulus; and iv. program code for signaling an error when said agent does not generate said event corresponding to said transaction record. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
- comprising;
-
24. An apparatus for testing an agent in a computer system, comprising:
-
means for detecting at least one incoming message as it is received by said agent; means for generating a transaction record corresponding to said incoming message, each transaction record including storage for expectation records associated with that transaction record; means for generating at least one expected outgoing message, correlated to said transaction record, that should be produced by said agent in response to said incoming message, wherein said at least one expected outgoing message is generated at least in part based on said at least one incoming message; and means for signaling an error when said agent does not generate said expected outgoing message corresponding to said transaction record.
-
-
25. An apparatus for producing expectations to verify events generated by an agent, comprising:
-
a. at least one computer readable medium; and b. computer readable program code stored on said at least one computer readable medium, said computer readable program code comprising; i. program code for monitoring at least one input of said agent for a stimulus; ii. program code for creating a transaction record corresponding to said stimulus, each transaction record including storage for expectation records associated with that transaction record; iii. program code for generating an expectation of an event, corresponding to said transaction record, based at least in part on said stimulus, wherein said event is expected to be generated by said agent as a result of said stimulus; and iv. program code for signaling an error when said agent does not generate said event corresponding to said transaction record; wherein said program code for monitoring said at least one input of said agent for said stimulus comprises program code for gathering said stimulus from a plurality of separately transmitted portions; wherein said program code for gathering said stimulus from said plurality of separately transmitted portions comprises program code for establishing a watch list, said watch list containing an entry for each stimulus for which said separately transmitted portions are being awaited, and wherein said program code for monitoring said at least one input of said agent for said stimulus comprises; program code for detecting one of said separately transmitted portions at said at least one input; program code for searching said watch list for said stimulus for which said one of said separately transmitted portions was being awaited; and program code for adding said one of said separately transmitted portions to said stimulus.
-
Specification