Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
363 0 0 12 96.694% 147.284

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.benchmark 3 0 0 0 100% 0.049
org.apache.hc.core5.testing.nio 250 0 0 12 95.2% 128.551
org.apache.hc.core5.testing.classic 43 0 0 0 100% 12.647
org.apache.hc.core5.testing.framework 55 0 0 0 100% 0.727
org.apache.hc.core5.testing.reactive 12 0 0 0 100% 5.31

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.hc.core5.benchmark

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

org.apache.hc.core5.testing.nio

Class Tests Errors Failures Skipped Success Rate Time
Http1IntegrationTest 68 0 0 0 100% 31.643
H2ServerAndMultiplexingRequesterTest 8 0 0 4 50% 1.523
H2ProtocolNegotiationTest 3 0 0 3 0% 1.367
H2IntegrationTest 36 0 0 0 100% 20.761
H2TLSIntegrationTest 5 0 0 0 100% 4.519
Http1AuthenticationTest 6 0 0 0 100% 0.072
Http1ServerAndRequesterTest 10 0 0 0 100% 1.717
Http1SocksProxyIntegrationTest 68 0 0 0 100% 42.215
H2AlpnTest 1 0 0 1 0% 0.001
H2SocksProxyIntegrationTest 36 0 0 0 100% 23.562
JSSEProviderIntegrationTest 1 0 0 1 0% 0.001
H2ServerAndRequesterTest 6 0 0 3 50% 1.162
TestDefaultListeningIOReactor 2 0 0 0 100% 0.008

org.apache.hc.core5.testing.classic

Class Tests Errors Failures Skipped Success Rate Time
ClassicIntegrationTest 28 0 0 0 100% 5.923
ClassicAuthenticationTest 6 0 0 0 100% 1.005
ClassicServerAndRequesterTest 4 0 0 0 100% 1.159
ClassicTLSIntegrationTest 5 0 0 0 100% 4.56

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.369
TestFrameworkTest 3 0 0 0 100% 0.003
TestClassicTestClientTestingAdapter 11 0 0 0 100% 0.351
TestClientPojoAdapter 3 0 0 0 100% 0.001
TestClientTestingAdapter 2 0 0 0 100% 0.001

org.apache.hc.core5.testing.reactive

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

Test Cases

[Summary] [Package List] [Test Cases]

TestTestingFrameworkRequestHandler

assertNothingThrown 0
assertNothingThrownThrows 0

ClassicIntegrationTest

testSimpleHttpPostsWithContentLength[http] 0.029
testHttpPostIdentity[http] 0.004
testSimpleHttpPostsHTTP10[http] 0.017
testHttpPostNoEntity[http] 0.004
testHeaderTooLargePost[http] 0.002
testHeaderTooLarge[http] 0.002
testSimpleHttpPostsChunked[http] 0.031
testHttpPostsWithExpectContinue[http] 0.024
testAbsentHostHeader[http] 0.004
testHttpPostsWithExpectationVerification[http] 0.029
testSimpleBasicHttpRequests[http] 0.017
testNoContentResponse[http] 0.018
testHttpContent[http] 0.203
testHttpPostNoContentLength[http] 0.003
testSimpleHttpPostsWithContentLength[https] 0.436
testHttpPostIdentity[https] 0.366
testSimpleHttpPostsHTTP10[https] 0.399
testHttpPostNoEntity[https] 0.339
testHeaderTooLargePost[https] 0.324
testHeaderTooLarge[https] 0.312
testSimpleHttpPostsChunked[https] 0.351
testHttpPostsWithExpectContinue[https] 0.348
testAbsentHostHeader[https] 0.316
testHttpPostsWithExpectationVerification[https] 0.399
testSimpleBasicHttpRequests[https] 0.333
testNoContentResponse[https] 0.327
testHttpContent[https] 0.946
testHttpPostNoContentLength[https] 0.332

TestTestingFramework

changeBody 0.015
changedHeaderCheck 0.007
status201 0.01
addTestNoMocks 0.058
nullSetAdapterThrows 0.004
removeHeader 0.006
addTest 0.024
modifyResponseExpectationsCalled 0.004
responseContentTypeCheck 0.005
statusCheck 0.008
modifyRequestCalled 0.005
adapterDoesNotSupport 0.004
defaultTests 0.03
runTestsWithoutSettingAdapterThrows 0.004
responseAlreadyChecked 0.004
goodAdapterWithConstructor 0.049
changeHeader 0.006
requestMethodUnexpected 0.006
removeParameter 0.006
changeProtocolVersion 0.006
nulls 0.039
parameterInPath 0.005
defaultTestsWithMockedAdapter 0.012
nullAdapterThrows 0.003
deepcopy 0.001
changeContentType 0.006
removedHeaderCheck 0.005
changeResponseExpectationsFails 0.004
deepcopyOfTest 0.006
changeResponseStatus 0.006
bodyCheck 0.004
goodAdapterWithSetter 0.005
ensureDefaultMapsUnmodifiable 0
changeParameter 0.006

