Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
378 0 0 14 96.296% 156.355

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 262 0 0 14 94.656% 136.421
org.apache.hc.core5.benchmark 3 0 0 0 100% 0.067
org.apache.hc.core5.testing.reactive 12 0 0 0 100% 6.15
org.apache.hc.core5.testing.classic 46 0 0 0 100% 12.703
org.apache.hc.core5.testing.framework 55 0 0 0 100% 1.014

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
Http1IntegrationTest 72 0 0 0 100% 38.178
H2ServerAndMultiplexingRequesterTest 8 0 0 4 50% 1.453
H2ProtocolNegotiationTest 3 0 0 3 0% 1.235
AsyncServerBootstrapFilterTest 1 0 0 0 100% 0.072
H2IntegrationTest 36 0 0 0 100% 22.014
H2TLSIntegrationTest 5 0 0 0 100% 3.24
Http1AuthenticationTest 6 0 0 0 100% 0.084
Http1ServerAndRequesterTest 10 0 0 0 100% 1.698
Http1SocksProxyIntegrationTest 72 0 0 0 100% 40.156
H2AlpnTest 3 0 0 3 0% 0.632
H2ServerBootstrapFiltersTest 1 0 0 0 100% 0.071
H2SocksProxyIntegrationTest 36 0 0 0 100% 26.642
JSSEProviderIntegrationTest 1 0 0 1 0% 0.003
H2ServerAndRequesterTest 6 0 0 3 50% 0.939
TestDefaultListeningIOReactor 2 0 0 0 100% 0.004

org.apache.hc.core5.benchmark

Class Tests Errors Failures Skipped Success Rate Time
BenchmarkToolTest 2 0 0 0 100% 0.065
ResultFormatterTest 1 0 0 0 100% 0.002

org.apache.hc.core5.testing.reactive

Class Tests Errors Failures Skipped Success Rate Time
ReactiveClientTest 12 0 0 0 100% 6.15

org.apache.hc.core5.testing.classic

Class Tests Errors Failures Skipped Success Rate Time
ClassicIntegrationTest 28 0 0 0 100% 5.758
MonitoringResponseOutOfOrderStrategyIntegrationTest 2 0 0 0 100% 1.857
ClassicServerBootstrapFilterTest 1 0 0 0 100% 0.046
ClassicAuthenticationTest 6 0 0 0 100% 0.057
ClassicServerAndRequesterTest 4 0 0 0 100% 0.8
ClassicTLSIntegrationTest 5 0 0 0 100% 4.185

org.apache.hc.core5.testing.framework

Class Tests Errors Failures Skipped Success Rate Time
TestTestingFrameworkRequestHandler 2 0 0 0 100% 0.006
TestTestingFramework 34 0 0 0 100% 0.393
TestFrameworkTest 3 0 0 0 100% 0.006
TestClassicTestClientTestingAdapter 11 0 0 0 100% 0.606
TestClientPojoAdapter 3 0 0 0 100% 0.001
TestClientTestingAdapter 2 0 0 0 100% 0.002

Test Cases

[Summary] [Package List] [Test Cases]

TestTestingFrameworkRequestHandler

assertNothingThrown 0
assertNothingThrownThrows 0

ClassicIntegrationTest

testSimpleHttpPostsWithContentLength[http] 0.036
testHttpPostIdentity[http] 0.007
testSimpleHttpPostsHTTP10[http] 0.022
testHttpPostNoEntity[http] 0.005
testHeaderTooLargePost[http] 0.004
testHeaderTooLarge[http] 0.004
testSimpleHttpPostsChunked[http] 0.041
testHttpPostsWithExpectContinue[http] 0.033
testAbsentHostHeader[http] 0.005
testHttpPostsWithExpectationVerification[http] 0.04
testSimpleBasicHttpRequests[http] 0.021
testNoContentResponse[http] 0.017
testHttpContent[http] 0.311
testHttpPostNoContentLength[http] 0.005
testSimpleHttpPostsWithContentLength[https] 0.394
testHttpPostIdentity[https] 0.307
testSimpleHttpPostsHTTP10[https] 0.329
testHttpPostNoEntity[https] 0.291
testHeaderTooLargePost[https] 0.29
testHeaderTooLarge[https] 0.281
testSimpleHttpPostsChunked[https] 0.339
testHttpPostsWithExpectContinue[https] 0.324
testAbsentHostHeader[https] 0.277
testHttpPostsWithExpectationVerification[https] 0.367
testSimpleBasicHttpRequests[https] 0.317
testNoContentResponse[https] 0.304
testHttpContent[https] 1.073
testHttpPostNoContentLength[https] 0.304

