I have written a server in Twisted for a current project I'm working on, and now I need to test it. It receives TCP packets, with the payload consisting of just a serialised binary string. I want to be able to test the server for concurrency/throughput using the binary data as the payload, but can not find any tool that will allow me to do this. I tried iperf -F
but it didn't work, as I think it was sending the binary/hex data as chars. I've also looked at ab
which seems to be perfect - if only for http. As well as these, I've had a look at tcpreplay
, but it doesn't perform any testing (or establish TCP connections) so it's not much use.
Any help would be greatly appreciated as I'm rather stuck on this one!