Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
458 0 0 0 100% 12.912

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.http.nio.integration 54 0 0 0 100% 7.935
org.apache.http.nio.protocol 146 0 0 0 100% 0.394
org.apache.http.impl.nio.pool 4 0 0 0 100% 2.491
org.apache.http.nio.util 7 0 0 0 100% 0.019
org.apache.http.impl.nio 50 0 0 0 100% 0.183
org.apache.http.impl.nio.reactor 48 0 0 0 100% 0.608
org.apache.http.nio.pool 37 0 0 0 100% 0.769
org.apache.http.impl.nio.codecs 112 0 0 0 100% 0.513

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

org.apache.http.nio.integration

Class Tests Errors Failures Skipped Success Rate Time
TestClientOutOfSequenceResponse 1 0 0 0 100% 0.147
TestCustomSSL 1 0 0 0 100% 0.295
TestHttpAsyncHandlerCancellable 2 0 0 0 100% 0.564
TestHttpAsyncHandlers 30 0 0 0 100% 3.87
TestHttpAsyncHandlersPipelining 10 0 0 0 100% 0.884
TestHttpAsyncPrematureTermination 3 0 0 0 100% 0.062
TestHttpAsyncTimeout 2 0 0 0 100% 2.031
TestServerSidePipelining 3 0 0 0 100% 0.047
TestTruncatedChunks 2 0 0 0 100% 0.035

org.apache.http.nio.protocol

Class Tests Errors Failures Skipped Success Rate Time
TestBasicAsyncClientExchangeHandler 18 0 0 0 100% 0.03
TestBasicAsyncRequestConsumer 3 0 0 0 100% 0.027
TestBasicAsyncRequestHandler 3 0 0 0 100% 0.02
TestBasicAsyncRequestProducer 11 0 0 0 100% 0.014
TestBasicAsyncResponseConsumer 6 0 0 0 100% 0.024
TestBasicAsyncResponseProducer 5 0 0 0 100% 0.003
TestErrorResponseProducer 2 0 0 0 100% 0.005
TestHttpAsyncRequester 9 0 0 0 100% 0.015
TestHttpAsyncRequestExecutor 37 0 0 0 100% 0.039
TestHttpAsyncService 47 0 0 0 100% 0.183
TestUriHttpAsyncRequestHandlerMapper 5 0 0 0 100% 0.034

org.apache.http.impl.nio.pool

Class Tests Errors Failures Skipped Success Rate Time
TestBasicNIOConnPool 4 0 0 0 100% 2.491

org.apache.http.nio.util

Class Tests Errors Failures Skipped Success Rate Time
TestBuffers 7 0 0 0 100% 0.019

org.apache.http.impl.nio

Class Tests Errors Failures Skipped Success Rate Time
TestContentChannel 2 0 0 0 100% 0.027
TestDefaultNHttpClientConnection 17 0 0 0 100% 0.081
TestDefaultNHttpServerConnection 17 0 0 0 100% 0.053
TestNHttpConnectionBase 14 0 0 0 100% 0.022

org.apache.http.impl.nio.reactor

Class Tests Errors Failures Skipped Success Rate Time
ExceptionEventTest 3 0 0 0 100% 0.002
TestDefaultListeningIOReactor 3 0 0 0 100% 0.581
TestSessionInOutBuffers 42 0 0 0 100% 0.025

org.apache.http.nio.pool

Class Tests Errors Failures Skipped Success Rate Time
TestNIOConnPool 24 0 0 0 100% 0.759
TestRouteSpecificPool 13 0 0 0 100% 0.01

org.apache.http.impl.nio.codecs

Class Tests Errors Failures Skipped Success Rate Time
TestChunkDecoder 21 0 0 0 100% 0.09
TestChunkEncoder 8 0 0 0 100% 0.165
TestHttpMessageParser 17 0 0 0 100% 0.028
TestIdentityDecoder 8 0 0 0 100% 0.059
TestIdentityEncoder 20 0 0 0 100% 0.08
TestLengthDelimitedDecoder 15 0 0 0 100% 0.035
TestLengthDelimitedEncoder 23 0 0 0 100% 0.056

