For the performance testing of pressure sensor in construction machinery, a hydraulic test rig for pressure sensor performance testing is designed based on LabVIEW and electro-hydraulic proportional loading technology. The composition and function of the test rig are introduced. The pressure loading process is analyzed on the basis of hydraulic schematic diagram. The static and dynamic performance curves of the pressure sensor are obtained by industrial computer, data acquisition card and LabVIEW. The measured pressure sensor are calibrated by a high-precision pressure sensor so that the performance of the testing pressure sensor could be are obtained.