Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
270 0 0 14 94.815% 71.927

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 154 0 0 14 90.909% 60.475
org.apache.hc.core5.benchmark 3 0 0 0 100% 0.375
org.apache.hc.core5.testing.reactive 12 0 0 0 100% 3.339
org.apache.hc.core5.testing.classic 46 0 0 0 100% 7.355
org.apache.hc.core5.testing.framework 55 0 0 0 100% 0.383

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
JSSEProviderIntegrationTest 1 0 0 1 0% 0.003
H2ServerAndRequesterTest 6 0 0 3 50% 0.636
Http1AuthenticationTest 6 0 0 0 100% 0.045
H2IntegrationTest 36 0 0 0 100% 17.643
Http1IntegrationTest 72 0 0 0 100% 35.496
H2ServerBootstrapFiltersTest 1 0 0 0 100% 0.051
Http1ServerAndRequesterTest 10 0 0 0 100% 1.2
H2ServerAndMultiplexingRequesterTest 8 0 0 4 50% 1.192
H2TLSIntegrationTest 5 0 0 0 100% 2.608
H2ProtocolNegotiationTest 3 0 0 3 0% 0.976
AsyncServerBootstrapFilterTest 1 0 0 0 100% 0.063
H2AlpnTest 3 0 0 3 0% 0.558
TestDefaultListeningIOReactor 2 0 0 0 100% 0.004

org.apache.hc.core5.benchmark

Class Tests Errors Failures Skipped Success Rate Time
BenchmarkToolTest 2 0 0 0 100% 0.37
ResultFormatterTest 1 0 0 0 100% 0.005

org.apache.hc.core5.testing.reactive

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

org.apache.hc.core5.testing.classic

Class Tests Errors Failures Skipped Success Rate Time
ClassicTLSIntegrationTest 5 0 0 0 100% 2.834
ClassicServerBootstrapFilterTest 1 0 0 0 100% 0.003
ClassicIntegrationTest 28 0 0 0 100% 3.377
ClassicServerAndRequesterTest 4 0 0 0 100% 0.415
MonitoringResponseOutOfOrderStrategyIntegrationTest 2 0 0 0 100% 0.693
ClassicAuthenticationTest 6 0 0 0 100% 0.033

org.apache.hc.core5.testing.framework

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

Test Cases

[Summary] [Package List] [Test Cases]

JSSEProviderIntegrationTest

0
Java version must be 8 or greater

H2ServerAndRequesterTest

testSequentialRequests[http] 0.048
testPipelinedRequests[http] 0.046
testSequentialRequestsSameEndpoint[http] 0.045
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

BenchmarkToolTest

testBasics[NEGOTIATE] 0.254
testBasics[FORCE_HTTP_2] 0.052

Http1AuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0.014
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.004
testPostRequestAuthentication[respond immediately on auth failure: true] 0.008
testGetRequestAuthentication[respond immediately on auth failure: true] 0.006

ReactiveClientTest

testRequestError[FORCE_HTTP_1] 0.036
testLongRunningRequest[FORCE_HTTP_1] 0.172
testManySmallBuffers[FORCE_HTTP_1] 0.357
testRequestTimeout[FORCE_HTTP_1] 1.005
testSimpleRequest[FORCE_HTTP_1] 0.035
testResponseCancellation[FORCE_HTTP_1] 0.005
testRequestError[FORCE_HTTP_2] 0.003
testLongRunningRequest[FORCE_HTTP_2] 0.177
testManySmallBuffers[FORCE_HTTP_2] 0.532
testRequestTimeout[FORCE_HTTP_2] 1.005
testSimpleRequest[FORCE_HTTP_2] 0.007
testResponseCancellation[FORCE_HTTP_2] 0.003

ClassicTLSIntegrationTest

testTLSClientAuthFailure 0.309
testWeakCiphersDisabledByDefault 1.997
testTLSSuccess 0.189
testTLSTrustFailure 0.159
testSSLDisabledByDefault 0.179

ResultFormatterTest

testBasics 0.003

TestClientPojoAdapter

checkRequestSupportThrows 0
checkRequestSupport 0
modifyRequest 0

H2IntegrationTest

