This test is requested when there are symptoms of diabetes or when there are risk factors for diabetes, such as obesity, family history of diabetes, or high blood pressure. It may also be ordered for pregnant women to screen for gestational diabetes.