Have you had an HSG Test?

Ellie
It's been a year since we've been trying, and my doc ordered a HSG test (http://www.m.webmd.com/a-to-z-guides/hysterosalpingogram-21590). I was wondering if you had one before a blood hormone test and what came of it. 
Which came first? 
Was it worth it?
Was it painful? 
Should I get a hormone test first?