]> granicus.if.org Git - esp-idf/commit
http_server : Fix and enable example tests
authorAnurag Kar <anurag.kar@espressif.com>
Fri, 10 Aug 2018 18:28:38 +0000 (23:58 +0530)
committerAnurag Kar <anurag.kar@espressif.com>
Wed, 29 Aug 2018 21:31:59 +0000 (03:01 +0530)
commite2da1d9905766714c3c2ba2ca774a894aa0b720d
tree06c88fa674c9216f6250ee2e4fa4fb41c84d110b
parentba17648aea19e3e20f79afe43e987a078a79f4d4
http_server : Fix and enable example tests
This introduces the following changes in the example test scripts :
* Dependency on python requests library removed in favor of httplib
* Bug fixed in the logic responsible for receiving and processing http chunked responses
* Default timeouts increased Note : Due to connectivity issues (between runner host and DUT) in the runner environment, some of the advanced_tests are being ignored. These tests are intended for verifying the expected limits of the http_server capabilities, and implement sending and receiving of large HTTP packets and malformed requests, running multiple parallel sessions, etc. It is advised that all these tests be run locally, when making changes or adding new features to this component.
examples/protocols/http_server/advanced_tests/http_server_advanced_test.py
examples/protocols/http_server/advanced_tests/main/tests.c
examples/protocols/http_server/advanced_tests/scripts/test.py
examples/protocols/http_server/persistent_sockets/http_server_persistence_test.py
examples/protocols/http_server/simple/http_server_simple_test.py
examples/protocols/http_server/simple/scripts/client.py