Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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% 138.487
org.apache.hc.core5.benchmark 3 0 0 0 100% 0.424
org.apache.hc.core5.testing.reactive 12 0 0 0 100% 3.807
org.apache.hc.core5.testing.classic 46 0 0 0 100% 8.12
org.apache.hc.core5.testing.framework 55 0 0 0 100% 0.755

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% 37.349
H2ServerBootstrapFiltersTest 1 0 0 0 100% 0.548
H2ProtocolNegotiationTest 3 0 0 3 0% 1.409
H2ServerAndMultiplexingRequesterTest 8 0 0 4 50% 1.506
H2ServerAndRequesterTest 6 0 0 3 50% 0.977
JSSEProviderIntegrationTest 1 0 0 1 0% 0.003
Http1ServerAndRequesterTest 10 0 0 0 100% 1.955
H2IntegrationTest 36 0 0 0 100% 19.736
H2SocksProxyIntegrationTest 36 0 0 0 100% 24.059
Http1SocksProxyIntegrationTest 72 0 0 0 100% 46.589
AsyncServerBootstrapFilterTest 1 0 0 0 100% 0.07
Http1AuthenticationTest 6 0 0 0 100% 0.046
TestDefaultListeningIOReactor 2 0 0 0 100% 0.004
H2AlpnTest 3 0 0 3 0% 0.657
H2TLSIntegrationTest 5 0 0 0 100% 3.579

org.apache.hc.core5.benchmark

Class Tests Errors Failures Skipped Success Rate Time
BenchmarkToolTest 2 0 0 0 100% 0.362
ResultFormatterTest 1 0 0 0 100% 0.062

org.apache.hc.core5.testing.reactive

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

org.apache.hc.core5.testing.classic

Class Tests Errors Failures Skipped Success Rate Time
ClassicAuthenticationTest 6 0 0 0 100% 0.05
MonitoringResponseOutOfOrderStrategyIntegrationTest 2 0 0 0 100% 0.241
ClassicTLSIntegrationTest 5 0 0 0 100% 3.479
ClassicServerAndRequesterTest 4 0 0 0 100% 0.477
ClassicIntegrationTest 28 0 0 0 100% 3.869
ClassicServerBootstrapFilterTest 1 0 0 0 100% 0.004

org.apache.hc.core5.testing.framework

Class Tests Errors Failures Skipped Success Rate Time
TestFrameworkTest 3 0 0 0 100% 0.007
TestTestingFramework 34 0 0 0 100% 0.721
TestClassicTestClientTestingAdapter 11 0 0 0 100% 0.017
TestClientTestingAdapter 2 0 0 0 100% 0.002
TestClientPojoAdapter 3 0 0 0 100% 0.002
TestTestingFrameworkRequestHandler 2 0 0 0 100% 0.006

Test Cases

[Summary] [Package List] [Test Cases]

ClassicAuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0.016
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.007
testPostRequestAuthentication[respond immediately on auth failure: true] 0.007
testGetRequestAuthentication[respond immediately on auth failure: true] 0.004

Http1IntegrationTest

