Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
359 0 0 2 99.443% 94.586

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.189
org.apache.hc.client5.testing.async 208 0 0 0 100% 84.329
org.apache.hc.client5.testing.sync 142 0 0 2 98.592% 10.068

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.189

org.apache.hc.client5.testing.async

Class Tests Errors Failures Skipped Success Rate Time
HttpMinimalIntegrationTests$Http1 7 0 0 0 100% 0.101
HttpIntegrationTests$H2 6 0 0 0 100% 0.1
ReactiveMinimalIntegrationTests$Http1Tls 7 0 0 0 100% 1.019
ReactiveIntegrationTests 0 0 0 0 0% 7.062
HttpIntegrationTests$Http1 11 0 0 0 100% 0.187
ReactiveMinimalIntegrationTests$H2 6 0 0 0 100% 1.938
TestHttpAsyncMinimalTlsHandshake 2 0 0 0 100% 0.19
HttpIntegrationTests$RedirectsH2Tls 18 0 0 0 100% 2.362
HttpIntegrationTests$RedirectsH2 18 0 0 0 100% 0.218
HttpMinimalIntegrationTests 0 0 0 0 0% 5.66
HttpIntegrationTests$RedirectsHttp1Tls 21 0 0 0 100% 0.871
HttpIntegrationTests$Http1RequestReExecutionTls 2 0 0 0 100% 4.142
ReactiveIntegrationTests$Http1 10 0 0 0 100% 0.583
ReactiveIntegrationTests$Http1Tls 10 0 0 0 100% 1.197
ReactiveMinimalIntegrationTests 0 0 0 0 0% 11.09
HttpIntegrationTests$Http1ProtocolPolicyTls 1 0 0 0 100% 0.048
HttpIntegrationTests$Http1Tls 11 0 0 0 100% 5.612
HttpIntegrationTests$RedirectsHttp1 21 0 0 0 100% 0.206
ReactiveMinimalIntegrationTests$Http1 7 0 0 0 100% 5.55
HttpMinimalIntegrationTests$H2 6 0 0 0 100% 0.057
HttpIntegrationTests$Http1ProtocolPolicy 1 0 0 0 100% 0.01
HttpIntegrationTests$H2ProtocolPolicyTls 1 0 0 0 100% 0.05
ReactiveIntegrationTests$H2Tls 6 0 0 0 100% 3.258
HttpIntegrationTests 0 0 0 0 0% 18.189
HttpIntegrationTests$H2Tls 6 0 0 0 100% 0.279
HttpIntegrationTests$Http1RequestReExecution 2 0 0 0 100% 4.029
TestHttp1AsyncStatefulConnManagement 2 0 0 0 100% 0.226
HttpMinimalIntegrationTests$H2Tls 6 0 0 0 100% 0.208
ReactiveIntegrationTests$H2 6 0 0 0 100% 2.015
HttpMinimalIntegrationTests$Http1Tls 7 0 0 0 100% 5.288
ReactiveMinimalIntegrationTests$H2Tls 6 0 0 0 100% 2.574
HttpIntegrationTests$H2ProtocolPolicy 1 0 0 0 100% 0.01

org.apache.hc.client5.testing.sync

Class Tests Errors Failures Skipped Success Rate Time
HttpIntegrationTests$ContentCoding 9 0 0 0 100% 0.038
HttpMinimalIntegrationTests$RequestExecution 2 0 0 0 100% 0.01
TestMalformedServerResponse 1 0 0 0 100% 0.006
TestIdleConnectionEviction 1 0 0 0 100% 2.202
HttpMinimalIntegrationTests 0 0 0 0 0% 0.059
HttpIntegrationTests$RequestExecution 6 0 0 1 83.333% 0.019
TestConnectionReuse 5 0 0 0 100% 1.741
HttpIntegrationTests$Authentication 18 0 0 0 100% 0.087
HttpIntegrationTests$RedirectsTls 20 0 0 0 100% 0.483
TestHttpClientBuilderInterceptors 1 0 0 0 100% 0.007
HttpIntegrationTests 0 0 0 0 0% 2.266
TestCookieVirtualHost 1 0 0 0 100% 0.009
TestFutureRequestExecutionService 5 0 0 0 100% 0.045
HttpIntegrationTests$ContentCodingTls 9 0 0 0 100% 0.292
TestBasicConnectionManager 2 0 0 0 100% 0.018
HttpMinimalIntegrationTests$RequestExecutionTls 2 0 0 0 100% 0.048
HttpIntegrationTests$Redirects 20 0 0 0 100% 0.084
TestStatefulConnManagement 2 0 0 0 100% 0.228
TestDefaultClientTlsStrategy 10 0 0 0 100% 0.678
HttpIntegrationTests$AuthenticationTls 18 0 0 0 100% 1.117
HttpIntegrationTests$RequestExecutionTls 6 0 0 1 83.333% 0.134
TestConnectionManagement 4 0 0 0 100% 0.497

