Re:TcpKali – Fast multi-core TCP and WebSockets load generator
by Kiro on Friday March 11, 2016 @08:37AM
(#11266496)
Is there a way to specify a sequence of messages every connection should send? Preferably even let it randomize it (want to load test a game with real input, not just set up the connection).
[ Parent
| on HN ]
Re:TcpKali – Fast multi-core TCP and WebSockets load generator
by lionet on Saturday March 12, 2016 @02:38PM
(#11274172)
-m 'foo' -m 'bar' is one way.
--message-file <filename1> --message-file <filename2> is another way.
You can randomize input somewhat by using \{connection.id % 100} expressions right in the -m and within the files.
But yes, tcpkali can do simple randomizations, but does not support full-blown scripting. For that, consider using http://github.com/machinezone/mzbench or other alternatives.
Re:TcpKali – Fast multi-core TCP and WebSockets load generator
by olivemonkey on Friday March 11, 2016 @12:12PM
(#11267883)
Something like Gattling or Artillery.io would probably be better for this use case. TcpKali looks good but purposed more for benchmarking servers than actual apps.