The test is typically requested by a healthcare provider if a patient presents with symptoms of porphyria, such as abdominal pain, nausea, vomiting, and constipation. The test may also be ordered if a patient has a family history of porphyria or if a healthcare provider suspects that a patient has been exposed to a toxin that can cause porphyria.