gopayloader icon indicating copy to clipboard operation
gopayloader copied to clipboard

Max concurrent HTTP/2 streams to issue per connection

Open azri-azhar opened this issue 2 years ago • 2 comments

Hello, is there a way to set the max number of concurrent HTTP/2 streams to issue per connection?

azri-azhar avatar Apr 27 '23 15:04 azri-azhar

Hi,

The requests are divided by the number of connections i.e.

./gopayloader run https://localhost:8081 -c 2 -r 4 --client fasthttp-2 --skip-verify

will send 2 requests on each connection. Although if you're asking about streams, it currently doesn't support reading from a response stream, and simply closes the response body and moves onto the next request. The main function of this tool is to derive a max RPS value, so moves onto the next req ASAP.

Can potentially look at streaming options if there's enough demand for it.

Cheers

domsolutions avatar Apr 27 '23 16:04 domsolutions