Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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% 129.358
org.apache.hc.core5.benchmark 3 0 0 0 100% 0.048
org.apache.hc.core5.testing.reactive 12 0 0 0 100% 4.934
org.apache.hc.core5.testing.classic 46 0 0 0 100% 11.636
org.apache.hc.core5.testing.framework 55 0 0 0 100% 0.655

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.72
H2ServerAndMultiplexingRequesterTest 8 0 0 4 50% 1.463
H2ProtocolNegotiationTest 3 0 0 3 0% 1.229
AsyncServerBootstrapFilterTest 1 0 0 0 100% 0.095
H2IntegrationTest 36 0 0 0 100% 19.952
H2TLSIntegrationTest 5 0 0 0 100% 3.184
Http1AuthenticationTest 6 0 0 0 100% 0.106
Http1ServerAndRequesterTest 10 0 0 0 100% 1.53
Http1SocksProxyIntegrationTest 72 0 0 0 100% 39.951
H2AlpnTest 3 0 0 3 0% 0.628
H2ServerBootstrapFiltersTest 1 0 0 0 100% 0.069
H2SocksProxyIntegrationTest 36 0 0 0 100% 22.62
JSSEProviderIntegrationTest 1 0 0 1 0% 0.002
H2ServerAndRequesterTest 6 0 0 3 50% 0.803
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.046
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.934

org.apache.hc.core5.testing.classic

Class Tests Errors Failures Skipped Success Rate Time
ClassicIntegrationTest 28 0 0 0 100% 5.231
MonitoringResponseOutOfOrderStrategyIntegrationTest 2 0 0 0 100% 1.428
ClassicServerBootstrapFilterTest 1 0 0 0 100% 0.032
ClassicAuthenticationTest 6 0 0 0 100% 0.044
ClassicServerAndRequesterTest 4 0 0 0 100% 0.769
ClassicTLSIntegrationTest 5 0 0 0 100% 4.132

org.apache.hc.core5.testing.framework

Class Tests Errors Failures Skipped Success Rate Time
TestTestingFrameworkRequestHandler 2 0 0 0 100% 0.004
TestTestingFramework 34 0 0 0 100% 0.323
TestFrameworkTest 3 0 0 0 100% 0.004
TestClassicTestClientTestingAdapter 11 0 0 0 100% 0.322
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.034
testHttpPostIdentity[http] 0.005
testSimpleHttpPostsHTTP10[http] 0.024
testHttpPostNoEntity[http] 0.004
testHeaderTooLargePost[http] 0.003
testHeaderTooLarge[http] 0.004
testSimpleHttpPostsChunked[http] 0.033
testHttpPostsWithExpectContinue[http] 0.024
testAbsentHostHeader[http] 0.004
testHttpPostsWithExpectationVerification[http] 0.028
testSimpleBasicHttpRequests[http] 0.018
testNoContentResponse[http] 0.015
testHttpContent[http] 0.222
testHttpPostNoContentLength[http] 0.003
testSimpleHttpPostsWithContentLength[https] 0.39
testHttpPostIdentity[https] 0.303
testSimpleHttpPostsHTTP10[https] 0.335
testHttpPostNoEntity[https] 0.293
testHeaderTooLargePost[https] 0.279
testHeaderTooLarge[https] 0.274
testSimpleHttpPostsChunked[https] 0.32
testHttpPostsWithExpectContinue[https] 0.298
testAbsentHostHeader[https] 0.274
testHttpPostsWithExpectationVerification[https] 0.343
testSimpleBasicHttpRequests[https] 0.307
testNoContentResponse[https] 0.297
testHttpContent[https] 0.778
testHttpPostNoContentLength[https] 0.313

TestTestingFramework

changeBody 0.014
changedHeaderCheck 0.009
status201 0.01
addTestNoMocks 0.046
nullSetAdapterThrows 0.003
removeHeader 0.006
addTest 0.018
modifyResponseExpectationsCalled 0.004
responseContentTypeCheck 0.004
statusCheck 0.005
modifyRequestCalled 0.003
adapterDoesNotSupport 0.004
defaultTests 0.026
runTestsWithoutSettingAdapterThrows 0.004
responseAlreadyChecked 0.004
goodAdapterWithConstructor 0.041
changeHeader 0.006
requestMethodUnexpected 0.005
removeParameter 0.005
changeProtocolVersion 0.006
nulls 0.035
parameterInPath 0.005
defaultTestsWithMockedAdapter 0.012
nullAdapterThrows 0.003
deepcopy 0.001
changeContentType 0.005
removedHeaderCheck 0.004
changeResponseExpectationsFails 0.004
deepcopyOfTest 0.005
changeResponseStatus 0.005
bodyCheck 0.004
goodAdapterWithSetter 0.004
ensureDefaultMapsUnmodifiable 0
changeParameter 0.006

