Run the gauntlet

To face a hard test or painful experience.

I had to run the gauntlet of many interviews before I got the job.