Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
348 0 0 2 99.425% 69.829

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 7 0 0 0 100% 0.092
org.apache.hc.client5.testing.async 254 0 0 0 100% 64.43
org.apache.hc.client5.testing.sync 87 0 0 2 97.701% 5.307

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 7 0 0 0 100% 0.092

org.apache.hc.client5.testing.async

Class Tests Errors Failures Skipped Success Rate Time
HttpMinimalIntegrationTests$Http1 7 0 0 0 100% 0.044
HttpIntegrationTests$H2 6 0 0 0 100% 0.046
ReactiveMinimalIntegrationTests$Http1Tls 7 0 0 0 100% 0.437
ReactiveIntegrationTests 0 0 0 0 0% 7.481
HttpIntegrationTests$Http1 11 0 0 0 100% 5.086
ReactiveMinimalIntegrationTests$H2 6 0 0 0 100% 0.596
TestHttpAsyncMinimalTlsHandshake 2 0 0 0 100% 0.079
HttpIntegrationTests$RedirectsH2Tls 18 0 0 0 100% 0.462
HttpIntegrationTests$RedirectsH2 18 0 0 0 100% 0.095
HttpMinimalIntegrationTests 0 0 0 0 0% 0.302
HttpIntegrationTests$AuthenticationHttp1 12 0 0 0 100% 0.097
HttpIntegrationTests$AuthenticationH2 11 0 0 0 100% 0.135
HttpIntegrationTests$RedirectsHttp1Tls 21 0 0 0 100% 0.405
HttpIntegrationTests$Http1RequestReExecutionTls 2 0 0 0 100% 4.097
ReactiveIntegrationTests$Http1 10 0 0 0 100% 0.259
ReactiveIntegrationTests$Http1Tls 10 0 0 0 100% 5.545
ReactiveMinimalIntegrationTests 0 0 0 0 0% 7.338
HttpIntegrationTests$Http1ProtocolPolicyTls 1 0 0 0 100% 0.024
HttpIntegrationTests$Http1Tls 11 0 0 0 100% 0.358
HttpIntegrationTests$RedirectsHttp1 21 0 0 0 100% 0.106
ReactiveMinimalIntegrationTests$Http1 7 0 0 0 100% 5.23
HttpMinimalIntegrationTests$H2 6 0 0 0 100% 0.027
HttpIntegrationTests$Http1ProtocolPolicy 1 0 0 0 100% 0.005
HttpIntegrationTests$H2ProtocolPolicyTls 1 0 0 0 100% 0.022
HttpIntegrationTests$AuthenticationHttp1Tls 12 0 0 0 100% 0.369
ReactiveIntegrationTests$H2Tls 6 0 0 0 100% 0.91
HttpIntegrationTests 0 0 0 0 0% 16.968
HttpIntegrationTests$H2Tls 6 0 0 0 100% 0.129
HttpIntegrationTests$Http1RequestReExecution 2 0 0 0 100% 4.025
TestHttp1AsyncStatefulConnManagement 2 0 0 0 100% 0.216
HttpMinimalIntegrationTests$H2Tls 6 0 0 0 100% 0.087
ReactiveIntegrationTests$H2 6 0 0 0 100% 0.765
HttpIntegrationTests$AuthenticationH2Tls 11 0 0 0 100% 1.467
HttpMinimalIntegrationTests$Http1Tls 7 0 0 0 100% 0.14
ReactiveMinimalIntegrationTests$H2Tls 6 0 0 0 100% 1.072
HttpIntegrationTests$H2ProtocolPolicy 1 0 0 0 100% 0.006

org.apache.hc.client5.testing.sync

Class Tests Errors Failures Skipped Success Rate Time
TestClientAuthentication 17 0 0 0 100% 0.07
TestMinimalClientRequestExecution 2 0 0 0 100% 0.012
TestMalformedServerResponse 1 0 0 0 100% 0.003
TestClientRequestExecution 6 0 0 1 83.333% 0.01
TestIdleConnectionEviction 1 0 0 0 100% 2.131
TestWindowsNegotiateScheme 1 0 0 1 0% 0.005
TestRedirects 19 0 0 0 100% 0.043
TestSSLSocketFactory 10 0 0 0 100% 0.409
TestConnectionReuse 5 0 0 0 100% 1.727
TestClientAuthenticationFakeNTLM 5 0 0 0 100% 0.042
TestCookieVirtualHost 1 0 0 0 100% 0.008
TestContentCodings 9 0 0 0 100% 0.065
TestBasicConnectionManager 2 0 0 0 100% 0.011
TestStatefulConnManagement 2 0 0 0 100% 0.222
TestConnectionManagement 4 0 0 0 100% 0.491
TestSPNegoScheme 2 0 0 0 100% 0.058

