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
when i made the test,
cd Binaries ./test_runner *_test.so
Many of them passed but some of them also failed.
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:56: error: Failure in outside_cnn_dot_com: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:61: error: Failure in outside_cnn_dot_com: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
Test case outside_tests:outside_cnn_dot_com FAILED
Starting test case outside_tests:outside_google_dot_com...
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:73: error: Failure in outside_google_dot_com: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:73: error: Failure in outside_google_dot_com: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
Test case outside_tests:outside_google_dot_com FAILED
Starting test case outside_tests:multiple_https_requests...
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:87: error: Failure in multiple_https_requests: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:87: error: Failure in multiple_https_requests: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:87: error: Failure in multiple_https_requests: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:87: error: Failure in multiple_https_requests: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:87: error: Failure in multiple_https_requests: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
Test case outside_tests:multiple_https_requests FAILED
Starting test case outside_tests:reading_google_stream...
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:107: error: Failure in reading_google_stream: CHECK_EQUAL(strcmp((const char *) chars, "<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage\""), 0) where strcmp((const char *) chars, "<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage\"")=39 and 0=0
FAILED
Starting test case outside_tests:server_hostname_mismatch...
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:149: error: Failure in server_hostname_mismatch: Expected exception: "http_exception" not thrown FAILED
Test case outside_tests:server_hostname_mismatch FAILED
Starting test case authentication_tests:sni_with_older_server_test...
/home/vishnu/casablanca/Release/tests/functional/websockets/client/authentication_tests.cpp:170: error: Failure in sni_with_older_server_test: Unhandled exception: set_fail_handler: 8: TLS handshake failed FAILED
Test case authentication_tests:sni_with_older_server_test FAILED
Starting test case authentication_tests:disable_sni...
Test case authentication_tests:disable_sni PASSED
Starting test case authentication_tests:sni_explicit_hostname...
/home/vishnu/casablanca/Release/tests/functional/websockets/client/authentication_tests.cpp:202: error: Failure in sni_explicit_hostname: Unhandled exception: set_fail_handler: 8: TLS handshake failed FAILED
Test case authentication_tests:sni_explicit_hostname FAILED
Starting test case authentication_tests:self_signed_cert...
Test case authentication_tests:self_signed_cert PASSED
Starting test case authentication_tests:hostname_mismatch...
/home/vishnu/casablanca/Release/tests/functional/websockets/client/authentication_tests.cpp:228: error: Failure in hostname_mismatch: CHECK_EQUAL("TLS handshake failed", e.error_code().message()) where "TLS handshake failed"=TLS handshake failed and e.error_code().message()=Invalid HTTP status.
FAILED
Test case authentication_tests:hostname_mismatch FAILED
Hello all,
I am new to this cpprestsdk.
I followed the instructions as per https://github.com/Microsoft/cpprestsdk/wiki/How-to-build-for-Linux and I have g++, libboost, libssl installed.
when i made the test,
cd Binaries ./test_runner *_test.so
Many of them passed but some of them also failed.
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:56: error: Failure in outside_cnn_dot_com: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:61: error: Failure in outside_cnn_dot_com: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
Test case outside_tests:outside_cnn_dot_com FAILED
Starting test case outside_tests:outside_google_dot_com...
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:73: error: Failure in outside_google_dot_com: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:73: error: Failure in outside_google_dot_com: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
Test case outside_tests:outside_google_dot_com FAILED
Starting test case outside_tests:multiple_https_requests...
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:87: error: Failure in multiple_https_requests: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:87: error: Failure in multiple_https_requests: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:87: error: Failure in multiple_https_requests: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:87: error: Failure in multiple_https_requests: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:87: error: Failure in multiple_https_requests: CHECK_EQUAL(status_codes::OK, response.status_code()) where status_codes::OK=200 and response.status_code()=302
FAILED
Test case outside_tests:multiple_https_requests FAILED
Starting test case outside_tests:reading_google_stream...
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:107: error: Failure in reading_google_stream: CHECK_EQUAL(strcmp((const char *) chars, "<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage\""), 0) where strcmp((const char *) chars, "<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage\"")=39 and 0=0
FAILED
Starting test case outside_tests:server_hostname_mismatch...
/home/vishnu/casablanca/Release/tests/functional/http/client/outside_tests.cpp:149: error: Failure in server_hostname_mismatch: Expected exception: "http_exception" not thrown FAILED
Test case outside_tests:server_hostname_mismatch FAILED
Starting test case authentication_tests:sni_with_older_server_test...
/home/vishnu/casablanca/Release/tests/functional/websockets/client/authentication_tests.cpp:170: error: Failure in sni_with_older_server_test: Unhandled exception: set_fail_handler: 8: TLS handshake failed FAILED
Test case authentication_tests:sni_with_older_server_test FAILED
Starting test case authentication_tests:disable_sni...
Test case authentication_tests:disable_sni PASSED
Starting test case authentication_tests:sni_explicit_hostname...
/home/vishnu/casablanca/Release/tests/functional/websockets/client/authentication_tests.cpp:202: error: Failure in sni_explicit_hostname: Unhandled exception: set_fail_handler: 8: TLS handshake failed FAILED
Test case authentication_tests:sni_explicit_hostname FAILED
Starting test case authentication_tests:self_signed_cert...
Test case authentication_tests:self_signed_cert PASSED
Starting test case authentication_tests:hostname_mismatch...
/home/vishnu/casablanca/Release/tests/functional/websockets/client/authentication_tests.cpp:228: error: Failure in hostname_mismatch: CHECK_EQUAL("TLS handshake failed", e.error_code().message()) where "TLS handshake failed"=TLS handshake failed and e.error_code().message()=Invalid HTTP status.
FAILED
Test case authentication_tests:hostname_mismatch FAILED
`**** outside_tests:outside_cnn_dot_com FAILED ****
**** outside_tests:outside_google_dot_com FAILED ****
**** outside_tests:multiple_https_requests FAILED ****
**** outside_tests:reading_google_stream FAILED ****
**** outside_tests:server_hostname_mismatch FAILED ****
**** authentication_tests:sni_with_older_server_test FAILED ****
**** authentication_tests:sni_explicit_hostname FAILED ****
**** authentication_tests:hostname_mismatch FAILED ****
Finished running all 778 tests.
Took 31419.3ms
`
Any guidelines ? how can i fix this?. Any suggestions would be very helpful for me.
Thanks and regards,
Vishnu
The text was updated successfully, but these errors were encountered: