test-nginx icon indicating copy to clipboard operation
test-nginx copied to clipboard

feature: Add support for array of requests with delays to pipelined_requests

Open gabihodoroaga opened this issue 3 years ago • 0 comments

Hi,

I need to be able to add a delay between pipelined requests and currently this is not supported

--- pipelined_requests eval 
["GET /t/1", "GET /t/2", [{value => "GET /t/3", delay_before =>3}]]

will generate a malformed http request

127.0.0.1 - - [03/May/2021:15:10:51 +0200] "GET /t/1 HTTP/1.1" 200 2 "-" "-"
127.0.0.1 - - [03/May/2021:15:10:51 +0200] "GET /t/2 HTTP/1.1" 200 2 "-" "-"
127.0.0.1 - - [03/May/2021:15:10:51 +0200] "ARRAY(0x7fdebfc7d1e8) / HTTP/1.1" 400 157 "-" "-"

gabihodoroaga avatar May 03 '21 13:05 gabihodoroaga