To address the issues of low efficiency, high costs, and safety risks associated with the evaluation of fixed-wing UAV flight control capabilities through physical testing, this paper investigates a UAV flight simulation testing method and an edge performance evaluation approach. Initially, a UAV motion simulation model and corresponding simulation environment were developed. Subsequently, a flight management system demand test environment was established by integrating genetic algorithms(GA) to facilitate the generation of batch test cases for the flight system. The criteria for testing and methods for evaluating pitch attitude stability in fixed-wing UAVs were proposed. Finally, simulations were conducted using ROSflight. Through extensive flight tests, insights into the aircraft"s safety margins were obtained while analyzing and assessing its pitch attitude control capabilities. This research provides valuable references for both the simulation testing phase in UAV development and its application stages.