In a spirometry test, a person breathes into mouthpiece that is connected to an instrument called a spirometer. The spirometer records the amount and the rate of air that is breathed in and out over a specified time. Some of the test measurements are obtained by normal, quiet breathing, and other tests require forced inhalation or exhalation after a deep breath.