Many of you may have run into this predicament where you want to stress test your server. I ran into a similar situation when I wanted to test out asynchronous chunk loading yet lacked the player count to do so. Luckily I had coded a python minecraft client a while ago and it was just a couple of simple changes to turn it into a utility program to spawn a couple of bots that move around randomly.
The code is available here:
https://github.com/ammaraskar/pyCraft/tree/bots...
Stress Testing Servers
The code is available here:
https://github.com/ammaraskar/pyCraft/tree/bots...
Stress Testing Servers