Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
143 0 0 1 99.301% 4.198

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.http.impl.nio.conn 25 0 0 0 100% 0.197
org.apache.http.nio.client.integration 109 0 0 1 99.083% 3.216
org.apache.http.nio.client.methods 9 0 0 0 100% 0.785

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.http.impl.nio.conn

Class Tests Errors Failures Skipped Success Rate Time
TestPoolingHttpClientAsyncConnectionManager 25 0 0 0 100% 0.197

org.apache.http.nio.client.integration

Class Tests Errors Failures Skipped Success Rate Time
TestHttpAsyncMinimal 8 0 0 0 100% 0.595
TestHttpAsyncPrematureTermination 5 0 0 1 80% 0.12
TestClientAuthentication 22 0 0 0 100% 0.929
TestClientReauthentication 1 0 0 0 100% 0.043
TestClientAuthenticationFallBack 1 0 0 0 100% 0.008
TestRedirects 48 0 0 0 100% 0.888
TestStatefulConnManagement 2 0 0 0 100% 0.056
TestHttpAsync 18 0 0 0 100% 0.577
TestHttpAsyncPipelining 4 0 0 0 100% 0

org.apache.http.nio.client.methods

Class Tests Errors Failures Skipped Success Rate Time
TestAsyncConsumers 7 0 0 0 100% 0.289
TestZeroCopy 2 0 0 0 100% 0.496

Test Cases

[Summary] [Package List] [Test Cases]

TestAsyncConsumers

testResourceReleaseOnException 0.195
testCharConsumerSmallBufffer 0.015
testByteConsumer 0.027
testByteConsumerSmallBufffer 0.021
testCharConsumer 0.014
testResourceReleaseOnSuccess 0.009
testResourceReleaseOnBuildFailure 0.008

TestHttpAsyncMinimal

testMultiplePostsOverSingleConnection[http] 0.048
testSingleGet[http] 0.005
testMultiplePostsOverMultipleConnections[http] 0.042
testSinglePost[http] 0.004
testMultiplePostsOverSingleConnection[https] 0.059
testSingleGet[https] 0.047
testMultiplePostsOverMultipleConnections[https] 0.359
testSinglePost[https] 0.031

TestZeroCopy

testTwoWayZeroCopy 0.479
testZeroCopyFallback 0.017

TestHttpAsyncPrematureTermination

testConnectionTerminatedSendingResponse 0.095
testConnectionTerminatedHandlingRequest 0.006
testConnectionTerminatedProcessingRequest 0.011
testConnectionRequestFailure 0
Fails on some Windows platforms
testConsumerIsDone 0.008

TestClientAuthentication

testAuthenticationUserinfoInRedirectSuccess[http] 0.037
testBasicAuthenticationNoCreds[http] 0.006
testBasicAuthenticationCredentialsCaching[http] 0.015
testBasicAuthenticationSuccess[http] 0.007
testBasicAuthenticationFailureWithNonRepeatableEntityExpectContinueOff[http] 0.007
testAuthenticationUserinfoInRequestSuccess[http] 0.011
testBasicAuthenticationSuccessNonPersistentConnection[http] 0.009
testBasicAuthenticationFailure[http] 0.013
testAuthenticationUserinfoInRequestFailure[http] 0.007
testBasicAuthenticationSuccessWithNonRepeatableExpectContinue[http] 0.007
testBasicAuthenticationSuccessOnRepeatablePost[http] 0.006
testAuthenticationUserinfoInRedirectSuccess[https] 0.394
testBasicAuthenticationNoCreds[https] 0.039
testBasicAuthenticationCredentialsCaching[https] 0.064
testBasicAuthenticationSuccess[https] 0.056
testBasicAuthenticationFailureWithNonRepeatableEntityExpectContinueOff[https] 0.039
testAuthenticationUserinfoInRequestSuccess[https] 0.035
testBasicAuthenticationSuccessNonPersistentConnection[https] 0.042
testBasicAuthenticationFailure[https] 0.035
testAuthenticationUserinfoInRequestFailure[https] 0.033
testBasicAuthenticationSuccessWithNonRepeatableExpectContinue[https] 0.035
testBasicAuthenticationSuccessOnRepeatablePost[https] 0.032

TestClientReauthentication

testBasicAuthenticationSuccess 0.043

TestPoolingHttpClientAsyncConnectionManager