testSimpleHead[http] 0.008
testDelayedExpectationVerification[http] 1.452
testPipelinedInvalidRequest[http] 0.015
testSimpleGet[http] 0.021
testPostIdentityTransfer[http] 0.029
testSimpleHeadConnectionClose[http] 0.026
testExceptionInHandler[http] 0.013
testSimpleGetConnectionClose[http] 0.027
testBasicPost[http] 0.025
testHttp10Post[http] 0.022
testLargeGet[http] 0.016
testHeaderTooLargePost[http] 0.003
testHeaderTooLarge[http] 0.006
testSimpleGetsPipelined[http] 0.005
testPipelinedConnectionClose[http] 0.004
testSlowRequestProducer[http] 2.508
testPrematureResponse[http] 0.005
testLargeGetsPipelined[http] 0.012
testHeadPipelined[http] 0.005
testExpectationFailedCloseConnection[http] 0.004
testTruncatedChunk[http] 0.003
testSlowResponseProducer[http] 2.015
testPostsPipelinedLargeResponse[http] 0.015
testAbsentHostHeader[http] 0.005
testNoServiceHandler[http] 0.005
testSlowResponseConsumer[http] 5.045
testPostIdentityTransferOutOfSequenceResponse[http] 0.011
testBasicPostPipelined[http] 0.009
testNoEntityPost[http] 0.014
testMessageWithTrailers[http] 0.011
testLargePost[http] 0.039
testProtocolException[http] 0.004
testExpectationFailed[http] 0.005
testResponseNoContent[http] 0.003
testLargePostsPipelined[http] 0.018
testSimpleGetIdentityTransfer[http] 0.006
testSimpleHead[https] 0.237
testDelayedExpectationVerification[https] 1.391
testPipelinedInvalidRequest[https] 0.28
testSimpleGet[https] 0.24
testPostIdentityTransfer[https] 0.288
testSimpleHeadConnectionClose[https] 0.264
testExceptionInHandler[https] 0.254
testSimpleGetConnectionClose[https] 0.275
testBasicPost[https] 0.263
testHttp10Post[https] 0.256
testLargeGet[https] 0.318
testHeaderTooLargePost[https] 6.278
testHeaderTooLarge[https] 0.247
testSimpleGetsPipelined[https] 0.236
testPipelinedConnectionClose[https] 0.234
testSlowRequestProducer[https] 2.74
testPrematureResponse[https] 0.247
testLargeGetsPipelined[https] 0.241
testHeadPipelined[https] 0.238
testExpectationFailedCloseConnection[https] 0.24
testTruncatedChunk[https] 0.394
testSlowResponseProducer[https] 2.243
testPostsPipelinedLargeResponse[https] 0.274
testAbsentHostHeader[https] 0.25
testNoServiceHandler[https] 0.233
testSlowResponseConsumer[https] 5.269
testPostIdentityTransferOutOfSequenceResponse[https] 0.263
testBasicPostPipelined[https] 0.24
testNoEntityPost[https] 0.236
testMessageWithTrailers[https] 0.236
testLargePost[https] 0.271
testProtocolException[https] 0.24
testExpectationFailed[https] 0.248
testResponseNoContent[https] 0.239
testLargePostsPipelined[https] 0.258
testSimpleGetIdentityTransfer[https] 0.255

H2ServerBootstrapFiltersTest

testSequentialRequests 0.545

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

TestFrameworkTest

changeMethod 0.002
changeStatus 0.001
defaults 0

MonitoringResponseOutOfOrderStrategyIntegrationTest

testResponseOutOfOrderWithDefaultStrategy[http] 0.005
testResponseOutOfOrderWithDefaultStrategy[https] 0.234

H2ServerAndMultiplexingRequesterTest

testSequentialRequests[http] 0.068
testMultiplexedRequests[http] 0.067
testValidityCheck[http] 0.277
testMultiplexedRequestCancellation[http] 0.188
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

H2ServerAndRequesterTest

testSequentialRequests[http] 0.094
testPipelinedRequests[http] 0.09
testSequentialRequestsSameEndpoint[http] 0.073
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

TestTestingFramework

changeBody 0.071
changedHeaderCheck 0.006
status201 0.008
addTestNoMocks 0.048
nullSetAdapterThrows 0.003
removeHeader 0.007
addTest 0.344
modifyResponseExpectationsCalled 0.006
responseContentTypeCheck 0.005
statusCheck 0.005
modifyRequestCalled 0.006
adapterDoesNotSupport 0.004
defaultTests 0.03
runTestsWithoutSettingAdapterThrows 0.003
responseAlreadyChecked 0.004
goodAdapterWithConstructor 0.046
changeHeader 0.005
requestMethodUnexpected 0.007
removeParameter 0.006
changeProtocolVersion 0.006
nulls 0.038
parameterInPath 0.004
defaultTestsWithMockedAdapter 0.011
nullAdapterThrows 0.004
deepcopy 0.001
changeContentType 0.005
removedHeaderCheck 0.005
changeResponseExpectationsFails 0.004
deepcopyOfTest 0.004
changeResponseStatus 0.005
bodyCheck 0.004
goodAdapterWithSetter 0.004
ensureDefaultMapsUnmodifiable 0
changeParameter 0.005

