There are laboratory tests to diagnose chlamydia. Some can be performed on urine; other tests require that a sample be collected from a site, such as the penis or cervix.