Test Cases

[Summary] [Package List] [Test Cases]

TestChunkDecoder

testMalformedChunk 0.02
testMissingClosingChunk 0.001
testTooLongFooter 0.009
testIncompleteChunkDecoding 0.001
testTooLongFoldedFooter 0
testMalformedChunkTruncatedChunk 0
testMissingLastCRLF 0
testHugeChunk 0
testMalformedChunkEndingDecoding 0
testTooLongChunkHeader 0
testMalformedChunkSizeDecoding 0
testInvalidConstructor 0
testReadingWitSmallBuffer 0
testMalformedFooters 0
testTooManyFooters 0.001
testDecodingWithSmallBuffer 0
testBasicDecoding 0.001
testEndOfStreamConditionReadingFooters 0.004
testFoldedFooters 0
testInvalidInput 0
testComplexDecoding 0

TestChunkEncoder

testBasicCoding 0.007
testChunkExceed 0
testBufferFragments 0.151
testChunkNoExceed 0
testInvalidConstructor 0.001
testCodingEmptyBuffer 0
testCodingCompleted 0.001
testLimitedChannel 0.001

TestHttpMessageParser

testMaxHeaderCount 0.013
testParsingInvalidHeader 0.006
testParsingInvalidRequestLine 0
testLineLimitForHeader 0.001
testLineLimitForStatus 0.001
testResetParser 0
testParsingInvalidStatusLine 0
testSimpleParsing 0
testInvalidConstructor 0
testDetectLineLimitEarly 0
testLineLimitForFoldedHeader 0
testParsingBadlyFoldedFirstHeader 0
testParsingFoldedHeaders 0.001
testParsingChunkedMessages 0
testParsingIncompleteRequestLine 0
testParsingEmptyFoldedHeader 0
testParsingIncompleteHeader 0.001

TestIdentityDecoder

testBasicDecodingFile 0.05
testWriteBeyondFileSize 0.001
testDecodingFromSessionBuffer 0.001
testInvalidConstructor 0
testBasicDecoding 0
testDecodingFileWithOffsetAndBufferedSessionData 0.004
testInvalidInput 0
testDecodingFileWithBufferedSessionData 0.003

TestIdentityEncoder

testCodingFragmentBufferingMultipleFragments 0.02
testBasicCoding 0
testCodingFragmentBuffering 0.003
testCodingFragmentBufferingChannelSaturated2 0.005
testCodingFromFileChannelSaturated 0.004
testCodingFromFileFlushBuffer 0.005
testCodingFragmentBufferingBufferFlush 0.002
testCodingFromFile 0.004
testCodingFromFileSmaller 0.002
testCodingNoFragmentBuffering 0.003
testInvalidConstructor 0
testCodingFragmentBufferingTinyFragments 0.003
testCodingFragmentBufferingLargeFragment 0.002
testCodingFragmentBufferingBufferFlush2 0.002
testCodingEmptySrcBuffer 0
testCodingEmptyFile 0.004
testCodingCompleted 0
testCodingFragmentBufferingTinyFragments2 0.003
testCodingFragmentBufferingTinyFragments3 0.004
testCodingFragmentBufferingChannelSaturated 0.005

TestLengthDelimitedDecoder

testBasicDecodingFile 0
testTruncatedContentWithFile 0
testWriteBeyondFileSize 0
testCodingBeyondContentLimitFile 0.002
testZeroLengthDecoding 0
testDecodingFromSessionBuffer1 0.001
testDecodingFromSessionBuffer2 0
testInvalidConstructor 0.001
testCodingBeyondContentLimit 0
testBasicDecoding 0.001
testDecodingFileWithOffsetAndBufferedSessionData 0.004
testBasicDecodingSmallBuffer 0
testInvalidInput 0
testDecodingFileWithBufferedSessionData 0.002
testTruncatedContent 0

TestLengthDelimitedEncoder

