Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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% 8.298
org.apache.http.nio.protocol 146 0 0 0 100% 0.653
org.apache.http.impl.nio.pool 4 0 0 0 100% 0.075
org.apache.http.nio.util 7 0 0 0 100% 0.035
org.apache.http.impl.nio 50 0 0 0 100% 0.156
org.apache.http.impl.nio.reactor 48 0 0 0 100% 0.55
org.apache.http.nio.pool 37 0 0 0 100% 0.806
org.apache.http.impl.nio.codecs 112 0 0 0 100% 0.148

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
TestHttpAsyncHandlersPipelining 10 0 0 0 100% 1.287
TestHttpAsyncTimeout 2 0 0 0 100% 2.363
TestHttpAsyncHandlers 30 0 0 0 100% 3.856
TestTruncatedChunks 2 0 0 0 100% 0.013
TestHttpAsyncPrematureTermination 3 0 0 0 100% 0.045
TestServerSidePipelining 3 0 0 0 100% 0.084
TestCustomSSL 1 0 0 0 100% 0.032
TestClientOutOfSequenceResponse 1 0 0 0 100% 0.103
TestHttpAsyncHandlerCancellable 2 0 0 0 100% 0.515

org.apache.http.nio.protocol

Class Tests Errors Failures Skipped Success Rate Time
TestErrorResponseProducer 2 0 0 0 100% 0
TestBasicAsyncClientExchangeHandler 18 0 0 0 100% 0.064
TestBasicAsyncRequestConsumer 3 0 0 0 100% 0.284
TestUriHttpAsyncRequestHandlerMapper 5 0 0 0 100% 0.027
TestHttpAsyncService 47 0 0 0 100% 0.14
TestBasicAsyncRequestHandler 3 0 0 0 100% 0.027
TestBasicAsyncResponseProducer 5 0 0 0 100% 0.009
TestHttpAsyncRequestExecutor 37 0 0 0 100% 0.055
TestHttpAsyncRequester 9 0 0 0 100% 0.028
TestBasicAsyncResponseConsumer 6 0 0 0 100% 0.011
TestBasicAsyncRequestProducer 11 0 0 0 100% 0.008

org.apache.http.impl.nio.pool

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

org.apache.http.nio.util

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

org.apache.http.impl.nio

Class Tests Errors Failures Skipped Success Rate Time
TestContentChannel 2 0 0 0 100% 0.042
TestDefaultNHttpServerConnection 17 0 0 0 100% 0.063
TestDefaultNHttpClientConnection 17 0 0 0 100% 0.042
TestNHttpConnectionBase 14 0 0 0 100% 0.009

org.apache.http.impl.nio.reactor

Class Tests Errors Failures Skipped Success Rate Time
TestSessionInOutBuffers 42 0 0 0 100% 0.038
ExceptionEventTest 3 0 0 0 100% 0
TestDefaultListeningIOReactor 3 0 0 0 100% 0.512

org.apache.http.nio.pool

Class Tests Errors Failures Skipped Success Rate Time
TestRouteSpecificPool 13 0 0 0 100% 0.017
TestNIOConnPool 24 0 0 0 100% 0.789

org.apache.http.impl.nio.codecs

Class Tests Errors Failures Skipped Success Rate Time
TestLengthDelimitedEncoder 23 0 0 0 100% 0.037
TestHttpMessageParser 17 0 0 0 100% 0.007
TestChunkDecoder 21 0 0 0 100% 0.007
TestChunkEncoder 8 0 0 0 100% 0.01
TestLengthDelimitedDecoder 15 0 0 0 100% 0.008
TestIdentityDecoder 8 0 0 0 100% 0.004
TestIdentityEncoder 20 0 0 0 100% 0.075

Test Cases

[Summary] [Package List] [Test Cases]

TestErrorResponseProducer

testGenerateResponseKeepAlive 0
testGenerateResponseClose 0

TestHttpAsyncHandlersPipelining

testHttpDelayedResponse[http] 0.356
testUnexpectedConnectionClosure[http] 0.026
testHttpGets[http] 0.032
testHttpHeads[http] 0.027
testHttpPosts[http] 0.03
testHttpDelayedResponse[https] 0.438
testUnexpectedConnectionClosure[https] 0.12
testHttpGets[https] 0.092
testHttpHeads[https] 0.067
testHttpPosts[https] 0.095

TestBasicAsyncClientExchangeHandler

testFailedwithException 0.033
testFailedAfterRequest 0.002
testResponseCompleted 0.002
testClose 0.001
testProduceContent 0.001
testResponseReceived 0.003
testResponseFailure 0.001
testConsumeContent 0.001
testProduceContentCompleted 0.002
testRequestCompleted 0.002
testResponseNoKeepAlive 0.002
testCancel 0.001
testFailed 0.001
testInvalidExecution 0.001
testIsDone 0.001
testInputTerminated 0.002
testGenerateRequest 0.002
testResponseCompletedWithException 0.002

