The most common urine test is a urinalysis, which is performed to look for germs, foreign objects, and blood cells. This test may also help in the diagnosis of urinary tract infections, diabetes, and the early stages of illness.