Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
459 0 0 0 100% 10.54

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.impl.nio 50 0 0 0 100% 0.146
org.apache.http.nio.integration 54 0 0 0 100% 7.782
org.apache.http.nio.protocol 146 0 0 0 100% 0.974
org.apache.http.impl.nio.codecs 112 0 0 0 100% 0.119
org.apache.http.nio.util 7 0 0 0 100% 0.014
org.apache.http.impl.nio.reactor 48 0 0 0 100% 0.521
org.apache.http.nio.pool 38 0 0 0 100% 0.603
org.apache.http.impl.nio.pool 4 0 0 0 100% 0.381

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

org.apache.http.impl.nio

Class Tests Errors Failures Skipped Success Rate Time
TestContentChannel 2 0 0 0 100% 0.028
TestDefaultNHttpServerConnection 17 0 0 0 100% 0.064
TestDefaultNHttpClientConnection 17 0 0 0 100% 0.037
TestNHttpConnectionBase 14 0 0 0 100% 0.017

org.apache.http.nio.integration

Class Tests Errors Failures Skipped Success Rate Time
TestHttpAsyncHandlersPipelining 10 0 0 0 100% 1.142
TestHttpAsyncTimeout 2 0 0 0 100% 2.361
TestHttpAsyncHandlers 30 0 0 0 100% 3.511
TestTruncatedChunks 2 0 0 0 100% 0.013
TestHttpAsyncPrematureTermination 3 0 0 0 100% 0.043
TestServerSidePipelining 3 0 0 0 100% 0.073
TestCustomSSL 1 0 0 0 100% 0.018
TestClientOutOfSequenceResponse 1 0 0 0 100% 0.105
TestHttpAsyncHandlerCancellable 2 0 0 0 100% 0.516

org.apache.http.nio.protocol

Class Tests Errors Failures Skipped Success Rate Time
TestErrorResponseProducer 2 0 0 0 100% 0.001
TestBasicAsyncClientExchangeHandler 18 0 0 0 100% 0.066
TestBasicAsyncRequestConsumer 3 0 0 0 100% 0.292
TestUriHttpAsyncRequestHandlerMapper 5 0 0 0 100% 0.036
TestHttpAsyncService 47 0 0 0 100% 0.144
TestBasicAsyncRequestHandler 3 0 0 0 100% 0.035
TestBasicAsyncResponseProducer 5 0 0 0 100% 0.013
TestHttpAsyncRequestExecutor 37 0 0 0 100% 0.001
TestHttpAsyncRequester 9 0 0 0 100% 0
TestBasicAsyncResponseConsumer 6 0 0 0 100% 0
TestBasicAsyncRequestProducer 11 0 0 0 100% 0.386

org.apache.http.impl.nio.codecs

Class Tests Errors Failures Skipped Success Rate Time
TestLengthDelimitedEncoder 23 0 0 0 100% 0.041
TestHttpMessageParser 17 0 0 0 100% 0.012
TestChunkDecoder 21 0 0 0 100% 0.002
TestChunkEncoder 8 0 0 0 100% 0.001
TestLengthDelimitedDecoder 15 0 0 0 100% 0.001
TestIdentityDecoder 8 0 0 0 100% 0
TestIdentityEncoder 20 0 0 0 100% 0.062

org.apache.http.nio.util

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

org.apache.http.impl.nio.reactor

Class Tests Errors Failures Skipped Success Rate Time
TestSessionInOutBuffers 42 0 0 0 100% 0.017
ExceptionEventTest 3 0 0 0 100% 0.001
TestDefaultListeningIOReactor 3 0 0 0 100% 0.503

org.apache.http.nio.pool

Class Tests Errors Failures Skipped Success Rate Time
TestRouteSpecificPool 13 0 0 0 100% 0.016
TestNIOConnPool 25 0 0 0 100% 0.587

org.apache.http.impl.nio.pool

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

Test Cases

[Summary] [Package List] [Test Cases]

TestErrorResponseProducer

testGenerateResponseKeepAlive 0
testGenerateResponseClose 0

TestHttpAsyncHandlersPipelining

testHttpDelayedResponse[http] 0.357
testUnexpectedConnectionClosure[http] 0.028
testHttpGets[http] 0.046
testHttpHeads[http] 0.023
testHttpPosts[http] 0.032
testHttpDelayedResponse[https] 0.373
testUnexpectedConnectionClosure[https] 0.086
testHttpGets[https] 0.059
testHttpHeads[https] 0.042
testHttpPosts[https] 0.084

TestBasicAsyncClientExchangeHandler

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

TestSessionInOutBuffers

testMalformedInputActionIgnore[0] 0
testWriteLineChunks[0] 0.001
testReadByteBufferWithMaxLen[0] 0
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
testLineLimitBufferFull[0] 0.001
testMultibyteCodedReadWriteLine[0] 0
testInputMatchesBufferLength[0] 0
testReadToChannelWithMaxLen[0] 0
testMalformedInputActionReplace[0] 0
testComplexReadWriteLine[0] 0
testBasicReadWriteLine[0] 0
testReadOneByte[0] 0
testUnmappableInputActionReplace[0] 0
testMalformedInputActionIgnore[1] 0
testWriteLineChunks[1] 0.001
testReadByteBufferWithMaxLen[1] 0
testMalformedInputActionReport[1] 0
testLineLimit[1] 0
testReadLineChunks[1] 0.001
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.001
testReadToChannelWithMaxLen[1] 0
testMalformedInputActionReplace[1] 0
testComplexReadWriteLine[1] 0
testBasicReadWriteLine[1] 0
testReadOneByte[1] 0
testUnmappableInputActionReplace[1] 0

TestHttpAsyncTimeout

testHandshakeTimeout[http] 1.077
testHandshakeTimeout[https] 1.271

TestHttpAsyncHandlers

testHttpPostsHTTP10[http] 0.031
testHttpPostIdentity[http] 0.004
testHttpPostsWithExpectationVerificationDelayedResponse[http] 0.215
testHttpExceptionInHandler[http] 0.011
testHttpPostsChunked[http] 0.044
testHttpPostsWithExpectContinue[http] 0.035
testHttpPostsWithExpectationVerification[http] 0.005
testNoServiceHandler[http] 0.024
testHttpPostsNoEntity[http] 0.019
testHttpGets[http] 0.018
testHttpHeadsDelayedResponse[http] 1.05
testHttpHeads[http] 0.017
testHttpPostsWithContentLength[http] 0.023
testResponseNoContent[http] 0.017
testHttpPostNoContentLength[http] 0.004
testHttpPostsHTTP10[https] 0.054
testHttpPostIdentity[https] 0.015
testHttpPostsWithExpectationVerificationDelayedResponse[https] 0.247
testHttpExceptionInHandler[https] 0.031
testHttpPostsChunked[https] 0.045
testHttpPostsWithExpectContinue[https] 0.056
testHttpPostsWithExpectationVerification[https] 0.029
testNoServiceHandler[https] 0.193
testHttpPostsNoEntity[https] 0.037
testHttpGets[https] 0.034
testHttpHeadsDelayedResponse[https] 1.072
testHttpHeads[https] 0.068
testHttpPostsWithContentLength[https] 0.048
testResponseNoContent[https] 0.029
testHttpPostNoContentLength[https] 0.021

TestBasicNIOConnPool

testTimeoutOnLeaseRelease 0.372
testNullConstructor 0.003
testCreateEntry 0.003
testCreateConnection 0.003

TestTruncatedChunks

testTruncatedChunkException 0.006
testIgnoreTruncatedChunkException 0.006

TestLengthDelimitedEncoder

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

TestRouteSpecificPool

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

ExceptionEventTest

testGetCause 0
testToString 0
testGetTimestamp 0

TestContentChannel

testContentDecoder 0.026
testContentEncoder 0.002

TestBasicAsyncRequestConsumer

testClose 0.199
testResponseProcessingWithException 0.017
testRequestProcessing 0.004

TestHttpMessageParser

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

TestNIOConnPool

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

TestUriHttpAsyncRequestHandlerMapper

testWildCardMatchingWithQuery 0.031
testRegisterNull 0
testRegisterUnregister 0.001
testLookupNull 0
testLookup 0.001

TestChunkDecoder

testMalformedChunk 0
testMissingClosingChunk 0
testTooLongFooter 0
testIncompleteChunkDecoding 0
testTooLongFoldedFooter 0
testMalformedChunkTruncatedChunk 0
testMissingLastCRLF 0
testHugeChunk 0
testMalformedChunkEndingDecoding 0
testTooLongChunkHeader 0
testMalformedChunkSizeDecoding 0
testInvalidConstructor 0
testReadingWitSmallBuffer 0
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
testLimitedChannel 0

TestHttpAsyncService

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

TestLengthDelimitedDecoder

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

TestDefaultListeningIOReactor

testEndpointAlreadyBoundNonFatal 0.494
testEndpointAlreadyBoundFatal 0.005
testEndpointUpAndDown 0.004

TestHttpAsyncPrematureTermination

testConnectionTerminatedSendingResponse 0.012
testConnectionTerminatedHandlingRequest 0.018
testConnectionTerminatedProcessingRequest 0.012

TestBasicAsyncRequestHandler

testHandleRequest 0.031
testProcessRequest 0
testInvalidConstruction 0.001

TestIdentityDecoder

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

TestDefaultNHttpServerConnection

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

TestBasicAsyncResponseProducer

testNullTargetArgConstructor 0.005
testClose 0.001
testProduceContentEncoderNotCompleted 0.002
testProduceContentEncoderCompleted 0.002
testGenerateRequest 0.001

TestBuffers

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

TestServerSidePipelining

testPostRequestPipeliningExpectContinue 0.059
testGetRequestPipelining 0.006
testPostRequestPipelining 0.008

TestDefaultNHttpClientConnection

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

TestHttpAsyncRequestExecutor

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

TestNHttpConnectionBase

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

TestIdentityEncoder

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

TestCustomSSL

testCustomSSLContext 0.018

TestHttpAsyncRequester

testSimpleExecute 0
testExecuteConnectionClosedUnexpectedly 0
testPooledRequestExecutionCancelled 0
testPooledConnectionAutoReleaseOnRequestCancel 0
testPooledRequestExecutionSucceeded 0
testPooledConnectionRequestCancelled 0
testInvalidExecution 0
testPooledRequestExecutionFailed 0
testPooledConnectionRequestFailed 0

TestBasicAsyncResponseConsumer

testClose 0
testResponseProcessing 0
testResponseProcessingWithException 0
testFailedAfterDone 0
testCancel 0
testFailed 0

TestClientOutOfSequenceResponse

testOutOfSequenceResponse 0.105

TestBasicAsyncRequestProducer

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

TestHttpAsyncHandlerCancellable

testRequestCancelled 0.256
testResponsePrematureTermination 0.259