testCodingFragmentBufferingMultipleFragments 0
testCodingCompletedFromFile 0.002
testBasicCoding 0
testCodingFragmentBuffering 0.002
testCodingFragmentBufferingChannelSaturated2 0.003
testCodingFromFileChannelSaturated 0.002
testCodingFromFileFlushBuffer 0.003
testCodingFragmentBufferingBufferFlush 0.003
testCodingFromFileSmaller 0.004
testCodingNoFragmentBuffering 0.001
testInvalidConstructor 0
testCodingBeyondContentLimitFromFile 0.003
testCodingBeyondContentLimit 0
testCodingFragmentBufferingTinyFragments 0.005
testCodingFragmentBufferingLargeFragment 0.001
testCodingFragmentBufferingBufferFlush2 0.002
testCodingFragmentBufferingMultipleFragmentsBeyondContentLimit 0.003
testCodingEmptyBuffer 0
testCodingEmptyFile 0.004
testCodingCompleted 0
testCodingFragmentBufferingTinyFragments2 0.004
testCodingFragmentBufferingTinyFragments3 0.005
testCodingFragmentBufferingChannelSaturated 0.006

TestBasicNIOConnPool

testTimeoutOnLeaseRelease 2.476
testNullConstructor 0.002
testCreateEntry 0.001
testCreateConnection 0.001

ExceptionEventTest

testGetCause 0
testToString 0
testGetTimestamp 0

TestDefaultListeningIOReactor

testEndpointAlreadyBoundNonFatal 0.556
testEndpointAlreadyBoundFatal 0.012
testEndpointUpAndDown 0.01

TestSessionInOutBuffers

testMalformedInputActionIgnore[0] 0
testWriteLineChunks[0] 0
testReadByteBufferWithMaxLen[0] 0
testMalformedInputActionReport[0] 0.001
testLineLimit[0] 0
testReadLineChunks[0] 0
testReadToChannel[0] 0
testWriteByteBuffer[0] 0
testReadByteBuffer[0] 0
testWriteFromChannel[0] 0
testUnmappableInputActionIgnore[0] 0
testUnmappableInputActionReport[0] 0.001
testLineLimitBufferFull[0] 0
testMultibyteCodedReadWriteLine[0] 0.001
testInputMatchesBufferLength[0] 0
testReadToChannelWithMaxLen[0] 0
testMalformedInputActionReplace[0] 0.001
testComplexReadWriteLine[0] 0
testBasicReadWriteLine[0] 0
testReadOneByte[0] 0
testUnmappableInputActionReplace[0] 0
testMalformedInputActionIgnore[1] 0
testWriteLineChunks[1] 0
testReadByteBufferWithMaxLen[1] 0
testMalformedInputActionReport[1] 0
testLineLimit[1] 0.001
testReadLineChunks[1] 0
testReadToChannel[1] 0
testWriteByteBuffer[1] 0
testReadByteBuffer[1] 0
testWriteFromChannel[1] 0.001
testUnmappableInputActionIgnore[1] 0
testUnmappableInputActionReport[1] 0
testLineLimitBufferFull[1] 0
testMultibyteCodedReadWriteLine[1] 0.001
testInputMatchesBufferLength[1] 0
testReadToChannelWithMaxLen[1] 0
testMalformedInputActionReplace[1] 0
testComplexReadWriteLine[1] 0
testBasicReadWriteLine[1] 0
testReadOneByte[1] 0.001
testUnmappableInputActionReplace[1] 0

TestContentChannel

testContentDecoder 0.023
testContentEncoder 0.002

TestDefaultNHttpClientConnection

testProduceOutputLongMessageAfterSubmit 0.026
testSubmitRequest 0.001
testOutputReset 0.002
testProduceOutputLongMessage 0.007
testProduceOutputLongChunkedMessage 0.003
testProduceOutputLongMessageSaturatedChannel 0.001
testConsumeInputNoData 0.019
testProduceOutputShortMessage 0.002
testProduceOutputLongChunkedMessageSaturatedChannel 0.002
testProduceOutputShortMessageAfterSubmit 0.001
testConsumeInputShortMessage 0.003
testConsumeInputConnectionClosed 0.002
testProduceOutputClosingConnection 0.001
testSubmitEntityEnclosingRequest 0.002
testProduceOutputLongMessageSaturatedChannel2 0.001
testConsumeInputBasicMessageNoEntity 0.002
testConsumeInputLongMessage 0.002

