Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
357 0 0 2 99.44% 49.752

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.hc.client5.testing.fluent 9 0 0 0 100% 0.09
org.apache.hc.client5.testing.async 208 0 0 0 100% 42.601
org.apache.hc.client5.testing.sync 140 0 0 2 98.571% 7.061

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

org.apache.hc.client5.testing.fluent

Class Tests Errors Failures Skipped Success Rate Time
TestFluent 9 0 0 0 100% 0.09

org.apache.hc.client5.testing.async

Class Tests Errors Failures Skipped Success Rate Time
HttpMinimalIntegrationTests$Http1 7 0 0 0 100% 0.04
HttpIntegrationTests$H2 6 0 0 0 100% 0.037
ReactiveMinimalIntegrationTests$Http1Tls 7 0 0 0 100% 0.409
ReactiveIntegrationTests 0 0 0 0 0% 2.827
HttpIntegrationTests$Http1 11 0 0 0 100% 0.085
ReactiveMinimalIntegrationTests$H2 6 0 0 0 100% 0.719
TestHttpAsyncMinimalTlsHandshake 2 0 0 0 100% 0.067
HttpIntegrationTests$RedirectsH2Tls 18 0 0 0 100% 1.356
HttpIntegrationTests$RedirectsH2 18 0 0 0 100% 0.109
HttpMinimalIntegrationTests 0 0 0 0 0% 0.296
HttpIntegrationTests$RedirectsHttp1Tls 21 0 0 0 100% 0.466
HttpIntegrationTests$Http1RequestReExecutionTls 2 0 0 0 100% 4.087
ReactiveIntegrationTests$Http1 10 0 0 0 100% 0.243
ReactiveIntegrationTests$Http1Tls 10 0 0 0 100% 0.507
ReactiveMinimalIntegrationTests 0 0 0 0 0% 2.325
HttpIntegrationTests$Http1ProtocolPolicyTls 1 0 0 0 100% 0.016
HttpIntegrationTests$Http1Tls 11 0 0 0 100% 5.273
HttpIntegrationTests$RedirectsHttp1 21 0 0 0 100% 0.088
ReactiveMinimalIntegrationTests$Http1 7 0 0 0 100% 0.221
HttpMinimalIntegrationTests$H2 6 0 0 0 100% 0.026
HttpIntegrationTests$Http1ProtocolPolicy 1 0 0 0 100% 0.004
HttpIntegrationTests$H2ProtocolPolicyTls 1 0 0 0 100% 0.019
ReactiveIntegrationTests$H2Tls 6 0 0 0 100% 1.309
HttpIntegrationTests 0 0 0 0 0% 15.728
HttpIntegrationTests$H2Tls 6 0 0 0 100% 0.126
HttpIntegrationTests$Http1RequestReExecution 2 0 0 0 100% 4.027
TestHttp1AsyncStatefulConnManagement 2 0 0 0 100% 0.223
HttpMinimalIntegrationTests$H2Tls 6 0 0 0 100% 0.095
ReactiveIntegrationTests$H2 6 0 0 0 100% 0.764
HttpMinimalIntegrationTests$Http1Tls 7 0 0 0 100% 0.132
ReactiveMinimalIntegrationTests$H2Tls 6 0 0 0 100% 0.973
HttpIntegrationTests$H2ProtocolPolicy 1 0 0 0 100% 0.004

org.apache.hc.client5.testing.sync

