To diagnose Cushing's syndrome, tests are needed to look at your cortisol levels. Urine and blood samples can be tested to measure cortisol in the body. For the urine test, you may need to collect urine over a 24-hour period.