To determine if you have gonorrhea, your doctor will do oral gonorrhea test and a sample of cells will be collected. Samples can be collected by: Urine test. This can help identify bacteria in your urethra. Clean the affected area. A cotton swab from your throat, urethra, vagina, or rectum can collect bacteria that can be identified in a laboratory.