a urine test. A sample of your urine analyzed in the laboratory may indicate the presence of this infection.
A swab. For women, your doctor takes a swab of the discharge from your cervix for culture or antigen
testing for chlamydia
. This can be done during a routine pap