Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
368 0 0 12 96.739% 146.39

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 252 0 0 12 95.238% 128.81
org.apache.hc.core5.benchmark 3 0 0 0 100% 0.067
org.apache.hc.core5.testing.reactive 12 0 0 0 100% 4.932
org.apache.hc.core5.testing.classic 46 0 0 0 100% 11.962
org.apache.hc.core5.testing.framework 55 0 0 0 100% 0.619

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 68 0 0 0 100% 37.377
H2ServerAndMultiplexingRequesterTest 8 0 0 4 50% 1.781
H2ProtocolNegotiationTest 3 0 0 3 0% 2.712
AsyncServerBootstrapFilterTest 1 0 0 0 100% 0.117
H2IntegrationTest 36 0 0 0 100% 19.436
H2TLSIntegrationTest 5 0 0 0 100% 3.182
Http1AuthenticationTest 6 0 0 0 100% 0.098
Http1ServerAndRequesterTest 10 0 0 0 100% 1.543
Http1SocksProxyIntegrationTest 68 0 0 0 100% 39.309
H2AlpnTest 1 0 0 1 0% 0.004
H2ServerBootstrapFiltersTest 1 0 0 0 100% 0.091
H2SocksProxyIntegrationTest 36 0 0 0 100% 22.345
JSSEProviderIntegrationTest 1 0 0 1 0% 0.002
H2ServerAndRequesterTest 6 0 0 3 50% 0.807
TestDefaultListeningIOReactor 2 0 0 0 100% 0.006

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% 4.932

org.apache.hc.core5.testing.classic

Class Tests Errors Failures Skipped Success Rate Time
ClassicIntegrationTest 28 0 0 0 100% 5.324
MonitoringResponseOutOfOrderStrategyIntegrationTest 2 0 0 0 100% 1.491
ClassicServerBootstrapFilterTest 1 0 0 0 100% 0.031
ClassicAuthenticationTest 6 0 0 0 100% 0.051
ClassicServerAndRequesterTest 4 0 0 0 100% 0.834
ClassicTLSIntegrationTest 5 0 0 0 100% 4.231

org.apache.hc.core5.testing.framework

Class Tests Errors Failures Skipped Success Rate Time
TestTestingFrameworkRequestHandler 2 0 0 0 100% 0.003
TestTestingFramework 34 0 0 0 100% 0.303
TestFrameworkTest 3 0 0 0 100% 0
TestClassicTestClientTestingAdapter 11 0 0 0 100% 0.312
TestClientPojoAdapter 3 0 0 0 100% 0
TestClientTestingAdapter 2 0 0 0 100% 0.001

Test Cases

[Summary] [Package List] [Test Cases]

TestTestingFrameworkRequestHandler

assertNothingThrown 0
assertNothingThrownThrows 0

ClassicIntegrationTest

testSimpleHttpPostsWithContentLength[http] 0.039
testHttpPostIdentity[http] 0.006
testSimpleHttpPostsHTTP10[http] 0.026
testHttpPostNoEntity[http] 0.004
testHeaderTooLargePost[http] 0.003
testHeaderTooLarge[http] 0.004
testSimpleHttpPostsChunked[http] 0.032
testHttpPostsWithExpectContinue[http] 0.025
testAbsentHostHeader[http] 0.004
testHttpPostsWithExpectationVerification[http] 0.029
testSimpleBasicHttpRequests[http] 0.017
testNoContentResponse[http] 0.016
testHttpContent[http] 0.23
testHttpPostNoContentLength[http] 0.004
testSimpleHttpPostsWithContentLength[https] 0.392
testHttpPostIdentity[https] 0.308
testSimpleHttpPostsHTTP10[https] 0.331
testHttpPostNoEntity[https] 0.291
testHeaderTooLargePost[https] 0.283
testHeaderTooLarge[https] 0.286
testSimpleHttpPostsChunked[https] 0.317
testHttpPostsWithExpectContinue[https] 0.307
testAbsentHostHeader[https] 0.282
testHttpPostsWithExpectationVerification[https] 0.351
testSimpleBasicHttpRequests[https] 0.302
testNoContentResponse[https] 0.307
testHttpContent[https] 0.811
testHttpPostNoContentLength[https] 0.307

TestTestingFramework