Test Cases

[Summary] [Package List] [Test Cases]

HttpIntegrationTests$ContentCoding

testResponseWithNoContent 0.004
gzipResponsesWorkWithBasicResponseHandler 0.003
testDeflateSupportForServerReturningRfc1950Stream 0.003
testHttpEntityWriteToForGzip 0.003
deflateResponsesWorkWithBasicResponseHandler 0.004
testDeflateSupportForServerReturningRfc1951Stream 0.003
testThreadSafetyOfContentCodings 0.006
testGzipSupport 0.003
testHttpEntityWriteToForDeflate 0.004

HttpMinimalIntegrationTests$Http1

testRequestExecutionFromCallback 0.051
testBadRequest 0.005
testSequentialPostRequests 0.007
testConcurrentPostRequests 0.014
testSequentialGetRequests 0.006
testSequentialHeadRequests 0.005
testConcurrentPostRequestsSameEndpoint 0.01

HttpIntegrationTests$H2

testRequestExecutionFromCallback 0.029
testBadRequest 0.007
testSequentialPostRequests 0.012
testConcurrentPostRequests 0.028
testSequentialGetRequests 0.009
testSequentialHeadRequests 0.009

HttpMinimalIntegrationTests$RequestExecution

testNonCompliantURIWithContext 0.005
testNonCompliantURIWithoutContext 0.003

ReactiveMinimalIntegrationTests$Http1Tls

testRequestExecutionFromCallback 0.061
testBadRequest 0.035
testSequentialPostRequests 0.041
testConcurrentPostRequests 0.778
testSequentialGetRequests 0.035
testSequentialHeadRequests 0.027
testConcurrentPostRequestsSameEndpoint 0.035

HttpIntegrationTests$Http1

testRequestExecutionFromCallback 0.037
testBadRequest 0.019
testSequentialPostRequests 0.009
testConcurrentPostRequests 0.015
testSequentialGetRequests 0.008
testSequentialHeadRequests 0.007
testSequentialGetRequestsCloseConnection(int)[1] 0.011
testSequentialGetRequestsCloseConnection(int)[2] 0.009
testSequentialGetRequestsCloseConnection(int)[3] 0.01
testRequestCancellation 0.042
testSharedPool 0.011

TestMalformedServerResponse

testNoContentResponseWithGarbage 0.006

ReactiveMinimalIntegrationTests$H2

testRequestExecutionFromCallback 0.026
testBadRequest 0.005
testSequentialPostRequests 0.006
testConcurrentPostRequests 1.884
testSequentialGetRequests 0.006
testSequentialHeadRequests 0.005

TestHttpAsyncMinimalTlsHandshake

testSuccessfulTlsHandshake 0.042
testTlsHandshakeFailure 0.147

HttpIntegrationTests$RedirectsH2Tls

testBasicRedirect302NoLocation 0.804
testMaxRedirectCheck 0.135
testRelativeRedirect 0.086
testPostRedirectSeeOther 0.068
testRejectBogusRedirectLocation 0.055
testRedirectWithCookie 0.049
testPostRedirect 0.066
testRejectInvalidRedirectLocation 0.047
testRelativeRedirect2 0.045
testBasicRedirect300 0.038
testBasicRedirect301 0.043
testBasicRedirect302 0.041
testBasicRedirect303 0.046
testBasicRedirect304 0.055
testBasicRedirect305 0.048
testBasicRedirect307 0.052
testCrossSiteRedirect 0.127
testCircularRedirect 0.049

TestIdleConnectionEviction

testIdleConnectionEviction 2.202

HttpIntegrationTests$RedirectsH2