TestTestingFramework

changeBody 0.02
changedHeaderCheck 0.007
status201 0.008
addTestNoMocks 0.052
nullSetAdapterThrows 0.004
removeHeader 0.007
addTest 0.036
modifyResponseExpectationsCalled 0.005
responseContentTypeCheck 0.005
statusCheck 0.005
modifyRequestCalled 0.004
adapterDoesNotSupport 0.005
defaultTests 0.033
runTestsWithoutSettingAdapterThrows 0.004
responseAlreadyChecked 0.005
goodAdapterWithConstructor 0.051
changeHeader 0.007
requestMethodUnexpected 0.007
removeParameter 0.006
changeProtocolVersion 0.006
nulls 0.043
parameterInPath 0.006
defaultTestsWithMockedAdapter 0.013
nullAdapterThrows 0.003
deepcopy 0.002
changeContentType 0.007
removedHeaderCheck 0.005
changeResponseExpectationsFails 0.005
deepcopyOfTest 0.005
changeResponseStatus 0.007
bodyCheck 0.005
goodAdapterWithSetter 0.004
ensureDefaultMapsUnmodifiable 0
changeParameter 0.006

ReactiveClientTest

testRequestError[FORCE_HTTP_1] 0.249
testLongRunningRequest[FORCE_HTTP_1] 0.377
testManySmallBuffers[FORCE_HTTP_1] 1.088
testRequestTimeout[FORCE_HTTP_1] 1.02
testSimpleRequest[FORCE_HTTP_1] 0.079
testResponseCancellation[FORCE_HTTP_1] 0.013
testRequestError[FORCE_HTTP_2] 0.047
testLongRunningRequest[FORCE_HTTP_2] 0.226
testManySmallBuffers[FORCE_HTTP_2] 1.991
testRequestTimeout[FORCE_HTTP_2] 1.015
testSimpleRequest[FORCE_HTTP_2] 0.02
testResponseCancellation[FORCE_HTTP_2] 0.019

MonitoringResponseOutOfOrderStrategyIntegrationTest

testResponseOutOfOrderWithDefaultStrategy[http] 1.117
testResponseOutOfOrderWithDefaultStrategy[https] 0.617

Http1IntegrationTest

testSimpleHead[http] 0.009
testDelayedExpectationVerification[http] 2.453
testPipelinedInvalidRequest[http] 0.008
testSimpleGet[http] 0.009
testPostIdentityTransfer[http] 0.014
testSimpleHeadConnectionClose[http] 0.013
testExceptionInHandler[http] 0.006
testSimpleGetConnectionClose[http] 0.012
testBasicPost[http] 0.011
testHttp10Post[http] 0.014
testLargeGet[http] 0.019
testHeaderTooLargePost[http] 0.008
testHeaderTooLarge[http] 0.017
testSimpleGetsPipelined[http] 0.006
testPipelinedConnectionClose[http] 0.006
testSlowRequestProducer[http] 2.511
testPrematureResponse[http] 0.02
testLargeGetsPipelined[http] 0.034
testHeadPipelined[http] 0.01
testExpectationFailedCloseConnection[http] 0.009
testTruncatedChunk[http] 0.01
testSlowResponseProducer[http] 2.019
testPostsPipelinedLargeResponse[http] 0.025
testAbsentHostHeader[http] 0.014
testNoServiceHandler[http] 0.013
testSlowResponseConsumer[http] 5.064
testPostIdentityTransferOutOfSequenceResponse[http] 0.026
testBasicPostPipelined[http] 0.019
testNoEntityPost[http] 0.019
testMessageWithTrailers[http] 0.017
testLargePost[http] 0.055
testProtocolException[http] 0.006
testExpectationFailed[http] 0.008
testResponseNoContent[http] 0.005
testLargePostsPipelined[http] 0.036
testSimpleGetIdentityTransfer[http] 0.014
testSimpleHead[https] 0.227
testDelayedExpectationVerification[https] 1.621
testPipelinedInvalidRequest[https] 0.258
testSimpleGet[https] 0.227
testPostIdentityTransfer[https] 0.246
testSimpleHeadConnectionClose[https] 0.242
testExceptionInHandler[https] 0.225
testSimpleGetConnectionClose[https] 0.244
testBasicPost[https] 0.228
testHttp10Post[https] 0.226
testLargeGet[https] 0.241
testHeaderTooLargePost[https] 6.229
testHeaderTooLarge[https] 0.231
testSimpleGetsPipelined[https] 0.225
testPipelinedConnectionClose[https] 0.224
testSlowRequestProducer[https] 2.73
testPrematureResponse[https] 0.256
testLargeGetsPipelined[https] 0.235
testHeadPipelined[https] 0.227
testExpectationFailedCloseConnection[https] 0.226
testTruncatedChunk[https] 0.376
testSlowResponseProducer[https] 2.233
testPostsPipelinedLargeResponse[https] 0.265
testAbsentHostHeader[https] 0.236
testNoServiceHandler[https] 0.223
testSlowResponseConsumer[https] 5.281
testPostIdentityTransferOutOfSequenceResponse[https] 0.269
testBasicPostPipelined[https] 0.229
testNoEntityPost[https] 0.244
testMessageWithTrailers[https] 0.223
testLargePost[https] 0.283
testProtocolException[https] 0.224
testExpectationFailed[https] 0.23
testResponseNoContent[https] 0.234
testLargePostsPipelined[https] 0.267
testSimpleGetIdentityTransfer[https] 0.243