changeBody 0
changedHeaderCheck 0
status201 0
addTestNoMocks 0.052
nullSetAdapterThrows 0.004
removeHeader 0.006
addTest 0.019
modifyResponseExpectationsCalled 0.005
responseContentTypeCheck 0.004
statusCheck 0.004
modifyRequestCalled 0.004
adapterDoesNotSupport 0.004
defaultTests 0.028
runTestsWithoutSettingAdapterThrows 0.003
responseAlreadyChecked 0.004
goodAdapterWithConstructor 0.045
changeHeader 0.005
requestMethodUnexpected 0.006
removeParameter 0.005
changeProtocolVersion 0.006
nulls 0.039
parameterInPath 0.005
defaultTestsWithMockedAdapter 0.011
nullAdapterThrows 0.003
deepcopy 0.001
changeContentType 0.006
removedHeaderCheck 0.005
changeResponseExpectationsFails 0.004
deepcopyOfTest 0.004
changeResponseStatus 0.006
bodyCheck 0.004
goodAdapterWithSetter 0.004
ensureDefaultMapsUnmodifiable 0
changeParameter 0.005

ReactiveClientTest

testRequestError[FORCE_HTTP_1] 0.167
testLongRunningRequest[FORCE_HTTP_1] 0.365
testManySmallBuffers[FORCE_HTTP_1] 0.913
testRequestTimeout[FORCE_HTTP_1] 1.024
testSimpleRequest[FORCE_HTTP_1] 0.043
testResponseCancellation[FORCE_HTTP_1] 0.008
testRequestError[FORCE_HTTP_2] 0.03
testLongRunningRequest[FORCE_HTTP_2] 0.218
testManySmallBuffers[FORCE_HTTP_2] 1.13
testRequestTimeout[FORCE_HTTP_2] 1.011
testSimpleRequest[FORCE_HTTP_2] 0.008
testResponseCancellation[FORCE_HTTP_2] 0.009

MonitoringResponseOutOfOrderStrategyIntegrationTest

testResponseOutOfOrderWithDefaultStrategy[http] 0.798
testResponseOutOfOrderWithDefaultStrategy[https] 0.604

Http1IntegrationTest

testSimpleHead[http] 0.008
testDelayedExpectationVerification[http] 1.82
testPipelinedInvalidRequest[http] 0.02
testSimpleGet[http] 0.019
testSimpleHeadConnectionClose[http] 0.022
testExceptionInHandler[http] 0.012
testSimpleGetConnectionClose[http] 0.022
testBasicPost[http] 0.022
testHttp10Post[http] 0.019
testLargeGet[http] 0.024
testHeaderTooLargePost[http] 0.016
testHeaderTooLarge[http] 0.012
testSimpleGetsPipelined[http] 0.015
testPipelinedConnectionClose[http] 0.016
testSlowRequestProducer[http] 2.509
testPrematureResponse[http] 0.02
testLargeGetsPipelined[http] 0.025
testHeadPipelined[http] 0.013
testExpectationFailedCloseConnection[http] 0.007
testTruncatedChunk[http] 0.004
testSlowResponseProducer[http] 2.014
testPostsPipelinedLargeResponse[http] 0.021
testAbsentHostHeader[http] 0.019
testNoServiceHandler[http] 0.01
testSlowResponseConsumer[http] 5.033
testBasicPostPipelined[http] 0.008
testNoEntityPost[http] 0.009
testMessageWithTrailers[http] 0.008
testLargePost[http] 0.053
testProtocolException[http] 0.004
testExpectationFailed[http] 0.008
testResponseNoContent[http] 0.003
testLargePostsPipelined[http] 0.016
testSimpleGetIdentityTransfer[http] 0.007
testSimpleHead[https] 0.225
testDelayedExpectationVerification[https] 2.288
testPipelinedInvalidRequest[https] 0.281
testSimpleGet[https] 0.317
testSimpleHeadConnectionClose[https] 0.309
testExceptionInHandler[https] 0.277
testSimpleGetConnectionClose[https] 0.35
testBasicPost[https] 0.397
testHttp10Post[https] 0.435
testLargeGet[https] 0.389
testHeaderTooLargePost[https] 0.521
testHeaderTooLarge[https] 0.593
testSimpleGetsPipelined[https] 0.549
testPipelinedConnectionClose[https] 0.592
testSlowRequestProducer[https] 3.049
testPrematureResponse[https] 0.279
testLargeGetsPipelined[https] 0.289
testHeadPipelined[https] 0.317
testExpectationFailedCloseConnection[https] 0.366
testTruncatedChunk[https] 0.722
testSlowResponseProducer[https] 2.47
testPostsPipelinedLargeResponse[https] 0.45
testAbsentHostHeader[https] 0.468
testNoServiceHandler[https] 0.523
testSlowResponseConsumer[https] 5.528
testBasicPostPipelined[https] 0.381
testNoEntityPost[https] 0.31
testMessageWithTrailers[https] 0.281
testLargePost[https] 0.322
testProtocolException[https] 0.307
testExpectationFailed[https] 0.377
testResponseNoContent[https] 0.401
testLargePostsPipelined[https] 0.484
testSimpleGetIdentityTransfer[https] 0.674

