If you're experiencing dizziness, shortness of breath, chest discomfort, or palpitations your doctor may suggest that you have an electrocardiogram. This cardiovascular test, abbreviated as EKG or ECG, is a non-invasive test typically performed in your doctor’s office and measures the electrical activity of the heartbeat.