H2ServerAndMultiplexingRequesterTest

testSequentialRequests[http] 0.073
testMultiplexedRequests[http] 0.062
testValidityCheck[http] 0.268
testMultiplexedRequestCancellation[http] 0.199
testSequentialRequests[https] 0
Java version must be 1.8 or greater
testMultiplexedRequests[https] 0
Java version must be 1.8 or greater
testValidityCheck[https] 0
Java version must be 1.8 or greater
testMultiplexedRequestCancellation[https] 0
Java version must be 1.8 or greater

ClassicServerBootstrapFilterTest

testFilters 0.041

H2ProtocolNegotiationTest

testNegotiateProtocol 0
Java version must be 1.8 or greater
testForceHttp1 0
Java version must be 1.8 or greater
testForceHttp2 0
Java version must be 1.8 or greater

AsyncServerBootstrapFilterTest

testFilters 0.071

ClassicAuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0.025
testPostRequestAuthentication[respond immediately on auth failure: false] 0.008
testGetRequestAuthentication[respond immediately on auth failure: false] 0.004
testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: true] 0.005
testPostRequestAuthentication[respond immediately on auth failure: true] 0.007
testGetRequestAuthentication[respond immediately on auth failure: true] 0.004

ClassicServerAndRequesterTest

testSequentialRequests[http] 0.01
testSequentialRequestsNonPersistentConnection[http] 0.009
testSequentialRequests[https] 0.412
testSequentialRequestsNonPersistentConnection[https] 0.365

H2IntegrationTest

testSimpleHead[http] 0.007
testSimpleGet[http] 0.008
testPush[http] 0.006
testBasicPost[http] 0.008
testLargeGet[http] 0.02
testHeaderTooLargePost[http] 0.011
testHeaderTooLarge[http] 0.008
testSlowRequestProducer[http] 2.508
testPrematureResponse[http] 0.006
testConnectionPing[http] 0.011
testSlowResponseProducer[http] 2.014
testExcessOfConcurrentStreams[http] 1.317
testPushRefused[http] 0.006
testSlowResponseConsumer[http] 1.51
testMessageWithTrailers[http] 0.013
testLargePost[http] 0.03
testExpectationFailed[http] 0.017
testRequestWithInvalidConnectionHeader[http] 0.009
testSimpleHead[https] 0.228
testSimpleGet[https] 0.231
testPush[https] 0.222
testBasicPost[https] 0.229
testLargeGet[https] 0.237
testHeaderTooLargePost[https] 0.222
testHeaderTooLarge[https] 0.228
testSlowRequestProducer[https] 2.726
testPrematureResponse[https] 0.261
testConnectionPing[https] 0.23
testSlowResponseProducer[https] 2.243
testExcessOfConcurrentStreams[https] 4.575
testPushRefused[https] 0.228
testSlowResponseConsumer[https] 1.727
testMessageWithTrailers[https] 0.23
testLargePost[https] 0.23
testExpectationFailed[https] 0.229
testRequestWithInvalidConnectionHeader[https] 0.223

H2TLSIntegrationTest

testTLSClientAuthFailure 0.233
testWeakCiphersDisabledByDefault 2.397
testTLSSuccess 0.226
testTLSTrustFailure 0.169
testSSLDisabledByDefault 0.214

TestFrameworkTest

changeMethod 0.004
changeStatus 0.001
defaults 0

ClassicTLSIntegrationTest

