3 ms·
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, no
by Kiro 11y ago
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).
- olivemonkey 11y agoSomething 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.
- lionet 11y ago-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 http://github.com/machinezone/mzbench or other alternatives.