Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
367 0 0 0 100% 223.392

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.core5.testing.nio 243 0 0 0 100% 195.388
org.apache.hc.core5.benchmark 3 0 0 0 100% 0.335
org.apache.hc.core5.testing.reactive 12 0 0 0 100% 10.905
org.apache.hc.core5.testing.classic 55 0 0 0 100% 16.386
org.apache.hc.core5.testing.framework 54 0 0 0 100% 0.378

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

org.apache.hc.core5.testing.nio

Class Tests Errors Failures Skipped Success Rate Time
HttpIntegrationTests$CoreTransportH2SocksProxy 6 0 0 0 100% 1.828
HttpIntegrationTests$CoreTransportH2SocksProxyTls 6 0 0 0 100% 1.855
HttpIntegrationTests 0 0 0 0 0% 30.977
JSSEProviderIntegrationTests$Oracle 3 0 0 0 100% 0.66
HttpProtocolTests 0 0 0 0 0% 61.451
HttpProtocolTests$Http1Tls 44 0 0 0 100% 26.074
HttpIntegrationTests$CoreTransportH2Tls 6 0 0 0 100% 7.188
H2ConnPoolTest 2 0 0 0 100% 0.648
H2AlpnTests$NonStrictH2AlpnH2Disallowed 1 0 0 0 100% 0.367
HttpIntegrationTests$CoreTransportH2Multiplexing 5 0 0 0 100% 1.164
HttpIntegrationTests$H2Filters 1 0 0 0 100% 0.178
HttpIntegrationTests$CoreTransportH2MultiplexingTls 5 0 0 0 100% 1.239
HttpProtocolTests$H2Tls 18 0 0 0 100% 10.207
HttpIntegrationTests$CoreTransportH2 6 0 0 0 100% 2.12
JSSEProviderIntegrationTests 0 0 0 0 0% 1.61
HttpIntegrationTests$CoreTransportSocksProxy 6 0 0 0 100% 2.169
HttpIntegrationTests$CoreTransportH2Tls13 6 0 0 0 100% 2.221
H2AlpnTests$StrictH2AlpnH2Disallowed 1 0 0 0 100% 0.367
HttpIntegrationTests$CoreTransportSocksProxyTls 6 0 0 0 100% 3.232
H2ProtocolNegotiationTest 3 0 0 0 100% 0.563
H2AlpnTests$StrictH2AlpnH2Allowed 1 0 0 0 100% 0.361
TLSUpgradeTest 1 0 0 0 100% 0.19
TLSIntegrationTest 21 0 0 0 100% 3.745
HttpIntegrationTests$CoreTransport 6 0 0 0 100% 2.116
HttpProtocolTests$H2 18 0 0 0 100% 6.588
JSSEProviderIntegrationTests$ConscryptTlsV1_3 3 0 0 0 100% 0.564
HttpIntegrationTests$Authentication 3 0 0 0 100% 0.513
HttpIntegrationTests$HttpFilters 1 0 0 0 100% 0.176
HttpIntegrationTests$CoreTransportTls 6 0 0 0 100% 2.174
H2AlpnTests 0 0 0 0 0% 1.096
TestDefaultListeningIOReactor 2 0 0 0 100% 0.008
HttpIntegrationTests$CoreTransportTls13 6 0 0 0 100% 2.254
HttpProtocolTests$Http1 44 0 0 0 100% 18.568
JSSEProviderIntegrationTests$ConscryptTlsV1_2 3 0 0 0 100% 0.385
HttpIntegrationTests$AuthenticationImmediateResponse 3 0 0 0 100% 0.532

org.apache.hc.core5.benchmark

Class Tests Errors Failures Skipped Success Rate Time
BenchmarkToolTest 2 0 0 0 100% 0.33
ResultFormatterTest 1 0 0 0 100% 0.005

org.apache.hc.core5.testing.reactive

