The idea is to load the amplifier with a dummy load and analyze the response using software like rmaa.
In this diagram the source and amplified output and the measuring device have the same ground. This is likely not recommended.
In real testing, I'll use bluetooth source with no connection to ground, amplifier output is isolated from ground as well and laptop with usb audio input (isolated from ground) too to avoid any ground loop or any damage to amplifier