Oral glucose tolerance test for diabetes. A two-hour, 75-gram oral glucose tolerance test (OGTT) is used to test for diabetes. ... They'll then ask you to drink 8 ounces of a syrupy glucose solution that contains 75 grams of sugar. You'll then wait in the office for two hours.