The invention relates to the technical field of wire rod testing machines, and particularly discloses a wire rod testing machine with a wire rod processing function, which comprises a base, a wire rod cutting mechanism, a tensile testing mechanism and a compression testing mechanism. The wire rod cutting mechanism is arranged at the top of the base, the wire rod cutting mechanism is used for processing wire rods, the wire rod cutting mechanism comprises supporting frames and a top plate, the supporting frames are symmetrically and fixedly connected to the top of the base, and the top plate is fixedly connected to the tops of the two supporting frames; and the tensile testing mechanism is arranged between the supporting frames and the top plate. According to the invention, the wire rod is wound on the winding roller, the two first hydraulic telescopic rods are used for driving the fixing plate to move downwards to fix and clamp the two ends of the wire rod, the motor is used for driving the cutting knife to rotate, cutting of the wire rod is achieved, later function detection of the wire rod is facilitated, the moving plate moves rightwards to drive the wire rod to stretch, and the tensile function test of the wire rod is achieved. And meanwhile, the wire processing function is added, and the practicability of the device is improved.