The test may be requested when someone with diabetes has symptoms of ketoacidosis, such as nausea, vomiting, abdominal pain, fruity breath odor, confusion, or difficulty breathing. It may also be done if someone with diabetes is experiencing symptoms of hypoglycemia but their blood glucose level is not low.