A stress test measures how well your heart works when put under stress. It is ordered to assess exercise tolerance, see if your heart can respond to demands, or test if heart medications are working.