H2ServerAndMultiplexingRequesterTest

testSequentialRequests[http] 0.107
testMultiplexedRequests[http] 0.098
testValidityCheck[http] 0.3
testMultiplexedRequestCancellation[http] 0.216
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.027

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

ClassicAuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0.015
testPostRequestAuthentication[respond immediately on auth failure: false] 0.007
testGetRequestAuthentication[respond immediately on auth failure: false] 0.004
testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: true] 0.006
testPostRequestAuthentication[respond immediately on auth failure: true] 0.007
testGetRequestAuthentication[respond immediately on auth failure: true] 0.006

ClassicServerAndRequesterTest

testSequentialRequests[http] 0.007
testSequentialRequestsNonPersistentConnection[http] 0.013
testSequentialRequests[https] 0.434
testSequentialRequestsNonPersistentConnection[https] 0.374

H2IntegrationTest

testSimpleHead[http] 0.014
testSimpleGet[http] 0.005
testPush[http] 0.008
testBasicPost[http] 0.01
testLargeGet[http] 0.011
testHeaderTooLargePost[http] 0.005
testHeaderTooLarge[http] 0.007
testSlowRequestProducer[http] 2.51
testPrematureResponse[http] 0.015
testConnectionPing[http] 0.015
testSlowResponseProducer[http] 2.018
testExcessOfConcurrentStreams[http] 0.925
testPushRefused[http] 0.004
testSlowResponseConsumer[http] 1.507
testMessageWithTrailers[http] 0.014
testLargePost[http] 0.03
testExpectationFailed[http] 0.017
testRequestWithInvalidConnectionHeader[http] 0.01
testSimpleHead[https] 0.223
testSimpleGet[https] 0.226
testPush[https] 0.219
testBasicPost[https] 0.223
testLargeGet[https] 0.229
testHeaderTooLargePost[https] 0.228
testHeaderTooLarge[https] 0.22
testSlowRequestProducer[https] 2.726
testPrematureResponse[https] 0.235
testConnectionPing[https] 0.22
testSlowResponseProducer[https] 2.227
testExcessOfConcurrentStreams[https] 2.45
testPushRefused[https] 0.22
testSlowResponseConsumer[https] 1.724
testMessageWithTrailers[https] 0.257
testLargePost[https] 0.23
testExpectationFailed[https] 0.223
testRequestWithInvalidConnectionHeader[https] 0.223

H2TLSIntegrationTest

testTLSClientAuthFailure 0.224
testWeakCiphersDisabledByDefault 2.362
testTLSSuccess 0.22
testTLSTrustFailure 0.166
testSSLDisabledByDefault 0.209

TestFrameworkTest

changeMethod 0
changeStatus 0
defaults 0

ClassicTLSIntegrationTest

testTLSClientAuthFailure 0.448
testWeakCiphersDisabledByDefault 2.966
testTLSSuccess 0.271
testTLSTrustFailure 0.258
testSSLDisabledByDefault 0.285

Http1AuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0.009
testPostRequestAuthentication[respond immediately on auth failure: false] 0.02
testGetRequestAuthentication[respond immediately on auth failure: false] 0.01
testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: true] 0.015
testPostRequestAuthentication[respond immediately on auth failure: true] 0.026
testGetRequestAuthentication[respond immediately on auth failure: true] 0.013

Http1ServerAndRequesterTest

testSequentialRequests[http] 0.072
testPipelinedRequests[http] 0.068
testSequentialRequestsNonPersistentConnection[http] 0.061
testSequentialRequestsSameEndpoint[http] 0.06
testNonPersistentHeads[http] 0.063
testSequentialRequests[https] 0.228
testPipelinedRequests[https] 0.223
testSequentialRequestsNonPersistentConnection[https] 0.23
testSequentialRequestsSameEndpoint[https] 0.223
testNonPersistentHeads[https] 0.312

Http1SocksProxyIntegrationTest