JSSEProviderIntegrationTest

0
Java version must be 8 or greater

TestClassicTestClientTestingAdapter

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

Http1ServerAndRequesterTest

testSequentialRequests[http] 0.076
testPipelinedRequests[http] 0.069
testSequentialRequestsNonPersistentConnection[http] 0.071
testSequentialRequestsSameEndpoint[http] 0.077
testNonPersistentHeads[http] 0.074
testSequentialRequests[https] 0.344
testPipelinedRequests[https] 0.294
testSequentialRequestsNonPersistentConnection[https] 0.297
testSequentialRequestsSameEndpoint[https] 0.274
testNonPersistentHeads[https] 0.373

ReactiveClientTest

testRequestError[FORCE_HTTP_1] 0.056
testLongRunningRequest[FORCE_HTTP_1] 0.214
testManySmallBuffers[FORCE_HTTP_1] 0.497
testRequestTimeout[FORCE_HTTP_1] 1.009
testSimpleRequest[FORCE_HTTP_1] 0.045
testResponseCancellation[FORCE_HTTP_1] 0.007
testRequestError[FORCE_HTTP_2] 0.004
testLongRunningRequest[FORCE_HTTP_2] 0.201
testManySmallBuffers[FORCE_HTTP_2] 0.729
testRequestTimeout[FORCE_HTTP_2] 1.007
testSimpleRequest[FORCE_HTTP_2] 0.015
testResponseCancellation[FORCE_HTTP_2] 0.016

ClassicTLSIntegrationTest

testTLSClientAuthFailure 0.334
testWeakCiphersDisabledByDefault 2.49
testTLSSuccess 0.239
testTLSTrustFailure 0.178
testSSLDisabledByDefault 0.236

H2IntegrationTest

testSimpleHead[http] 0.006
testSimpleGet[http] 0.004
testPush[http] 0.004
testBasicPost[http] 0.005
testLargeGet[http] 0.009
testHeaderTooLargePost[http] 0.003
testHeaderTooLarge[http] 0.004
testSlowRequestProducer[http] 2.508
testPrematureResponse[http] 0.006
testConnectionPing[http] 0.007
testSlowResponseProducer[http] 2.015
testExcessOfConcurrentStreams[http] 0.826
testPushRefused[http] 0.006
testSlowResponseConsumer[http] 1.506
testMessageWithTrailers[http] 0.013
testLargePost[http] 0.012
testExpectationFailed[http] 0.007
testRequestWithInvalidConnectionHeader[http] 0.004
testSimpleHead[https] 0.243
testSimpleGet[https] 0.234
testPush[https] 0.236
testBasicPost[https] 0.247
testLargeGet[https] 0.265
testHeaderTooLargePost[https] 0.243
testHeaderTooLarge[https] 0.233
testSlowRequestProducer[https] 2.743
testPrematureResponse[https] 0.265
testConnectionPing[https] 0.249
testSlowResponseProducer[https] 2.279
testExcessOfConcurrentStreams[https] 2.564
testPushRefused[https] 0.261
testSlowResponseConsumer[https] 1.753
testMessageWithTrailers[https] 0.248
testLargePost[https] 0.239
testExpectationFailed[https] 0.239
testRequestWithInvalidConnectionHeader[https] 0.241

H2SocksProxyIntegrationTest