Class Tests Errors Failures Skipped Success Rate Time
IntegrationTests$CoreFunctionsTls 6 0 0 0 100% 2.842
IntegrationTests 0 0 0 0 0% 5.453
IntegrationTests$CoreFunctions 6 0 0 0 100% 2.61

org.apache.hc.core5.testing.classic

Class Tests Errors Failures Skipped Success Rate Time
ClassicIntegrationTests$MonitoringResponseOutOfOrderStrategy 1 0 0 0 100% 0.052
ClassicProtocolTests 0 0 0 0 0% 3.105
ClassicIntegrationTests$CoreTransportTls 3 0 0 0 100% 0.651
ClassicIntegrationTests$AuthenticationImmediateResponse 3 0 0 0 100% 0.166
ClassicIntegrationTests$CoreTransportSocksProxyTls 3 0 0 0 100% 1.471
ClassicIntegrationTests$CoreTransport 3 0 0 0 100% 0.173
ClassicTLSIntegrationTest 6 0 0 0 100% 3.486
ClassicProtocolTests$Http1Tls 14 0 0 0 100% 2.991
ClassicProtocolTests$Http1 14 0 0 0 100% 0.108
ClassicIntegrationTests$MonitoringResponseOutOfOrderStrategyTls 1 0 0 0 100% 0.206
ClassicIntegrationTests$Authentication 3 0 0 0 100% 0.161
ClassicIntegrationTests 0 0 0 0 0% 3.358
ClassicIntegrationTests$CoreTransportSocksProxy 3 0 0 0 100% 0.401
ClassicIntegrationTests$HttpFilters 1 0 0 0 100% 0.057

org.apache.hc.core5.testing.framework

Class Tests Errors Failures Skipped Success Rate Time
TestClientPojoAdapter 3 0 0 0 100% 0.001
TestClassicTestClientTestingAdapter 11 0 0 0 100% 0.011
TestFrameworkTest 3 0 0 0 100% 0.001
TestClientTestingAdapter 2 0 0 0 100% 0.001
TestTestingFrameworkRequestHandler 2 0 0 0 100% 0.001
TestTestingFramework 33 0 0 0 100% 0.363

Test Cases

[Summary] [Package List] [Test Cases]

HttpIntegrationTests$CoreTransportH2SocksProxy

testSequentialRequests 0.346
testPipelinedRequests 0.269
testSequentialRequestsNonPersistentConnection 0.352
testLargeRequest 0.261
testSequentialRequestsSameEndpoint 0.35
testNonPersistentHeads 0.248

ClassicIntegrationTests$MonitoringResponseOutOfOrderStrategy

testResponseOutOfOrderWithDefaultStrategy 0.051

ClassicIntegrationTests$CoreTransportTls

testSequentialRequests 0.208
testMultiThreadedRequests 0.234
testSequentialRequestsNonPersistentConnection 0.207

BenchmarkToolTest

testBasics(HttpVersionPolicy)[1] 0.24
testBasics(HttpVersionPolicy)[2] 0.04

ClassicIntegrationTests$AuthenticationImmediateResponse

testPostRequestAuthenticationNoExpectContinue 0.059
testPostRequestAuthentication 0.053
testGetRequestAuthentication 0.052

HttpIntegrationTests$CoreTransportH2SocksProxyTls

testSequentialRequests 0.329
testPipelinedRequests 0.275
testSequentialRequestsNonPersistentConnection 0.234
testLargeRequest 0.326
testSequentialRequestsSameEndpoint 0.325
testNonPersistentHeads 0.363

ClassicIntegrationTests$CoreTransportSocksProxyTls

testSequentialRequests 0.395
testMultiThreadedRequests 0.414
testSequentialRequestsNonPersistentConnection 0.66

JSSEProviderIntegrationTests$Oracle

testSimpleGet 0.184
testSimpleGetConnectionClose 0.239
testSimpleGetIdentityTransfer 0.237

ClassicIntegrationTests$CoreTransport

