The Nicotine and Metabolite Urine Test, Quantitative, Random, checks how much nicotine and cotinine (a substance made when your body breaks down nicotine) are in your urine to see if you’ve used tobacco or been around secondhand smoke.