Class Tests Errors Failures Skipped Success Rate Time
HttpIntegrationTests$ContentCoding 9 0 0 0 100% 0.016
HttpMinimalIntegrationTests$RequestExecution 2 0 0 0 100% 0.004
TestMalformedServerResponse 1 0 0 0 100% 0.003
TestIdleConnectionEviction 1 0 0 0 100% 2.18
HttpMinimalIntegrationTests 0 0 0 0 0% 0.024
HttpIntegrationTests$RequestExecution 6 0 0 1 83.333% 0.01
TestConnectionReuse 5 0 0 0 100% 1.662
HttpIntegrationTests$Authentication 18 0 0 0 100% 0.073
HttpIntegrationTests$RedirectsTls 19 0 0 0 100% 0.189
TestHttpClientBuilderInterceptors 1 0 0 0 100% 0.003
HttpIntegrationTests 0 0 0 0 0% 0.929
TestCookieVirtualHost 1 0 0 0 100% 0.004
TestFutureRequestExecutionService 5 0 0 0 100% 0.034
HttpIntegrationTests$ContentCodingTls 9 0 0 0 100% 0.111
TestBasicConnectionManager 2 0 0 0 100% 0.018
HttpMinimalIntegrationTests$RequestExecutionTls 2 0 0 0 100% 0.02
HttpIntegrationTests$Redirects 19 0 0 0 100% 0.035
TestStatefulConnManagement 2 0 0 0 100% 0.218
TestDefaultClientTlsStrategy 10 0 0 0 100% 0.541
HttpIntegrationTests$AuthenticationTls 18 0 0 0 100% 0.441
HttpIntegrationTests$RequestExecutionTls 6 0 0 1 83.333% 0.05
TestConnectionManagement 4 0 0 0 100% 0.496

Test Cases

[Summary] [Package List] [Test Cases]

HttpIntegrationTests$ContentCoding

testResponseWithNoContent 0.001
gzipResponsesWorkWithBasicResponseHandler 0.001
testDeflateSupportForServerReturningRfc1950Stream 0.001
testHttpEntityWriteToForGzip 0.002
deflateResponsesWorkWithBasicResponseHandler 0.001
testDeflateSupportForServerReturningRfc1951Stream 0.002
testThreadSafetyOfContentCodings 0.002
testGzipSupport 0.001
testHttpEntityWriteToForDeflate 0.002

HttpMinimalIntegrationTests$Http1

testRequestExecutionFromCallback 0.017
testBadRequest 0.003
testSequentialPostRequests 0.003
testConcurrentPostRequests 0.005
testSequentialGetRequests 0.003
testSequentialHeadRequests 0.002
testConcurrentPostRequestsSameEndpoint 0.005

HttpIntegrationTests$H2

testRequestExecutionFromCallback 0.01
testBadRequest 0.003
testSequentialPostRequests 0.004
testConcurrentPostRequests 0.01
testSequentialGetRequests 0.004
testSequentialHeadRequests 0.004

HttpMinimalIntegrationTests$RequestExecution

testNonCompliantURIWithContext 0.002
testNonCompliantURIWithoutContext 0.002

ReactiveMinimalIntegrationTests$Http1Tls

testRequestExecutionFromCallback 0.023
testBadRequest 0.011
testSequentialPostRequests 0.012
testConcurrentPostRequests 0.319
testSequentialGetRequests 0.014
testSequentialHeadRequests 0.013
testConcurrentPostRequestsSameEndpoint 0.014

HttpIntegrationTests$Http1

testRequestExecutionFromCallback 0.017
testBadRequest 0.003
testSequentialPostRequests 0.004
testConcurrentPostRequests 0.006
testSequentialGetRequests 0.004
testSequentialHeadRequests 0.004
testSequentialGetRequestsCloseConnection(int)[1] 0.006
testSequentialGetRequestsCloseConnection(int)[2] 0.005
testSequentialGetRequestsCloseConnection(int)[3] 0.006
testRequestCancellation 0.019
testSharedPool 0.005

TestMalformedServerResponse

testNoContentResponseWithGarbage 0.002

ReactiveMinimalIntegrationTests$H2

testRequestExecutionFromCallback 0.009
testBadRequest 0.002
testSequentialPostRequests 0.003
testConcurrentPostRequests 0.698
testSequentialGetRequests 0.003
testSequentialHeadRequests 0.003

TestHttpAsyncMinimalTlsHandshake