ReactiveClientTest

testRequestError[FORCE_HTTP_1] 0.209
testLongRunningRequest[FORCE_HTTP_1] 0.36
testManySmallBuffers[FORCE_HTTP_1] 0.871
testRequestTimeout[FORCE_HTTP_1] 1.021
testSimpleRequest[FORCE_HTTP_1] 0.048
testResponseCancellation[FORCE_HTTP_1] 0.008
testRequestError[FORCE_HTTP_2] 0.025
testLongRunningRequest[FORCE_HTTP_2] 0.214
testManySmallBuffers[FORCE_HTTP_2] 1.13
testRequestTimeout[FORCE_HTTP_2] 1.024
testSimpleRequest[FORCE_HTTP_2] 0.009
testResponseCancellation[FORCE_HTTP_2] 0.008

MonitoringResponseOutOfOrderStrategyIntegrationTest

testResponseOutOfOrderWithDefaultStrategy[http] 0.786
testResponseOutOfOrderWithDefaultStrategy[https] 0.561

Http1IntegrationTest

testSimpleHead[http] 0.005
testDelayedExpectationVerification[http] 1.536
testPipelinedInvalidRequest[http] 0.013
testSimpleGet[http] 0.017
testPostIdentityTransfer[http] 0.025
testSimpleHeadConnectionClose[http] 0.021
testExceptionInHandler[http] 0.012
testSimpleGetConnectionClose[http] 0.022
testBasicPost[http] 0.023
testHttp10Post[http] 0.019
testLargeGet[http] 0.025
testHeaderTooLargePost[http] 0.019
testHeaderTooLarge[http] 0.011
testSimpleGetsPipelined[http] 0.012
testPipelinedConnectionClose[http] 0.005
testSlowRequestProducer[http] 2.508
testPrematureResponse[http] 0.022
testLargeGetsPipelined[http] 0.024
testHeadPipelined[http] 0.012
testExpectationFailedCloseConnection[http] 0.007
testTruncatedChunk[http] 0.005
testSlowResponseProducer[http] 2.012
testPostsPipelinedLargeResponse[http] 0.017
testAbsentHostHeader[http] 0.005
testNoServiceHandler[http] 0.014
testSlowResponseConsumer[http] 5.038
testPostIdentityTransferOutOfSequenceResponse[http] 0.028
testBasicPostPipelined[http] 0.016
testNoEntityPost[http] 0.012
testMessageWithTrailers[http] 0.01
testLargePost[http] 0.022
testProtocolException[http] 0.004
testExpectationFailed[http] 0.006
testResponseNoContent[http] 0.004
testLargePostsPipelined[http] 0.033
testSimpleGetIdentityTransfer[http] 0.009
testSimpleHead[https] 0.239
testDelayedExpectationVerification[https] 1.962
testPipelinedInvalidRequest[https] 0.231
testSimpleGet[https] 0.222
testPostIdentityTransfer[https] 0.233
testSimpleHeadConnectionClose[https] 0.234
testExceptionInHandler[https] 0.221
testSimpleGetConnectionClose[https] 0.234
testBasicPost[https] 0.225
testHttp10Post[https] 0.224
testLargeGet[https] 0.227
testHeaderTooLargePost[https] 6.221
testHeaderTooLarge[https] 0.258
testSimpleGetsPipelined[https] 0.221
testPipelinedConnectionClose[https] 0.223
testSlowRequestProducer[https] 2.733
testPrematureResponse[https] 0.265
testLargeGetsPipelined[https] 0.255
testHeadPipelined[https] 0.257
testExpectationFailedCloseConnection[https] 0.246
testTruncatedChunk[https] 0.409
testSlowResponseProducer[https] 2.231
testPostsPipelinedLargeResponse[https] 0.279
testAbsentHostHeader[https] 0.318
testNoServiceHandler[https] 0.291
testSlowResponseConsumer[https] 5.283
testPostIdentityTransferOutOfSequenceResponse[https] 0.287
testBasicPostPipelined[https] 0.225
testNoEntityPost[https] 0.226
testMessageWithTrailers[https] 0.221
testLargePost[https] 0.243
testProtocolException[https] 0.224
testExpectationFailed[https] 0.237
testResponseNoContent[https] 0.248
testLargePostsPipelined[https] 0.242
testSimpleGetIdentityTransfer[https] 0.231

