What is the name of a sport event, mainly running, which test participants' agility. There will be a lot of things for participants to go through, like the things in dog agility competition?
an athletic contest consisting of three different events, typically swimming, cycling, and long-distance running.
an athletic event comprising five different events for each competitor, in particular (also modern pentathlon) a men's event involving fencing, shooting, swimming, riding, and cross-country running.
You might be thinking of an 'obstacle course'.