testSequentialRequests 0.052
testMultiThreadedRequests 0.062
testSequentialRequestsNonPersistentConnection 0.057

HttpProtocolTests$Http1Tls

testSimpleHead 0.186
testMissingExpectContinueAckClientContinues 5.196
testInvalidProtocolVersion 0.199
testPipelinedInvalidRequest 0.187
testSimpleGet 0.189
testPostIdentityTransfer 0.2
testHTTP11FeaturesDisabledWithHTTP10Requests 0.193
testSimpleHeadConnectionClose 0.196
testExceptionInHandler 0.188
testSimpleGetConnectionClose 0.193
testBasicPost 0.184
testHttp10Post 0.184
testLargeGet 0.186
testHeaderTooLargePost 0.188
testHeaderTooLarge 0.184
testDelayedResponseSubmission 0.389
testSimpleGetsPipelined 0.193
testPipelinedConnectionClose 0.186
testSlowRequestProducer 2.69
testPrematureResponse 0.204
testLargeGetsPipelined 0.195
testHeadPipelined 0.187
testExpectationFailedCloseConnection 0.191
testDelayedResponseSubmissionNoResponseBody 0.247
testTruncatedChunk 0.329
testPostOutOfSequenceResponseOK 0.193
testSlowResponseProducer 2.198
testPostsPipelinedLargeResponse 0.195
testNoServiceHandler 0.185
testPostIdentityTransferOutOfSequenceResponseNotOK 0.195
testSlowResponseConsumer 5.203
testBasicPostPipelined 0.192
testInvalidRequestMessage 0.188
testNoEntityPost 0.183
testMessageWithTrailers 0.19
testPostOutOfSequenceResponseOKConnectionClose 0.195
testLargePost 0.197
testDelayedRequestSubmission 1.017
testProtocolException 0.195
testDelayedExpectContinueAck 2.093
testExpectationFailed 0.201
testResponseNoContent 0.184
testLargePostsPipelined 0.194
testSimpleGetIdentityTransfer 0.187

HttpIntegrationTests$CoreTransportH2Tls

testSequentialRequests 0.371
testPipelinedRequests 0.367
testSequentialRequestsNonPersistentConnection 0.363
testLargeRequest 0.353
testSequentialRequestsSameEndpoint 0.354
testNonPersistentHeads 5.38

ClassicTLSIntegrationTest

testHostNameVerification 0.587
testTLSClientAuthFailure 0.285
testWeakCiphersDisabledByDefault 2.056
testTLSSuccess 0.203
testTLSTrustFailure 0.152
testSSLDisabledByDefault 0.196

H2ConnPoolTest

testManyGetSessionFailures 0.451
testManyGetSession 0.195

ResultFormatterTest

testBasics 0.005

ClassicProtocolTests$Http1Tls

testSimpleHttpPostsWithContentLength 0.218
testHttpPostIdentity 0.19
testHTTP11FeaturesDisabledWithHTTP10Requests 0.189
testSimpleHttpPostsHTTP10 0.198
testHttpPostNoEntity 0.193
testHeaderTooLargePost 0.191
testHeaderTooLarge 0.192
testSimpleHttpPostsChunked 0.199
testHttpPostsWithExpectContinue 0.234
testHttpPostsWithExpectationVerification 0.257
testSimpleBasicHttpRequests 0.203
testNoContentResponse 0.19
testHttpContent 0.338
testHttpPostNoContentLength 0.194

TestClientPojoAdapter

checkRequestSupportThrows 0
checkRequestSupport 0
modifyRequest 0

ClassicProtocolTests$Http1

testSimpleHttpPostsWithContentLength 0.004
testHttpPostIdentity 0.001
testHTTP11FeaturesDisabledWithHTTP10Requests 0.001
testSimpleHttpPostsHTTP10 0.003
testHttpPostNoEntity 0.001
testHeaderTooLargePost 0.001
testHeaderTooLarge 0.001
testSimpleHttpPostsChunked 0.01
testHttpPostsWithExpectContinue 0.006
testHttpPostsWithExpectationVerification 0.007
testSimpleBasicHttpRequests 0.004
testNoContentResponse 0.002
testHttpContent 0.058
testHttpPostNoContentLength 0.001