TestDefaultNHttpServerConnection

testProduceOutputLongMessageAfterSubmit 0.011
testSubmitRequest 0.001
testOutputReset 0.001
testProduceOutputLongMessage 0.007
testProduceOutputLongChunkedMessage 0.001
testProduceOutputLongMessageSaturatedChannel 0.002
testConsumeInputNoData 0.011
testProduceOutputShortMessage 0.002
testProduceOutputLongChunkedMessageSaturatedChannel 0.001
testProduceOutputShortMessageAfterSubmit 0.002
testConsumeInputShortMessage 0.002
testConsumeInputConnectionClosed 0.001
testProduceOutputClosingConnection 0.001
testSubmitEntityEnclosingRequest 0.002
testProduceOutputLongMessageSaturatedChannel2 0.001
testConsumeInputBasicMessageNoEntity 0.001
testConsumeInputLongMessage 0.001

TestNHttpConnectionBase

testPrepareChunkEncoder 0
testClose 0.003
testIOOperations 0.002
testSessionBind 0.002
testPrepareLengthDelimitedDecoder 0.002
testContextOperations 0.001
testShutdown 0.001
testPrepareIdentityDecoder 0.001
testPrepareLengthDelimitedEncoder 0.001
testSocketTimeout 0.001
testBasics 0.001
testCloseWithBufferedData 0.001
testPrepareChunkDecoder 0.004
testPrepareIdentityEncoder 0

TestClientOutOfSequenceResponse

testOutOfSequenceResponse 0.141

TestCustomSSL

testCustomSSLContext 0.291

TestHttpAsyncHandlerCancellable

testRequestCancelled 0.265
testResponsePrematureTermination 0.298

TestHttpAsyncHandlers

testHttpPostsHTTP10[http] 0.05
testHttpPostIdentity[http] 0.018
testHttpPostsWithExpectationVerificationDelayedResponse[http] 0.222
testHttpExceptionInHandler[http] 0.017
testHttpPostsChunked[http] 0.037
testHttpPostsWithExpectContinue[http] 0.023
testHttpPostsWithExpectationVerification[http] 0.016
testNoServiceHandler[http] 0.053
testHttpPostsNoEntity[http] 0.022
testHttpGets[http] 0.025
testHttpHeadsDelayedResponse[http] 1.059
testHttpHeads[http] 0.027
testHttpPostsWithContentLength[http] 0.036
testResponseNoContent[http] 0.033
testHttpPostNoContentLength[http] 0.012
testHttpPostsHTTP10[https] 0.063
testHttpPostIdentity[https] 0.036
testHttpPostsWithExpectationVerificationDelayedResponse[https] 0.233
testHttpExceptionInHandler[https] 0.028
testHttpPostsChunked[https] 0.078
testHttpPostsWithExpectContinue[https] 0.089
testHttpPostsWithExpectationVerification[https] 0.035
testNoServiceHandler[https] 0.222
testHttpPostsNoEntity[https] 0.078
testHttpGets[https] 0.077
testHttpHeadsDelayedResponse[https] 1.108
testHttpHeads[https] 0.05
testHttpPostsWithContentLength[https] 0.042
testResponseNoContent[https] 0.032
testHttpPostNoContentLength[https] 0.029

TestHttpAsyncHandlersPipelining

testHttpDelayedResponse[http] 0.332
testUnexpectedConnectionClosure[http] 0.023
testHttpGets[http] 0.016
testHttpHeads[http] 0.018
testHttpPosts[http] 0.019
testHttpDelayedResponse[https] 0.323
testUnexpectedConnectionClosure[https] 0.051
testHttpGets[https] 0.029
testHttpHeads[https] 0.03
testHttpPosts[https] 0.035

TestHttpAsyncPrematureTermination

testConnectionTerminatedSendingResponse 0.024
testConnectionTerminatedHandlingRequest 0.019
testConnectionTerminatedProcessingRequest 0.017

TestHttpAsyncTimeout

