Heart disease or any other acute condition affecting the heart (heart attack, chest pain, high blood pressure, lung disease, blockage of the major arteries of the heart, heart failure) is an absolute contraindication for a treadmill test. The heart's primary function is assessed through a resting electrocardiogram (REC) in individuals diagnosed with those conditions.