Hi. As far as i know there r different protocols followed while stress testing on treadmill like Bruce's, Astrand, Balke's etc. Treadmill is a medium to know the conditions of the heart and its response to exercise.
Hope it has helped u. Let me know if u want to know anything else.