The test-failtimes command sets the number of continuous test failures in an NQA test.
The undo test-failtimes command restores the default setting.
| Parameter | Description | Value |
|---|---|---|
| times | Specifies the number of the continuous test failures in an NQA test. | The value is an integer ranging from 1 to 15. The default value is 1. |
Usage Scenario
An NQA test consists of multiple probe tests. By default, if one or more probe tests are successful in an NQA test, the test is considered a success. If all probe tests fail, the test is considered a failure. If the number of continuous test failures reaches the specified value, the system will send a trap to the specified NMS.
Prerequisites
Before using the test-failtimes command, run the test-type command to specify the type of a test instance.
Follow-up Procedure
After using the test-failtimes command, run the send-trap testfailure command to send a trap to the NMS after an NQA test fails. Otherwise, the trap cannot be sent to the NMS after an NQA test fails.
Precautions
This configuration of a running test instance cannot be changed.