benchmark tcp: ab or iperf like tool to send hex/binary/pcap data?
Posted
by olan
on Server Fault
See other posts from Server Fault
or by olan
Published on 2010-05-07T10:33:11Z
Indexed on
2010/05/07
10:39 UTC
Read the original article
Hit count: 365
Hello all,
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!
© Server Fault or respective owner