testSuccessfulTlsHandshake 0.017
testTlsHandshakeFailure 0.05

HttpIntegrationTests$RedirectsH2Tls

testBasicRedirect302NoLocation 0.492
testMaxRedirectCheck 0.061
testRelativeRedirect 0.036
testPostRedirectSeeOther 0.034
testRejectBogusRedirectLocation 0.032
testRedirectWithCookie 0.034
testPostRedirect 0.036
testRejectInvalidRedirectLocation 0.029
testRelativeRedirect2 0.027
testBasicRedirect300 0.022
testBasicRedirect301 0.022
testBasicRedirect302 0.023
testBasicRedirect303 0.021
testBasicRedirect304 0.024
testBasicRedirect305 0.022
testBasicRedirect307 0.023
testCrossSiteRedirect 0.081
testCircularRedirect 0.025

TestIdleConnectionEviction

testIdleConnectionEviction 2.179

HttpIntegrationTests$RedirectsH2

testBasicRedirect302NoLocation 0.004
testMaxRedirectCheck 0.007
testRelativeRedirect 0.006
testPostRedirectSeeOther 0.005
testRejectBogusRedirectLocation 0.005
testRedirectWithCookie 0.005
testPostRedirect 0.005
testRejectInvalidRedirectLocation 0.005
testRelativeRedirect2 0.005
testBasicRedirect300 0.004
testBasicRedirect301 0.005
testBasicRedirect302 0.007
testBasicRedirect303 0.006
testBasicRedirect304 0.005
testBasicRedirect305 0.005
testBasicRedirect307 0.006
testCrossSiteRedirect 0.007
testCircularRedirect 0.005

TestFluent

testGetRequestByName 0.04
testGetRequestFailure 0.002
testContentAsStringWithCharset 0.003
testLargeResponse 0.002
testGetRequestByNameWithURI 0.002
testPostRequest 0.002
testGetRequest 0.001
testLargeResponseError 0.002
testConnectionRelease 0.029

HttpIntegrationTests$RequestExecution

testNonCompliantURI 0.002
testAutoGeneratedHeaders 0.002
testRelativeRequestURIWithFragment 0.001
testRequestCancellation 0
Fails intermittently with GitHub Actions
testNonRepeatableEntity 0.001
testAbsoluteRequestURIWithFragment 0.002

HttpIntegrationTests$RedirectsHttp1Tls

testBasicRedirect302NoLocation 0.048
testMaxRedirectCheck 0.024
testRelativeRedirect 0.024
testPostRedirectSeeOther 0.018
testRejectBogusRedirectLocation 0.021
testRedirectWithCookie 0.023
testPostRedirect 0.017
testRejectInvalidRedirectLocation 0.016
testRelativeRedirect2 0.017
testBasicRedirect300 0.016
testBasicRedirect301 0.019
testBasicRedirect302 0.018
testBasicRedirect303 0.024
testBasicRedirect304 0.028
testBasicRedirect305 0.024
testBasicRedirect307 0.016
testCrossSiteRedirect 0.029
testCircularRedirect 0.016
testDefaultHeadersRedirect 0.02
testBasicRedirect300NoKeepAlive 0.015
testBasicRedirect301NoKeepAlive 0.018

TestConnectionReuse

testReuseOfAbortedConnections 0.014
testReuseOfPersistentConnectionsWithStreamedRequestAndResponse 0.014
testKeepAliveHeaderRespected 1.607
testReuseOfPersistentConnections 0.011
testReuseOfClosedConnections 0.013

HttpIntegrationTests$Authentication

