Hsg question

JD • 1 child, TTC #2

My dr thinks I have endometriosis but wants to do a hsg dye test first. Has anyone experienced this? Can you tell me if it is uncomfortable or painful?