The start command sets the start mode and end mode of the NQA test.
The undo start command stops the running test instance or deletes the configurations of an untried test instance. The undo start command is equivalent to the stop command.
By default, the test auto completes when test packets are all sent out.
start at [ yyyy/mm/dd ] hh:mm:ss [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ]
start delay { seconds second | hh:mm:ss } [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ]
start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ]
undo start
| Parameter | Description | Value |
|---|---|---|
| start at [ yyyy/mm/dd ] hh:mm:ss | Performs the test at a specified time. |
The time on the device must be earlier than the set time. |
| start delay { seconds second | hh:mm:ss } | Delays performing the test. |
|
| start now | Performs the test immediately. | - |
| end at [ yyyy/mm/dd ] hh:mm:ss | Ends the test at a specified time. | - |
| end delay { seconds second | hh:mm:ss } | Delays ending the test. This delay is set based on the current system time. For example: If start at 9:00:00 end delay seconds 60 is run at 8:59:40, then, a test instance starts at 9:00:00 and ends at 9:00:40. |
|
| end lifetime { seconds second | hh:mm:ss } | Specifies the lifetime of the NQA test (starting from the moment that the NQA test starts). For example: If start delay seconds 60 end lifetime seconds 120 is run at 9:00:00, then, a test instance lasts for 120s as it starts at 09:01:00 and ends at 09:03:00. |
|
Usage Scenario
Precautions
If the number of the running test instances reaches the maximum value defined by the system, the start command fails.
For the same test instance, the start now command can be used again only when the previous configuration is complete.
# Perform the test immediately.
<sysname> system-view [sysname] nqa test-instance admin http [sysname-nqa-admin-http] test-type http [sysname-nqa-admin-http] start now
# Perform the test 10 hours later.
<sysname> system-view [sysname] nqa test-instance admin http [sysname-nqa-admin-http] test-type http [sysname-nqa-admin-http] start delay 10:00:00