testAuthenticationTargetAsProxy 0.002
testBasicAuthenticationFailureOnNonRepeatablePutDontExpectContinue 0.003
testBasicAuthenticationSuccessOnNonRepeatablePutExpectContinue 0.002
testAuthenticationFallback 0.002
testAuthenticationCredentialsCachingReAuthenticationOnDifferentRealm 0.003
testBasicAuthenticationCredentialsCachingByPathPrefix 0.005
testReauthentication 0.005
testBasicAuthenticationNoCreds 0.002
testBasicAuthenticationCredentialsCaching 0.003
testBearerTokenAuthentication 0.003
testBasicAuthenticationSuccess 0.002
testAuthenticationUserinfoInRequest 0.001
testPreemptiveAuthenticationFailure 0.002
testBasicAuthenticationFailure 0.018
testBasicAuthenticationFailureOnNonRepeatablePost 0.007
testPreemptiveAuthentication 0.002
testConnectionCloseAfterAuthenticationSuccess 0.002
testBasicAuthenticationSuccessOnRepeatablePost 0.001

HttpIntegrationTests$RedirectsTls

testDefaultHeadersRedirect 0.016
testBasicRedirect302NoLocation 0.009
testCompressionHeaderRedirect 0.011
testMaxRedirectCheck 0.011
testRelativeRedirect 0.01
testPostRedirectSeeOther 0.009
testRejectBogusRedirectLocation 0.009
testRedirectWithCookie 0.009
testRejectInvalidRedirectLocation 0.009
testRelativeRedirect2 0.009
testBasicRedirect300NoKeepAlive 0.009
testBasicRedirect300 0.01
testBasicRedirect301 0.009
testBasicRedirect302 0.009
testBasicRedirect303 0.01
testBasicRedirect304 0.008
testBasicRedirect305 0.009
testBasicRedirect307 0.009
testCircularRedirect 0.01

HttpIntegrationTests$Http1RequestReExecutionTls

testDoNotGiveUpEasily 3.046
testGiveUpAfterOneRetry 1.038

ReactiveIntegrationTests$Http1

testRequestExecutionFromCallback 0.006
testBadRequest 0.003
testSequentialPostRequests 0.003
testConcurrentPostRequests 0.209
testSequentialGetRequests 0.004
testSequentialHeadRequests 0.002
testSequentialGetRequestsCloseConnection(int)[1] 0.003
testSequentialGetRequestsCloseConnection(int)[2] 0.003
testSequentialGetRequestsCloseConnection(int)[3] 0.003
testSharedPool 0.003

TestHttpClientBuilderInterceptors

testAddExecInterceptorLastShouldBeExecuted 0.002

ReactiveIntegrationTests$Http1Tls

testRequestExecutionFromCallback 0.024
testBadRequest 0.014
testSequentialPostRequests 0.016
testConcurrentPostRequests 0.363
testSequentialGetRequests 0.017
testSequentialHeadRequests 0.012
testSequentialGetRequestsCloseConnection(int)[1] 0.012
testSequentialGetRequestsCloseConnection(int)[2] 0.013
testSequentialGetRequestsCloseConnection(int)[3] 0.013
testSharedPool 0.015

HttpIntegrationTests$Http1ProtocolPolicyTls

testRequestContext 0.015

HttpIntegrationTests$Http1Tls

testRequestExecutionFromCallback 5.032
testBadRequest 0.024
testSequentialPostRequests 0.014
testConcurrentPostRequests 0.021
testSequentialGetRequests 0.014
testSequentialHeadRequests 0.014
testSequentialGetRequestsCloseConnection(int)[1] 0.033
testSequentialGetRequestsCloseConnection(int)[2] 0.019
testSequentialGetRequestsCloseConnection(int)[3] 0.024
testRequestCancellation 0.037
testSharedPool 0.015

HttpIntegrationTests$RedirectsHttp1