Test Cases

[Summary] [Package List] [Test Cases]

TestClientAuthentication

testAuthenticationTargetAsProxy 0.005
testBasicAuthenticationFailureOnNonRepeatablePutDontExpectContinue 0.006
testBasicAuthenticationSuccessOnNonRepeatablePutExpectContinue 0.005
testAuthenticationFallback 0.005
testAuthenticationCredentialsCachingReauthenticationOnDifferentRealm 0.004
testBasicAuthenticationCredentialsCachingByPathPrefix 0.005
testReauthentication 0.004
testBasicAuthenticationNoCreds 0.002
testBasicAuthenticationCredentialsCaching 0.003
testBasicAuthenticationSuccess 0.002
testAuthenticationUserinfoInRequest 0.001
testPreemptiveAuthenticationFailure 0.01
testBasicAuthenticationFailure 0.002
testBasicAuthenticationFailureOnNonRepeatablePost 0.001
testPreemptiveAuthentication 0.003
testConnectionCloseAfterAuthenticationSuccess 0.004
testBasicAuthenticationSuccessOnRepeatablePost 0.002

HttpMinimalIntegrationTests$Http1

testRequestExecutionFromCallback 0.017
testBadRequest 0.006
testSequentialPostRequests 0.004
testConcurrentPostRequests 0.005
testSequentialGetRequests 0.003
testSequentialHeadRequests 0.002
testConcurrentPostRequestsSameEndpoint 0.007

HttpIntegrationTests$H2

testRequestExecutionFromCallback 0.016
testBadRequest 0.005
testSequentialPostRequests 0.004
testConcurrentPostRequests 0.008
testSequentialGetRequests 0.004
testSequentialHeadRequests 0.006

ReactiveMinimalIntegrationTests$Http1Tls

testRequestExecutionFromCallback 0.028
testBadRequest 0.013
testSequentialPostRequests 0.014
testConcurrentPostRequests 0.335
testSequentialGetRequests 0.013
testSequentialHeadRequests 0.018
testConcurrentPostRequestsSameEndpoint 0.016

HttpIntegrationTests$Http1

testRequestExecutionFromCallback 5.021
testBadRequest 0.008
testSequentialPostRequests 0.007
testConcurrentPostRequests 0.006
testSequentialGetRequests 0.003
testSequentialHeadRequests 0.003
testSequentialGetRequestsCloseConnection(int)[1] 0.004
testSequentialGetRequestsCloseConnection(int)[2] 0.004
testSequentialGetRequestsCloseConnection(int)[3] 0.004
testRequestCancellation 0.015
testSharedPool 0.004

TestMinimalClientRequestExecution

testNonCompliantURIWithContext 0.006
testNonCompliantURIWithoutContext 0.005

TestMalformedServerResponse

testNoContentResponseWithGarbage 0.003

ReactiveMinimalIntegrationTests$H2

testRequestExecutionFromCallback 0.01
testBadRequest 0.005
testSequentialPostRequests 0.005
testConcurrentPostRequests 0.569
testSequentialGetRequests 0.002
testSequentialHeadRequests 0.002

TestHttpAsyncMinimalTlsHandshake

testSuccessfulTlsHandshake 0.019
testTlsHandshakeFailure 0.06

TestClientRequestExecution

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

HttpIntegrationTests$RedirectsH2Tls

testBasicRedirect302NoLocation 0.023
testMaxRedirectCheck 0.027
testRelativeRedirect 0.025
testPostRedirectSeeOther 0.023
testRejectBogusRedirectLocation 0.022
testRedirectWithCookie 0.022
testPostRedirect 0.022
testRejectInvalidRedirectLocation 0.02
testRelativeRedirect2 0.017
testBasicRedirect300 0.019
testBasicRedirect301 0.019
testBasicRedirect302 0.019
testBasicRedirect303 0.018
testBasicRedirect304 0.022
testBasicRedirect305 0.017
testBasicRedirect307 0.02
testCrossSiteRedirect 0.091
testCircularRedirect 0.017

TestIdleConnectionEviction

testIdleConnectionEviction 2.13

TestWindowsNegotiateScheme

testNoInfiniteLoopOnSPNOutsideDomain 0
skipped

HttpIntegrationTests$RedirectsH2

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

TestRedirects

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

TestFluent

testGetRequestByName 0.05
testGetRequestFailure 0.003
testContentAsStringWithCharset 0.003
testGetRequestByNameWithURI 0.003
testPostRequest 0.003
testGetRequest 0.002
testConnectionRelease 0.026

