Synchronizing multiple values
In a variable check, when multiple values have been defined
for a variable, you can create a synchronized set of values, with
the same number of elements, which can be synchronized.
Before you begin
Synchronizing values requires that at least two sets of values (series, multiple, datapool) have been defined in the test case. Both value sets must have the same number of elements.
About this task
Without synchronization, each combination of all the values
from all sets generates one call to the function under test, or iteration. The number of iterations is displayed in the test
case editor. Using multiple sets can rapidly generate a large number
of iterations, which can cause tests to run for long periods. For
example, for the values in the following table, the test generates
5 x 5 x 2 = 50 iterations.
| Variable | Initialization value | Number of elements |
|---|---|---|
| a | [0.0, 1.0, 2.0, 3.0, 4.0] | 5 |
| b | [0.0, 0.1, 5.0, 10.0, 10.1] | 5 |
| c | [0, 1] | 2 |
When two or more sets are synchronized, elements of each set are run together. In the previous example, if the initialization values for a and b are synchronized, a=0 is called with b=0.0, a=2 is called with 0.1, and so on. The test generates 5 x 2 = 10 iterations.
Synchronizing variables enables you to run two or more sets of values in parallel, such as linked curves or sets of coordinates.
Procedure
To create a synchronized multiple value set.



to apply the changes.