myoglobin test, a blood test that detects levels of myoglobin, an oxygen-binding protein found in cardiac and skeletal muscle. Measurement of myoglobin is an index of damage to the myocardium in myocardial infarction or reinfarction, and also an indicator of disease or trauma of the skeletal muscle.