wbench, Dedicated to stress testing that supports ws services.
To build wbench from source [github]:
$ git clone git@github.com:wettper/wbench.git
$ cd wbench
$ ./configure
$ make
$ sudo make install
A quick checklist:
- Use newer version of gcc (older version of gcc has problems)
- Support websocket stress test.
Usage: wbench <options> <url>
Options:
-c, --connection <N> Connections to keep open
-t, --threads <N> Number of threads to use
-d, --data <H> Add data to request
-f, --file <H> Add a request data file, number
of data lines < 512
-s, --script <H> Add a script to run the bench
The priority order of passing test data
parameters is: --data < --file < --script
-T, --timeout <T> Socket/request timeout
-v, --version Print version details
Numeric arguments may include a SI unit (1k, 1M, 1G)
Time arguments may include a time unit (2s, 2m, 2h)
Have a bug or a question? Please create an issue here on GitHub!
https://github.com/wettper/wbench/issues
- wettper (@wettper)
Thank you to all of our contributors!
Copyright 2017 wettper.
Licensed under the GNU General Public License v3.0