A laboratory test that includes culturing a sample of urethral discharge to identify the bacteria or fungi causing infection, and testing their sensitivity to antibiotics.