precision

Function

The precision command sets the precision of a throughput test for a generalflow test. If the difference between the test result and actual throughput is less than the specified precision, the throughput test is successful and ends.

The undo precision command restores the default precision.

By default, the precision is 1000 kbit/s.

Format

precision precision-value

undo precision

Parameters

Parameter Description Value
precision-value

Specifies the throughput test precision.

The value is an integer ranging from 1 to 10000, in kbit/s.

Views

NQA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

To set the precision in a throughput test for a generalflow test, run the precision command. The precision is a condition for ending a throughput test. If the difference between the test result and actual throughput is less than the specified precision, the throughput test is successful and ends.

Prerequisites

The precision command can only be used in throughput tests for a generalflow test.

Precautions

You cannot change this configuration of a running test instance.

Example

# Set the precision of a throughput test to 3000 kbit/s.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance user test
[*HUAWEI-nqa-user-test] test-type generalflow
[*HUAWEI-nqa-user-test] measure throughput
[*HUAWEI-nqa-user-test] precision 3000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >