HttpClient110_test.dll fails on Windows desktop. Compiled with VS2012 SP4 . Interested in Using.
TestRunner.exe HttpClient110_test.dll
Loaded HttpClient110_test.dll...
=== Running tests from: <static> ===
=== Running tests from: HttpClient110_test.dll ===
Starting test case authentication_tests:auth_no_data...
..\authentication_tests.cpp(139): error: Failure in auth_no_data: CHECK_EQUAL(0u, m_p_server->open()) where 0u=0 and m_p_server->open()=5
FAILED
..\authentication_tests.cpp(110): error: Failure in auth_no_data: CHECK_EQUAL(response.status_code(), code) where response.status_code()=404 and code=200
FAILED
All other tests passed. However I could not figure out how to run the Blackjack UI client, and its hard to use the text client because correct usage is not known. The server code kept crashing (segfault) if I put my name, and then made a bet.
Comments: Hi Nagendra17, We are unable to reproduce that failure you are seeing in one of the http client tests. Based on the error sounds like the test server in the test is having trouble opening a socket to listener for requests. The error code 5 corresponds to ERROR_ACCESS_DENIED which sounds like you don't have permissions to open something to execute on that port. The port being used by the tests is 34568, do you have something else using it? As this is the first http client test case do the others pass or fail hitting a similar problem? Thanks, Steve
TestRunner.exe HttpClient110_test.dll
Loaded HttpClient110_test.dll...
=== Running tests from: <static> ===
=== Running tests from: HttpClient110_test.dll ===
Starting test case authentication_tests:auth_no_data...
..\authentication_tests.cpp(139): error: Failure in auth_no_data: CHECK_EQUAL(0u, m_p_server->open()) where 0u=0 and m_p_server->open()=5
FAILED
..\authentication_tests.cpp(110): error: Failure in auth_no_data: CHECK_EQUAL(response.status_code(), code) where response.status_code()=404 and code=200
FAILED
All other tests passed. However I could not figure out how to run the Blackjack UI client, and its hard to use the text client because correct usage is not known. The server code kept crashing (segfault) if I put my name, and then made a bet.
Comments: Hi Nagendra17, We are unable to reproduce that failure you are seeing in one of the http client tests. Based on the error sounds like the test server in the test is having trouble opening a socket to listener for requests. The error code 5 corresponds to ERROR_ACCESS_DENIED which sounds like you don't have permissions to open something to execute on that port. The port being used by the tests is 34568, do you have something else using it? As this is the first http client test case do the others pass or fail hitting a similar problem? Thanks, Steve