testHandshakeTimeout[http] 1.008
testHandshakeTimeout[https] 1.017

TestServerSidePipelining

testPostRequestPipeliningExpectContinue 0.027
testGetRequestPipelining 0.008
testPostRequestPipelining 0.008

TestTruncatedChunks

testTruncatedChunkException 0.018
testIgnoreTruncatedChunkException 0.016

TestNIOConnPool

testGetStatsInvalid 0.012
testLeaseRequestCanceled 0.002
testCloseExpired 0.204
testConnectUnknownHost 0.015
testConnectionRedistributionOnTotalMaxLimit 0.005
testEmptyPool 0.001
testLeaseRequestCanceledWhileConnecting 0.001
testSuccessfulConnect 0.001
testMaxLimits 0.002
testInternalLeaseRequest 0
testLeaseRelease 0.002
testCloseIdle 0.203
testReleaseUnknownEntry 0
testShutdown 0
testFailedConnect 0.001
testLeaseIllegal 0
testStatefulConnectionRedistributionOnPerRouteMaxLimit 0.002
testTimeoutConnect 0.001
testCloseIdleInvalid 0
testSetMaxInvalid 0
testLeaseRequestTimeout 0.101
testCencelledConnect 0.001
testInvalidConstruction 0
testCreateNewIfExpired 0.203

TestRouteSpecificPool

testReleaseInvalidEntry 0.004
testConnectTimeout 0.001
testLeaseReleaseStateful 0
testEmptyPool 0
testSuccessfulConnect 0.001
testCancelledConnect 0
testLeaseRelease 0
testShutdown 0.001
testRemoveInvalid 0
testFailedConnect 0.001
testLeaseOrder 0
testReleaseInvalid 0
testRemove 0.001

TestBasicAsyncClientExchangeHandler

testFailedwithException 0.013
testFailedAfterRequest 0
testResponseCompleted 0.001
testClose 0.001
testProduceContent 0.001
testResponseReceived 0.001
testResponseFailure 0.001
testConsumeContent 0
testProduceContentCompleted 0.001
testRequestCompleted 0
testResponseNoKeepAlive 0.001
testCancel 0
testFailed 0.001
testInvalidExecution 0.001
testIsDone 0
testInputTerminated 0.001
testGenerateRequest 0.001
testResponseCompletedWithException 0.001

TestBasicAsyncRequestConsumer

testClose 0.023
testResponseProcessingWithException 0.002
testRequestProcessing 0.001

TestBasicAsyncRequestHandler

testHandleRequest 0.018
testProcessRequest 0
testInvalidConstruction 0.001

TestBasicAsyncRequestProducer

testNullTarget2ArgConstructor 0.002
testClose 0.001
testToString 0.001
testProduceContentEncoderNotCompleted 0.001
testNullRequest2ArgConstructor 0.001
testProduceContentEncoderCompleted 0.002
testNullTarget3ArgConstructor 0
testNullRequest3ArgConstructor 0
testGetTarget 0.001
testResetRequest 0.001
testGenerateRequest 0.001

TestBasicAsyncResponseConsumer

testClose 0.011
testResponseProcessing 0.004
testResponseProcessingWithException 0.002
testFailedAfterDone 0.001
testCancel 0.002
testFailed 0.001

TestBasicAsyncResponseProducer

testNullTargetArgConstructor 0
testClose 0
testProduceContentEncoderNotCompleted 0
testProduceContentEncoderCompleted 0.001
testGenerateRequest 0.001

TestErrorResponseProducer

testGenerateResponseKeepAlive 0
testGenerateResponseClose 0

TestHttpAsyncRequester

testSimpleExecute 0
testExecuteConnectionClosedUnexpectedly 0
testPooledRequestExecutionCancelled 0.001
testPooledConnectionAutoReleaseOnRequestCancel 0.001
testPooledRequestExecutionSucceeded 0.002
testPooledConnectionRequestCancelled 0.001
testInvalidExecution 0.001
testPooledRequestExecutionFailed 0.003
testPooledConnectionRequestFailed 0.001

TestHttpAsyncRequestExecutor