H2AlpnTests$NonStrictH2AlpnH2Disallowed

testALPN 0.187

HttpIntegrationTests$CoreTransportH2Multiplexing

testSequentialRequests 0.184
testMultiplexedRequests 0.169
testValidityCheck 0.376
testLargeRequest 0.187
testMultiplexedRequestCancellation 0.247

HttpIntegrationTests$H2Filters

testSequentialRequests 0.177

HttpIntegrationTests$CoreTransportH2MultiplexingTls

testSequentialRequests 0.189
testMultiplexedRequests 0.183
testValidityCheck 0.385
testLargeRequest 0.196
testMultiplexedRequestCancellation 0.284

HttpProtocolTests$H2Tls

testSimpleHead 0.202
testSimpleGet 0.212
testPush 0.209
testBasicPost 0.192
testLargeGet 0.213
testHeaderTooLargePost 0.195
testHeaderTooLarge 0.196
testSlowRequestProducer 2.702
testPrematureResponse 0.217
testConnectionPing 0.195
testSlowResponseProducer 2.209
testExcessOfConcurrentStreams 0.764
testPushRefused 0.203
testSlowResponseConsumer 1.698
testMessageWithTrailers 0.205
testLargePost 0.191
testExpectationFailed 0.205
testRequestWithInvalidConnectionHeader 0.193

HttpIntegrationTests$CoreTransportH2

testSequentialRequests 0.355
testPipelinedRequests 0.354
testSequentialRequestsNonPersistentConnection 0.349
testLargeRequest 0.352
testSequentialRequestsSameEndpoint 0.353
testNonPersistentHeads 0.356

ClassicIntegrationTests$MonitoringResponseOutOfOrderStrategyTls

testResponseOutOfOrderWithDefaultStrategy 0.205

HttpIntegrationTests$CoreTransportSocksProxy

testSequentialRequests 0.347
testPipelinedRequests 0.266
testSequentialRequestsNonPersistentConnection 0.317
testLargeRequest 0.272
testSequentialRequestsSameEndpoint 0.351
testNonPersistentHeads 0.614

HttpIntegrationTests$CoreTransportH2Tls13

testSequentialRequests 0.377
testPipelinedRequests 0.374
testSequentialRequestsNonPersistentConnection 0.355
testLargeRequest 0.363
testSequentialRequestsSameEndpoint 0.361
testNonPersistentHeads 0.39

TestClassicTestClientTestingAdapter

nullRequest 0.001
invalidMethod 0.001
nullDefaultURI 0
noPath 0
withLiveServerCustomRequestHandler 0.006
nullRequestHandler 0
modifyRequest 0.001
noMethod 0
nullResponseExpectations 0
withLiveServerEcho 0.002
modifyResponseExpectations 0

ClassicIntegrationTests$Authentication

testPostRequestAuthenticationNoExpectContinue 0.055
testPostRequestAuthentication 0.053
testGetRequestAuthentication 0.052

H2AlpnTests$StrictH2AlpnH2Disallowed

testALPN 0.189

HttpIntegrationTests$CoreTransportSocksProxyTls

testSequentialRequests 0.324
testPipelinedRequests 0.283
testSequentialRequestsNonPersistentConnection 0.596
testLargeRequest 0.33
testSequentialRequestsSameEndpoint 0.33
testNonPersistentHeads 1.364

IntegrationTests$CoreFunctionsTls

testRequestError 0.241
testLongRunningRequest 0.368
testManySmallBuffers 0.665
testRequestTimeout 1.182
testSimpleRequest 0.202
testResponseCancellation 0.182

TestFrameworkTest

