HSG test...anyone?

My husband and I have been TTC for around 6 months. I've had a number of years with endo and since last year I've actually had some pretty large cysts rupture. Thankfully, they have ruptured on their own but as you know they're super painful and very exhausting. My ob is wonderful and told us prior to ttc that we were given 6 months to try and conceive. If we were unsuccessful then we would move forward. Well, just found out I'm up for some blood work, another ultrasound to check for more cysts and an HSG test. Just wanted to see if anyone out there has had this and if so, is it painful? Certainly appreciate any feedback!