Diagnosis requires a urinalysis, or urine test. A urine culture is also done on a urine sample to see if there are bacteria in the urine. Typical findings include pus, white blood cells, and blood in the urine. X-rays are also helpful in the diagnosis.