The invention discloses an electric automobile charging and discharging facility testing method and system. A sample to be tested is connected into the testing system, a testing instrument driver is converted into an instrument instruction set by an instruction conversion tool, the instrument instruction set can be identified by a testing module, a procedure set of each testing project is edited by the aid of the instrument instruction set and a basic instruction set and tested to detect the sample to be tested, the changing process of attention amount is monitored according to the change of primitive states, testing process data are acquired, and testing results are outputted. A testing instrument and the testing process can be managed and controlled in a centralized manner, resources can be integrally used, the data can be stored in the centralized manner, the testing instrument can be renewed, instrument control procedures are edited, different testing procedure sets can be edited according to testing strategies, and the procedure set is dynamically loaded and executed. The testing method is equally applicable to other testing fields, and accordingly has a certain expansibility and universality.