No, you do not have to fast before this test, like other diabetes tests. The test is mainly done to measure the blood sugar level in your body. This indicates the amount of blood sugar in your body over the past few months