A cardiac stress test (or cardiac diagnostic test) is a cardiological test that measures a heart's ability to respond to external stress in a controlled clinical environment. The stress response is induced by exercise or by drug stimulation.