The invention relates to a 5G power amplifier testing device and method. The device comprises a vector network, a device under test (DUT), and a testing accessory, and is characterized in that the device also comprises a power amplifier integrated spread spectrum module at the output end and a power amplifier integrated spread spectrum module at the receiving end of the vector network; the power amplifier integrated spread spectrum module at the output end comprises a vector network output end spread spectrum module, a power amplifier and a double-shaped coupler which are electrically connected in sequence; the power amplifier integrated spread spectrum module at the receiving end comprises a vector network receiving end double-shaped coupler and a spread spectrum module which are electrically connected in sequence; and each double-shaped coupler is also electrically connected with the vector network through a respective down converter. The method adopts the spread spectrum module to perform index measurement after vector network spread spectrum, including power gain, power gain flatness, linear power gain, linear power flatness, 1dB gain compression output power, clutter suppression degree, input voltage standing-wave ratio, output voltage standing-wave ratio and power additional efficiency. According to the device and the method thereof, the test investment cost of the 5G power amplifier is greatly reduced, and meanwhile, the risks of prohibition and technology blocking are effectively avoided.