changeMethod 0
changeStatus 0
defaults 0

H2ProtocolNegotiationTest

testNegotiateProtocol 0.19
testForceHttp1 0.184
testForceHttp2 0.188

ClassicIntegrationTests$CoreTransportSocksProxy

testSequentialRequests 0.102
testMultiThreadedRequests 0.114
testSequentialRequestsNonPersistentConnection 0.183

TestClientTestingAdapter

isRequestSupported 0.001
getHttpClientPOJOAdapter 0

H2AlpnTests$StrictH2AlpnH2Allowed

testALPN 0.185

TestTestingFrameworkRequestHandler

assertNothingThrown 0
assertNothingThrownThrows 0

TestTestingFramework

changeBody 0.013
changedHeaderCheck 0.003
status201 0.004
addTestNoMocks 0.018
nullSetAdapterThrows 0.002
removeHeader 0.003
addTest 0.226
modifyResponseExpectationsCalled 0.002
responseContentTypeCheck 0.002
statusCheck 0.002
modifyRequestCalled 0.002
adapterDoesNotSupport 0.001
defaultTests 0.01
runTestsWithoutSettingAdapterThrows 0.001
responseAlreadyChecked 0.001
goodAdapterWithConstructor 0.032
changeHeader 0.003
requestMethodUnexpected 0.002
removeParameter 0.002
nulls 0.012
parameterInPath 0.002
defaultTestsWithMockedAdapter 0.001
nullAdapterThrows 0
deepcopy 0.001
changeContentType 0.003
removedHeaderCheck 0.001
changeResponseExpectationsFails 0.001
deepcopyOfTest 0.001
changeResponseStatus 0.001
bodyCheck 0.001
goodAdapterWithSetter 0.001
ensureDefaultMapsUnmodifiable 0
changeParameter 0.002

TLSUpgradeTest

testTLSUpgrade 0.189

TLSIntegrationTest

testHostNameVerification 0.2
testTLSClientAuthFailure 0.187
testWeakCipherDisabledByDefault(String)[1] 0.185
testWeakCipherDisabledByDefault(String)[2] 0.173
testWeakCipherDisabledByDefault(String)[3] 0.177
testWeakCipherDisabledByDefault(String)[4] 0.176
testWeakCipherDisabledByDefault(String)[5] 0.171
testWeakCipherDisabledByDefault(String)[6] 0.182
testWeakCipherDisabledByDefault(String)[7] 0.176
testWeakCipherDisabledByDefault(String)[8] 0.179
testWeakCipherDisabledByDefault(String)[9] 0.175
testWeakCipherDisabledByDefault(String)[10] 0.173
testWeakCipherDisabledByDefault(String)[11] 0.175
testWeakCipherDisabledByDefault(String)[12] 0.175
testWeakCipherDisabledByDefault(String)[13] 0.178
testWeakCipherDisabledByDefault(String)[14] 0.185
testWeakCipherDisabledByDefault(String)[15] 0.181
testTLSVersionMismatch 0.184
testTLSSuccess(TLS)[1] 0.187
testTLSTrustFailure 0.136
testSSLDisabledByDefault 0.182

HttpIntegrationTests$CoreTransport

testSequentialRequests 0.347
testPipelinedRequests 0.341
testLargeRequest 0.351
testSequentialRequestsSameEndpoint 0.355
testNonPersistentHeads 0.355
testSequentialRequestsNonPersistentConnection 0.366

HttpProtocolTests$H2

testSimpleHead 0.003
testSimpleGet 0.003
testPush 0.003
testBasicPost 0.003
testLargeGet 0.007
testHeaderTooLargePost 0.003
testHeaderTooLarge 0.003
testSlowRequestProducer 2.507
testPrematureResponse 0.014
testConnectionPing 0.007
testSlowResponseProducer 2.008
testExcessOfConcurrentStreams 0.491
testPushRefused 0.003
testSlowResponseConsumer 1.507
testMessageWithTrailers 0.008
testLargePost 0.007
testExpectationFailed 0.004
testRequestWithInvalidConnectionHeader 0.002

