A stress test is a way to test how well your heart is working. If you have symptoms like chest pain or shortness of breath, your healthcare provider might have you take this test.