testSimpleHead[http] 0.013
testDelayedExpectationVerification[http] 1.635
testPipelinedInvalidRequest[http] 0.018
testSimpleGet[http] 0.021
testSimpleHeadConnectionClose[http] 0.041
testExceptionInHandler[http] 0.015
testSimpleGetConnectionClose[http] 0.034
testBasicPost[http] 0.026
testHttp10Post[http] 0.024
testLargeGet[http] 0.032
testHeaderTooLargePost[http] 0.017
testHeaderTooLarge[http] 0.005
testSimpleGetsPipelined[http] 0.013
testPipelinedConnectionClose[http] 0.007
testSlowRequestProducer[http] 2.509
testPrematureResponse[http] 0.016
testLargeGetsPipelined[http] 0.016
testHeadPipelined[http] 0.015
testExpectationFailedCloseConnection[http] 0.008
testTruncatedChunk[http] 0.008
testSlowResponseProducer[http] 2.016
testPostsPipelinedLargeResponse[http] 0.068
testAbsentHostHeader[http] 0.018
testNoServiceHandler[http] 0.021
testSlowResponseConsumer[http] 5.046
testBasicPostPipelined[http] 0.025
testNoEntityPost[http] 0.025
testMessageWithTrailers[http] 0.019
testLargePost[http] 0.304
testProtocolException[http] 0.005
testExpectationFailed[http] 0.1
testResponseNoContent[http] 0.022
testLargePostsPipelined[http] 0.248
testSimpleGetIdentityTransfer[http] 0.019
testSimpleHead[https] 0.255
testDelayedExpectationVerification[https] 2.553
testPipelinedInvalidRequest[https] 0.254
testSimpleGet[https] 0.224
testSimpleHeadConnectionClose[https] 0.241
testExceptionInHandler[https] 0.225
testSimpleGetConnectionClose[https] 0.25
testBasicPost[https] 0.23
testHttp10Post[https] 0.227
testLargeGet[https] 0.288
testHeaderTooLargePost[https] 6.224
testHeaderTooLarge[https] 0.232
testSimpleGetsPipelined[https] 0.223
testPipelinedConnectionClose[https] 0.221
testSlowRequestProducer[https] 2.734
testPrematureResponse[https] 0.33
testLargeGetsPipelined[https] 0.253
testHeadPipelined[https] 0.226
testExpectationFailedCloseConnection[https] 0.224
testTruncatedChunk[https] 0.37
testSlowResponseProducer[https] 2.235
testPostsPipelinedLargeResponse[https] 0.265
testAbsentHostHeader[https] 0.222
testNoServiceHandler[https] 0.221
testSlowResponseConsumer[https] 5.272
testBasicPostPipelined[https] 0.257
testNoEntityPost[https] 0.226
testMessageWithTrailers[https] 0.221
testLargePost[https] 0.519
testProtocolException[https] 0.258
testExpectationFailed[https] 0.366
testResponseNoContent[https] 0.252
testLargePostsPipelined[https] 0.546
testSimpleGetIdentityTransfer[https] 0.239

H2AlpnTest

0
Java version must be 9 or greater

BenchmarkToolTest

testBasics[NEGOTIATE] 0.041
testBasics[FORCE_HTTP_2] 0.022

TestClassicTestClientTestingAdapter

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

TestClientPojoAdapter

checkRequestSupportThrows 0
checkRequestSupport 0
modifyRequest 0

ResultFormatterTest

testBasics 0

H2ServerBootstrapFiltersTest

testSequentialRequests 0.088

H2SocksProxyIntegrationTest

testSimpleHead[http] 0.023
testSimpleGet[http] 0.008
testPush[http] 0.058
testBasicPost[http] 0.024
testLargeGet[http] 0.084
testHeaderTooLargePost[http] 0.012
testHeaderTooLarge[http] 0.009
testSlowRequestProducer[http] 2.52
testPrematureResponse[http] 0.02
testConnectionPing[http] 0.025
testSlowResponseProducer[http] 2.051
testExcessOfConcurrentStreams[http] 2.669
testPushRefused[http] 0.01
testSlowResponseConsumer[http] 1.515
testMessageWithTrailers[http] 0.012
testLargePost[http] 0.019
testExpectationFailed[http] 0.059
testRequestWithInvalidConnectionHeader[http] 0.025
testSimpleHead[https] 0.252
testSimpleGet[https] 0.229
testPush[https] 0.269
testBasicPost[https] 0.256
testLargeGet[https] 0.31
testHeaderTooLargePost[https] 0.226
testHeaderTooLarge[https] 0.226
testSlowRequestProducer[https] 2.734
testPrematureResponse[https] 0.276
testConnectionPing[https] 0.235
testSlowResponseProducer[https] 2.327
testExcessOfConcurrentStreams[https] 2.822
testPushRefused[https] 0.253
testSlowResponseConsumer[https] 1.725
testMessageWithTrailers[https] 0.255
testLargePost[https] 0.276
testExpectationFailed[https] 0.279
testRequestWithInvalidConnectionHeader[https] 0.238

TestClientTestingAdapter

isRequestSupported 0
getHttpClientPOJOAdapter 0

JSSEProviderIntegrationTest

0
Java version must be 8 or greater

H2ServerAndRequesterTest

testSequentialRequests[http] 0.062
testPipelinedRequests[http] 0.059
testSequentialRequestsSameEndpoint[http] 0.06
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.001
testEndpointUpAndDown 0.002

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
skipped: Java version must be 9 or greater
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