Depends on site
A swab of the oral cavity
, urethra, vagina, or anal canal are all sites that can be used to test for herpes
, although a blood test can also see if you already have antibodies.
The blood test is not as good at determining if you have a current infection, as if you have been exposed --although it also depends on the test performed.