This test determines the level of cortisol in your blood. Cortisol is a steroid hormone that is released during stress by the adrenal glands. The Cortisol test could expose problems with the pituitary and adrenal gland.