Method and system for generating and monitoring variable load on an application under test
First Claim
1. A computer system with a central processing unit and memory for generating and monitoring variable load on an application under test (AUT), the computer system comprising:
- a first level of a hierarchy comprising a first instance of an executable being operable to;
determine a load to place on an AUT in each phase of a test run comprising a plurality of phases;
for each phase of the test run;
determine a number of instances of the executable to create in a second level of the hierarchy, wherein the number of instances of the executable to create in the second level of the hierarchy is based on the load to place on the AUT in the particular phase of the test run and a number of computer systems available to execute the instances of the executable in the second level of the hierarchy in the particular phase of the test run;
generate a configuration file for each of the instances of the executable in the second level of the hierarchy;
launch the instances of the executable in the second level of the hierarchy, each instance of the executable being launched on one of the computer systems that are available to execute the instances of the executable in the second level of the hierarchy;
listen for a connection from each of the instances of the executable in the second level of the hierarchy; and
a second level of the hierarchy comprising a plurality of instances of the executable, each instance of the executable being operable to;
establish a connection to the instance of the executable in the first level of the hierarchy;
determine a number of instances of a test program to create on the computer system;
generate a client configuration file for each instance of the test program to create;
store the client configuration files;
launch the number of instances of the test program; and
listen for a connection from each instance of the test program,such that each instance of the test program connects to the instance of the executable executing on the same computer system, and each instance of the test program executes according to its client configuration file.
2 Assignments
0 Petitions
Accused Products
Abstract
A facility executes on a central computer system and applies a time-varying load to an application program under test (AUT). The facility executes in a multiple number of modes or hierarchical levels as dictated by information provided in its configuration file. An instance of the facility executing at the highest or first-level of the hierarchy is responsible for spawning numerous subordinate or second-level instances of the facility on, for example, remote computer systems. These second-level instances of the facility may spawn additional subordinate or third-level executors on the same or remote computer systems. Ultimately, the lowest-level or leaf instances of the facility are spawned, and these leaf instances of the facility are responsible for launching the client test program instances that are used to test the AUT.
41 Citations
20 Claims
-
1. A computer system with a central processing unit and memory for generating and monitoring variable load on an application under test (AUT), the computer system comprising:
-
a first level of a hierarchy comprising a first instance of an executable being operable to; determine a load to place on an AUT in each phase of a test run comprising a plurality of phases; for each phase of the test run; determine a number of instances of the executable to create in a second level of the hierarchy, wherein the number of instances of the executable to create in the second level of the hierarchy is based on the load to place on the AUT in the particular phase of the test run and a number of computer systems available to execute the instances of the executable in the second level of the hierarchy in the particular phase of the test run; generate a configuration file for each of the instances of the executable in the second level of the hierarchy; launch the instances of the executable in the second level of the hierarchy, each instance of the executable being launched on one of the computer systems that are available to execute the instances of the executable in the second level of the hierarchy; listen for a connection from each of the instances of the executable in the second level of the hierarchy; and a second level of the hierarchy comprising a plurality of instances of the executable, each instance of the executable being operable to; establish a connection to the instance of the executable in the first level of the hierarchy; determine a number of instances of a test program to create on the computer system; generate a client configuration file for each instance of the test program to create; store the client configuration files; launch the number of instances of the test program; and listen for a connection from each instance of the test program, such that each instance of the test program connects to the instance of the executable executing on the same computer system, and each instance of the test program executes according to its client configuration file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-implemented method for generating and monitoring variable load on an application under test (AUT), the method comprising:
-
determining whether an executable is to execute in a first mode or a second mode of operation; responsive to determining that the executable is to execute in the first mode of operation; determining a load to place on an AUT in a first phase of a test run comprising a plurality of phases; determining a number of instances of the executable that are to execute in the second mode of operation, wherein the number of instances of the executable that are to execute in the second mode of operation is based on the load to place on the AUT in the first phase of the test run and a number of computer systems available to execute the instances of the executable that are to execute in the second mode of operation in the first phase of the test run; generating a configuration file for each of the instances of the executable that are to execute in the second mode of operation; launching the instances of the executable that are to execute in the second mode of operation, each instance of the executable being launched on one of the computer systems that are available to execute the instances of the executable that are to execute in the second mode of operation; listening for a connection from each of the instances of the executable that is executing in the second mode of operation; and responsive to determining that the executable is to execute in the second mode of operation; establishing a connection to the instance of the executable that is executing in the first mode of operation; determining a number of instances of a test program to create; generating a client configuration file for each instance of the test program to create; storing the client configuration files; launching the number of instances of the test program; and listening for a connection from each instance of the test program, such that each instance of the test program connects to the instance of the executable that is executing in the second mode of operation, and each instance of the test program executes according to its client configuration file. - View Dependent Claims (10)
-
-
11. A computer system with a central processing unit and memory implementing a hierarchical system for generating and monitoring variable load on an application under test (AUT), the system comprising:
-
a first level of a hierarchy comprising a first instance of an executable; a second level of the hierarchy comprising a plurality of instances of the executable, each of the instances of the executable in the second level of the hierarchy being a child of the first instance of the executable; a third level of the hierarchy comprising a plurality of instances of a client test program, each of the instances of the client test program being a child of one of the instances of the executable in the second level of the hierarchy; a communication channel between each of the plurality of instances of the executable in the second level of the hierarchy and its parent in the first level of the hierarchy; and a communication channel between each of the plurality of instances of the client test program and its parent in the second level of the hierarchy, wherein the first instance of the executable determines the number of its children executable instances in the second level of the hierarchy, and further wherein each of the instances of the executable in the second level of the hierarchy determines the number of its children client test program instances. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification