Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
460 0 0 0 100% 9.752

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.415
org.apache.http.nio.protocol 146 0 0 0 100% 0.255
org.apache.http.impl.nio.pool 4 0 0 0 100% 0.029
org.apache.http.nio.util 7 0 0 0 100% 0.004
org.apache.http.impl.nio 50 0 0 0 100% 0.398
org.apache.http.impl.nio.reactor 48 0 0 0 100% 0.694
org.apache.http.nio.pool 38 0 0 0 100% 0.793
org.apache.http.nio.entity 1 0 0 0 100% 0.004
org.apache.http.impl.nio.codecs 112 0 0 0 100% 0.16

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
TestHttpAsyncHandlerCancellable 2 0 0 0 100% 0.516
TestHttpAsyncHandlersPipelining 10 0 0 0 100% 0.947
TestClientOutOfSequenceResponse 1 0 0 0 100% 0.105
TestTruncatedChunks 2 0 0 0 100% 0.029
TestCustomSSL 1 0 0 0 100% 0.015
TestHttpAsyncTimeout 2 0 0 0 100% 2.04
TestHttpAsyncHandlers 30 0 0 0 100% 3.66
TestServerSidePipelining 3 0 0 0 100% 0.055
TestHttpAsyncPrematureTermination 3 0 0 0 100% 0.048

org.apache.http.nio.protocol

Class Tests Errors Failures Skipped Success Rate Time
TestHttpAsyncRequestExecutor 37 0 0 0 100% 0.035
TestBasicAsyncRequestProducer 11 0 0 0 100% 0.027
TestBasicAsyncRequestHandler 3 0 0 0 100% 0.016
TestBasicAsyncResponseConsumer 6 0 0 0 100% 0.023
TestHttpAsyncService 47 0 0 0 100% 0.067
TestErrorResponseProducer 2 0 0 0 100% 0
TestBasicAsyncRequestConsumer 3 0 0 0 100% 0.022
TestBasicAsyncClientExchangeHandler 18 0 0 0 100% 0.034
TestUriHttpAsyncRequestHandlerMapper 5 0 0 0 100% 0.014
TestHttpAsyncRequester 9 0 0 0 100% 0.013
TestBasicAsyncResponseProducer 5 0 0 0 100% 0.004

org.apache.http.impl.nio.pool

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

org.apache.http.nio.util

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

org.apache.http.impl.nio

Class Tests Errors Failures Skipped Success Rate Time
TestContentChannel 2 0 0 0 100% 0.185
TestDefaultNHttpServerConnection 17 0 0 0 100% 0.057
TestDefaultNHttpClientConnection 17 0 0 0 100% 0.13
TestNHttpConnectionBase 14 0 0 0 100% 0.026

org.apache.http.impl.nio.reactor

Class Tests Errors Failures Skipped Success Rate Time
TestSessionInOutBuffers 42 0 0 0 100% 0.073
TestDefaultListeningIOReactor 3 0 0 0 100% 0.567
ExceptionEventTest 3 0 0 0 100% 0.054

org.apache.http.nio.pool

Class Tests Errors Failures Skipped Success Rate Time
TestNIOConnPool 25 0 0 0 100% 0.775
TestRouteSpecificPool 13 0 0 0 100% 0.018

org.apache.http.nio.entity

Class Tests Errors Failures Skipped Success Rate Time
TestNFileEntity 1 0 0 0 100% 0.004

org.apache.http.impl.nio.codecs

Class Tests Errors Failures Skipped Success Rate Time
TestLengthDelimitedEncoder 23 0 0 0 100% 0.074
TestIdentityDecoder 8 0 0 0 100% 0.016
TestLengthDelimitedDecoder 15 0 0 0 100% 0.007
TestChunkDecoder 21 0 0 0 100% 0.012
TestHttpMessageParser 17 0 0 0 100% 0.007
TestIdentityEncoder 20 0 0 0 100% 0.041
TestChunkEncoder 8 0 0 0 100% 0.003

Test Cases

[Summary] [Package List] [Test Cases]

TestHttpAsyncHandlerCancellable

testRequestCancelled 0.256
testResponsePrematureTermination 0.259

TestSessionInOutBuffers

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

TestNIOConnPool

testGetStatsInvalid 0.001
testLeaseRequestCanceled 0.001
testCloseExpired 0.203
testSetMaxPerRoute 0
testConnectUnknownHost 0.009
testConnectionRedistributionOnTotalMaxLimit 0.01
testEmptyPool 0.001
testLeaseRequestCanceledWhileConnecting 0.002
testSuccessfulConnect 0.002
testMaxLimits 0.005
testInternalLeaseRequest 0
testLeaseRelease 0.002
testCloseIdle 0.205
testReleaseUnknownEntry 0.001
testShutdown 0.002
testFailedConnect 0.002
testLeaseIllegal 0.001
testStatefulConnectionRedistributionOnPerRouteMaxLimit 0.005
testTimeoutConnect 0.003
testCloseIdleInvalid 0
testSetMaxInvalid 0
testLeaseRequestTimeout 0.103
testCencelledConnect 0.003
testInvalidConstruction 0
testCreateNewIfExpired 0.204

TestLengthDelimitedEncoder

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

TestHttpAsyncRequestExecutor

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

TestBasicAsyncRequestProducer

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

TestContentChannel

testContentDecoder 0.148
testContentEncoder 0.003

TestIdentityDecoder

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

TestBasicAsyncRequestHandler

testHandleRequest 0.014
testProcessRequest 0.001
testInvalidConstruction 0

