Fortunately, thanks to technology, that's no longer true. These days, both of these STDs can now be detected via urine testing. Urine chlamydia tests and gonorrhea tests are a heck of a lot more pleasant than urethral swabs. In some places urine testing can be a bit more difficult to find. However, it's getting easier and easier every year.