Load testing tool for SSMP servers.
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CONTRIBUTORS
LICENSE
README.md
ssmperf.go

README.md

ssmperf

ssmperf is a basic load testing tool for servers implementing the Stupid-Simple Messaging Protocol.

License

BSD 3-clause, see accompanying LICENSE file.

Dependencies

Required:

Usage

./ssmperf <address> [flags]
  -cacert=""        path to CA cert
  -cert=""          path to client cert
  -conn=100         number of client connections
  -count=10000      number of messages sent per connection
  -cpuprofile=""    write cpu profile to file
  -insecure=false   disable TLS
  -key=""           path to client key
  -memprofile=""    write memory profile to this file
  -secret=""        shared secret to use for auth, default to open login if empty
  -size=100         payload size in bytes [16, 980]
  -sub=10           number of subscribers per topic
  -type="UCAST"     message type (UCAST, MCAST, or BCAST)
  -writebuf=1024    write buffer size in bytes

TODO

  • support MCAST
  • support BCAST