A D-dimer test is a blood test that measures D-dimer, which is a protein fragment produced by your body when a blood clot dissolves in your body. D-dimer is normally undetectable or only detectable at very low levels unless your body is forming and breaking down significant blood clots.