Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
366 0 0 12 96.721% 141.305

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% 124.229
org.apache.hc.core5.benchmark 3 0 0 0 100% 0.057
org.apache.hc.core5.testing.reactive 12 0 0 0 100% 4.881
org.apache.hc.core5.testing.classic 44 0 0 0 100% 11.499
org.apache.hc.core5.testing.framework 55 0 0 0 100% 0.639

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% 36.869
H2ServerAndMultiplexingRequesterTest 8 0 0 4 50% 1.458
H2ProtocolNegotiationTest 3 0 0 3 0% 1.233
AsyncServerBootstrapFilterTest 1 0 0 0 100% 0.067
H2IntegrationTest 36 0 0 0 100% 19.162
H2TLSIntegrationTest 5 0 0 0 100% 3.184
Http1AuthenticationTest 6 0 0 0 100% 0.045
Http1ServerAndRequesterTest 10 0 0 0 100% 1.576
Http1SocksProxyIntegrationTest 68 0 0 0 100% 37.686
H2AlpnTest 1 0 0 1 0% 0.002
H2ServerBootstrapFiltersTest 1 0 0 0 100% 0.063
H2SocksProxyIntegrationTest 36 0 0 0 100% 22.071
JSSEProviderIntegrationTest 1 0 0 1 0% 0.003
H2ServerAndRequesterTest 6 0 0 3 50% 0.807
TestDefaultListeningIOReactor 2 0 0 0 100% 0.003

org.apache.hc.core5.benchmark

Class Tests Errors Failures Skipped Success Rate Time
BenchmarkToolTest 2 0 0 0 100% 0.055
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.881

org.apache.hc.core5.testing.classic

Class Tests Errors Failures Skipped Success Rate Time
ClassicIntegrationTest 28 0 0 0 100% 5.294
ClassicServerBootstrapFilterTest 1 0 0 0 100% 0.85
ClassicAuthenticationTest 6 0 0 0 100% 0.071
ClassicServerAndRequesterTest 4 0 0 0 100% 1.052
ClassicTLSIntegrationTest 5 0 0 0 100% 4.232

org.apache.hc.core5.testing.framework

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

Test Cases

[Summary] [Package List] [Test Cases]

TestTestingFrameworkRequestHandler

assertNothingThrown 0
assertNothingThrownThrows 0

ClassicIntegrationTest

testSimpleHttpPostsWithContentLength[http] 0.027
testHttpPostIdentity[http] 0.005
testSimpleHttpPostsHTTP10[http] 0.022
testHttpPostNoEntity[http] 0.003
testHeaderTooLargePost[http] 0.002
testHeaderTooLarge[http] 0.002
testSimpleHttpPostsChunked[http] 0.026
testHttpPostsWithExpectContinue[http] 0.019
testAbsentHostHeader[http] 0.004
testHttpPostsWithExpectationVerification[http] 0.024
testSimpleBasicHttpRequests[http] 0.015
testNoContentResponse[http] 0.011
testHttpContent[http] 0.175
testHttpPostNoContentLength[http] 0.004
testSimpleHttpPostsWithContentLength[https] 0.39
testHttpPostIdentity[https] 0.344
testSimpleHttpPostsHTTP10[https] 0.363
testHttpPostNoEntity[https] 0.307
testHeaderTooLargePost[https] 0.297
testHeaderTooLarge[https] 0.286
testSimpleHttpPostsChunked[https] 0.326
testHttpPostsWithExpectContinue[https] 0.321
testAbsentHostHeader[https] 0.285
testHttpPostsWithExpectationVerification[https] 0.35
testSimpleBasicHttpRequests[https] 0.311
testNoContentResponse[https] 0.296
testHttpContent[https] 0.76
testHttpPostNoContentLength[https] 0.311

TestTestingFramework

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

ReactiveClientTest

testRequestError[FORCE_HTTP_1] 0.2
testLongRunningRequest[FORCE_HTTP_1] 0.351
testManySmallBuffers[FORCE_HTTP_1] 0.889
testRequestTimeout[FORCE_HTTP_1] 1.016
testSimpleRequest[FORCE_HTTP_1] 0.057
testResponseCancellation[FORCE_HTTP_1] 0.008
testRequestError[FORCE_HTTP_2] 0.025
testLongRunningRequest[FORCE_HTTP_2] 0.208
testManySmallBuffers[FORCE_HTTP_2] 1.082
testRequestTimeout[FORCE_HTTP_2] 1.018
testSimpleRequest[FORCE_HTTP_2] 0.009
testResponseCancellation[FORCE_HTTP_2] 0.011