ReactiveClientTest

testRequestError[FORCE_HTTP_1] 0.16
testLongRunningRequest[FORCE_HTTP_1] 0.397
testManySmallBuffers[FORCE_HTTP_1] 1.035
testRequestTimeout[FORCE_HTTP_1] 1.013
testSimpleRequest[FORCE_HTTP_1] 0.075
testResponseCancellation[FORCE_HTTP_1] 0.008
testRequestError[FORCE_HTTP_2] 0.029
testLongRunningRequest[FORCE_HTTP_2] 0.225
testManySmallBuffers[FORCE_HTTP_2] 1.312
testRequestTimeout[FORCE_HTTP_2] 1.01
testSimpleRequest[FORCE_HTTP_2] 0.018
testResponseCancellation[FORCE_HTTP_2] 0.02

Http1IntegrationTest

testSimpleHead[http] 0.011
testDelayedExpectationVerification[http] 2.442
testPipelinedInvalidRequest[http] 0.016
testSimpleGet[http] 0.024
testSimpleHeadConnectionClose[http] 0.035
testExceptionInHandler[http] 0.015
testSimpleGetConnectionClose[http] 0.027
testBasicPost[http] 0.024
testHttp10Post[http] 0.017
testLargeGet[http] 0.009
testHeaderTooLargePost[http] 0.004
testHeaderTooLarge[http] 0.003
testSimpleGetsPipelined[http] 0.004
testPipelinedConnectionClose[http] 0.006
testSlowRequestProducer[http] 2.508
testPrematureResponse[http] 0.021
testLargeGetsPipelined[http] 0.032
testHeadPipelined[http] 0.01
testExpectationFailedCloseConnection[http] 0.006
testTruncatedChunk[http] 0.008
testSlowResponseProducer[http] 2.012
testPostsPipelinedLargeResponse[http] 0.031
testAbsentHostHeader[http] 0.016
testNoServiceHandler[http] 0.014
testSlowResponseConsumer[http] 5.04
testBasicPostPipelined[http] 0.021
testNoEntityPost[http] 0.021
testMessageWithTrailers[http] 0.015
testLargePost[http] 0.038
testProtocolException[http] 0.005
testExpectationFailed[http] 0.006
testResponseNoContent[http] 0.003
testLargePostsPipelined[http] 0.021
testSimpleGetIdentityTransfer[http] 0.008
testSimpleHead[https] 0.244
testDelayedExpectationVerification[https] 1.443
testPipelinedInvalidRequest[https] 0.262
testSimpleGet[https] 0.232
testSimpleHeadConnectionClose[https] 0.25
testExceptionInHandler[https] 0.233
testSimpleGetConnectionClose[https] 0.246
testBasicPost[https] 0.238
testHttp10Post[https] 0.24
testLargeGet[https] 0.243
testHeaderTooLargePost[https] 0.236
testHeaderTooLarge[https] 0.235
testSimpleGetsPipelined[https] 0.232
testPipelinedConnectionClose[https] 0.235
testSlowRequestProducer[https] 2.74
testPrematureResponse[https] 0.264
testLargeGetsPipelined[https] 0.241
testHeadPipelined[https] 0.233
testExpectationFailedCloseConnection[https] 0.238
testTruncatedChunk[https] 0.398
testSlowResponseProducer[https] 2.247
testPostsPipelinedLargeResponse[https] 0.264
testAbsentHostHeader[https] 0.253
testNoServiceHandler[https] 0.239
testSlowResponseConsumer[https] 5.27
testBasicPostPipelined[https] 0.265
testNoEntityPost[https] 0.233
testMessageWithTrailers[https] 0.233
testLargePost[https] 0.267
testProtocolException[https] 0.236
testExpectationFailed[https] 0.235
testResponseNoContent[https] 0.232
testLargePostsPipelined[https] 0.256
testSimpleGetIdentityTransfer[https] 0.243

H2ServerAndMultiplexingRequesterTest

testSequentialRequests[http] 0.081
testMultiplexedRequests[http] 0.067
testValidityCheck[http] 0.276
testMultiplexedRequestCancellation[http] 0.192
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

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

ClassicAuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0.854
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.006
testPostRequestAuthentication[respond immediately on auth failure: true] 0.007
testGetRequestAuthentication[respond immediately on auth failure: true] 0.014

ClassicServerAndRequesterTest

testSequentialRequests[http] 0.01
testSequentialRequestsNonPersistentConnection[http] 0.008
testSequentialRequests[https] 0.681
testSequentialRequestsNonPersistentConnection[https] 0.455

H2IntegrationTest

testSimpleHead[http] 0.009
testSimpleGet[http] 0.012
testPush[http] 0.008
testBasicPost[http] 0.006
testLargeGet[http] 0.013
testHeaderTooLargePost[http] 0.007
testHeaderTooLarge[http] 0.006
testSlowRequestProducer[http] 2.506
testPrematureResponse[http] 0.004
testConnectionPing[http] 0.005
testSlowResponseProducer[http] 2.012
testExcessOfConcurrentStreams[http] 0.959
testPushRefused[http] 0.004
testSlowResponseConsumer[http] 1.506
testMessageWithTrailers[http] 0.004
testLargePost[http] 0.017
testExpectationFailed[http] 0.013
testRequestWithInvalidConnectionHeader[http] 0.006
testSimpleHead[https] 0.25
testSimpleGet[https] 0.234
testPush[https] 0.235
testBasicPost[https] 0.242
testLargeGet[https] 0.28
testHeaderTooLargePost[https] 0.245
testHeaderTooLarge[https] 0.235
testSlowRequestProducer[https] 2.744
testPrematureResponse[https] 0.265
testConnectionPing[https] 0.23
testSlowResponseProducer[https] 2.237
testExcessOfConcurrentStreams[https] 3.395
testPushRefused[https] 0.253
testSlowResponseConsumer[https] 1.782
testMessageWithTrailers[https] 0.269
testLargePost[https] 0.254
testExpectationFailed[https] 0.255
testRequestWithInvalidConnectionHeader[https] 0.254

H2TLSIntegrationTest

testTLSClientAuthFailure 0.288
testWeakCiphersDisabledByDefault 3.384
testTLSSuccess 0.323
testTLSTrustFailure 0.229
testSSLDisabledByDefault 0.293

TestFrameworkTest

changeMethod 0.001
changeStatus 0
defaults 0

ClassicTLSIntegrationTest

testTLSClientAuthFailure 0.46
testWeakCiphersDisabledByDefault 3.263
testTLSSuccess 0.301
testTLSTrustFailure 0.244
testSSLDisabledByDefault 0.287

Http1AuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0.01
testPostRequestAuthentication[respond immediately on auth failure: false] 0.009
testGetRequestAuthentication[respond immediately on auth failure: false] 0.004
testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: true] 0.014
testPostRequestAuthentication[respond immediately on auth failure: true] 0.018
testGetRequestAuthentication[respond immediately on auth failure: true] 0.013

Http1ServerAndRequesterTest

testSequentialRequests[http] 0.073
testPipelinedRequests[http] 0.064
testSequentialRequestsNonPersistentConnection[http] 0.066
testSequentialRequestsSameEndpoint[http] 0.063
testNonPersistentHeads[http] 0.066
testSequentialRequests[https] 0.24
testPipelinedRequests[https] 0.236
testSequentialRequestsNonPersistentConnection[https] 0.258
testSequentialRequestsSameEndpoint[https] 0.277
testNonPersistentHeads[https] 0.37

Http1SocksProxyIntegrationTest