TestBasicNIOConnPool

testTimeoutOnLeaseRelease 0.021
testNullConstructor 0.002
testCreateEntry 0.002
testCreateConnection 0.001

TestHttpAsyncHandlersPipelining

testHttpDelayedResponse[http] 0.335
testUnexpectedConnectionClosure[http] 0.026
testHttpGets[http] 0.024
testHttpHeads[http] 0.015
testHttpPosts[http] 0.017
testHttpDelayedResponse[https] 0.326
testUnexpectedConnectionClosure[https] 0.084
testHttpGets[https] 0.038
testHttpHeads[https] 0.031
testHttpPosts[https] 0.038

TestClientOutOfSequenceResponse

testOutOfSequenceResponse 0.105

TestDefaultNHttpServerConnection

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

TestDefaultListeningIOReactor

testEndpointAlreadyBoundNonFatal 0.559
testEndpointAlreadyBoundFatal 0.005
testEndpointUpAndDown 0.002

TestBasicAsyncResponseConsumer

testClose 0.012
testResponseProcessing 0.002
testResponseProcessingWithException 0.002
testFailedAfterDone 0.002
testCancel 0.002
testFailed 0.002

TestLengthDelimitedDecoder

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

TestTruncatedChunks

testTruncatedChunkException 0.01
testIgnoreTruncatedChunkException 0.019

TestHttpAsyncService

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

TestChunkDecoder

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

TestCustomSSL

testCustomSSLContext 0.015

TestHttpMessageParser

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

TestHttpAsyncTimeout

testHandshakeTimeout[http] 1.023
testHandshakeTimeout[https] 1.011

TestErrorResponseProducer

testGenerateResponseKeepAlive 0
testGenerateResponseClose 0

TestHttpAsyncHandlers

testHttpPostsHTTP10[http] 0.092
testHttpPostIdentity[http] 0.012
testHttpPostsWithExpectationVerificationDelayedResponse[http] 0.215
testHttpExceptionInHandler[http] 0.017
testHttpPostsChunked[http] 0.049
testHttpPostsWithExpectContinue[http] 0.024
testHttpPostsWithExpectationVerification[http] 0.005
testNoServiceHandler[http] 0.02
testHttpPostsNoEntity[http] 0.013
testHttpGets[http] 0.011
testHttpHeadsDelayedResponse[http] 1.056
testHttpHeads[http] 0.027
testHttpPostsWithContentLength[http] 0.024
testResponseNoContent[http] 0.009
testHttpPostNoContentLength[http] 0.003
testHttpPostsHTTP10[https] 0.236
testHttpPostIdentity[https] 0.018
testHttpPostsWithExpectationVerificationDelayedResponse[https] 0.242
testHttpExceptionInHandler[https] 0.054
testHttpPostsChunked[https] 0.04
testHttpPostsWithExpectContinue[https] 0.049
testHttpPostsWithExpectationVerification[https] 0.018
testNoServiceHandler[https] 0.146
testHttpPostsNoEntity[https] 0.03
testHttpGets[https] 0.04
testHttpHeadsDelayedResponse[https] 1.071
testHttpHeads[https] 0.055
testHttpPostsWithContentLength[https] 0.035
testResponseNoContent[https] 0.024
testHttpPostNoContentLength[https] 0.012

TestRouteSpecificPool

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

TestDefaultNHttpClientConnection

testProduceOutputLongMessageAfterSubmit 0.063
testSubmitRequest 0.002
testOutputReset 0.003
testProduceOutputLongMessage 0.003
testProduceOutputLongChunkedMessage 0.004
testProduceOutputLongMessageSaturatedChannel 0.003
testConsumeInputNoData 0.016
testProduceOutputShortMessage 0.006
testProduceOutputLongChunkedMessageSaturatedChannel 0.003
testProduceOutputShortMessageAfterSubmit 0.002
testConsumeInputShortMessage 0.006
testConsumeInputConnectionClosed 0.002
testProduceOutputClosingConnection 0.002
testSubmitEntityEnclosingRequest 0.002
testProduceOutputLongMessageSaturatedChannel2 0.003
testConsumeInputBasicMessageNoEntity 0.003
testConsumeInputLongMessage 0.003

TestBasicAsyncRequestConsumer

testClose 0.018
testResponseProcessingWithException 0.002
testRequestProcessing 0.002

TestServerSidePipelining

testPostRequestPipeliningExpectContinue 0.045
testGetRequestPipelining 0.005
testPostRequestPipelining 0.004

TestBasicAsyncClientExchangeHandler

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

TestUriHttpAsyncRequestHandlerMapper

testWildCardMatchingWithQuery 0.013
testRegisterNull 0
testRegisterUnregister 0.001
testLookupNull 0
testLookup 0

ExceptionEventTest

testGetCause 0.003
testToString 0
testGetTimestamp 0

TestNHttpConnectionBase

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

TestNFileEntity

testFileLengthMaxIntPlusOne 0.001

TestHttpAsyncRequester

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

TestBasicAsyncResponseProducer

testNullTargetArgConstructor 0.001
testClose 0.001
testProduceContentEncoderNotCompleted 0
testProduceContentEncoderCompleted 0
testGenerateRequest 0.001

TestHttpAsyncPrematureTermination

testConnectionTerminatedSendingResponse 0.012
testConnectionTerminatedHandlingRequest 0.022
testConnectionTerminatedProcessingRequest 0.013

TestIdentityEncoder

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

TestBuffers

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

TestChunkEncoder

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