Http1IntegrationTest

testSimpleHead[http] 0.007
testDelayedExpectationVerification[http] 1.651
testPipelinedInvalidRequest[http] 0.013
testSimpleGet[http] 0.022
testSimpleHeadConnectionClose[http] 0.02
testExceptionInHandler[http] 0.012
testSimpleGetConnectionClose[http] 0.023
testBasicPost[http] 0.021
testHttp10Post[http] 0.018
testLargeGet[http] 0.011
testHeaderTooLargePost[http] 0.004
testHeaderTooLarge[http] 0.004
testSimpleGetsPipelined[http] 0.004
testPipelinedConnectionClose[http] 0.005
testSlowRequestProducer[http] 2.508
testPrematureResponse[http] 0.022
testLargeGetsPipelined[http] 0.017
testHeadPipelined[http] 0.004
testExpectationFailedCloseConnection[http] 0.004
testTruncatedChunk[http] 0.004
testSlowResponseProducer[http] 2.011
testPostsPipelinedLargeResponse[http] 0.01
testAbsentHostHeader[http] 0.006
testNoServiceHandler[http] 0.01
testSlowResponseConsumer[http] 5.066
testBasicPostPipelined[http] 0.022
testNoEntityPost[http] 0.016
testMessageWithTrailers[http] 0.012
testLargePost[http] 0.045
testProtocolException[http] 0.006
testExpectationFailed[http] 0.01
testResponseNoContent[http] 0.004
testLargePostsPipelined[http] 0.017
testSimpleGetIdentityTransfer[http] 0.005
testSimpleHead[https] 0.224
testDelayedExpectationVerification[https] 1.986
testPipelinedInvalidRequest[https] 0.233
testSimpleGet[https] 0.227
testSimpleHeadConnectionClose[https] 0.234
testExceptionInHandler[https] 0.22
testSimpleGetConnectionClose[https] 0.234
testBasicPost[https] 0.226
testHttp10Post[https] 0.223
testLargeGet[https] 0.23
testHeaderTooLargePost[https] 6.225
testHeaderTooLarge[https] 0.237
testSimpleGetsPipelined[https] 0.226
testPipelinedConnectionClose[https] 0.234
testSlowRequestProducer[https] 2.731
testPrematureResponse[https] 0.238
testLargeGetsPipelined[https] 0.228
testHeadPipelined[https] 0.227
testExpectationFailedCloseConnection[https] 0.222
testTruncatedChunk[https] 0.371
testSlowResponseProducer[https] 2.23
testPostsPipelinedLargeResponse[https] 0.254
testAbsentHostHeader[https] 0.225
testNoServiceHandler[https] 0.223
testSlowResponseConsumer[https] 5.286
testBasicPostPipelined[https] 0.236
testNoEntityPost[https] 0.222
testMessageWithTrailers[https] 0.223
testLargePost[https] 0.242
testProtocolException[https] 0.223
testExpectationFailed[https] 0.224
testResponseNoContent[https] 0.22
testLargePostsPipelined[https] 0.241
testSimpleGetIdentityTransfer[https] 0.221

H2ServerAndMultiplexingRequesterTest

testSequentialRequests[http] 0.07
testMultiplexedRequests[http] 0.059
testValidityCheck[http] 0.268
testMultiplexedRequestCancellation[http] 0.203
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.773

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

ClassicAuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0.02
testPostRequestAuthentication[respond immediately on auth failure: false] 0.007
testGetRequestAuthentication[respond immediately on auth failure: false] 0.005
testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: true] 0.006
testPostRequestAuthentication[respond immediately on auth failure: true] 0.014
testGetRequestAuthentication[respond immediately on auth failure: true] 0.005

ClassicServerAndRequesterTest

testSequentialRequests[http] 0.008
testSequentialRequestsNonPersistentConnection[http] 0.008
testSequentialRequests[https] 0.612
testSequentialRequestsNonPersistentConnection[https] 0.42

