摘要 |
Disclosed are a throughput test method and apparatus. The method includes: a first network device generating a periodic detection message through a data processor; the first network device sending the detection message to a second network device to be tested, wherein a first throughput value of the first network device is greater than or equal to a second throughput value of the second network device; the first network device receiving a loopback detection message looped back by the second network device; the first network device obtaining a first quantity value of the detection messages as well as a second quantity value of the loopback detection messages; and the first network device obtaining the second throughput value characterizing the throughput of the second network device through the data processor based on the first quantity value and the second quantity value. The method and apparatus in the embodiment of the present invention make a network device automatically implement a throughput test and reduce costs of the throughput test |