The test is done with a blood sample. A needle is used to draw blood from a vein in your arm or hand.