testSimpleHead[http] 0.021
testSimpleGet[http] 0.011
testPush[http] 0.054
testBasicPost[http] 0.012
testLargeGet[http] 0.078
testHeaderTooLargePost[http] 0.009
testHeaderTooLarge[http] 0.007
testSlowRequestProducer[http] 2.518
testPrematureResponse[http] 0.012
testConnectionPing[http] 0.011
testSlowResponseProducer[http] 2.03
testExcessOfConcurrentStreams[http] 3.615
testPushRefused[http] 0.012
testSlowResponseConsumer[http] 1.511
testMessageWithTrailers[http] 0.028
testLargePost[http] 0.075
testExpectationFailed[http] 0.014
testRequestWithInvalidConnectionHeader[http] 0.006
testSimpleHead[https] 0.277
testSimpleGet[https] 0.262
testPush[https] 0.301
testBasicPost[https] 0.372
testLargeGet[https] 0.414
testHeaderTooLargePost[https] 0.33
testHeaderTooLarge[https] 0.277
testSlowRequestProducer[https] 2.76
testPrematureResponse[https] 0.289
testConnectionPing[https] 0.315
testSlowResponseProducer[https] 2.266
testExcessOfConcurrentStreams[https] 2.966
testPushRefused[https] 0.271
testSlowResponseConsumer[https] 1.743
testMessageWithTrailers[https] 0.247
testLargePost[https] 0.298
testExpectationFailed[https] 0.347
testRequestWithInvalidConnectionHeader[https] 0.288

Http1SocksProxyIntegrationTest

testSimpleHead[http] 0.009
testDelayedExpectationVerification[http] 2.356
testPipelinedInvalidRequest[http] 0.021
testSimpleGet[http] 0.025
testPostIdentityTransfer[http] 0.047
testSimpleHeadConnectionClose[http] 0.036
testExceptionInHandler[http] 0.016
testSimpleGetConnectionClose[http] 0.034
testBasicPost[http] 0.031
testHttp10Post[http] 0.013
testLargeGet[http] 0.02
testHeaderTooLargePost[http] 0.005
testHeaderTooLarge[http] 0.007
testSimpleGetsPipelined[http] 0.006
testPipelinedConnectionClose[http] 0.007
testSlowRequestProducer[http] 2.512
testPrematureResponse[http] 0.072
testLargeGetsPipelined[http] 0.041
testHeadPipelined[http] 0.017
testExpectationFailedCloseConnection[http] 0.011
testTruncatedChunk[http] 0.01
testSlowResponseProducer[http] 2.019
testPostsPipelinedLargeResponse[http] 0.06
testAbsentHostHeader[http] 0.018
testNoServiceHandler[http] 0.015
testSlowResponseConsumer[http] 5.048
testPostIdentityTransferOutOfSequenceResponse[http] 0.018
testBasicPostPipelined[http] 0.01
testNoEntityPost[http] 0.011
testMessageWithTrailers[http] 0.007
testLargePost[http] 0.344
testProtocolException[http] 0.004
testExpectationFailed[http] 0.099
testResponseNoContent[http] 0.007
testLargePostsPipelined[http] 0.164
testSimpleGetIdentityTransfer[http] 0.036
testSimpleHead[https] 0.254
testDelayedExpectationVerification[https] 1.718
testPipelinedInvalidRequest[https] 0.248
testSimpleGet[https] 0.236
testPostIdentityTransfer[https] 0.256
testSimpleHeadConnectionClose[https] 0.252
testExceptionInHandler[https] 0.245
testSimpleGetConnectionClose[https] 0.276
testBasicPost[https] 0.267
testHttp10Post[https] 0.251
testLargeGet[https] 0.333
testHeaderTooLargePost[https] 7.249
testHeaderTooLarge[https] 0.262
testSimpleGetsPipelined[https] 0.259
testPipelinedConnectionClose[https] 0.264
testSlowRequestProducer[https] 2.75
testPrematureResponse[https] 0.36
testLargeGetsPipelined[https] 0.275
testHeadPipelined[https] 0.254
testExpectationFailedCloseConnection[https] 0.259
testTruncatedChunk[https] 0.411
testSlowResponseProducer[https] 2.254
testPostsPipelinedLargeResponse[https] 0.322
testAbsentHostHeader[https] 0.287
testNoServiceHandler[https] 0.249
testSlowResponseConsumer[https] 5.272
testPostIdentityTransferOutOfSequenceResponse[https] 0.329
testBasicPostPipelined[https] 0.264
testNoEntityPost[https] 0.266
testMessageWithTrailers[https] 0.255
testLargePost[https] 0.566
testProtocolException[https] 0.242
testExpectationFailed[https] 0.345
testResponseNoContent[https] 0.248
testLargePostsPipelined[https] 0.477
testSimpleGetIdentityTransfer[https] 0.356

