The invention provides a testing method and system for achieving automatic testing of seeker whole performance. Construction is achieved through a virtual instrument measuring technique, and an automatic testing platform based on Labview graphic language programming is formed. The testing system comprises a seeker main control cabinet, an equipment main control cabinet, a tracking rotating table, a rotary bracket, a deflection angle device, a collimator and an infrared target source. The target-missile line of sight angular speed is simulated through the rotating table movement angular speed, the rotary bracket simulates the missile body spinning speed, the deflection angle device deflects a phi angle so that the deflection angle formed between a product and the optical axis and the deflection angle formed between the target and the optical axis can be simulated, and seeker whole performance testing can be achieved. Modules for conducting target simulation, attitude movement simulation, seeker communication control, performance testing and other functions are further arranged so that the movement state and the testing environment of a seeker can be simulated, and the seeker product is subjected to automatic testing and data analysis. According to the testing method and system for achieving automatic testing of seeker whole performance, personal errors caused by a manual testing system and a semi-automatic testing system are decreased, the consistency of testing results of the tested seeker is ensured, the testing precision is improved, and the safety and reliability are achieved.