You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The task has 2 parts: a larger one is about HTTP unit test for accurate module testing of HTTP/2 routines and the second is just about basic functional test that a HTTP/2 client can run an HTTP/2 transaction w/ Tempesta.
Current test_http_parser.c can be extended for HTTP/2 requests processing. (There are some intersections between HTTP/1.1 and HTTP/2 in headers parsing, so it seems it makes sense to keep the tests in the same file, but maybe I'm wrong and we can effectively separate the tests).
Exact minimal list for the tests is TBD, at least following must be implemented:
Huffman encoding and decoding
HPACK
Functional tests
Need to test at least that a client can establish an HTTP/2 connection with Tempesta FW, send HTTP/2 message to it and that the message is forwarded to an upstream in HTTP/1.1 and a response is normally delivered to the client in HTTP/2 format. This is requirement for #309 .
Run h2spec utility against Tempesta and evaluate return code. Increase
debug level to get h2spec detailed results.
A new directive in `tests_config.ini` under section `[Client]` may be
required since h2spec is never available through pacage manager and
need to be installed from https://github.com/summerwind/h2spec :
h2spec = /path/to/h2spec
Fixtempesta-tech/tempesta#739
Run h2spec utility against Tempesta and evaluate return code. Increase
debug level to get h2spec detailed results.
A new directive in `tests_config.ini` under section `[Client]` may be
required since h2spec is never available through pacage manager and
need to be installed from https://github.com/summerwind/h2spec :
h2spec = /path/to/h2spec
Fixtempesta-tech/tempesta#739
The task has 2 parts: a larger one is about HTTP unit test for accurate module testing of HTTP/2 routines and the second is just about basic functional test that a HTTP/2 client can run an HTTP/2 transaction w/ Tempesta.
Probably the HTTP/2 samples would also be useful.
Unit tests
Current
test_http_parser.c
can be extended for HTTP/2 requests processing. (There are some intersections between HTTP/1.1 and HTTP/2 in headers parsing, so it seems it makes sense to keep the tests in the same file, but maybe I'm wrong and we can effectively separate the tests).Exact minimal list for the tests is TBD, at least following must be implemented:
Functional tests
Need to test at least that a client can establish an HTTP/2 connection with Tempesta FW, send HTTP/2 message to it and that the message is forwarded to an upstream in HTTP/1.1 and a response is normally delivered to the client in HTTP/2 format. This is requirement for #309 .
More sophisticated functional tests must be listed in tempesta-tech/tempesta-test#88
The text was updated successfully, but these errors were encountered: