A resting electrocardiogram (ECG) is a frequent test that measures the electrical activity of your heart. It's performed when you are sitting or lying still. During the test, small electrodes get attached your chest, arms, and legs. These electrodes send signals to a machine that shows a visual recording of your heart's rhythm. A resting ECG can