ClassicServerAndRequesterTest

testSequentialRequests[http] 0.004
testSequentialRequestsNonPersistentConnection[http] 0.003
testSequentialRequests[https] 0.237
testSequentialRequestsNonPersistentConnection[https] 0.231

AsyncServerBootstrapFilterTest

testFilters 0.069

BenchmarkToolTest

testBasics[NEGOTIATE] 0.292
testBasics[FORCE_HTTP_2] 0.056

Http1AuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0.009
testPostRequestAuthentication[respond immediately on auth failure: false] 0.011
testGetRequestAuthentication[respond immediately on auth failure: false] 0.005
testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: true] 0.005
testPostRequestAuthentication[respond immediately on auth failure: true] 0.008
testGetRequestAuthentication[respond immediately on auth failure: true] 0.005

TestDefaultListeningIOReactor

testEndpointAlreadyBound 0.002
testEndpointUpAndDown 0.001

TestClientTestingAdapter

isRequestSupported 0
getHttpClientPOJOAdapter 0

ClassicIntegrationTest

testSimpleHttpPostsWithContentLength[http] 0.024
testHttpPostIdentity[http] 0.003
testSimpleHttpPostsHTTP10[http] 0.014
testHttpPostNoEntity[http] 0.003
testHeaderTooLargePost[http] 0.002
testHeaderTooLarge[http] 0.003
testSimpleHttpPostsChunked[http] 0.021
testHttpPostsWithExpectContinue[http] 0.014
testAbsentHostHeader[http] 0.002
testHttpPostsWithExpectationVerification[http] 0.016
testSimpleBasicHttpRequests[http] 0.011
testNoContentResponse[http] 0.007
testHttpContent[http] 0.123
testHttpPostNoContentLength[http] 0.002
testSimpleHttpPostsWithContentLength[https] 0.25
testHttpPostIdentity[https] 0.235
testSimpleHttpPostsHTTP10[https] 0.243
testHttpPostNoEntity[https] 0.247
testHeaderTooLargePost[https] 0.249
testHeaderTooLarge[https] 0.233
testSimpleHttpPostsChunked[https] 0.251
testHttpPostsWithExpectContinue[https] 0.243
testAbsentHostHeader[https] 0.23
testHttpPostsWithExpectationVerification[https] 0.267
testSimpleBasicHttpRequests[https] 0.238
testNoContentResponse[https] 0.238
testHttpContent[https] 0.465
testHttpPostNoContentLength[https] 0.23

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

ResultFormatterTest

testBasics 0.011

TestClientPojoAdapter

checkRequestSupportThrows 0
checkRequestSupport 0
modifyRequest 0

ClassicServerBootstrapFilterTest

testFilters 0.003

H2TLSIntegrationTest

testTLSClientAuthFailure 0.24
testWeakCiphersDisabledByDefault 2.635
testTLSSuccess 0.237
testTLSTrustFailure 0.226
testSSLDisabledByDefault 0.24

TestTestingFrameworkRequestHandler

assertNothingThrown 0
assertNothingThrownThrows 0

Failure Details

[Summary] [Package List] [Test Cases]


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