A serotonin test is a laboratory test that measures the amount of serotonin in the blood. Serotonin is a chemical that helps regulate mood, appetite, and sleep. The test is performed by drawing a blood sample from a vein in the arm and sending the sample to a laboratory for analysis. The results of the test can help diagnose conditions such as depression, anxiety, and certain types of tumors.