Herpes simplex
Usually, herpes is diagnosed based on the symptoms. There are tests that can confirm this diagnosis.  Testing the blood for antibodies against the virus can confirm a previous infection but will be negative in new infections.