The glucose tolerance test takes approx. one hour and is performed between 24 and 28 weeks of pregnancy. If you have risk factors for gestational diabetes, the test may be performed in the first trimester. The glucose tolerance test is done to evaluate your body's ability to process sugars during pregnancy. Listed below are the proper steps and precautions that need to be taken in order to ensure the test results are valid.