If your doctor suspects you may have blockages in the coronary arteries that supply blood to your heart or other heart problems, you may be scheduled for a stress test. This test, sometimes called an exercise stress test, measures how well your heart functions when it has to work harder.