TPMT activity can be measured using a blood test. Genetic testing can also be conducted to identify TPMT gene variants that are associated with reduced enzyme activity. These tests help in predicting a patient’s risk of adverse reactions to thiopurine drugs, allowing for personalized treatment plans.