The potassium test measures blood potassium levels, which helps evaluate kidney and heart function. Imbalances in the level can affect heart rhythm, leading to cardiac arrhythmias and causing muscle weakness or paralysis. Health care providers usually recommend this test for individuals with diabetes or high blood pressure.