The lymphocyte subsetting test is performed on a blood sample. Specialized laboratory techniques are used to identify and quantify the different lymphocyte populations present in the sample.