H2ServerAndMultiplexingRequesterTest

testSequentialRequests[http] 0.08
testMultiplexedRequests[http] 0.069
testValidityCheck[http] 0.267
testMultiplexedRequestCancellation[http] 0.191
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.028

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

ClassicAuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0.013
testPostRequestAuthentication[respond immediately on auth failure: false] 0.006
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.006
testSequentialRequestsNonPersistentConnection[http] 0.011
testSequentialRequests[https] 0.389
testSequentialRequestsNonPersistentConnection[https] 0.36

H2IntegrationTest

testSimpleHead[http] 0.005
testSimpleGet[http] 0.014
testPush[http] 0.005
testBasicPost[http] 0.011
testLargeGet[http] 0.012
testHeaderTooLargePost[http] 0.004
testHeaderTooLarge[http] 0.005
testSlowRequestProducer[http] 2.508
testPrematureResponse[http] 0.009
testConnectionPing[http] 0.006
testSlowResponseProducer[http] 2.013
testExcessOfConcurrentStreams[http] 0.957
testPushRefused[http] 0.005
testSlowResponseConsumer[http] 1.507
testMessageWithTrailers[http] 0.019
testLargePost[http] 0.027
testExpectationFailed[http] 0.015
testRequestWithInvalidConnectionHeader[http] 0.009
testSimpleHead[https] 0.236
testSimpleGet[https] 0.226
testPush[https] 0.222
testBasicPost[https] 0.229
testLargeGet[https] 0.245
testHeaderTooLargePost[https] 0.239
testHeaderTooLarge[https] 0.234
testSlowRequestProducer[https] 2.749
testPrematureResponse[https] 0.264
testConnectionPing[https] 0.237
testSlowResponseProducer[https] 2.249
testExcessOfConcurrentStreams[https] 2.733
testPushRefused[https] 0.241
testSlowResponseConsumer[https] 1.745
testMessageWithTrailers[https] 0.267
testLargePost[https] 0.245
testExpectationFailed[https] 0.234
testRequestWithInvalidConnectionHeader[https] 0.221

H2TLSIntegrationTest

testTLSClientAuthFailure 0.227
testWeakCiphersDisabledByDefault 2.359
testTLSSuccess 0.219
testTLSTrustFailure 0.166
testSSLDisabledByDefault 0.211

TestFrameworkTest

changeMethod 0.002
changeStatus 0
defaults 0

ClassicTLSIntegrationTest

testTLSClientAuthFailure 0.4
testWeakCiphersDisabledByDefault 2.936
testTLSSuccess 0.273
testTLSTrustFailure 0.246
testSSLDisabledByDefault 0.275

Http1AuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0.018
testPostRequestAuthentication[respond immediately on auth failure: false] 0.013
testGetRequestAuthentication[respond immediately on auth failure: false] 0.011
testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: true] 0.031
testPostRequestAuthentication[respond immediately on auth failure: true] 0.014
testGetRequestAuthentication[respond immediately on auth failure: true] 0.016

Http1ServerAndRequesterTest

testSequentialRequests[http] 0.072
testPipelinedRequests[http] 0.06
testSequentialRequestsNonPersistentConnection[http] 0.063
testSequentialRequestsSameEndpoint[http] 0.06
testNonPersistentHeads[http] 0.062
testSequentialRequests[https] 0.228
testPipelinedRequests[https] 0.225
testSequentialRequestsNonPersistentConnection[https] 0.233
testSequentialRequestsSameEndpoint[https] 0.227
testNonPersistentHeads[https] 0.298

Http1SocksProxyIntegrationTest

