I’m going back years, but IIRC, the definitive test was a 24 hour urine test. I had central nervous system symptoms, and heat sensitivity, and I can’t remember why they thought it might be porphyria.
Urine test was sent collected during acute phase