The decision to go to a lab or buy a urine glucose test online is one that you will make under the guidance of your healthcare provider, who will need to refer you to a lab.