The invention provides an undercarriage ejection rod folding and unfolding performance testing machine. The testing machine comprises an undercarriage assembly, a test rack assembly and a performancetest assembly, and the test rack assembly comprises a C-shaped test rack, a rectangular sleeve cup, a proximity switch, a stand column and a guide rod. The C-shaped test rack is fixedly connected withthe concrete foundation, the rectangular sleeve cup is formed by welding a cup wall plate and a bottom plate, the bottom plate of the rectangular sleeve cup faces upwards, and vertical cylindrical through holes are formed in the center and at the four vertex angles of the bottom plate of the rectangular sleeve cup respectively. The performance test assembly comprises an anti-impact base plate, arectangular lifting platform, a pull pressure sensor, a cylinder and a connecting shaft, the first end face of the pull pressure sensor is fixedly connected with the upper end of a cylinder piston rod, and the second end face is fixedly connected with a first end face of the connecting shaft. The second end face of the connecting shaft is fixedly connected with the lower surface of the rectangularlifting platform, and the anti-impact base plate is fixedly connected with upper surface of the rectangular lifting platform. According to the invention, the detection precision of the folding and unfolding time is improved, the labor intensity of workers is reduced, and the experimental data more fitting the reality is obtained.