Type 2 diabetes is diagnosed by measuring blood glucose levels. If your healthcare provider suspects you have diabetes, the first step is usually an in-office finger stick for a test called a random blood glucose level, followed by other blood tests to check your fasting glucose levels and A1c.