testBasicRedirect302NoLocation 0.003
testMaxRedirectCheck 0.005
testRelativeRedirect 0.003
testPostRedirectSeeOther 0.003
testRejectBogusRedirectLocation 0.003
testRedirectWithCookie 0.004
testPostRedirect 0.004
testRejectInvalidRedirectLocation 0.004
testRelativeRedirect2 0.004
testBasicRedirect300 0.003
testBasicRedirect301 0.004
testBasicRedirect302 0.004
testBasicRedirect303 0.003
testBasicRedirect304 0.005
testBasicRedirect305 0.003
testBasicRedirect307 0.003
testCrossSiteRedirect 0.005
testCircularRedirect 0.003
testDefaultHeadersRedirect 0.003
testBasicRedirect300NoKeepAlive 0.003
testBasicRedirect301NoKeepAlive 0.004

TestCookieVirtualHost

testCookieMatchingWithVirtualHosts 0.003

TestFutureRequestExecutionService

shouldCancel 0.006
shouldTimeout 0.013
shouldExecuteMultipleCalls 0.009
shouldExecuteSingleCall 0.002
shouldExecuteMultipleCallsAndCallback 0.003

HttpIntegrationTests$ContentCodingTls

testResponseWithNoContent 0.009
gzipResponsesWorkWithBasicResponseHandler 0.009
testDeflateSupportForServerReturningRfc1950Stream 0.009
testHttpEntityWriteToForGzip 0.008
deflateResponsesWorkWithBasicResponseHandler 0.008
testDeflateSupportForServerReturningRfc1951Stream 0.009
testThreadSafetyOfContentCodings 0.041
testGzipSupport 0.008
testHttpEntityWriteToForDeflate 0.008

ReactiveMinimalIntegrationTests$Http1

testRequestExecutionFromCallback 0.005
testBadRequest 0.003
testSequentialPostRequests 0.003
testConcurrentPostRequests 0.2
testSequentialGetRequests 0.003
testSequentialHeadRequests 0.002
testConcurrentPostRequestsSameEndpoint 0.003

HttpMinimalIntegrationTests$H2

testRequestExecutionFromCallback 0.007
testBadRequest 0.003
testSequentialPostRequests 0.004
testConcurrentPostRequests 0.005
testSequentialGetRequests 0.003
testSequentialHeadRequests 0.003

HttpIntegrationTests$Http1ProtocolPolicy

testRequestContext 0.004

TestBasicConnectionManager

testConnectionStillInUse 0.013
testBasics 0.004

HttpMinimalIntegrationTests$RequestExecutionTls

testNonCompliantURIWithContext 0.01
testNonCompliantURIWithoutContext 0.008

HttpIntegrationTests$H2ProtocolPolicyTls

testRequestContext 0.017

HttpIntegrationTests$Redirects

testDefaultHeadersRedirect 0.002
testBasicRedirect302NoLocation 0.002
testCompressionHeaderRedirect 0.001
testMaxRedirectCheck 0.001
testRelativeRedirect 0.002
testPostRedirectSeeOther 0.002
testRejectBogusRedirectLocation 0.002
testRedirectWithCookie 0.002
testRejectInvalidRedirectLocation 0.002
testRelativeRedirect2 0.002
testBasicRedirect300NoKeepAlive 0.002
testBasicRedirect300 0.001
testBasicRedirect301 0.001
testBasicRedirect302 0.002
testBasicRedirect303 0.002
testBasicRedirect304 0.001
testBasicRedirect305 0.002
testBasicRedirect307 0.001
testCircularRedirect 0.002

ReactiveIntegrationTests$H2Tls

testRequestExecutionFromCallback 0.099
testBadRequest 0.016
testSequentialPostRequests 0.016
testConcurrentPostRequests 1.149
testSequentialGetRequests 0.014
testSequentialHeadRequests 0.013

TestStatefulConnManagement

testRouteSpecificPoolRecylcing 0.208
testStatefulConnections 0.01

HttpIntegrationTests$H2Tls

testRequestExecutionFromCallback 0.045
testBadRequest 0.013
testSequentialPostRequests 0.016
testConcurrentPostRequests 0.021
testSequentialGetRequests 0.014
testSequentialHeadRequests 0.014

TestDefaultClientTlsStrategy

