Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.214
org.apache.http.nio.integration 54 0 0 0 100% 9.792
org.apache.http.nio.protocol 146 0 0 0 100% 0.312
org.apache.http.impl.nio.codecs 112 0 0 0 100% 0.717
org.apache.http.nio.util 7 0 0 0 100% 0.009
org.apache.http.impl.nio.reactor 48 0 0 0 100% 0.648
org.apache.http.nio.pool 37 0 0 0 100% 0.784
org.apache.http.impl.nio.pool 4 0 0 0 100% 2.585

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.027
TestDefaultNHttpClientConnection 17 0 0 0 100% 0.094
TestDefaultNHttpServerConnection 17 0 0 0 100% 0.062
TestNHttpConnectionBase 14 0 0 0 100% 0.031

org.apache.http.nio.integration

Class Tests Errors Failures Skipped Success Rate Time
TestClientOutOfSequenceResponse 1 0 0 0 100% 0.157
TestCustomSSL 1 0 0 0 100% 0.39
TestHttpAsyncHandlerCancellable 2 0 0 0 100% 0.532
TestHttpAsyncHandlers 30 0 0 0 100% 4.631
TestHttpAsyncHandlersPipelining 10 0 0 0 100% 0.93
TestHttpAsyncPrematureTermination 3 0 0 0 100% 0.063
TestHttpAsyncTimeout 2 0 0 0 100% 3.016
TestServerSidePipelining 3 0 0 0 100% 0.04
TestTruncatedChunks 2 0 0 0 100% 0.033

org.apache.http.nio.protocol

Class Tests Errors Failures Skipped Success Rate Time
TestBasicAsyncClientExchangeHandler 18 0 0 0 100% 0.042
TestBasicAsyncRequestConsumer 3 0 0 0 100% 0.047
TestBasicAsyncRequestHandler 3 0 0 0 100% 0.026
TestBasicAsyncRequestProducer 11 0 0 0 100% 0.018
TestBasicAsyncResponseConsumer 6 0 0 0 100% 0.023
TestBasicAsyncResponseProducer 5 0 0 0 100% 0.003
TestErrorResponseProducer 2 0 0 0 100% 0.001
TestHttpAsyncRequester 9 0 0 0 100% 0.026
TestHttpAsyncRequestExecutor 37 0 0 0 100% 0.032
TestHttpAsyncService 47 0 0 0 100% 0.089
TestUriHttpAsyncRequestHandlerMapper 5 0 0 0 100% 0.005

org.apache.http.impl.nio.codecs

Class Tests Errors Failures Skipped Success Rate Time
TestChunkDecoder 21 0 0 0 100% 0.094
TestChunkEncoder 8 0 0 0 100% 0.216
TestHttpMessageParser 17 0 0 0 100% 0.047
TestIdentityDecoder 8 0 0 0 100% 0.188
TestIdentityEncoder 20 0 0 0 100% 0.078
TestLengthDelimitedDecoder 15 0 0 0 100% 0.031
TestLengthDelimitedEncoder 23 0 0 0 100% 0.063

org.apache.http.nio.util

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

org.apache.http.impl.nio.reactor

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

org.apache.http.nio.pool

Class Tests Errors Failures Skipped Success Rate Time
TestNIOConnPool 24 0 0 0 100% 0.773
TestRouteSpecificPool 13 0 0 0 100% 0.011

org.apache.http.impl.nio.pool

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

Test Cases

[Summary] [Package List] [Test Cases]

TestChunkDecoder

testMalformedChunk 0.031
testMissingClosingChunk 0
testTooLongFooter 0.016
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.016
testChunkExceed 0
testBufferFragments 0.2
testChunkNoExceed 0
testInvalidConstructor 0
testCodingEmptyBuffer 0
testCodingCompleted 0
testLimitedChannel 0

TestHttpMessageParser

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

TestIdentityDecoder

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

TestIdentityEncoder

testCodingFragmentBufferingMultipleFragments 0.031
testBasicCoding 0
testCodingFragmentBuffering 0
testCodingFragmentBufferingChannelSaturated2 0
testCodingFromFileChannelSaturated 0.016
testCodingFromFileFlushBuffer 0
testCodingFragmentBufferingBufferFlush 0
testCodingFromFile 0
testCodingFromFileSmaller 0.015
testCodingNoFragmentBuffering 0
testInvalidConstructor 0
testCodingFragmentBufferingTinyFragments 0
testCodingFragmentBufferingLargeFragment 0
testCodingFragmentBufferingBufferFlush2 0
testCodingEmptySrcBuffer 0
testCodingEmptyFile 0
testCodingCompleted 0
testCodingFragmentBufferingTinyFragments2 0
testCodingFragmentBufferingTinyFragments3 0.016
testCodingFragmentBufferingChannelSaturated 0