testBasicRedirect302NoLocation 0.012
testMaxRedirectCheck 0.022
testRelativeRedirect 0.012
testPostRedirectSeeOther 0.011
testRejectBogusRedirectLocation 0.009
testRedirectWithCookie 0.011
testPostRedirect 0.012
testRejectInvalidRedirectLocation 0.009
testRelativeRedirect2 0.01
testBasicRedirect300 0.008
testBasicRedirect301 0.011
testBasicRedirect302 0.01
testBasicRedirect303 0.009
testBasicRedirect304 0.009
testBasicRedirect305 0.01
testBasicRedirect307 0.011
testCrossSiteRedirect 0.014
testCircularRedirect 0.01

TestFluent

testGetRequestByName 0.078
testGetRequestFailure 0.004
testContentAsStringWithCharset 0.004
testLargeResponse 0.004
testGetRequestByNameWithURI 0.003
testPostRequest 0.005
testGetRequest 0.004
testLargeResponseError 0.006
testConnectionRelease 0.074

HttpIntegrationTests$RequestExecution

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

HttpIntegrationTests$RedirectsHttp1Tls

testBasicRedirect302NoLocation 0.095
testMaxRedirectCheck 0.044
testRelativeRedirect 0.037
testPostRedirectSeeOther 0.039
testRejectBogusRedirectLocation 0.03
testRedirectWithCookie 0.038
testPostRedirect 0.034
testRejectInvalidRedirectLocation 0.036
testRelativeRedirect2 0.036
testBasicRedirect300 0.032
testBasicRedirect301 0.036
testBasicRedirect302 0.04
testBasicRedirect303 0.03
testBasicRedirect304 0.031
testBasicRedirect305 0.032
testBasicRedirect307 0.036
testCrossSiteRedirect 0.057
testCircularRedirect 0.031
testDefaultHeadersRedirect 0.05
testBasicRedirect300NoKeepAlive 0.038
testBasicRedirect301NoKeepAlive 0.048

TestConnectionReuse

testReuseOfAbortedConnections 0.033
testReuseOfPersistentConnectionsWithStreamedRequestAndResponse 0.036
testKeepAliveHeaderRespected 1.61
testReuseOfPersistentConnections 0.024
testReuseOfClosedConnections 0.036

HttpIntegrationTests$Authentication

testAuthenticationTargetAsProxy 0.004
testBasicAuthenticationFailureOnNonRepeatablePutDontExpectContinue 0.003
testBasicAuthenticationSuccessOnNonRepeatablePutExpectContinue 0.003
testAuthenticationFallback 0.004
testAuthenticationCredentialsCachingReAuthenticationOnDifferentRealm 0.006
testBasicAuthenticationCredentialsCachingByPathPrefix 0.008
testReauthentication 0.009
testBasicAuthenticationNoCreds 0.003
testBasicAuthenticationCredentialsCaching 0.005
testBearerTokenAuthentication 0.006
testBasicAuthenticationSuccess 0.004
testAuthenticationUserinfoInRequest 0.001
testPreemptiveAuthenticationFailure 0.004
testBasicAuthenticationFailure 0.003
testBasicAuthenticationFailureOnNonRepeatablePost 0.003
testPreemptiveAuthentication 0.004
testConnectionCloseAfterAuthenticationSuccess 0.005
testBasicAuthenticationSuccessOnRepeatablePost 0.004

HttpIntegrationTests$RedirectsTls

testDefaultHeadersRedirect 0.025
testRetryUponRedirect 0.039
testBasicRedirect302NoLocation 0.024
testCompressionHeaderRedirect 0.021
testMaxRedirectCheck 0.024
testRelativeRedirect 0.022
testPostRedirectSeeOther 0.021
testRejectBogusRedirectLocation 0.021
testRedirectWithCookie 0.026
testRejectInvalidRedirectLocation 0.026
testRelativeRedirect2 0.025
testBasicRedirect300NoKeepAlive 0.021
testBasicRedirect300 0.02
testBasicRedirect301 0.021
testBasicRedirect302 0.026
testBasicRedirect303 0.027
testBasicRedirect304 0.021
testBasicRedirect305 0.02
testBasicRedirect307 0.021
testCircularRedirect 0.022

HttpIntegrationTests$Http1RequestReExecutionTls

testDoNotGiveUpEasily 3.088
testGiveUpAfterOneRetry 1.051

ReactiveIntegrationTests$Http1