testSimpleHead[http] 0.008
testSimpleGet[http] 0.005
testPush[http] 0.008
testBasicPost[http] 0.008
testLargeGet[http] 0.018
testHeaderTooLargePost[http] 0.004
testHeaderTooLarge[http] 0.005
testSlowRequestProducer[http] 2.509
testPrematureResponse[http] 0.009
testConnectionPing[http] 0.012
testSlowResponseProducer[http] 2.015
testExcessOfConcurrentStreams[http] 0.657
testPushRefused[http] 0.005
testSlowResponseConsumer[http] 1.505
testMessageWithTrailers[http] 0.016
testLargePost[http] 0.012
testExpectationFailed[http] 0.005
testRequestWithInvalidConnectionHeader[http] 0.003
testSimpleHead[https] 0.18
testSimpleGet[https] 0.179
testPush[https] 0.175
testBasicPost[https] 0.18
testLargeGet[https] 0.188
testHeaderTooLargePost[https] 0.174
testHeaderTooLarge[https] 0.175
testSlowRequestProducer[https] 2.681
testPrematureResponse[https] 0.179
testConnectionPing[https] 0.183
testSlowResponseProducer[https] 2.188
testExcessOfConcurrentStreams[https] 1.752
testPushRefused[https] 0.183
testSlowResponseConsumer[https] 1.681
testMessageWithTrailers[https] 0.185
testLargePost[https] 0.185
testExpectationFailed[https] 0.186
testRequestWithInvalidConnectionHeader[https] 0.179

Http1IntegrationTest

testSimpleHead[http] 0.005
testDelayedExpectationVerification[http] 0.94
testPipelinedInvalidRequest[http] 0.011
testSimpleGet[http] 0.008
testPostIdentityTransfer[http] 0.009
testSimpleHeadConnectionClose[http] 0.008
testExceptionInHandler[http] 0.003
testSimpleGetConnectionClose[http] 0.004
testBasicPost[http] 0.004
testHttp10Post[http] 0.004
testLargeGet[http] 0.007
testHeaderTooLargePost[http] 0.002
testHeaderTooLarge[http] 0.002
testSimpleGetsPipelined[http] 0.003
testPipelinedConnectionClose[http] 0.003
testSlowRequestProducer[http] 2.507
testPrematureResponse[http] 0.014
testLargeGetsPipelined[http] 0.013
testHeadPipelined[http] 0.004
testExpectationFailedCloseConnection[http] 0.003
testTruncatedChunk[http] 0.004
testSlowResponseProducer[http] 2.007
testPostsPipelinedLargeResponse[http] 0.011
testAbsentHostHeader[http] 0.004
testNoServiceHandler[http] 0.002
testSlowResponseConsumer[http] 5.028
testPostIdentityTransferOutOfSequenceResponse[http] 0.013
testBasicPostPipelined[http] 0.009
testNoEntityPost[http] 0.008
testMessageWithTrailers[http] 0.006
testLargePost[http] 0.023
testProtocolException[http] 0.005
testExpectationFailed[http] 0.004
testResponseNoContent[http] 0.002
testLargePostsPipelined[http] 0.018
testSimpleGetIdentityTransfer[http] 0.004
testSimpleHead[https] 0.175
testDelayedExpectationVerification[https] 1.879
testPipelinedInvalidRequest[https] 0.176
testSimpleGet[https] 0.177
testPostIdentityTransfer[https] 0.18
testSimpleHeadConnectionClose[https] 0.184
testExceptionInHandler[https] 0.176
testSimpleGetConnectionClose[https] 0.18
testBasicPost[https] 0.179
testHttp10Post[https] 0.179
testLargeGet[https] 0.18
testHeaderTooLargePost[https] 7.174
testHeaderTooLarge[https] 0.171
testSimpleGetsPipelined[https] 0.174
testPipelinedConnectionClose[https] 0.174
testSlowRequestProducer[https] 2.676
testPrematureResponse[https] 0.179
testLargeGetsPipelined[https] 0.182
testHeadPipelined[https] 0.175
testExpectationFailedCloseConnection[https] 0.181
testTruncatedChunk[https] 0.297
testSlowResponseProducer[https] 2.186
testPostsPipelinedLargeResponse[https] 0.181
testAbsentHostHeader[https] 0.174
testNoServiceHandler[https] 0.174
testSlowResponseConsumer[https] 5.201
testPostIdentityTransferOutOfSequenceResponse[https] 0.187
testBasicPostPipelined[https] 0.178
testNoEntityPost[https] 0.175
testMessageWithTrailers[https] 0.175
testLargePost[https] 0.202
testProtocolException[https] 0.173
testExpectationFailed[https] 0.177
testResponseNoContent[https] 0.176
testLargePostsPipelined[https] 0.194
testSimpleGetIdentityTransfer[https] 0.186

H2ServerBootstrapFiltersTest

testSequentialRequests 0.05

ClassicServerBootstrapFilterTest

testFilters 0.002

ClassicIntegrationTest