testSimpleHead[http] 0.013
testDelayedExpectationVerification[http] 1.28
testPipelinedInvalidRequest[http] 0.02
testSimpleGet[http] 0.028
testSimpleHeadConnectionClose[http] 0.038
testExceptionInHandler[http] 0.015
testSimpleGetConnectionClose[http] 0.017
testBasicPost[http] 0.016
testHttp10Post[http] 0.013
testLargeGet[http] 0.062
testHeaderTooLargePost[http] 0.016
testHeaderTooLarge[http] 0.018
testSimpleGetsPipelined[http] 0.021
testPipelinedConnectionClose[http] 0.02
testSlowRequestProducer[http] 2.519
testPrematureResponse[http] 0.071
testLargeGetsPipelined[http] 0.045
testHeadPipelined[http] 0.009
testExpectationFailedCloseConnection[http] 0.007
testTruncatedChunk[http] 0.012
testSlowResponseProducer[http] 2.015
testPostsPipelinedLargeResponse[http] 0.069
testAbsentHostHeader[http] 0.018
testNoServiceHandler[http] 0.015
testSlowResponseConsumer[http] 5.046
testBasicPostPipelined[http] 0.03
testNoEntityPost[http] 0.025
testMessageWithTrailers[http] 0.018
testLargePost[http] 0.3
testProtocolException[http] 0.005
testExpectationFailed[http] 0.104
testResponseNoContent[http] 0.017
testLargePostsPipelined[http] 3.309
testSimpleGetIdentityTransfer[http] 0.023
testSimpleHead[https] 0.259
testDelayedExpectationVerification[https] 2.294
testPipelinedInvalidRequest[https] 0.265
testSimpleGet[https] 0.231
testSimpleHeadConnectionClose[https] 0.25
testExceptionInHandler[https] 0.233
testSimpleGetConnectionClose[https] 0.249
testBasicPost[https] 0.239
testHttp10Post[https] 0.24
testLargeGet[https] 0.247
testHeaderTooLargePost[https] 6.248
testHeaderTooLarge[https] 0.267
testSimpleGetsPipelined[https] 0.233
testPipelinedConnectionClose[https] 0.239
testSlowRequestProducer[https] 2.745
testPrematureResponse[https] 0.357
testLargeGetsPipelined[https] 0.279
testHeadPipelined[https] 0.231
testExpectationFailedCloseConnection[https] 0.24
testTruncatedChunk[https] 0.401
testSlowResponseProducer[https] 2.257
testPostsPipelinedLargeResponse[https] 0.38
testAbsentHostHeader[https] 0.263
testNoServiceHandler[https] 0.232
testSlowResponseConsumer[https] 5.266
testBasicPostPipelined[https] 0.31
testNoEntityPost[https] 0.253
testMessageWithTrailers[https] 0.233
testLargePost[https] 0.537
testProtocolException[https] 0.232
testExpectationFailed[https] 0.335
testResponseNoContent[https] 0.257
testLargePostsPipelined[https] 0.395
testSimpleGetIdentityTransfer[https] 0.269

H2AlpnTest

0
Java version must be 9 or greater

BenchmarkToolTest

testBasics[NEGOTIATE] 0.028
testBasics[FORCE_HTTP_2] 0.018

TestClassicTestClientTestingAdapter

nullRequest 0.331
invalidMethod 0.001
nullDefaultURI 0
noPath 0
withLiveServerCustomRequestHandler 0.01
nullRequestHandler 0
modifyRequest 0
noMethod 0
nullResponseExpectations 0
withLiveServerEcho 0.002
modifyResponseExpectations 0

TestClientPojoAdapter

checkRequestSupportThrows 0
checkRequestSupport 0
modifyRequest 0

ResultFormatterTest

testBasics 0

H2SocksProxyIntegrationTest

testSimpleHead[http] 0.041
testSimpleGet[http] 0.008
testPush[http] 0.104
testBasicPost[http] 0.026
testLargeGet[http] 0.041
testHeaderTooLargePost[http] 0.013
testHeaderTooLarge[http] 0.005
testSlowRequestProducer[http] 2.519
testPrematureResponse[http] 0.036
testConnectionPing[http] 0.019
testSlowResponseProducer[http] 2.022
testExcessOfConcurrentStreams[http] 3.22
testPushRefused[http] 0.022
testSlowResponseConsumer[http] 1.516
testMessageWithTrailers[http] 0.024
testLargePost[http] 0.077
testExpectationFailed[http] 0.073
testRequestWithInvalidConnectionHeader[http] 0.022
testSimpleHead[https] 0.272
testSimpleGet[https] 0.242
testPush[https] 0.285
testBasicPost[https] 0.27
testLargeGet[https] 0.337
testHeaderTooLargePost[https] 0.242
testHeaderTooLarge[https] 0.23
testSlowRequestProducer[https] 2.746
testPrematureResponse[https] 0.301
testConnectionPing[https] 0.262
testSlowResponseProducer[https] 2.298
testExcessOfConcurrentStreams[https] 3.117
testPushRefused[https] 0.269
testSlowResponseConsumer[https] 1.741
testMessageWithTrailers[https] 0.264
testLargePost[https] 0.278
testExpectationFailed[https] 0.348
testRequestWithInvalidConnectionHeader[https] 0.261

TestClientTestingAdapter

isRequestSupported 0
getHttpClientPOJOAdapter 0

JSSEProviderIntegrationTest

0
Java version must be 8 or greater

H2ServerAndRequesterTest

testSequentialRequests[http] 0.089
testPipelinedRequests[http] 0.088
testSequentialRequestsSameEndpoint[http] 0.085
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.005

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