The Sleep Profile is a non-invasive saliva test that assesses two major causes for insomnia: imbalances in melatonin and cortisol. Melatonin is a peptide hormone produced by the pineal gland which helps to control normal sleep patterns.