A glutamine test is used to measure the level of glutamine in the blood or urine. Glutamine is an important amino acid in the body, involved in many physiological functions such as protein synthesis, maintaining acid-base balance, and supporting the immune system.