TestLengthDelimitedDecoder

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

TestLengthDelimitedEncoder

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

TestBasicNIOConnPool

testTimeoutOnLeaseRelease 2.561
testNullConstructor 0
testCreateEntry 0
testCreateConnection 0

ExceptionEventTest

testGetCause 0
testToString 0
testGetTimestamp 0

TestDefaultListeningIOReactor

testEndpointAlreadyBoundNonFatal 0.602
testEndpointAlreadyBoundFatal 0
testEndpointUpAndDown 0.015

TestSessionInOutBuffers

testMalformedInputActionIgnore[0] 0
testWriteLineChunks[0] 0
testReadByteBufferWithMaxLen[0] 0
testMalformedInputActionReport[0] 0
testLineLimit[0] 0
testReadLineChunks[0] 0
testReadToChannel[0] 0
testWriteByteBuffer[0] 0
testReadByteBuffer[0] 0
testWriteFromChannel[0] 0
testUnmappableInputActionIgnore[0] 0
testUnmappableInputActionReport[0] 0
testLineLimitBufferFull[0] 0
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.015
testReadByteBufferWithMaxLen[1] 0
testMalformedInputActionReport[1] 0
testLineLimit[1] 0
testReadLineChunks[1] 0
testReadToChannel[1] 0
testWriteByteBuffer[1] 0
testReadByteBuffer[1] 0
testWriteFromChannel[1] 0
testUnmappableInputActionIgnore[1] 0
testUnmappableInputActionReport[1] 0
testLineLimitBufferFull[1] 0
testMultibyteCodedReadWriteLine[1] 0
testInputMatchesBufferLength[1] 0
testReadToChannelWithMaxLen[1] 0
testMalformedInputActionReplace[1] 0
testComplexReadWriteLine[1] 0
testBasicReadWriteLine[1] 0
testReadOneByte[1] 0
testUnmappableInputActionReplace[1] 0

TestContentChannel

testContentDecoder 0.027
testContentEncoder 0

TestDefaultNHttpClientConnection

testProduceOutputLongMessageAfterSubmit 0.016
testSubmitRequest 0
testOutputReset 0.015
testProduceOutputLongMessage 0
testProduceOutputLongChunkedMessage 0
testProduceOutputLongMessageSaturatedChannel 0
testConsumeInputNoData 0.031
testProduceOutputShortMessage 0
testProduceOutputLongChunkedMessageSaturatedChannel 0
testProduceOutputShortMessageAfterSubmit 0
testConsumeInputShortMessage 0.016
testConsumeInputConnectionClosed 0
testProduceOutputClosingConnection 0
testSubmitEntityEnclosingRequest 0
testProduceOutputLongMessageSaturatedChannel2 0
testConsumeInputBasicMessageNoEntity 0
testConsumeInputLongMessage 0

TestDefaultNHttpServerConnection

testProduceOutputLongMessageAfterSubmit 0.015
testSubmitRequest 0
testOutputReset 0
testProduceOutputLongMessage 0.016
testProduceOutputLongChunkedMessage 0
testProduceOutputLongMessageSaturatedChannel 0
testConsumeInputNoData 0.016
testProduceOutputShortMessage 0
testProduceOutputLongChunkedMessageSaturatedChannel 0
testProduceOutputShortMessageAfterSubmit 0
testConsumeInputShortMessage 0
testConsumeInputConnectionClosed 0
testProduceOutputClosingConnection 0.015
testSubmitEntityEnclosingRequest 0
testProduceOutputLongMessageSaturatedChannel2 0
testConsumeInputBasicMessageNoEntity 0
testConsumeInputLongMessage 0

TestNHttpConnectionBase

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

TestClientOutOfSequenceResponse

testOutOfSequenceResponse 0.141

TestCustomSSL

testCustomSSLContext 0.375

TestHttpAsyncHandlerCancellable

testRequestCancelled 0.266
testResponsePrematureTermination 0.266

TestHttpAsyncHandlers

