A stress test on a treadmill helps doctors determine what kind of condition your heart is in by monitoring your heartbeat during different levels of exertion. This exercise “stress test” allows them to detect abnormal heart rhythms and give you an idea of what physical limitations, if any, are realistic for your lifestyle.