H2IntegrationTest

testSimpleHead[http] 0.005
testSimpleGet[http] 0.009
testPush[http] 0.004
testBasicPost[http] 0.008
testLargeGet[http] 0.011
testHeaderTooLargePost[http] 0.006
testHeaderTooLarge[http] 0.004
testSlowRequestProducer[http] 2.509
testPrematureResponse[http] 0.012
testConnectionPing[http] 0.013
testSlowResponseProducer[http] 2.018
testExcessOfConcurrentStreams[http] 0.807
testPushRefused[http] 0.015
testSlowResponseConsumer[http] 1.512
testMessageWithTrailers[http] 0.018
testLargePost[http] 0.017
testExpectationFailed[http] 0.015
testRequestWithInvalidConnectionHeader[http] 0.009
testSimpleHead[https] 0.224
testSimpleGet[https] 0.223
testPush[https] 0.219
testBasicPost[https] 0.221
testLargeGet[https] 0.227
testHeaderTooLargePost[https] 0.22
testHeaderTooLarge[https] 0.222
testSlowRequestProducer[https] 2.726
testPrematureResponse[https] 0.233
testConnectionPing[https] 0.22
testSlowResponseProducer[https] 2.228
testExcessOfConcurrentStreams[https] 2.35
testPushRefused[https] 0.219
testSlowResponseConsumer[https] 1.725
testMessageWithTrailers[https] 0.233
testLargePost[https] 0.229
testExpectationFailed[https] 0.224
testRequestWithInvalidConnectionHeader[https] 0.219

H2TLSIntegrationTest

testTLSClientAuthFailure 0.225
testWeakCiphersDisabledByDefault 2.359
testTLSSuccess 0.222
testTLSTrustFailure 0.166
testSSLDisabledByDefault 0.211

TestFrameworkTest

changeMethod 0.001
changeStatus 0
defaults 0.001

ClassicTLSIntegrationTest

testTLSClientAuthFailure 0.437
testWeakCiphersDisabledByDefault 2.994
testTLSSuccess 0.276
testTLSTrustFailure 0.262
testSSLDisabledByDefault 0.26

Http1AuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0
testPostRequestAuthentication[respond immediately on auth failure: false] 0
testGetRequestAuthentication[respond immediately on auth failure: false] 0
testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: true] 0.009
testPostRequestAuthentication[respond immediately on auth failure: true] 0.022
testGetRequestAuthentication[respond immediately on auth failure: true] 0.012

Http1ServerAndRequesterTest

testSequentialRequests[http] 0.093
testPipelinedRequests[http] 0.074
testSequentialRequestsNonPersistentConnection[http] 0.06
testSequentialRequestsSameEndpoint[http] 0.059
testNonPersistentHeads[http] 0.062
testSequentialRequests[https] 0.228
testPipelinedRequests[https] 0.224
testSequentialRequestsNonPersistentConnection[https] 0.231
testSequentialRequestsSameEndpoint[https] 0.226
testNonPersistentHeads[https] 0.314

Http1SocksProxyIntegrationTest