testTLSClientAuthFailure 0.43
testWeakCiphersDisabledByDefault 2.989
testTLSSuccess 0.273
testTLSTrustFailure 0.224
testSSLDisabledByDefault 0.266

Http1AuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0.011
testPostRequestAuthentication[respond immediately on auth failure: false] 0.014
testGetRequestAuthentication[respond immediately on auth failure: false] 0.008
testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: true] 0.025
testPostRequestAuthentication[respond immediately on auth failure: true] 0.013
testGetRequestAuthentication[respond immediately on auth failure: true] 0.01

Http1ServerAndRequesterTest

testSequentialRequests[http] 0.079
testPipelinedRequests[http] 0.068
testSequentialRequestsNonPersistentConnection[http] 0.063
testSequentialRequestsSameEndpoint[http] 0.061
testNonPersistentHeads[http] 0.068
testSequentialRequests[https] 0.235
testPipelinedRequests[https] 0.236
testSequentialRequestsNonPersistentConnection[https] 0.26
testSequentialRequestsSameEndpoint[https] 0.264
testNonPersistentHeads[https] 0.36

Http1SocksProxyIntegrationTest

testSimpleHead[http] 0.019
testDelayedExpectationVerification[http] 1.495
testPipelinedInvalidRequest[http] 0.021
testSimpleGet[http] 0.033
testPostIdentityTransfer[http] 0.046
testSimpleHeadConnectionClose[http] 0.039
testExceptionInHandler[http] 0.018
testSimpleGetConnectionClose[http] 0.038
testBasicPost[http] 0.031
testHttp10Post[http] 0.027
testLargeGet[http] 0.035
testHeaderTooLargePost[http] 0.008
testHeaderTooLarge[http] 0.008
testSimpleGetsPipelined[http] 0.009
testPipelinedConnectionClose[http] 0.007
testSlowRequestProducer[http] 2.514
testPrematureResponse[http] 0.033
testLargeGetsPipelined[http] 0.036
testHeadPipelined[http] 0.012
testExpectationFailedCloseConnection[http] 0.009
testTruncatedChunk[http] 0.014
testSlowResponseProducer[http] 2.019
testPostsPipelinedLargeResponse[http] 0.112
testAbsentHostHeader[http] 0.019
testNoServiceHandler[http] 0.015
testSlowResponseConsumer[http] 5.063
testPostIdentityTransferOutOfSequenceResponse[http] 0.024
testBasicPostPipelined[http] 0.021
testNoEntityPost[http] 0.019
testMessageWithTrailers[http] 0.015
testLargePost[http] 0.306
testProtocolException[http] 0.008
testExpectationFailed[http] 0.105
testResponseNoContent[http] 0.017
testLargePostsPipelined[http] 0.251
testSimpleGetIdentityTransfer[http] 0.024
testSimpleHead[https] 0.251
testDelayedExpectationVerification[https] 1.485
testPipelinedInvalidRequest[https] 0.3
testSimpleGet[https] 0.251
testPostIdentityTransfer[https] 0.254
testSimpleHeadConnectionClose[https] 0.251
testExceptionInHandler[https] 0.226
testSimpleGetConnectionClose[https] 0.249
testBasicPost[https] 0.233
testHttp10Post[https] 0.23
testLargeGet[https] 0.291
testHeaderTooLargePost[https] 7.234
testHeaderTooLarge[https] 0.234
testSimpleGetsPipelined[https] 0.227
testPipelinedConnectionClose[https] 0.236
testSlowRequestProducer[https] 2.734
testPrematureResponse[https] 0.37
testLargeGetsPipelined[https] 0.252
testHeadPipelined[https] 0.231
testExpectationFailedCloseConnection[https] 0.224
testTruncatedChunk[https] 0.374
testSlowResponseProducer[https] 2.25
testPostsPipelinedLargeResponse[https] 0.287
testAbsentHostHeader[https] 0.254
testNoServiceHandler[https] 0.229
testSlowResponseConsumer[https] 5.276
testPostIdentityTransferOutOfSequenceResponse[https] 0.33
testBasicPostPipelined[https] 0.244
testNoEntityPost[https] 0.232
testMessageWithTrailers[https] 0.242
testLargePost[https] 0.562
testProtocolException[https] 0.254
testExpectationFailed[https] 0.333
testResponseNoContent[https] 0.248
testLargePostsPipelined[https] 0.517
testSimpleGetIdentityTransfer[https] 0.278

H2AlpnTest

testALPN[strict h2 ALPN: true, h2 allowed: true] 0
Java version must be 9 or greater and less than 16
testALPN[strict h2 ALPN: true, h2 allowed: false] 0
Java version must be 9 or greater and less than 16
testALPN[strict h2 ALPN: false, h2 allowed: true] 0
Java version must be 9 or greater and less than 16

BenchmarkToolTest

testBasics[NEGOTIATE] 0.041
testBasics[FORCE_HTTP_2] 0.021

TestClassicTestClientTestingAdapter

nullRequest 0.582
invalidMethod 0.001
nullDefaultURI 0
noPath 0
withLiveServerCustomRequestHandler 0.012
nullRequestHandler 0
modifyRequest 0.001
noMethod 0
nullResponseExpectations 0
withLiveServerEcho 0.003
modifyResponseExpectations 0

TestClientPojoAdapter

checkRequestSupportThrows 0
checkRequestSupport 0
modifyRequest 0

ResultFormatterTest

testBasics 0.001

H2ServerBootstrapFiltersTest

testSequentialRequests 0.069

H2SocksProxyIntegrationTest

testSimpleHead[http] 0.056
testSimpleGet[http] 0.01
testPush[http] 0.07
testBasicPost[http] 0.024
testLargeGet[http] 0.043
testHeaderTooLargePost[http] 0.016
testHeaderTooLarge[http] 0.01
testSlowRequestProducer[http] 2.528
testPrematureResponse[http] 0.014
testConnectionPing[http] 0.021
testSlowResponseProducer[http] 2.029
testExcessOfConcurrentStreams[http] 4.041
testPushRefused[http] 0.012
testSlowResponseConsumer[http] 1.519
testMessageWithTrailers[http] 0.013
testLargePost[http] 0.068
testExpectationFailed[http] 0.08
testRequestWithInvalidConnectionHeader[http] 0.022
testSimpleHead[https] 0.27
testSimpleGet[https] 0.289
testPush[https] 0.295
testBasicPost[https] 0.265
testLargeGet[https] 0.381
testHeaderTooLargePost[https] 0.232
testHeaderTooLarge[https] 0.235
testSlowRequestProducer[https] 2.742
testPrematureResponse[https] 0.299
testConnectionPing[https] 0.28
testSlowResponseProducer[https] 2.264
testExcessOfConcurrentStreams[https] 5.34
testPushRefused[https] 0.344
testSlowResponseConsumer[https] 1.793
testMessageWithTrailers[https] 0.238
testLargePost[https] 0.288
testExpectationFailed[https] 0.264
testRequestWithInvalidConnectionHeader[https] 0.232

TestClientTestingAdapter

isRequestSupported 0
getHttpClientPOJOAdapter 0

JSSEProviderIntegrationTest

0
Java version must be 8 or greater

H2ServerAndRequesterTest

testSequentialRequests[http] 0.07
testPipelinedRequests[http] 0.061
testSequentialRequestsSameEndpoint[http] 0.064
testSequentialRequests[https] 0
Java version must be 1.8 or greater
testPipelinedRequests[https] 0
Java version must be 1.8 or greater
testSequentialRequestsSameEndpoint[https] 0
Java version must be 1.8 or greater

TestDefaultListeningIOReactor

testEndpointAlreadyBound 0.002
testEndpointUpAndDown 0.001

Failure Details

[Summary] [Package List] [Test Cases]


testSequentialRequests[https]
skipped: Java version must be 1.8 or greater
testMultiplexedRequests[https]
skipped: Java version must be 1.8 or greater
testValidityCheck[https]
skipped: Java version must be 1.8 or greater
testMultiplexedRequestCancellation[https]
skipped: Java version must be 1.8 or greater
testNegotiateProtocol
skipped: Java version must be 1.8 or greater
testForceHttp1
skipped: Java version must be 1.8 or greater
testForceHttp2
skipped: Java version must be 1.8 or greater
testALPN[strict h2 ALPN: true, h2 allowed: true]
skipped: Java version must be 9 or greater and less than 16
testALPN[strict h2 ALPN: true, h2 allowed: false]
skipped: Java version must be 9 or greater and less than 16
testALPN[strict h2 ALPN: false, h2 allowed: true]
skipped: Java version must be 9 or greater and less than 16
skipped: Java version must be 8 or greater
testSequentialRequests[https]
skipped: Java version must be 1.8 or greater
testPipelinedRequests[https]
skipped: Java version must be 1.8 or greater
testSequentialRequestsSameEndpoint[https]
skipped: Java version must be 1.8 or greater