JSSEProviderIntegrationTests$ConscryptTlsV1_3

testSimpleGet 0.212
testSimpleGetConnectionClose 0.178
testSimpleGetIdentityTransfer 0.171

IntegrationTests$CoreFunctions

testRequestError 0.182
testLongRunningRequest 0.369
testManySmallBuffers 0.503
testRequestTimeout 1.186
testSimpleRequest 0.188
testResponseCancellation 0.18

ClassicIntegrationTests$HttpFilters

testFilters 0.055

HttpIntegrationTests$Authentication

testPostRequestAuthenticationNoExpectContinue 0.169
testPostRequestAuthentication 0.173
testGetRequestAuthentication 0.17

HttpIntegrationTests$HttpFilters

testFilters 0.176

HttpIntegrationTests$CoreTransportTls

testSequentialRequests 0.361
testPipelinedRequests 0.359
testLargeRequest 0.359
testSequentialRequestsSameEndpoint 0.359
testNonPersistentHeads 0.372
testSequentialRequestsNonPersistentConnection 0.362

TestDefaultListeningIOReactor

testEndpointAlreadyBound 0.006
testEndpointUpAndDown 0.001

HttpIntegrationTests$CoreTransportTls13

testSequentialRequests 0.366
testPipelinedRequests 0.362
testLargeRequest 0.359
testSequentialRequestsSameEndpoint 0.376
testNonPersistentHeads 0.417
testSequentialRequestsNonPersistentConnection 0.372

HttpProtocolTests$Http1

testSimpleHead 0.002
testMissingExpectContinueAckClientContinues 5.012
testInvalidProtocolVersion 0.005
testPipelinedInvalidRequest 0.006
testSimpleGet 0.005
testPostIdentityTransfer 0.009
testHTTP11FeaturesDisabledWithHTTP10Requests 0.004
testSimpleHeadConnectionClose 0.006
testExceptionInHandler 0.002
testSimpleGetConnectionClose 0.004
testBasicPost 0.003
testHttp10Post 0.003
testLargeGet 0.005
testHeaderTooLargePost 0.002
testHeaderTooLarge 0.002
testDelayedResponseSubmission 0.112
testSimpleGetsPipelined 0.006
testPipelinedConnectionClose 0.006
testSlowRequestProducer 2.508
testPrematureResponse 0.007
testLargeGetsPipelined 0.01
testHeadPipelined 0.004
testExpectationFailedCloseConnection 0.003
testDelayedResponseSubmissionNoResponseBody 0.15
testTruncatedChunk 0.006
testPostOutOfSequenceResponseOK 0.007
testSlowResponseProducer 2.01
testPostsPipelinedLargeResponse 0.01
testNoServiceHandler 0.005
testPostIdentityTransferOutOfSequenceResponseNotOK 0.006
testSlowResponseConsumer 5.023
testBasicPostPipelined 0.002
testInvalidRequestMessage 0.001
testNoEntityPost 0.002
testMessageWithTrailers 0.004
testPostOutOfSequenceResponseOKConnectionClose 0.003
testLargePost 0.012
testDelayedRequestSubmission 0.789
testProtocolException 0.005
testDelayedExpectContinueAck 2.752
testExpectationFailed 0.008
testResponseNoContent 0.006
testLargePostsPipelined 0.015
testSimpleGetIdentityTransfer 0.004

JSSEProviderIntegrationTests$ConscryptTlsV1_2

testSimpleGet 0.117
testSimpleGetConnectionClose 0.138
testSimpleGetIdentityTransfer 0.129

HttpIntegrationTests$AuthenticationImmediateResponse

testPostRequestAuthenticationNoExpectContinue 0.182
testPostRequestAuthentication 0.175
testGetRequestAuthentication 0.171