Shampoo Test for pregnancy To perform the shampoo test, collect a sample of your urine in a clean container. Then, pour a few drops of shampoo into a clean bowl. Add a few drops of urine to the shampoo and mix it gently without forming a froth. If the shampoo begins to foam or produce bubbles, it indicates pregnancy.