The scenario language provides the user with a great deal of flexibility in
defining test scenarios, for example, take two instances of a timed loop execute
in parallel. In each loop a single test case is chosen at random from the list
of test cases. Each loop is repeated until its execution time has exceeded 300
seconds.
The different versions of this scenario shown here illustrate how the
same scenario may be written with or without the use of directive groups.
When TETware processes this scenario in execute mode, two instances of the
timed loop are initiated at the same time. Each timed loop instance iterates
until 300 seconds have expired. During each iteration of each loop instance, a
single test case is selected at random from the list and executed.
The way in which TETware processes this scenario may be represented by the
following diagram: