Test 2 routers using traffic generator, is possible?

Hi, I couldnt find manual how to test bandwitch using traffic generator betwen two routers..is that possible? can anybody in short write me how? thanks