To test an air suspension compressor, first, check the system fuse and relay. Listen for the compressor activating when raising the vehicle. Next, inspect for air leaks with soapy water. Lastly, ensure proper pressure build-up and consistent operation. If issues persist, seek professional diagnosis.