Mailing List Archive

test logging
FYI: pytest now logs test case names in the server log. This makes it
easier to find the context in which unexpected errors are logged on the server
side. So, you'll see in error.log lines as:

[Time] [aptest:info] [pid xxxx] [client 127.0.0.1:50063] test[test_h2_600_01]: GET / HTTP/1.1
...


Cheers,
Stefan

Background:
- a new mod_aptest is loaded into the server that inspects all read requests
for the incoming header 'AP-Test-Name' and info logs it, if found, together
with the request line
- all pytest tests invoking curl or nghttp send the header with the current test
name. This works nicely with using pytest fixtures without you having to add
anything in your test code.