testHttpPostsHTTP10[http] 0.062
testHttpPostIdentity[http] 0.031
testHttpPostsWithExpectationVerificationDelayedResponse[http] 0.235
testHttpExceptionInHandler[http] 0.015
testHttpPostsChunked[http] 0.032
testHttpPostsWithExpectContinue[http] 0.032
testHttpPostsWithExpectationVerification[http] 0.024
testNoServiceHandler[http] 0.053
testHttpPostsNoEntity[http] 0.021
testHttpGets[http] 0.531
testHttpHeadsDelayedResponse[http] 1.141
testHttpHeads[http] 0.016
testHttpPostsWithContentLength[http] 0.047
testResponseNoContent[http] 0.031
testHttpPostNoContentLength[http] 0.016
testHttpPostsHTTP10[https] 0.109
testHttpPostIdentity[https] 0.063
testHttpPostsWithExpectationVerificationDelayedResponse[https] 0.239
testHttpExceptionInHandler[https] 0.031
testHttpPostsChunked[https] 0.078
testHttpPostsWithExpectContinue[https] 0.11
testHttpPostsWithExpectationVerification[https] 0.031
testNoServiceHandler[https] 0.266
testHttpPostsNoEntity[https] 0.047
testHttpGets[https] 0.046
testHttpHeadsDelayedResponse[https] 1.125
testHttpHeads[https] 0.059
testHttpPostsWithContentLength[https] 0.058
testResponseNoContent[https] 0.043
testHttpPostNoContentLength[https] 0.023

TestHttpAsyncHandlersPipelining

testHttpDelayedResponse[http] 0.337
testUnexpectedConnectionClosure[http] 0.035
testHttpGets[http] 0.017
testHttpHeads[http] 0.016
testHttpPosts[http] 0.016
testHttpDelayedResponse[https] 0.323
testUnexpectedConnectionClosure[https] 0.06
testHttpGets[https] 0.047
testHttpHeads[https] 0.031
testHttpPosts[https] 0.047

TestHttpAsyncPrematureTermination

testConnectionTerminatedSendingResponse 0.016
testConnectionTerminatedHandlingRequest 0.015
testConnectionTerminatedProcessingRequest 0.032

TestHttpAsyncTimeout

testHandshakeTimeout[http] 1.003
testHandshakeTimeout[https] 2.013

TestServerSidePipelining

testPostRequestPipeliningExpectContinue 0.009
testGetRequestPipelining 0.016
testPostRequestPipelining 0.014

TestTruncatedChunks

testTruncatedChunkException 0.017
testIgnoreTruncatedChunkException 0.015

TestNIOConnPool

testGetStatsInvalid 0.013
testLeaseRequestCanceled 0.001
testCloseExpired 0.213
testConnectUnknownHost 0.016
testConnectionRedistributionOnTotalMaxLimit 0.015
testEmptyPool 0
testLeaseRequestCanceledWhileConnecting 0
testSuccessfulConnect 0
testMaxLimits 0
testInternalLeaseRequest 0
testLeaseRelease 0
testCloseIdle 0.202
testReleaseUnknownEntry 0
testShutdown 0.001
testFailedConnect 0.001
testLeaseIllegal 0
testStatefulConnectionRedistributionOnPerRouteMaxLimit 0.004
testTimeoutConnect 0
testCloseIdleInvalid 0.001
testSetMaxInvalid 0
testLeaseRequestTimeout 0.101
testCencelledConnect 0
testInvalidConstruction 0.001
testCreateNewIfExpired 0.202

TestRouteSpecificPool

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

TestBasicAsyncClientExchangeHandler

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

TestBasicAsyncRequestConsumer

testClose 0.042
testResponseProcessingWithException 0.003
testRequestProcessing 0.002

TestBasicAsyncRequestHandler

testHandleRequest 0.025
testProcessRequest 0
testInvalidConstruction 0.001

TestBasicAsyncRequestProducer

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

TestBasicAsyncResponseConsumer

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

TestBasicAsyncResponseProducer

testNullTargetArgConstructor 0
testClose 0
testProduceContentEncoderNotCompleted 0.001
testProduceContentEncoderCompleted 0.001
testGenerateRequest 0

TestErrorResponseProducer

testGenerateResponseKeepAlive 0.001
testGenerateResponseClose 0

TestHttpAsyncRequester

testSimpleExecute 0.005
testExecuteConnectionClosedUnexpectedly 0.005
testPooledRequestExecutionCancelled 0.005
testPooledConnectionAutoReleaseOnRequestCancel 0.002
testPooledRequestExecutionSucceeded 0.002
testPooledConnectionRequestCancelled 0.002
testInvalidExecution 0.001
testPooledRequestExecutionFailed 0.002
testPooledConnectionRequestFailed 0.001

TestHttpAsyncRequestExecutor

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

TestHttpAsyncService

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

TestUriHttpAsyncRequestHandlerMapper

testWildCardMatchingWithQuery 0.004
testRegisterNull 0
testRegisterUnregister 0.001
testLookupNull 0
testLookup 0

TestBuffers

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