An exercise test on the treadmill is a way to test the effect of exercise on your heart and your ability to breathe.