Any ideas what to expect on a stress test? It's a 4 hour test and the only thing I've heard is something about a treadmill.

I'm really out of shape - so I'm thinking if they're trying to stress my heart out, I could knock the test down to 5 minutes. What do they do on these tests?