Hi All,
when I tried to check the Rest request and response on esb, it gives me
following error. (in line:66).
It says "Unexpected end of file from server".
please let me know what does it mean? & what is the cause of this error?
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 153.907 sec
<<< FAILURE!
testgetUserDetailsWithMandatoryFields(org.wso2.carbon.connector.integration.test.foursquare.FoursquareConnectorIntegrationTest)
Time elapsed: 120.15 sec <<< FAILURE!
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:772)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1323)
at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at
org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.readResponse(ConnectorIntegrationTestBase.java:489)
at
org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:277)
at
org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:242)
at
org.wso2.carbon.connector.integration.test.foursquare.FoursquareConnectorIntegrationTest.testgetUserDetailsWithMandatoryFields(FoursquareConnectorIntegrationTest.java:66)
Results :
Failed tests:
testgetUserDetailsWithMandatoryFields(org.wso2.carbon.connector.integration.test.foursquare.FoursquareConnectorIntegrationTest):
Unexpected end of file from server
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev