A cortisol test is a simple test, of your blood, urine, or saliva, that measures the levels of cortisol in your body. It’s performed when your doctor suspects that something may be wrong with your adrenal glands, and is the first step toward creating an effective recovery plan.