Product or technique to plug a pipe from the inside?
You should be able to find caps that just pop on, or in the pipe. 





Or you could get a test plug, if you really want. 


(source: petersenproducts.com)