Mycoplasma testing is a type of lab test that can be used to detect the presence of Mycoplasma bacteria in the body. Mycoplasma is a common cause of respiratory tract infections, and can also cause other types of infections. Testing for Mycoplasma infection may help determine if you have an illness, and may also help identify potential treatments.