Tympanometry is a diagnostic test that evaluates the functioning of the middle ear. It measures the movement of the tympanic membrane (eardrum) in response to changes in air pressure. This test is critical in identifying issues such as fluid in the middle ear, ear infections, eardrum perforations, and Eustachian tube dysfunction.