Timer report command

Adds a timer report to the test. The measured timer result is reported from the test (retrieved via the Get timer command) into the generated Single Test Report. The report is named according to the name parameter and based on the timing measurement specified by the result parameter. For more details on adding timer reports to your test, see Performance testing.

Parameters

Name Type Possible values Description

Name*

String

 

The timer report name to display as part of the test and in the Single Test Report.

Result*

Number

 

The calculated timer result duration, in milliseconds.

Minimum value is 0.

Threshold

Number

 

The maximum threshold duration allowed for this timer in milliseconds.

If a threshold is defined, the success/fail state of the command will be based on whether the reported timer value exceeds the threshold or not.

Minimum value is 0.

Description

String

 

The description text to display as part of the test and in the Single Test Report.

Status

String

success (Success)| failure (Failure)

The defined timer report status, where:

  • Success displays a success status in the Single Test Report.

  • Failure displays a failure status in the Single Test Report.

If the status is not set, it will be calculated using the timer result and threshold parameter values. If the result is greater than the threshold, the status will be a failure. Defining a status will override the calculated status result even if the status was calculated as failure.

Setting the status to failure will change the status of the execution to 'Completed with Errors'.

Comment

String

 

Adds a comment to the script.

On-fail Result*

Condition

Ignore | Break | Continue | Abort | Catch

The behavior when the command fails.

* Mandatory parameter