The invention discloses an efficient testing method for a switch. The method adopts a network observer and a traffic generator for testing, and comprises the following steps: S1, connecting all ports of the switch with the traffic generator, and connecting the switch with the network observer, wherein the network observer is connected with the traffic generator; and S2, connecting the switch to a power supply, observing whether the switch can be normally started or not, sending data from two ports of the switch to the third port by the traffic generator after power-on, observing the receiving condition of the traffic generator, observing transceiving of a pause frame via the network visualize, and then testing the traffic control capability of the switch. By adopting the method, the stability of the full-load switch can be tested, and the switch can achieve a full-load testing effect by using the network observer and the traffic generator, so that resources are efficiently utilized, repetitive operation is avoided, the testing operation is simpler and more feasible, and the universality is strong.