testRequestExecutionFromCallback 0.016
testBadRequest 0.006
testSequentialPostRequests 0.007
testConcurrentPostRequests 0.505
testSequentialGetRequests 0.007
testSequentialHeadRequests 0.006
testSequentialGetRequestsCloseConnection(int)[1] 0.007
testSequentialGetRequestsCloseConnection(int)[2] 0.007
testSequentialGetRequestsCloseConnection(int)[3] 0.007
testSharedPool 0.007

TestHttpClientBuilderInterceptors

testAddExecInterceptorLastShouldBeExecuted 0.006

ReactiveIntegrationTests$Http1Tls

testRequestExecutionFromCallback 0.063
testBadRequest 0.031
testSequentialPostRequests 0.036
testConcurrentPostRequests 0.86
testSequentialGetRequests 0.033
testSequentialHeadRequests 0.034
testSequentialGetRequestsCloseConnection(int)[1] 0.033
testSequentialGetRequestsCloseConnection(int)[2] 0.032
testSequentialGetRequestsCloseConnection(int)[3] 0.037
testSharedPool 0.032

HttpIntegrationTests$Http1ProtocolPolicyTls

testRequestContext 0.046

HttpIntegrationTests$Http1Tls

testRequestExecutionFromCallback 5.079
testBadRequest 0.04
testSequentialPostRequests 0.035
testConcurrentPostRequests 0.049
testSequentialGetRequests 0.031
testSequentialHeadRequests 0.03
testSequentialGetRequestsCloseConnection(int)[1] 0.053
testSequentialGetRequestsCloseConnection(int)[2] 0.048
testSequentialGetRequestsCloseConnection(int)[3] 0.046
testRequestCancellation 0.103
testSharedPool 0.05

HttpIntegrationTests$RedirectsHttp1

testBasicRedirect302NoLocation 0.007
testMaxRedirectCheck 0.011
testRelativeRedirect 0.008
testPostRedirectSeeOther 0.008
testRejectBogusRedirectLocation 0.016
testRedirectWithCookie 0.009
testPostRedirect 0.008
testRejectInvalidRedirectLocation 0.006
testRelativeRedirect2 0.008
testBasicRedirect300 0.008
testBasicRedirect301 0.01
testBasicRedirect302 0.01
testBasicRedirect303 0.009
testBasicRedirect304 0.007
testBasicRedirect305 0.007
testBasicRedirect307 0.01
testCrossSiteRedirect 0.011
testCircularRedirect 0.009
testDefaultHeadersRedirect 0.01
testBasicRedirect300NoKeepAlive 0.007
testBasicRedirect301NoKeepAlive 0.01

TestCookieVirtualHost

testCookieMatchingWithVirtualHosts 0.008

TestFutureRequestExecutionService

shouldCancel 0.006
shouldTimeout 0.013
shouldExecuteMultipleCalls 0.012
shouldExecuteSingleCall 0.004
shouldExecuteMultipleCallsAndCallback 0.01

HttpIntegrationTests$ContentCodingTls

testResponseWithNoContent 0.024
gzipResponsesWorkWithBasicResponseHandler 0.027
testDeflateSupportForServerReturningRfc1950Stream 0.024
testHttpEntityWriteToForGzip 0.02
deflateResponsesWorkWithBasicResponseHandler 0.025
testDeflateSupportForServerReturningRfc1951Stream 0.024
testThreadSafetyOfContentCodings 0.104
testGzipSupport 0.019
testHttpEntityWriteToForDeflate 0.02

ReactiveMinimalIntegrationTests$Http1

testRequestExecutionFromCallback 5.015
testBadRequest 0.006
testSequentialPostRequests 0.008
testConcurrentPostRequests 0.497
testSequentialGetRequests 0.006
testSequentialHeadRequests 0.006
testConcurrentPostRequestsSameEndpoint 0.01

HttpMinimalIntegrationTests$H2

testRequestExecutionFromCallback 0.017
testBadRequest 0.005
testSequentialPostRequests 0.006
testConcurrentPostRequests 0.015
testSequentialGetRequests 0.006
testSequentialHeadRequests 0.006

HttpIntegrationTests$Http1ProtocolPolicy

testRequestContext 0.009

TestBasicConnectionManager

testConnectionStillInUse 0.013
testBasics 0.005

HttpMinimalIntegrationTests$RequestExecutionTls

testNonCompliantURIWithContext 0.024
testNonCompliantURIWithoutContext 0.021

HttpIntegrationTests$H2ProtocolPolicyTls

testRequestContext 0.048

HttpIntegrationTests$Redirects

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

ReactiveIntegrationTests$H2Tls