TestSessionInOutBuffers

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

TestHttpAsyncTimeout

testHandshakeTimeout[http] 1.119
testHandshakeTimeout[https] 1.234

TestHttpAsyncHandlers

testHttpPostsHTTP10[http] 0.025
testHttpPostIdentity[http] 0.006
testHttpPostsWithExpectationVerificationDelayedResponse[http] 0.213
testHttpExceptionInHandler[http] 0.01
testHttpPostsChunked[http] 0.051
testHttpPostsWithExpectContinue[http] 0.034
testHttpPostsWithExpectationVerification[http] 0.008
testNoServiceHandler[http] 0.033
testHttpPostsNoEntity[http] 0.019
testHttpGets[http] 0.017
testHttpHeadsDelayedResponse[http] 1.059
testHttpHeads[http] 0.025
testHttpPostsWithContentLength[http] 0.027
testResponseNoContent[http] 0.015
testHttpPostNoContentLength[http] 0.004
testHttpPostsHTTP10[https] 0.052
testHttpPostIdentity[https] 0.017
testHttpPostsWithExpectationVerificationDelayedResponse[https] 0.231
testHttpExceptionInHandler[https] 0.038
testHttpPostsChunked[https] 0.076
testHttpPostsWithExpectContinue[https] 0.067
testHttpPostsWithExpectationVerification[https] 0.049
testNoServiceHandler[https] 0.392
testHttpPostsNoEntity[https] 0.058
testHttpGets[https] 0.057
testHttpHeadsDelayedResponse[https] 1.07
testHttpHeads[https] 0.044
testHttpPostsWithContentLength[https] 0.063
testResponseNoContent[https] 0.053
testHttpPostNoContentLength[https] 0.036

TestBasicNIOConnPool

testTimeoutOnLeaseRelease 0.074
testNullConstructor 0
testCreateEntry 0.001
testCreateConnection 0

TestTruncatedChunks

testTruncatedChunkException 0.009
testIgnoreTruncatedChunkException 0.004

TestLengthDelimitedEncoder

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

TestRouteSpecificPool

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

ExceptionEventTest

testGetCause 0
testToString 0
testGetTimestamp 0

TestContentChannel

testContentDecoder 0.04
testContentEncoder 0.001

TestBasicAsyncRequestConsumer

testClose 0.195
testResponseProcessingWithException 0.019
testRequestProcessing 0.002

TestHttpMessageParser

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

TestNIOConnPool

testGetStatsInvalid 0.011
testLeaseRequestCanceled 0.018
testCloseExpired 0.204
testConnectUnknownHost 0.006
testConnectionRedistributionOnTotalMaxLimit 0.004
testEmptyPool 0.002
testLeaseRequestCanceledWhileConnecting 0
testSuccessfulConnect 0.001
testMaxLimits 0.001
testInternalLeaseRequest 0
testLeaseRelease 0.001
testCloseIdle 0.204
testReleaseUnknownEntry 0.002
testShutdown 0.002
testFailedConnect 0.002
testLeaseIllegal 0.001
testStatefulConnectionRedistributionOnPerRouteMaxLimit 0.004
testTimeoutConnect 0.001
testCloseIdleInvalid 0
testSetMaxInvalid 0.001
testLeaseRequestTimeout 0.102
testCencelledConnect 0.002
testInvalidConstruction 0
testCreateNewIfExpired 0.204

TestUriHttpAsyncRequestHandlerMapper

testWildCardMatchingWithQuery 0.024
testRegisterNull 0.001
testRegisterUnregister 0.001
testLookupNull 0
testLookup 0

TestChunkDecoder

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

TestChunkEncoder

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

TestHttpAsyncService

testRequestContentCompleted 0.032
testEndOfInput 0.002
testRequestExpectationNoHandshakeIfMoreInputAvailable 0.008
testBasicResponseNoKeepAlive 0.002
testInvalidResponseStatusToExpection 0.002
testResponseFailedExpectation 0.001
testResponseToHead 0.002
testResponseContentCompletedNoKeepAlive 0.001
testResponseTrigger 0.002
testBasicResponseWithPipelining 0.002
testTimeoutActiveConnection 0.004
testResponseContinue 0.002
testRequestExpectationNoHandshakeIfPipelineNotEmpty 0.002
testEntityEnclosingRequest 0.013
testExceptionHandlingNoState 0
testBasicRequest 0
testExceptionHandlingRuntimeException 0.004
testBasicResponse 0.001
testConnected 0.001
testResponseTriggerInvalidResponseProducer 0.001
testEntityEnclosingResponse 0.001
testRequestPipelineIfResponseInitiated 0.001
testResponsePipelinedEmpty 0.001
testEntityEnclosingRequestContinueWithoutVerification 0.002
testHttpExceptionHandling 0.002
testResponseNotModified 0.002
testRequestPipelineIfPipelineNotEmpty 0.002
testRequestNoMatchingHandler 0.002
testHttpExceptionHandlingResponseSubmitted 0.002
testRequestExpectationFailed 0
testRequestExpectationFailedInvalidResponseProducer 0.001
testClosed 0.001
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.002
testRequestCompletedWithException 0.001
testTimeoutActiveConnectionBufferedData 0.002
testResponseHandleFailedPipelinedRequest 0.001
testEntityEnclosingRequestExpectationVerification 0.004
testRequestContent 0

TestLengthDelimitedDecoder

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

TestDefaultListeningIOReactor

testEndpointAlreadyBoundNonFatal 0.503
testEndpointAlreadyBoundFatal 0.004
testEndpointUpAndDown 0.004

TestHttpAsyncPrematureTermination

testConnectionTerminatedSendingResponse 0.016
testConnectionTerminatedHandlingRequest 0.012
testConnectionTerminatedProcessingRequest 0.017

TestBasicAsyncRequestHandler

testHandleRequest 0.025
testProcessRequest 0.001
testInvalidConstruction 0

TestIdentityDecoder

testBasicDecodingFile 0
testWriteBeyondFileSize 0.001
testDecodingFromSessionBuffer 0
testInvalidConstructor 0
testBasicDecoding 0.001
testDecodingFileWithOffsetAndBufferedSessionData 0.001
testInvalidInput 0
testDecodingFileWithBufferedSessionData 0.001

TestDefaultNHttpServerConnection

testProduceOutputLongMessageAfterSubmit 0.024
testSubmitRequest 0.001
testOutputReset 0.001
testProduceOutputLongMessage 0.002
testProduceOutputLongChunkedMessage 0.001
testProduceOutputLongMessageSaturatedChannel 0.001
testConsumeInputNoData 0.014
testProduceOutputShortMessage 0.001
testProduceOutputLongChunkedMessageSaturatedChannel 0.001
testProduceOutputShortMessageAfterSubmit 0.001
testConsumeInputShortMessage 0.001
testConsumeInputConnectionClosed 0
testProduceOutputClosingConnection 0
testSubmitEntityEnclosingRequest 0
testProduceOutputLongMessageSaturatedChannel2 0.001
testConsumeInputBasicMessageNoEntity 0.004
testConsumeInputLongMessage 0.002

TestBasicAsyncResponseProducer

testNullTargetArgConstructor 0.003
testClose 0.005
testProduceContentEncoderNotCompleted 0
testProduceContentEncoderCompleted 0
testGenerateRequest 0

TestBuffers

testDirectByteBufferAllocator 0.001
testInputBufferNullInput 0.005
testInputBufferOperations 0.01
testBufferInfo 0.002
testOutputBufferNullInput 0
testHeapByteBufferAllocator 0
testOutputBufferOperations 0.015

TestServerSidePipelining

testPostRequestPipeliningExpectContinue 0.062
testGetRequestPipelining 0.007
testPostRequestPipelining 0.014

TestDefaultNHttpClientConnection

testProduceOutputLongMessageAfterSubmit 0.013
testSubmitRequest 0.001
testOutputReset 0.002
testProduceOutputLongMessage 0.002
testProduceOutputLongChunkedMessage 0.002
testProduceOutputLongMessageSaturatedChannel 0.002
testConsumeInputNoData 0.004
testProduceOutputShortMessage 0.001
testProduceOutputLongChunkedMessageSaturatedChannel 0.002
testProduceOutputShortMessageAfterSubmit 0.001
testConsumeInputShortMessage 0.001
testConsumeInputConnectionClosed 0
testProduceOutputClosingConnection 0.001
testSubmitEntityEnclosingRequest 0.001
testProduceOutputLongMessageSaturatedChannel2 0.001
testConsumeInputBasicMessageNoEntity 0.002
testConsumeInputLongMessage 0.002

TestHttpAsyncRequestExecutor

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

TestNHttpConnectionBase

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

TestIdentityEncoder

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

TestCustomSSL

testCustomSSLContext 0.032

TestHttpAsyncRequester

testSimpleExecute 0.009
testExecuteConnectionClosedUnexpectedly 0.001
testPooledRequestExecutionCancelled 0.004
testPooledConnectionAutoReleaseOnRequestCancel 0.001
testPooledRequestExecutionSucceeded 0.002
testPooledConnectionRequestCancelled 0.001
testInvalidExecution 0.001
testPooledRequestExecutionFailed 0.006
testPooledConnectionRequestFailed 0.001

TestBasicAsyncResponseConsumer

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

TestClientOutOfSequenceResponse

testOutOfSequenceResponse 0.103

TestBasicAsyncRequestProducer

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

TestHttpAsyncHandlerCancellable

testRequestCancelled 0.257
testResponsePrematureTermination 0.258