A cortisol test may help to indicate problems with the adrenal glands. It is your body's main stress hormone