HttpIntegrationTests$AuthenticationHttp1

testAuthenticationFallback 0.006
testBasicAuthenticationCredentialsCachingByPathPrefix 0.015
testReauthentication 0.012
testBasicAuthenticationExpectationSuccess 0.007
testBasicAuthenticationNoCreds 0.006
testBasicAuthenticationWithEntitySuccess 0.007
testBasicAuthenticationCredentialsCaching 0.008
testBasicAuthenticationSuccess 0.008
testBasicAuthenticationExpectationFailure 0.006
testBasicAuthenticationFailure 0.004
testAuthenticationUserinfoInRequestFailure 0.002
testBasicAuthenticationSuccessNonPersistentConnection 0.005

HttpIntegrationTests$AuthenticationH2

testAuthenticationFallback 0.01
testBasicAuthenticationCredentialsCachingByPathPrefix 0.02
testReauthentication 0.018
testBasicAuthenticationExpectationSuccess 0.015
testBasicAuthenticationNoCreds 0.017
testBasicAuthenticationWithEntitySuccess 0.007
testBasicAuthenticationCredentialsCaching 0.01
testBasicAuthenticationSuccess 0.009
testBasicAuthenticationExpectationFailure 0.006
testBasicAuthenticationFailure 0.007
testAuthenticationUserinfoInRequestFailure 0.008

TestSSLSocketFactory

testSSLTrustVerificationOverrideWithCustsom 0.06
testClientAuthSSLFailure 0.023
testWeakCiphersDisabledByDefault 0.008
testSSLTrustVerificationOverrideWithTrustSelfSignedStrategy 0.053
testBasicSSL 0.06
testSSLTrustVerification 0.017
testBasicDefaultHostnameVerifier 0.066
testSSLTrustVerificationOverrideWithTrustAllStrategy 0.061
testClientAuthSSL 0.052
testSSLDisabledByDefault 0.004

HttpIntegrationTests$RedirectsHttp1Tls

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

TestConnectionReuse

testReuseOfAbortedConnections 0.034
testReuseOfPersistentConnectionsWithStreamedRequestAndResponse 0.024
testKeepAliveHeaderRespected 1.607
testReuseOfPersistentConnections 0.028
testReuseOfClosedConnections 0.032

HttpIntegrationTests$Http1RequestReExecutionTls

testDoNotGiveUpEasily 3.048
testGiveUpAfterOneRetry 1.047

ReactiveIntegrationTests$Http1

testRequestExecutionFromCallback 0.012
testBadRequest 0.005
testSequentialPostRequests 0.005
testConcurrentPostRequests 0.21
testSequentialGetRequests 0.004
testSequentialHeadRequests 0.003
testSequentialGetRequestsCloseConnection(int)[1] 0.003
testSequentialGetRequestsCloseConnection(int)[2] 0.004
testSequentialGetRequestsCloseConnection(int)[3] 0.004
testSharedPool 0.003

ReactiveIntegrationTests$Http1Tls

testRequestExecutionFromCallback 5.037
testBadRequest 0.025
testSequentialPostRequests 0.019
testConcurrentPostRequests 0.357
testSequentialGetRequests 0.015
testSequentialHeadRequests 0.013
testSequentialGetRequestsCloseConnection(int)[1] 0.015
testSequentialGetRequestsCloseConnection(int)[2] 0.019
testSequentialGetRequestsCloseConnection(int)[3] 0.017
testSharedPool 0.025

HttpIntegrationTests$Http1ProtocolPolicyTls

testRequestContext 0.022

HttpIntegrationTests$Http1Tls

testRequestExecutionFromCallback 0.042
testBadRequest 0.018
testSequentialPostRequests 0.02
testConcurrentPostRequests 0.03
testSequentialGetRequests 0.017
testSequentialHeadRequests 0.013
testSequentialGetRequestsCloseConnection(int)[1] 0.036
testSequentialGetRequestsCloseConnection(int)[2] 0.024
testSequentialGetRequestsCloseConnection(int)[3] 0.019
testRequestCancellation 0.088
testSharedPool 0.023

TestClientAuthenticationFakeNTLM

testNTLMAuthenticationFailure 0.009
testNTLMType2MessageOnlyAuthenticationFailure 0.004
testNTLMv2Type2Message 0.017
testNTLMType2NonUnicodeMessageOnlyAuthenticationFailure 0.004
testNTLMv1Type2Message 0.007

HttpIntegrationTests$RedirectsHttp1

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

TestCookieVirtualHost

testCookieMatchingWithVirtualHosts 0.008

TestContentCodings

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

