Electrocardiographic stress test EKG is the basic, diagnostic test in the heart failure, it is also used for patients with implanted pacemaker.