System and method for testing distributed systems
DCFirst Claim
1. A method for testing a distributed processing system program that is operable within a distributed processing system having a plurality of processing devices, the method comprising the steps of:
- a) reading, by a test manager, a scenario file to identify processes of the distributed processing system program to be tested, wherein the scenario file includes identity of the processes and a sequence of testing events relating to the distributed processing system program;
b) starting, by the test manager, the processes on at least one of the plurality of processing devices;
c) reading, by each of the processes, respective portions of the scenario file;
d) performing, by each of the processes, the respective portions of the scenario file; and
e) monitoring, by the test manager, outputted values of each of the processes to determine when one of the processes outputs a value that is not as expected.
1 Assignment
Litigations
0 Petitions
Accused Products
Abstract
In a distributed data processing system or network testing a distributed processing program is achieved by a test manager and a test scenario. Functionally, the test manager reads the test scenario to identify processes of the system to be tested. The identified processes then read relevant portions of the test scenario and executes such portions. While the processes are executing the scenario portions, the test manager monitors resulting data from each process. If the resulting data does not match an expected data value, the test manager flags an error regarding the process that produced the errant data.
83 Citations
14 Claims
-
1. A method for testing a distributed processing system program that is operable within a distributed processing system having a plurality of processing devices, the method comprising the steps of:
-
a) reading, by a test manager, a scenario file to identify processes of the distributed processing system program to be tested, wherein the scenario file includes identity of the processes and a sequence of testing events relating to the distributed processing system program; b) starting, by the test manager, the processes on at least one of the plurality of processing devices; c) reading, by each of the processes, respective portions of the scenario file; d) performing, by each of the processes, the respective portions of the scenario file; and e) monitoring, by the test manager, outputted values of each of the processes to determine when one of the processes outputs a value that is not as expected. - View Dependent Claims (2, 3, 4)
-
-
5. A system for testing a distributed processing program implemented within a distributed processing system comprising a plurality of data processors coupled by a communications network, said system for testing comprising:
-
retrieval means for retrieving a scenario from said distributed processing system, wherein said scenario exercises at least one component of said distributed processing program; identifying means for identifying the at least one component of the distributed processing program from the scenario; starting means for starting exercising of the at least one component as defined by a respective portion of the scenario; and detecting means for detecting when a result produced by the at least one component, while being exercised by the scenario, is not as expected. - View Dependent Claims (6, 7, 8, 9, 10)
-
-
11. A distributed processing system, comprising:
-
a communications network interconnecting a plurality of data processing devices; distributed storage means for storing a distributed processing program wherein the distributed storage means resides within at least some of said plurality of data processing devices; and means for storing a script comprising a text file, said storing means coupled to said communications network; wherein at least one of said plurality of data processing devices comprises; means for coupling said at least one of said plurality of data processing device to said communications network; processor means for; retrieving the script;
reading the script to identify processes of the distributed processing program to be exercised;
starting the processes on at least one of the plurality of data processing devices to execute respective portions of the script; andmonitoring results from the processes to determine when one of the results is not as expected.
-
-
12. A computer readable medium for storing programming instructions, that, when read by a computer which is affiliated with a distributed processing system, causes the computer to perform a test on a distributed processing program that is operable on the distributed processing system, the computer readable medium comprises:
-
retrieve storage means for storing program instructions that cause the computer to retrieve a test scenario from the distributed processing system; start storage means for storing program instructions that cause the computer to identify processes of the distributed processing program to be tested by the test scenario and to start at least one processing device of the distributed processing system to support the processes; read means for storing program instructions that cause the at least one processing device to read respective portions of the test scenario for each of the processes; object means for storing program instructions that cause the at least one processing device to create an object for each of the processes; invoke means for storing program instructions that cause the at least one processing device to invoke a method upon the object for each of the processes to create resulting values; and valid means for storing program instructions that cause the computer to determine when one of the resulting values is not as expected. - View Dependent Claims (13, 14)
-
Specification