testConnectionUpgradeUnknownScheme 0.098
testInternalConnFactoryCreateGlobalDefaultConfig 0.004
testDelegationToCPool 0.009
testInternalConnFactoryCreateViaProxy 0.005
testConnectionInitializeUnknownScheme 0.004
testConnectionInitializeHttps 0.005
testRequestConnectionFutureCancelled 0.005
testShutdownMs 0.003
testResolveRemoteAddress 0.004
testInternalConnFactoryCreate 0.004
testInternalConnFactoryCreateDirect 0.003
testConnectionRouteComplete 0.003
testRequestConnectionCancelled 0.004
testShutdown 0.004
testConnectionUpgrade 0.005
testConnectionInitializeContextSpecific 0.004
testRequestReleaseConnection 0.005
testResolveRemoteAddressViaProxy 0.003
testInternalConnFactoryCreateDefaultConfig 0.004
testResolveLocalAddress 0.002
testConnectionUpgradeIllegalScheme 0.004
testResolveLocalAddressNull 0.003
testConnectionInitialize 0.003
testReleaseConnectionIncompleteRoute 0.005
testRequestConnectionFailed 0.004

TestClientAuthenticationFallBack

testBasicAuthenticationSuccess 0.008

TestRedirects

testRepeatRequestRedirect[http] 0.013
testDefaultHeadersRedirect[http] 0.01
testBasicRedirect302NoLocation[http] 0.004
testMaxRedirectCheck[http] 0.017
testRelativeRedirect[http] 0.013
testPostRedirectSeeOther[http] 0.004
testPostRedirectWithDifferentHost[http] 0.008
testRejectBogusRedirectLocation[http] 0.004
testRedirectWithCookie[http] 0.01
testRejectInvalidRedirectLocation[http] 0.004
testRelativeRedirect2[http] 0.014
testRepeatRequest[http] 0.004
testDifferentRequestSameRedirect[http] 0.007
testBasicRedirect300[http] 0.004
testBasicRedirect301[http] 0.007
testBasicRedirect302[http] 0.011
testBasicRedirect303[http] 0.014
testBasicRedirect304[http] 0.004
testBasicRedirect305[http] 0.004
testBasicRedirect307[http] 0.005
testCrossSiteRedirect[http] 0.008
testRejectRelativeRedirect[http] 0.003
testCircularRedirect[http] 0.005
testPostNoRedirect[http] 0.004
testRepeatRequestRedirect[https] 0.031
testDefaultHeadersRedirect[https] 0.029
testBasicRedirect302NoLocation[https] 0.022
testMaxRedirectCheck[https] 0.028
testRelativeRedirect[https] 0.023
testPostRedirectSeeOther[https] 0.028
testPostRedirectWithDifferentHost[https] 0.04
testRejectBogusRedirectLocation[https] 0.021
testRedirectWithCookie[https] 0.028
testRejectInvalidRedirectLocation[https] 0.02
testRelativeRedirect2[https] 0.023
testRepeatRequest[https] 0.027
testDifferentRequestSameRedirect[https] 0.026
testBasicRedirect300[https] 0.021
testBasicRedirect301[https] 0.037
testBasicRedirect302[https] 0.03
testBasicRedirect303[https] 0.027
testBasicRedirect304[https] 0.021
testBasicRedirect305[https] 0.021
testBasicRedirect307[https] 0.03
testCrossSiteRedirect[https] 0.098
testRejectRelativeRedirect[https] 0.022
testCircularRedirect[https] 0.033
testPostNoRedirect[https] 0.021

TestStatefulConnManagement

testRouteSpecificPoolRecylcing 0
testStatefulConnections 0.056

TestHttpAsync

testHttpAsyncMethods[http] 0.012
testMultiplePostsOverSingleConnection[http] 0.032
testSingleGet[http] 0.004
testMultiplePostsOverMultipleConnections[http] 0.037
testRequestFailure[http] 0.004
testSinglePost[http] 0.004
testMultipleHead[http] 0.007
testSharedPool[http] 0.006
testClientCloseloseQuietly[http] 0.004
testHttpAsyncMethods[https] 0.03
testMultiplePostsOverSingleConnection[https] 0.055
testSingleGet[https] 0.025
testMultiplePostsOverMultipleConnections[https] 0.243
testRequestFailure[https] 0.022
testSinglePost[https] 0.022
testMultipleHead[https] 0.025
testSharedPool[https] 0.023
testClientCloseloseQuietly[https] 0.022

TestHttpAsyncPipelining

testPipelinedGets[http] 0
testPipelinedPostsAndGets[http] 0
testPipelinedGets[https] 0
testPipelinedPostsAndGets[https] 0

Failure Details

[Summary] [Package List] [Test Cases]


testConnectionRequestFailure
skipped: Fails on some Windows platforms