ReactiveMinimalIntegrationTests$Http1

testRequestExecutionFromCallback 5.01
testBadRequest 0.006
testSequentialPostRequests 0.005
testConcurrentPostRequests 0.198
testSequentialGetRequests 0.002
testSequentialHeadRequests 0.002
testConcurrentPostRequestsSameEndpoint 0.003

HttpMinimalIntegrationTests$H2

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

HttpIntegrationTests$Http1ProtocolPolicy

testRequestContext 0.004

TestBasicConnectionManager

testConnectionStillInUse 0.008
testBasics 0.002

HttpIntegrationTests$H2ProtocolPolicyTls

testRequestContext 0.02

HttpIntegrationTests$AuthenticationHttp1Tls

testAuthenticationFallback 0.057
testBasicAuthenticationCredentialsCachingByPathPrefix 0.034
testReauthentication 0.037
testBasicAuthenticationExpectationSuccess 0.029
testBasicAuthenticationNoCreds 0.027
testBasicAuthenticationWithEntitySuccess 0.029
testBasicAuthenticationCredentialsCaching 0.032
testBasicAuthenticationSuccess 0.022
testBasicAuthenticationExpectationFailure 0.031
testBasicAuthenticationFailure 0.028
testAuthenticationUserinfoInRequestFailure 0.005
testBasicAuthenticationSuccessNonPersistentConnection 0.031

ReactiveIntegrationTests$H2Tls

testRequestExecutionFromCallback 0.098
testBadRequest 0.013
testSequentialPostRequests 0.02
testConcurrentPostRequests 0.746
testSequentialGetRequests 0.016
testSequentialHeadRequests 0.016

TestStatefulConnManagement

testRouteSpecificPoolRecylcing 0.208
testStatefulConnections 0.013

HttpIntegrationTests$H2Tls

testRequestExecutionFromCallback 0.045
testBadRequest 0.014
testSequentialPostRequests 0.016
testConcurrentPostRequests 0.02
testSequentialGetRequests 0.014
testSequentialHeadRequests 0.017

HttpIntegrationTests$Http1RequestReExecution

testDoNotGiveUpEasily 3.014
testGiveUpAfterOneRetry 1.008

TestHttp1AsyncStatefulConnManagement

testRouteSpecificPoolRecylcing 0.209
testStatefulConnections 0.006

HttpMinimalIntegrationTests$H2Tls

testRequestExecutionFromCallback 0.025
testBadRequest 0.01
testSequentialPostRequests 0.012
testConcurrentPostRequests 0.014
testSequentialGetRequests 0.012
testSequentialHeadRequests 0.011

TestConnectionManagement

testCloseExpiredIdleConnections 0.152
testCloseExpiredTTLConnections 0.154
testReleaseConnectionWithTimeLimits 0.168
testReleaseConnection 0.015

ReactiveIntegrationTests$H2

testRequestExecutionFromCallback 0.012
testBadRequest 0.006
testSequentialPostRequests 0.006
testConcurrentPostRequests 0.73
testSequentialGetRequests 0.003
testSequentialHeadRequests 0.003

HttpIntegrationTests$AuthenticationH2Tls

testAuthenticationFallback 0.792
testBasicAuthenticationCredentialsCachingByPathPrefix 0.075
testReauthentication 0.042
testBasicAuthenticationExpectationSuccess 0.04
testBasicAuthenticationNoCreds 0.032
testBasicAuthenticationWithEntitySuccess 0.032
testBasicAuthenticationCredentialsCaching 0.035
testBasicAuthenticationSuccess 0.032
testBasicAuthenticationExpectationFailure 0.025
testBasicAuthenticationFailure 0.025
testAuthenticationUserinfoInRequestFailure 0.006

HttpMinimalIntegrationTests$Http1Tls

testRequestExecutionFromCallback 0.031
testBadRequest 0.017
testSequentialPostRequests 0.018
testConcurrentPostRequests 0.027
testSequentialGetRequests 0.015
testSequentialHeadRequests 0.012
testConcurrentPostRequestsSameEndpoint 0.019

ReactiveMinimalIntegrationTests$H2Tls

testRequestExecutionFromCallback 0.036
testBadRequest 0.012
testSequentialPostRequests 0.015
testConcurrentPostRequests 0.976
testSequentialGetRequests 0.013
testSequentialHeadRequests 0.016

TestSPNegoScheme

testDontTryToAuthenticateEndlessly 0.054
testNoTokenGeneratedError 0.003

HttpIntegrationTests$H2ProtocolPolicy

testRequestContext 0.006

Failure Details

[Summary] [Package List] [Test Cases]


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