testSimpleHead[http] 0.008
testDelayedExpectationVerification[http] 1.724
testPipelinedInvalidRequest[http] 0.016
testSimpleGet[http] 0.022
testPostIdentityTransfer[http] 0.041
testSimpleHeadConnectionClose[http] 0.034
testExceptionInHandler[http] 0.014
testSimpleGetConnectionClose[http] 0.031
testBasicPost[http] 0.024
testHttp10Post[http] 0.012
testLargeGet[http] 0.053
testHeaderTooLargePost[http] 0.004
testHeaderTooLarge[http] 0.004
testSimpleGetsPipelined[http] 0.006
testPipelinedConnectionClose[http] 0.004
testSlowRequestProducer[http] 2.51
testPrematureResponse[http] 0.067
testLargeGetsPipelined[http] 0.012
testHeadPipelined[http] 0.019
testExpectationFailedCloseConnection[http] 0.019
testTruncatedChunk[http] 0.008
testSlowResponseProducer[http] 2.017
testPostsPipelinedLargeResponse[http] 0.105
testAbsentHostHeader[http] 0.009
testNoServiceHandler[http] 0.012
testSlowResponseConsumer[http] 5.054
testPostIdentityTransferOutOfSequenceResponse[http] 0.037
testBasicPostPipelined[http] 0.022
testNoEntityPost[http] 0.023
testMessageWithTrailers[http] 0.015
testLargePost[http] 0.301
testProtocolException[http] 0.022
testExpectationFailed[http] 0.113
testResponseNoContent[http] 0.015
testLargePostsPipelined[http] 0.198
testSimpleGetIdentityTransfer[http] 0.034
testSimpleHead[https] 0.248
testDelayedExpectationVerification[https] 2.444
testPipelinedInvalidRequest[https] 0.234
testSimpleGet[https] 0.224
testPostIdentityTransfer[https] 0.241
testSimpleHeadConnectionClose[https] 0.243
testExceptionInHandler[https] 0.222
testSimpleGetConnectionClose[https] 0.241
testBasicPost[https] 0.232
testHttp10Post[https] 0.225
testLargeGet[https] 0.248
testHeaderTooLargePost[https] 6.23
testHeaderTooLarge[https] 0.263
testSimpleGetsPipelined[https] 0.253
testPipelinedConnectionClose[https] 0.309
testSlowRequestProducer[https] 2.78
testPrematureResponse[https] 0.408
testLargeGetsPipelined[https] 0.284
testHeadPipelined[https] 0.239
testExpectationFailedCloseConnection[https] 0.236
testTruncatedChunk[https] 0.413
testSlowResponseProducer[https] 2.251
testPostsPipelinedLargeResponse[https] 0.233
testAbsentHostHeader[https] 0.221
testNoServiceHandler[https] 0.223
testSlowResponseConsumer[https] 5.28
testPostIdentityTransferOutOfSequenceResponse[https] 0.251
testBasicPostPipelined[https] 0.227
testNoEntityPost[https] 0.224
testMessageWithTrailers[https] 0.222
testLargePost[https] 0.519
testProtocolException[https] 0.224
testExpectationFailed[https] 0.35
testResponseNoContent[https] 0.26
testLargePostsPipelined[https] 0.361
testSimpleGetIdentityTransfer[https] 0.259

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.029
testBasics[FORCE_HTTP_2] 0.014

TestClassicTestClientTestingAdapter

nullRequest 0.307
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.066

H2SocksProxyIntegrationTest

testSimpleHead[http] 0.018
testSimpleGet[http] 0.008
testPush[http] 0.099
testBasicPost[http] 0.031
testLargeGet[http] 0.044
testHeaderTooLargePost[http] 0.012
testHeaderTooLarge[http] 0.009
testSlowRequestProducer[http] 2.522
testPrematureResponse[http] 0.022
testConnectionPing[http] 0.03
testSlowResponseProducer[http] 2.026
testExcessOfConcurrentStreams[http] 2.758
testPushRefused[http] 0.01
testSlowResponseConsumer[http] 1.51
testMessageWithTrailers[http] 0.02
testLargePost[http] 0.058
testExpectationFailed[http] 0.07
testRequestWithInvalidConnectionHeader[http] 0.023
testSimpleHead[https] 0.255
testSimpleGet[https] 0.231
testPush[https] 0.272
testBasicPost[https] 0.37
testLargeGet[https] 0.344
testHeaderTooLargePost[https] 0.282
testHeaderTooLarge[https] 0.242
testSlowRequestProducer[https] 2.735
testPrematureResponse[https] 0.297
testConnectionPing[https] 0.229
testSlowResponseProducer[https] 2.282
testExcessOfConcurrentStreams[https] 2.862
testPushRefused[https] 0.235
testSlowResponseConsumer[https] 1.726
testMessageWithTrailers[https] 0.253
testLargePost[https] 0.227
testExpectationFailed[https] 0.232
testRequestWithInvalidConnectionHeader[https] 0.266

TestClientTestingAdapter

isRequestSupported 0
getHttpClientPOJOAdapter 0

JSSEProviderIntegrationTest

0
Java version must be 8 or greater

H2ServerAndRequesterTest

testSequentialRequests[http] 0.066
testPipelinedRequests[http] 0.059
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.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
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