Method and apparatus for testing a process in a computer system
First Claim
1. In a computer system, an apparatus comprising:
- a first process comprising a plurality of test points; and
a second process configured to cause evaluation of selected test points; and
wherein, during one or more interval-based execution iterations of the first process, the selected test points comprise a plurality of test points chosen at test intervals, the test intervals dependent on a prime number that is less than or equal to a first value, further wherein;
subsequent execution iterations are performed evaluating tests points at selected test intervals, where the test intervals for the respective execution iterations correspond to prime numbers less than or equal to the square root of the total number of the test points.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for testing processes in a computer system are described. In a software process, there exist many test points in the execution of the process where stress testing may be applied. The process is executed with stress testing applied at selected test points and test intervals. The selected test points are based on prime numbers and varied for successive execution iterations. An efficient distribution of evaluated test points is achieved, and all possible test points are ultimately evaluated within a small number of execution iterations. In one embodiment, the total number of test points is first determined. A first execution run is evaluated at selected test points that correspond to prime numbers greater than the square root of the total number of test points. Subsequent execution iterations are then performed evaluating test points at selected test intervals, where the test intervals for respective execution iterations correspond to prime numbers less than or equal to the square root of the total number of test points. The prime numbers for the selected test intervals are chosen in decreasing order, for example.
-
Citations
25 Claims
-
1. In a computer system, an apparatus comprising:
-
a first process comprising a plurality of test points; and
a second process configured to cause evaluation of selected test points; and
wherein, during one or more interval-based execution iterations of the first process, the selected test points comprise a plurality of test points chosen at test intervals, the test intervals dependent on a prime number that is less than or equal to a first value, further wherein;
subsequent execution iterations are performed evaluating tests points at selected test intervals, where the test intervals for the respective execution iterations correspond to prime numbers less than or equal to the square root of the total number of the test points. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. In a computer system, a method for testing a process having a plurality of test oints, comprising:
-
performing a plurality of execution iterations;
during each of the plurality of execution iterations, evaluating selected test points, wherein, during one or more interval-based execution iterations of the process, the selected test points comprise a plurality of test points chosen at test intervals, the test intervals dependent on a prime number that is less than or equal to a first value, further wherein;
subsequent execution iterations are performed evaluating test points at selected test intervals, where the test intervals for the respective execution iterations correspond to prime numbers less than or equal to the square root of the total number of the test points. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer program product comprising:
-
a computer readable medium having computer program code embodied therein for testing a process having a plurality of test points, the computer readable medium comprising computer program code configured to cause a computer to;
perform a plurality of execution iterations;
during each of the plurality of execution iterations, evaluate selected test points, wherein, during one or more interval-based execution iterations of the process, the selected test points comprise a plurality of test points chosen at test intervals, the test intervals dependent on a prime number that is less than or equal to a first value, further wherein;
subsequent execution iterations are performed evaluating test points at selected test intervals, where the test intervals for the respective execution iterations correspond to prime numbers less than or equal to the square root of the total number of the test points. - View Dependent Claims (20, 21, 22, 23, 24, 25)
-
Specification