Diagnosis typically involves laboratory tests such as blood cultures, urine cultures, and stool samples. These tests help identify the specific pathogen causing the infection. In some cases, molecular techniques like PCR (polymerase chain reaction) may be used for more rapid identification.