The invention relates to a material friction and wear performance testing device and testing method, which is characterized in that it includes a workbench, a force measuring device, a heatable fixture, a universal joint, a machine tool spindle, a connecting block, a cylinder, a spring and a slider; Set the force measuring device, set the heatable fixture above the force measuring device, set the connection block under the machine tool spindle, the connection block is connected with the cylinder, the spring is located inside the cylinder, one end of the spring is fixedly connected with the connection block, and the other end of the spring is fixed with the slider Connection, the slider enters the inside of the cylinder, and the lower end of the slider is connected to the universal joint. The motion trajectory between the two materials is controlled by the CNC system of the machine tool, and the friction and wear performance test between the two materials is realized in the complex motion trajectory; the temperature control of the contact area of the material is realized by the use of a heatable fixture, and the force measurement is used. The device realizes the detection of friction force.