Generation of random conversation testcases
AssigneeInternational Business Machines Corporation
InventorDavid L. Bird
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorDavid L. Bird
Estimating the term…
A method of generating pairs of random interprogram conversation testcases is provided in which conversation statements are selected with which to construct the testcases in dependence on what statements are permitted for the predicted current conversation states of the testcases. The effect of each statement that is added to the testcases on the states of the testcases at eventual execution is predicted from predefined state tables for particular conversation protocols. As each conversation-type statement is added to a testcase, it is determined whether matching statements must be added to the other testcase and, if so, these matching statements are randomly generated in the same way. Self-checking code is added to the testcases to check correct execution. The method is particularly suitable for testing the support of asynchronous conversations between transaction processing programs running in different CICS systems.
A method of generating testcase programs for a distributed computer system in which a conversation between partners in remote processors or regions at respective ends of said conversation employs interprogram conversation statements according to a predetermined protocol which also defines conversation states of said partners, each of said partners having a current conversation state, the method comprising the steps of:
Dependencies are inferred from the claim text.