These tests are not painful. They are performed by a pulmonary function technician, who will require you to use maximal effort to blow out and breathe in air. The tests are repeated several times to make sure the results are accurate.