Category Archives: DOS

Chaos Monkey – Part 1 – Simulating a dodgy network on a local IIS

I thought I’d share this little DOS script that I’ve been using to simulate an unstable network connection on a local IIS:


:startLoop
	iisreset
	ping 1.1.1.1 -n 1 -w 10000 > nul
	GOTO startLoop
:endLoop

Not rocket science, but it does what it says on the tin. I saved it into a batch file and run that along with my app.