testRequestExecutionFromCallback 0.22
testBadRequest 0.03
testSequentialPostRequests 0.04
testConcurrentPostRequests 2.898
testSequentialGetRequests 0.031
testSequentialHeadRequests 0.034

TestStatefulConnManagement

testRouteSpecificPoolRecylcing 0.211
testStatefulConnections 0.015

HttpIntegrationTests$H2Tls

testRequestExecutionFromCallback 0.089
testBadRequest 0.03
testSequentialPostRequests 0.04
testConcurrentPostRequests 0.051
testSequentialGetRequests 0.035
testSequentialHeadRequests 0.029

TestDefaultClientTlsStrategy

testClientAuthSSLFailure 0.031
testWeakCiphersDisabledByDefault 0.068
testBasicSSL 0.13
testHostnameVerificationClient 0.179
testSSLTrustVerification 0.011
testBasicDefaultHostnameVerifier 0.057
testSSLTrustVerificationOverrideWithCustom 0.06
testHostnameVerificationBuiltIn 0.075
testClientAuthSSL 0.057
testSSLDisabledByDefault 0.006

HttpIntegrationTests$AuthenticationTls

testAuthenticationTargetAsProxy 0.542
testBasicAuthenticationFailureOnNonRepeatablePutDontExpectContinue 0.044
testBasicAuthenticationSuccessOnNonRepeatablePutExpectContinue 0.027
testAuthenticationFallback 0.046
testAuthenticationCredentialsCachingReAuthenticationOnDifferentRealm 0.092
testBasicAuthenticationCredentialsCachingByPathPrefix 0.034
testReauthentication 0.03
testBasicAuthenticationNoCreds 0.019
testBasicAuthenticationCredentialsCaching 0.026
testBearerTokenAuthentication 0.033
testBasicAuthenticationSuccess 0.027
testAuthenticationUserinfoInRequest 0.004
testPreemptiveAuthenticationFailure 0.073
testBasicAuthenticationFailure 0.025
testBasicAuthenticationFailureOnNonRepeatablePost 0.02
testPreemptiveAuthentication 0.02
testConnectionCloseAfterAuthenticationSuccess 0.024
testBasicAuthenticationSuccessOnRepeatablePost 0.02

HttpIntegrationTests$Http1RequestReExecution

testDoNotGiveUpEasily 3.017
testGiveUpAfterOneRetry 1.011

TestHttp1AsyncStatefulConnManagement

testRouteSpecificPoolRecylcing 0.213
testStatefulConnections 0.012

HttpMinimalIntegrationTests$H2Tls

testRequestExecutionFromCallback 0.047
testBadRequest 0.034
testSequentialPostRequests 0.029
testConcurrentPostRequests 0.036
testSequentialGetRequests 0.029
testSequentialHeadRequests 0.031

HttpIntegrationTests$RequestExecutionTls

testNonCompliantURI 0.024
testAutoGeneratedHeaders 0.042
testRelativeRequestURIWithFragment 0.021
testRequestCancellation 0
Fails intermittently with GitHub Actions
testNonRepeatableEntity 0.02
testAbsoluteRequestURIWithFragment 0.024

TestConnectionManagement

testCloseExpiredIdleConnections 0.156
testCloseExpiredTTLConnections 0.154
testReleaseConnectionWithTimeLimits 0.168
testReleaseConnection 0.017

ReactiveIntegrationTests$H2

testRequestExecutionFromCallback 0.031
testBadRequest 0.007
testSequentialPostRequests 0.008
testConcurrentPostRequests 1.954
testSequentialGetRequests 0.007
testSequentialHeadRequests 0.006

HttpMinimalIntegrationTests$Http1Tls

testRequestExecutionFromCallback 5.077
testBadRequest 0.031
testSequentialPostRequests 0.033
testConcurrentPostRequests 0.049
testSequentialGetRequests 0.027
testSequentialHeadRequests 0.03
testConcurrentPostRequestsSameEndpoint 0.036

ReactiveMinimalIntegrationTests$H2Tls

testRequestExecutionFromCallback 0.053
testBadRequest 0.026
testSequentialPostRequests 0.031
testConcurrentPostRequests 2.402
testSequentialGetRequests 0.028
testSequentialHeadRequests 0.029

HttpIntegrationTests$H2ProtocolPolicy

testRequestContext 0.009

Failure Details

[Summary] [Package List] [Test Cases]


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