Extension Step timedGroup
Description
This step allows nesting of other steps. Any kind of step can be nested. Execution of the group is deemed successful if all the nested steps are executed successfully and the total execution time for the group is less than the time given by the maxSeconds or maxMillis parameters.
Parameters
- description
- Required? no
- The description of this test step.
- maxMillis
- Required? yes/no
- The maximum number of milliseconds allowed for this group to execute. Either maxSeconds or maxMillis must be set but not both.
- maxSeconds
- Required? yes/no
- The maximum number of seconds allowed for this group to execute. Either maxSeconds or maxMillis must be set but not both.
Nested Parameters
- step
- Required? yes
- A webtest step.
Details
timedGroup Example
<webtest name="Timed Group Example">
<config ... />
<steps>
<timedGroup description="performance test" maxSeconds="1">
... <-- nested steps which performace some lengthy task
and must take no more than 1 second to execute -->
</timedGroup>
<group ...>
... <-- non time-critical steps could go here -->
</group>
<timedGroup description="load/stress test" maxMillis="500">
... <-- nested steps which stress the system and must
take no more than 1/2 second to execute -->
</timedGroup>
</steps>
</webtest>
<config ... />
<steps>
<timedGroup description="performance test" maxSeconds="1">
... <-- nested steps which performace some lengthy task
and must take no more than 1 second to execute -->
</timedGroup>
<group ...>
... <-- non time-critical steps could go here -->
</group>
<timedGroup description="load/stress test" maxMillis="500">
... <-- nested steps which stress the system and must
take no more than 1/2 second to execute -->
</timedGroup>
</steps>
</webtest>