testIOExceptionHandling 0.003
testEndOfInput 0.001
testRequestContentContinueExpected 0.001
testExchangeDone 0
testResponseInvalidState 0.001
testResponseUnsupported1xx 0.001
testPrematureEndOfInput 0.001
testResponseToHead 0.001
testResponseContentInput 0.001
testClosedNullState 0.001
testResponseContentOutputCompletedHandlerNotDoneConnClosed 0.001
testExpectContinueTimeout 0
testEarlyResponse 0.001
testResponseToConnect 0.001
testEntityEnclosingRequestWithoutExpectContinue 0.001
testTimeoutActiveConnection 0.001
testResponseContinue 0.001
testPrematureEndOfInputRequestReady 0.001
testRequestContentOutputCompleted 0
testClosedInconsistentState 0.001
testTimeoutNoHandler 0.001
testResponseContentOutputCompleted 0.001
testBasicRequest 0
testResponseContinueOutOfSequence 0.001
testResponseExpectationFailed 0.001
testBasicResponse 0
testConnected 0.001
testEarlyNonErrorResponse 0.001
testHttpExceptionHandling 0
testResponseNotModified 0.001
testResponseContentOutputCompletedHandlerNotDone 0.001
testEntityEnclosingRequestWithExpectContinue 0
testClosed 0
testTimeoutClosingConnection 0.001
testRequestContentOutput 0
testTimeoutActiveConnectionBufferedData 0.003
testNullRequest 0.001

TestHttpAsyncService

testRequestContentCompleted 0.051
testEndOfInput 0.003
testRequestExpectationNoHandshakeIfMoreInputAvailable 0.02
testBasicResponseNoKeepAlive 0.001
testInvalidResponseStatusToExpection 0.002
testResponseFailedExpectation 0.002
testResponseToHead 0.008
testResponseContentCompletedNoKeepAlive 0.004
testResponseTrigger 0.005
testBasicResponseWithPipelining 0.003
testTimeoutActiveConnection 0.006
testResponseContinue 0.011
testRequestExpectationNoHandshakeIfPipelineNotEmpty 0.002
testEntityEnclosingRequest 0.001
testExceptionHandlingNoState 0.002
testBasicRequest 0.002
testExceptionHandlingRuntimeException 0.002
testBasicResponse 0.001
testConnected 0.001
testResponseTriggerInvalidResponseProducer 0.001
testEntityEnclosingResponse 0.001
testRequestPipelineIfResponseInitiated 0.002
testResponsePipelinedEmpty 0.001
testEntityEnclosingRequestContinueWithoutVerification 0.007
testHttpExceptionHandling 0.002
testResponseNotModified 0.001
testRequestPipelineIfPipelineNotEmpty 0.002
testRequestNoMatchingHandler 0.001
testHttpExceptionHandlingResponseSubmitted 0.002
testRequestExpectationFailed 0.001
testRequestExpectationFailedInvalidResponseProducer 0
testClosed 0
testResponseContentCompleted 0.002
testResponseContent 0.001
testResponseHandlePipelinedRequest 0.002
testTimeoutClosingConnection 0.002
testInvalidConstruction 0.001
testRequestExpectationNoHandshakeIfResponseInitiated 0.002
testEndOfInputNoTimeout 0.001
testRequestContinue 0.001
testInvalidResponseStatus 0.001
testHttpExceptionHandlingIOException 0.001
testRequestCompletedWithException 0.001
testTimeoutActiveConnectionBufferedData 0.002
testResponseHandleFailedPipelinedRequest 0.001
testEntityEnclosingRequestExpectationVerification 0.006
testRequestContent 0.001

TestUriHttpAsyncRequestHandlerMapper

testWildCardMatchingWithQuery 0.028
testRegisterNull 0
testRegisterUnregister 0.001
testLookupNull 0.001
testLookup 0.001

TestBuffers

testDirectByteBufferAllocator 0.001
testInputBufferNullInput 0
testInputBufferOperations 0.007
testBufferInfo 0.001
testOutputBufferNullInput 0
testHeapByteBufferAllocator 0
testOutputBufferOperations 0.005