What sample is required for diagnosing diabetes?

In most of the tests for diabetes, blood sample is taken. Mainly, plasma of your blood is considered to diagnose diabetes. In urine test for diabetes, sample of urine is taken.