Great idea, some people have already implemented it for the same type of need, it would seem (see the list of user agents in the source code). Implementation seems simple.
https://github.com/0x48piraj/gz-bomb/blob/master/gz-bomb-ser...
https://github.com/0x48piraj/gz-bomb/blob/master/gz-bomb-ser...