Switching network virtual link traffic control function testing device

The invention discloses a switching network virtual link traffic control function testing device. The device consists of a test configuration evaluation module, a serial port bus interface, a test sequence injection module, an information capturing and analysis module and a switching network interface, wherein the test configuration evaluation module is positioned in an upper computer; and the serial port bus interface, the test sequence injection module, the information capturing and analysis module and the switching network interface are positioned in an upper computer. A tested switching node in a tested switching network is connected with the device through a switching network interface, and the upper computer and the lower computer are connected through the serial port bus interface.The device supports switching network traffic control function testing flow design and automatic generation and injection of test traffic based on aerial electronic bus network testing technology, observes the control result of data frames by counting the data frames where the switching node enters and exits, and compares the control result with the theoretical calculation result so as to realizespecific test and evaluation of switching node traffic control function.