The fail-percent command sets the failure percentage for the NQA test instance.
The undo fail-percent command deletes the configured failure percentage for the NQA test instance.
By default, the failure percentage is 100%. That is, the test is regarded as a failure only when all the probes fail.
Parameter | Description | Value |
---|---|---|
percent |
Specifies the percentage of failed probes. |
The value is an integer that ranges from 1 to 100. |
Usage Scenario
In an NQA test instance, multiple probes are sent to test probe packets. Statistics obtained from multiple probe tests show the network quality.
In actual scenarios, however, a probe test may fail because of interference in the network. In addition, a failure in a probe test does not mean that the NQA test fails. The fail-percent command can be used to set failure percentage to check whether an NQA test fails or not. If the number of failure probe packets to the total number of probe packets reaches a specified percentage, the NQA test is considered as a failure.
Prerequisites
Precautions
The failure percentage of a running test instance cannot be changed.