A drain testing plug (or pipe stopper) is a mechanical tool used to temporarily seal a pipe so the system can be filled with air or water to test for leaks, blockages, or structural integrity. They are standard equipment during plumbing inspections and new system installations.