testSimpleHead[http] 0.01
testDelayedExpectationVerification[http] 1.171
testPipelinedInvalidRequest[http] 0.01
testSimpleGet[http] 0.017
testSimpleHeadConnectionClose[http] 0.03
testExceptionInHandler[http] 0.015
testSimpleGetConnectionClose[http] 0.029
testBasicPost[http] 0.013
testHttp10Post[http] 0.015
testLargeGet[http] 0.111
testHeaderTooLargePost[http] 0.013
testHeaderTooLarge[http] 0.015
testSimpleGetsPipelined[http] 0.017
testPipelinedConnectionClose[http] 0.012
testSlowRequestProducer[http] 2.514
testPrematureResponse[http] 0.028
testLargeGetsPipelined[http] 0.031
testHeadPipelined[http] 0.012
testExpectationFailedCloseConnection[http] 0.014
testTruncatedChunk[http] 0.012
testSlowResponseProducer[http] 2.059
testPostsPipelinedLargeResponse[http] 0.102
testAbsentHostHeader[http] 0.016
testNoServiceHandler[http] 0.014
testSlowResponseConsumer[http] 5.059
testBasicPostPipelined[http] 0.021
testNoEntityPost[http] 0.02
testMessageWithTrailers[http] 0.016
testLargePost[http] 0.297
testProtocolException[http] 0.014
testExpectationFailed[http] 0.112
testResponseNoContent[http] 0.019
testLargePostsPipelined[http] 0.2
testSimpleGetIdentityTransfer[http] 0.025
testSimpleHead[https] 0.241
testDelayedExpectationVerification[https] 1.577
testPipelinedInvalidRequest[https] 0.233
testSimpleGet[https] 0.223
testSimpleHeadConnectionClose[https] 0.239
testExceptionInHandler[https] 0.222
testSimpleGetConnectionClose[https] 0.241
testBasicPost[https] 0.228
testHttp10Post[https] 0.223
testLargeGet[https] 0.248
testHeaderTooLargePost[https] 6.228
testHeaderTooLarge[https] 0.234
testSimpleGetsPipelined[https] 0.222
testPipelinedConnectionClose[https] 0.224
testSlowRequestProducer[https] 2.729
testPrematureResponse[https] 0.319
testLargeGetsPipelined[https] 0.269
testHeadPipelined[https] 0.223
testExpectationFailedCloseConnection[https] 0.222
testTruncatedChunk[https] 0.371
testSlowResponseProducer[https] 2.237
testPostsPipelinedLargeResponse[https] 0.283
testAbsentHostHeader[https] 0.246
testNoServiceHandler[https] 0.225
testSlowResponseConsumer[https] 5.275
testBasicPostPipelined[https] 0.233
testNoEntityPost[https] 0.225
testMessageWithTrailers[https] 0.222
testLargePost[https] 0.462
testProtocolException[https] 0.262
testExpectationFailed[https] 0.362
testResponseNoContent[https] 0.251
testLargePostsPipelined[https] 0.379
testSimpleGetIdentityTransfer[https] 0.23

H2AlpnTest

0
Java version must be 9 or greater

BenchmarkToolTest

testBasics[NEGOTIATE] 0.026
testBasics[FORCE_HTTP_2] 0.028

TestClassicTestClientTestingAdapter

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

TestClientPojoAdapter

checkRequestSupportThrows 0
checkRequestSupport 0
modifyRequest 0

ResultFormatterTest

testBasics 0

H2ServerBootstrapFiltersTest

testSequentialRequests 0.062

H2SocksProxyIntegrationTest

testSimpleHead[http] 0.018
testSimpleGet[http] 0.01
testPush[http] 0.064
testBasicPost[http] 0.034
testLargeGet[http] 0.053
testHeaderTooLargePost[http] 0.007
testHeaderTooLarge[http] 0.017
testSlowRequestProducer[http] 2.516
testPrematureResponse[http] 0.011
testConnectionPing[http] 0.012
testSlowResponseProducer[http] 2.039
testExcessOfConcurrentStreams[http] 2.446
testPushRefused[http] 0.008
testSlowResponseConsumer[http] 1.513
testMessageWithTrailers[http] 0.011
testLargePost[http] 0.014
testExpectationFailed[http] 0.01
testRequestWithInvalidConnectionHeader[http] 0.007
testSimpleHead[https] 0.246
testSimpleGet[https] 0.229
testPush[https] 0.274
testBasicPost[https] 0.368
testLargeGet[https] 0.341
testHeaderTooLargePost[https] 0.275
testHeaderTooLarge[https] 0.229
testSlowRequestProducer[https] 2.737
testPrematureResponse[https] 0.277
testConnectionPing[https] 0.23
testSlowResponseProducer[https] 2.283
testExcessOfConcurrentStreams[https] 2.771
testPushRefused[https] 0.232
testSlowResponseConsumer[https] 1.729
testMessageWithTrailers[https] 0.24
testLargePost[https] 0.242
testExpectationFailed[https] 0.271
testRequestWithInvalidConnectionHeader[https] 0.297

TestClientTestingAdapter

isRequestSupported 0
getHttpClientPOJOAdapter 0

JSSEProviderIntegrationTest

0
Java version must be 8 or greater

H2ServerAndRequesterTest

testSequentialRequests[http] 0.064
testPipelinedRequests[http] 0.06
testSequentialRequestsSameEndpoint[http] 0.059
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.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
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