Chlamydia is tested and diagnosed using a swab or urine sample. [popover id=ref4] This can be done in a diagnostic lab or hospital. Men are usually asked to provide a urine sample only, while women will often be asked for either a urine sample or a vaginal swab.