In response to the shortcomings of manual testing for aerospace software interfaces,such as high workload,high repeatability,and the risk of missing tests,this paper proposes a method of interface automation based on communi-cation protocol that can automatically analyze the rationality of interface protocols,design interface test cases,generate in-terface accompanying software,and complete interface testing.Experiments have shown that the method of interface au-tomation based on communication protocol can greatly improve the efficiency and correctness of software interface testing.