Hi Krishantha, As you said, I found an error when tried it manually. It was a parameter error. And now I solved it.
Thanks & Regards, Amaaniy M. On Wed, Jul 2, 2014 at 5:30 PM, Krishantha Samaraweera <[email protected]> wrote: > Hi Ammaniy, > > What was the result once you run the same scenario manually? > > Thanks, > Krishantha. > > > On Wed, Jul 2, 2014 at 1:56 PM, Amaaniy Muhammad <[email protected]> > wrote: > >> 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 >> >> > > > -- > Krishantha Samaraweera > Senior Technical Lead - Test Automation > Mobile: +94 77 7759918 > WSO2, Inc.; http://wso2.com/ > lean . enterprise . middlewear. >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
