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<span>. This can be done during a routine Pap test.</span>