System and method for testing a protocol using targeted variant input
First Claim
Patent Images
1. A method for testing a data format comprising:
- receiving a data format definition that defines a plurality of tokens within the data format, each of the tokens having a corresponding value, at least one of the tokens having its corresponding value substituted with a variant; and
generating a token stream in accordance with the data format definition whereby at least one token in the stream has its corresponding value and each of the at least one variants is replaced with a random value.
2 Assignments
0 Petitions
Accused Products
Abstract
The value of one or more selected nodes in a data format definition may be substituted with a variant placeholder. At runtime, when an input token stream is generated from the data format definition, each variant placeholder will be replaced with a random value, thereby providing targeted variant input.
-
Citations
20 Claims
-
1. A method for testing a data format comprising:
-
receiving a data format definition that defines a plurality of tokens within the data format, each of the tokens having a corresponding value, at least one of the tokens having its corresponding value substituted with a variant; and
generating a token stream in accordance with the data format definition whereby at least one token in the stream has its corresponding value and each of the at least one variants is replaced with a random value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 10)
-
-
9. The method of clam 1, further comprising replacing at least one of the variants with a random value that is selected from a set of smart values comprising at least one of a null value, a half way value, a maximum value, a correct value, a value within a pre-determined range of values greater than the correct value, and a value within a pre-determined range of values less than the correct value.
-
11. A system for testing a data format comprising:
-
a data format definition that defines a plurality of tokens within the data format, each of the tokens having a corresponding value, at least one of the tokens having its corresponding value substituted with a variant; and
a test data format generator that receives the data format definition and generates a token stream in accordance with the data format definition whereby at least one token in the stream has its corresponding value and each of the at least one variants is replaced with a random value. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. The system of clam 11, wherein the random value is selected from a set of smart values comprising at least one of a null value, a half way value, a maximum value, a correct value, a value within a pre-determined range of values greater than the correct value, and a value within a pre-determined range of values less than the correct value.
Specification