A TCP test measures the speed at which a host sets up a TCP connection to a TCP server through a three-way handshake.
The TCP test requires the cooperation between the NQA server and the NQA client. Before implementing the TCP test, you need to configure the TCP listening function on the NQA server.
On the NQA server, run the display nqa-server command to query the server information.
<FW> display nqa-server NQA Server Max: 100 NQA Server Num: 1 NQA Concurrent TCP Server: 1 NQA Concurrent UDP Server: 0 NQA Concurrent RTP-UDP Server: 0 NQA Concurrent RTP-TCP Server: 0
nqa-server tcpconnect 1.1.1.1 6555 NOTINSERVICE
On the NQA client, run the display nqa results [ admin-name test-name ] command to query the test results.
<FW> display nqa results NQA entry(admin, tcp) :testFlag is inactive ,testtype is tcp 1 . Test 1 result The test is finished Send operation times: 3 Receive response times: 3 Completion:success RTD OverThresholds number: 0 Attempts number:1 Drop operation number:0 Disconnect operation number:0 Operation timeout number:0 System busy operation number:0 Connection fail number:0 Operation sequence errors number:0 RTT Status errors number:0 Destination ip address:10.7.1.10 Min/Max/Average Completion Time: 2/4/3 Sum/Square-Sum Completion Time: 9/29 Last Good Probe Time: 2016-01-21 20:36:42.3 Lost packet ratio: 0 %
Item |
Description |
|---|---|
Send operation times |
Number of TCP connection initiation times |
Receive response times |
Number of HTTP server responses to the TCP connection requests sent by the NQA client |
Completion |
Test completion state:
|
RTD OverThresholds number |
Number of times the RTD exceeds the specified threshold |
Attempts number |
Number of tests |
Drop operation number |
Number of test packet sending failures |
Disconnect operation number |
Number of times the peer tears down the connection |
Operation timeout number |
Number of expiration times in the test |
System busy operation number |
Number of initialization or resource application failures |
Connection fail number |
Number of connection establishment failures |
Operation sequence errors number |
Number of received out-of-order packets |
RTT Stats errors number |
Number of RTT measurement failures |
Destination ip address |
Destination address |
Min/Max/Average Completion Time |
Minimum, maximum, and average test completion periods |
Sum/Square-Sum Completion Time |
Sum and quadratic sum of completion periods |
Last Good Probe Time |
Time the last probe is complete |
Lost packet ratio |
Packet loss ratio |