testSimpleHttpPostsWithContentLength[http] 0.024
testHttpPostIdentity[http] 0.003
testSimpleHttpPostsHTTP10[http] 0.022
testHttpPostNoEntity[http] 0.002
testHeaderTooLargePost[http] 0.002
testHeaderTooLarge[http] 0.003
testSimpleHttpPostsChunked[http] 0.034
testHttpPostsWithExpectContinue[http] 0.011
testAbsentHostHeader[http] 0.002
testHttpPostsWithExpectationVerification[http] 0.013
testSimpleBasicHttpRequests[http] 0.008
testNoContentResponse[http] 0.007
testHttpContent[http] 0.109
testHttpPostNoContentLength[http] 0.002
testSimpleHttpPostsWithContentLength[https] 0.248
testHttpPostIdentity[https] 0.204
testSimpleHttpPostsHTTP10[https] 0.215
testHttpPostNoEntity[https] 0.194
testHeaderTooLargePost[https] 0.184
testHeaderTooLarge[https] 0.183
testSimpleHttpPostsChunked[https] 0.211
testHttpPostsWithExpectContinue[https] 0.202
testAbsentHostHeader[https] 0.188
testHttpPostsWithExpectationVerification[https] 0.228
testSimpleBasicHttpRequests[https] 0.207
testNoContentResponse[https] 0.199
testHttpContent[https] 0.457
testHttpPostNoContentLength[https] 0.204

TestClassicTestClientTestingAdapter

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

Http1ServerAndRequesterTest

testSequentialRequests[http] 0.048
testPipelinedRequests[http] 0.05
testSequentialRequestsNonPersistentConnection[http] 0.05
testSequentialRequestsSameEndpoint[http] 0.047
testNonPersistentHeads[http] 0.048
testSequentialRequests[https] 0.175
testPipelinedRequests[https] 0.181
testSequentialRequestsNonPersistentConnection[https] 0.187
testSequentialRequestsSameEndpoint[https] 0.18
testNonPersistentHeads[https] 0.232

H2ServerAndMultiplexingRequesterTest

testSequentialRequests[http] 0.051
testMultiplexedRequests[http] 0.049
testValidityCheck[http] 0.255
testMultiplexedRequestCancellation[http] 0.149
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

ClassicServerAndRequesterTest

testSequentialRequests[http] 0.011
testSequentialRequestsNonPersistentConnection[http] 0.003
testSequentialRequests[https] 0.201
testSequentialRequestsNonPersistentConnection[https] 0.198

MonitoringResponseOutOfOrderStrategyIntegrationTest

testResponseOutOfOrderWithDefaultStrategy[http] 0.318
testResponseOutOfOrderWithDefaultStrategy[https] 0.372

TestFrameworkTest

changeMethod 0
changeStatus 0
defaults 0

H2TLSIntegrationTest

testTLSClientAuthFailure 0.182
testWeakCiphersDisabledByDefault 1.951
testTLSSuccess 0.183
testTLSTrustFailure 0.127
testSSLDisabledByDefault 0.164

ClassicAuthenticationTest

testPostRequestAuthenticationNoExpectContinue[respond immediately on auth failure: false] 0.006
testPostRequestAuthentication[respond immediately on auth failure: false] 0.006
testGetRequestAuthentication[respond immediately on auth failure: false] 0.002
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.002

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

TestClientTestingAdapter

isRequestSupported 0
getHttpClientPOJOAdapter 0

TestTestingFrameworkRequestHandler

assertNothingThrown 0
assertNothingThrownThrows 0

TestTestingFramework

changeBody 0.009
changedHeaderCheck 0.004
status201 0.004
addTestNoMocks 0.027
nullSetAdapterThrows 0.002
removeHeader 0.005
addTest 0.185
modifyResponseExpectationsCalled 0.003
responseContentTypeCheck 0.002
statusCheck 0.003
modifyRequestCalled 0.003
adapterDoesNotSupport 0.002
defaultTests 0.017
runTestsWithoutSettingAdapterThrows 0.002
responseAlreadyChecked 0.002
goodAdapterWithConstructor 0.026
changeHeader 0.003
requestMethodUnexpected 0.004
removeParameter 0.003
changeProtocolVersion 0.004
nulls 0.022
parameterInPath 0.003
defaultTestsWithMockedAdapter 0.006
nullAdapterThrows 0.002
deepcopy 0.001
changeContentType 0.003
removedHeaderCheck 0.002
changeResponseExpectationsFails 0.003
deepcopyOfTest 0.002
changeResponseStatus 0.004
bodyCheck 0.003
goodAdapterWithSetter 0.002
ensureDefaultMapsUnmodifiable 0
changeParameter 0.003

AsyncServerBootstrapFilterTest

testFilters 0.062

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

TestDefaultListeningIOReactor

testEndpointAlreadyBound 0.002
testEndpointUpAndDown 0

Failure Details

[Summary] [Package List] [Test Cases]


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