Urine sugar random test is a screening test and is not a definitive diagnosis for diabetes. Further testing, such as a fasting blood glucose or hemoglobin A1C test, may be required for diagnosis. Additionally, other factors such as stress or certain medications can also cause glucose to be present in urine, so it is important to discuss the results with your healthcare practitioner.