testClientAuthSSLFailure 0.014
testWeakCiphersDisabledByDefault 0.059
testBasicSSL 0.049
testHostnameVerificationClient 0.148
testSSLTrustVerification 0.005
testBasicDefaultHostnameVerifier 0.052
testSSLTrustVerificationOverrideWithCustom 0.067
testHostnameVerificationBuiltIn 0.079
testClientAuthSSL 0.056
testSSLDisabledByDefault 0.008

HttpIntegrationTests$AuthenticationTls

testAuthenticationTargetAsProxy 0.194
testBasicAuthenticationFailureOnNonRepeatablePutDontExpectContinue 0.018
testBasicAuthenticationSuccessOnNonRepeatablePutExpectContinue 0.009
testAuthenticationFallback 0.019
testAuthenticationCredentialsCachingReAuthenticationOnDifferentRealm 0.024
testBasicAuthenticationCredentialsCachingByPathPrefix 0.015
testReauthentication 0.015
testBasicAuthenticationNoCreds 0.012
testBasicAuthenticationCredentialsCaching 0.014
testBearerTokenAuthentication 0.015
testBasicAuthenticationSuccess 0.01
testAuthenticationUserinfoInRequest 0.002
testPreemptiveAuthenticationFailure 0.026
testBasicAuthenticationFailure 0.012
testBasicAuthenticationFailureOnNonRepeatablePost 0.013
testPreemptiveAuthentication 0.013
testConnectionCloseAfterAuthenticationSuccess 0.014
testBasicAuthenticationSuccessOnRepeatablePost 0.012

HttpIntegrationTests$Http1RequestReExecution

testDoNotGiveUpEasily 3.017
testGiveUpAfterOneRetry 1.009

TestHttp1AsyncStatefulConnManagement

testRouteSpecificPoolRecylcing 0.209
testStatefulConnections 0.013

HttpMinimalIntegrationTests$H2Tls

testRequestExecutionFromCallback 0.034
testBadRequest 0.01
testSequentialPostRequests 0.012
testConcurrentPostRequests 0.013
testSequentialGetRequests 0.011
testSequentialHeadRequests 0.012

HttpIntegrationTests$RequestExecutionTls

testNonCompliantURI 0.008
testAutoGeneratedHeaders 0.014
testRelativeRequestURIWithFragment 0.009
testRequestCancellation 0
Fails intermittently with GitHub Actions
testNonRepeatableEntity 0.008
testAbsoluteRequestURIWithFragment 0.009

TestConnectionManagement

testCloseExpiredIdleConnections 0.156
testCloseExpiredTTLConnections 0.153
testReleaseConnectionWithTimeLimits 0.168
testReleaseConnection 0.016

ReactiveIntegrationTests$H2

testRequestExecutionFromCallback 0.013
testBadRequest 0.003
testSequentialPostRequests 0.004
testConcurrentPostRequests 0.735
testSequentialGetRequests 0.003
testSequentialHeadRequests 0.003

HttpMinimalIntegrationTests$Http1Tls

testRequestExecutionFromCallback 0.035
testBadRequest 0.013
testSequentialPostRequests 0.015
testConcurrentPostRequests 0.022
testSequentialGetRequests 0.012
testSequentialHeadRequests 0.015
testConcurrentPostRequestsSameEndpoint 0.017

ReactiveMinimalIntegrationTests$H2Tls

testRequestExecutionFromCallback 0.022
testBadRequest 0.013
testSequentialPostRequests 0.014
testConcurrentPostRequests 0.896
testSequentialGetRequests 0.012
testSequentialHeadRequests 0.012

HttpIntegrationTests$H2ProtocolPolicy

testRequestContext 0.004

Failure Details

[Summary] [Package List] [Test Cases]


testRequestCancellation
skipped: Fails intermittently with GitHub Actions
testRequestCancellation
skipped: Fails intermittently with GitHub Actions