Add the new experimental option --tcp to use low-level TCP sockets, using the net library instead of http. Much faster, but some options not implemented. See full write-up in doc/tcp-sockets.md.
Also in this PR:
Add options --port, --body and --file to test server.
Document Result object properly.
startServer() now returns a server object, instead of an HTTP server.
Create a Pool responsible for maintaining the required clients.
Default timeout of 10 seconds for loadtest, instead of running indefinitely.
Add the new experimental option
--tcp
to use low-level TCP sockets, using thenet
library instead ofhttp
. Much faster, but some options not implemented. See full write-up indoc/tcp-sockets.md
.Also in this PR:
--port
,--body
and--file
to test server.Result
object properly.startServer()
now returns a server object, instead of an HTTP server.Pool
responsible for maintaining the required clients.loadtest
, instead of running indefinitely.To be released as v8.0.0.