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

error_log with multiple requests

Open maage opened this issue 11 years ago • 1 comments

This does not work --- request eval ["GET /1" # outputs in_1 to error_log ,"GET /2" # outputs in_2 to error_log ] --- error_log eval # checks both with every request ["in_1" ,"in_2 ]

How to use error_log and multiple requests? Problem is that error_log eval uses multiple patterns and you can not distinguish them from multiple requests.

maage avatar Apr 11 '14 17:04 maage

@maage Right, it does not work with multiple requests. Better just accumulate the error logs and check them in a single run. See the check_accum_error_log function. Also just use the subrequests for multiple requests.

agentzh avatar Apr 11 '14 19:04 agentzh