Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
447000100%16.887

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.http.impl.nio50000100%0.168
org.apache.http.nio.integration62000100%8.248
org.apache.http.nio.protocol132000100%0.622
org.apache.http.impl.nio.codecs105000100%0.266
org.apache.http.nio.util7000100%0.002
org.apache.http.impl.nio.reactor53000100%6.782
org.apache.http.nio.pool35000100%0.795
org.apache.http.impl.nio.pool3000100%0.004

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

org.apache.http.impl.nio

ClassTestsErrors FailuresSkippedSuccess RateTime
TestDefaultNHttpClientConnection17000100%0.073
TestDefaultNHttpServerConnection17000100%0.052
TestNHttpConnectionBase14000100%0.027
TestContentChannel2000100%0.016

org.apache.http.nio.integration

ClassTestsErrors FailuresSkippedSuccess RateTime
TestHttpAsyncPrematureTermination3000100%0.02
TestHttpAsyncHandlers15000100%1.801
TestThrottlingNHttpHandlers9000100%0.769
TestPipelining2000100%0.517
TestHttpsAsyncHandlers15000100%2.763
TestHttpsAsyncTimeout1000100%1.009
TestTruncatedChunks2000100%0.021
TestAsyncNHttpHandlers13000100%0.825
TestHttpAsyncHandlerCancellable2000100%0.523

org.apache.http.nio.protocol

ClassTestsErrors FailuresSkippedSuccess RateTime
TestBasicAsyncRequestHandler3000100%0.17
TestErrorResponseProducer2000100%0.001
TestHttpAsyncRequester9000100%0.044
TestHttpAsyncRequestExecutor33000100%0.118
TestBasicAsyncRequestConsumer3000100%0.035
TestBasicAsyncResponseProducer5000100%0.007
TestHttpAsyncService37000100%0.106
TestBasicAsyncResponseConsumer6000100%0.044
TestBasicAsyncRequestProducer10000100%0.027
TestUriHttpAsyncRequestHandlerMapper5000100%0.036
TestBasicAsyncClientExchangeHandler19000100%0.034

org.apache.http.impl.nio.codecs

ClassTestsErrors FailuresSkippedSuccess RateTime
TestIdentityDecoder8000100%0.003
TestChunkDecoder14000100%0.005
TestIdentityEncoder20000100%0.083
TestHttpMessageParser17000100%0.008
TestLengthDelimitedDecoder15000100%0.006
TestLengthDelimitedEncoder23000100%0.158
TestChunkEncoder8000100%0.003

org.apache.http.nio.util

ClassTestsErrors FailuresSkippedSuccess RateTime
TestBuffers7000100%0.002

org.apache.http.impl.nio.reactor

ClassTestsErrors FailuresSkippedSuccess RateTime
ExceptionEventTest3000100%0
TestDefaultIOReactorsSSL4000100%3.133
TestBaseIOReactorSSL1000100%0.069
TestSessionInOutBuffers38000100%0.025
TestDefaultListeningIOReactor3000100%0.511
TestDefaultIOReactors4000100%3.044

org.apache.http.nio.pool

ClassTestsErrors FailuresSkippedSuccess RateTime
TestRouteSpecificPool13000100%0.021
TestNIOConnPool22000100%0.774

org.apache.http.impl.nio.pool

ClassTestsErrors FailuresSkippedSuccess RateTime
TestBasicNIOConnPool3000100%0.004

Test Cases

[Summary] [Package List] [Test Cases]

TestIdentityDecoder

testInvalidConstructor0
testBasicDecodingFile0.001
testDecodingFileWithBufferedSessionData0
testDecodingFileWithOffsetAndBufferedSessionData0.001
testWriteBeyondFileSize0
testDecodingFromSessionBuffer0
testBasicDecoding0
testInvalidInput0

TestChunkDecoder

testInvalidConstructor0
testBasicDecoding0
testComplexDecoding0.001
testDecodingWithSmallBuffer0
testIncompleteChunkDecoding0
testMalformedChunkSizeDecoding0.001
testMalformedChunkEndingDecoding0
testMalformedChunkTruncatedChunk0
testFoldedFooters0
testMalformedFooters0.001
testEndOfStreamConditionReadingLastChunk0
testReadingWitSmallBuffer0
testEndOfStreamConditionReadingFooters0
testInvalidInput0

TestDefaultNHttpClientConnection

testSubmitRequest0.01
testSubmitEntityEnclosingRequest0.002
testOutputReset0.002
testProduceOutputShortMessageAfterSubmit0.004
testProduceOutputLongMessageAfterSubmit0.003
testProduceOutputShortMessage0.004
testProduceOutputLongMessage0.003
testProduceOutputLongMessageSaturatedChannel0.003
testProduceOutputLongMessageSaturatedChannel20.003
testProduceOutputLongChunkedMessage0.003
testProduceOutputLongChunkedMessageSaturatedChannel0.003
testProduceOutputClosingConnection0.003
testConsumeInputShortMessage0.013
testConsumeInputLongMessage0.005
testConsumeInputBasicMessageNoEntity0.003
testConsumeInputNoData0.005
testConsumeInputConnectionClosed0.002

TestRouteSpecificPool

testRemove0.014
testReleaseInvalid0
testRemoveInvalid0
testShutdown0.002
testConnectTimeout0
testLeaseRelease0.001
testCancelledConnect0.001
testFailedConnect0
testEmptyPool0
testLeaseOrder0.001
testLeaseReleaseStateful0.001
testReleaseInvalidEntry0
testSuccessfulConnect0.001

TestIdentityEncoder

testInvalidConstructor0.001
testBasicCoding0.001
testCodingCompleted0
testCodingEmptyFile0.001
testCodingFromFileSmaller0
testCodingFromFileFlushBuffer0
testCodingFromFileChannelSaturated0
testCodingNoFragmentBuffering0.005
testCodingFragmentBuffering0.004
testCodingFragmentBufferingMultipleFragments0.007
testCodingFragmentBufferingLargeFragment0.005
testCodingFragmentBufferingTinyFragments0.009
testCodingFragmentBufferingTinyFragments20.007
testCodingFragmentBufferingTinyFragments30.009
testCodingFragmentBufferingBufferFlush0.005
testCodingFragmentBufferingBufferFlush20.004
testCodingFragmentBufferingChannelSaturated0.012
testCodingFragmentBufferingChannelSaturated20.008
testCodingEmptySrcBuffer0
testCodingFromFile0

TestBasicAsyncRequestHandler

testInvalidConstruction0.156
testProcessRequest0.001
testHandleRequest0.012

TestHttpMessageParser

testParsingInvalidStatusLine0
testParsingInvalidHeader0
testResetParser0
testInvalidConstructor0
testLineLimitForStatus0.001
testLineLimitForHeader0
testLineLimitForFoldedHeader0.001
testMaxHeaderCount0
testDetectLineLimitEarly0
testSimpleParsing0.001
testParsingChunkedMessages0
testParsingFoldedHeaders0
testParsingBadlyFoldedFirstHeader0
testParsingEmptyFoldedHeader0
testParsingIncompleteRequestLine0.001
testParsingIncompleteHeader0
testParsingInvalidRequestLine0

TestHttpAsyncPrematureTermination

testConnectionTerminatedSendingResponse0.008
testConnectionTerminatedProcessingRequest0.005
testConnectionTerminatedHandlingRequest0.006

TestErrorResponseProducer

testGenerateResponseKeepAlive0
testGenerateResponseClose0

TestLengthDelimitedDecoder

testInvalidConstructor0
testCodingBeyondContentLimit0.001
testDecodingFromSessionBuffer10
testDecodingFromSessionBuffer20
testBasicDecodingFile0.001
testDecodingFileWithBufferedSessionData0
testDecodingFileWithOffsetAndBufferedSessionData0
testWriteBeyondFileSize0
testCodingBeyondContentLimitFile0.001
testZeroLengthDecoding0
testTruncatedContent0
testTruncatedContentWithFile0
testBasicDecoding0
testInvalidInput0
testBasicDecodingSmallBuffer0

TestHttpAsyncRequester

testInvalidExecution0.018
testSimpleExecute0.002
testExecuteConnectionClosedUnexpectedly0.002
testPooledConnectionRequestFailed0.006
testPooledConnectionRequestCancelled0.003
testPooledConnectionAutoReleaseOnRequestCancel0.003
testPooledRequestExecutionSucceeded0.004
testPooledRequestExecutionFailed0.003
testPooledRequestExecutionCancelled0.003

TestDefaultNHttpServerConnection

testSubmitRequest0.005
testSubmitEntityEnclosingRequest0.001
testOutputReset0.001
testProduceOutputShortMessageAfterSubmit0.003
testProduceOutputLongMessageAfterSubmit0.002
testProduceOutputShortMessage0.003
testProduceOutputLongMessage0.002
testProduceOutputLongMessageSaturatedChannel0.003
testProduceOutputLongMessageSaturatedChannel20.002
testProduceOutputLongChunkedMessage0.003
testProduceOutputLongChunkedMessageSaturatedChannel0.004
testProduceOutputClosingConnection0.003
testConsumeInputShortMessage0.004
testConsumeInputLongMessage0.004
testConsumeInputBasicMessageNoEntity0.002
testConsumeInputNoData0.004
testConsumeInputConnectionClosed0.001

TestHttpAsyncHandlers

testHttpGets0.225
testHttpHeads0.023
testHttpPostsWithContentLength0.036
testHttpPostsChunked0.025
testHttpPostsHTTP100.018
testHttpPostsNoEntity0.039
testHttpPostNoContentLength0.004
testHttpPostIdentity0.004
testHttpPostsWithExpectContinue0.021
testHttpPostsWithExpectationVerification0.006
testHttpHeadsDelayedResponse1.05
testHttpPostsWithExpectationVerificationDelayedResponse0.219
testHttpExceptionInHandler0.009
testNoServiceHandler0.058
testResponseNoContent0.022

TestHttpAsyncRequestExecutor

testConnected0.034
testClosed0.002
testClosedNullState0.002
testHttpExceptionHandling0.002
testIOExceptionHandling0.002
testBasicRequest0.003
testRequestContentOutput0.002
testTimeoutActiveConnection0.004
testTimeoutActiveConnectionBufferedData0.004
testTimeoutClosingConnection0.003
testExchangeDone0.002
testEntityEnclosingRequestWithoutExpectContinue0.002
testEntityEnclosingRequestWithExpectContinue0.003
testRequestContentOutputCompleted0.002
testRequestContentContinueExpected0.002
testBasicResponse0.002
testResponseContinue0.002
testResponseContinueOutOfSequence0.001
testResponseUnsupported1xx0.002
testResponseExpectationFailed0.004
testEarlyResponse0.003
testResponseToHead0.005
testResponseToConnect0.003
testResponseNotModified0.003
testResponseContentInput0.003
testResponseContentOutputCompleted0.003
testResponseContentOutputCompletedHandlerNotDone0.003
testResponseInvalidState0.003
testEndOfInput0.001
testPrematureEndOfInput0.002
testPrematureEndOfInputRequestReady0.001
testTimeoutNoHandler0.001
testExpectContinueTimeout0.001

ExceptionEventTest

testGetCause0
testToString0
testGetTimestamp0

TestBasicAsyncRequestConsumer

testResponseProcessingWithException0.026
testRequestProcessing0.006
testClose0.002

TestDefaultIOReactorsSSL

testRuntimeException1.009
testUnhandledRuntimeException1.017
testHandledRuntimeException1.038
testGracefulShutdown0.067

TestBasicNIOConnPool

testNullConstructor0
testCreateConnection0
testCreateEntry0.002

TestThrottlingNHttpHandlers

testHttpPostsWithExpectContinue0.071
testHttpPostsWithExpectationVerification0.009
testSimpleHttpPostsChunked0.048
testSimpleHttpPostsHTTP100.054
testSimpleHttpHeads0.041
testSimpleHttpPostsContentNotConsumed0.061
testInputThrottling0.401
testSimpleHttpGets0.049
testSimpleHttpPostsWithContentLength0.031

TestBaseIOReactorSSL

testBufferedInput0.068

TestLengthDelimitedEncoder

testInvalidConstructor0.001
testBasicCoding0.001
testCodingBeyondContentLimit0.001
testCodingEmptyBuffer0
testCodingCompleted0
testCodingBeyondContentLimitFromFile0.002
testCodingEmptyFile0
testCodingCompletedFromFile0
testCodingFromFileSmaller0
testCodingFromFileFlushBuffer0
testCodingFromFileChannelSaturated0
testCodingNoFragmentBuffering0.045
testCodingFragmentBuffering0.003
testCodingFragmentBufferingMultipleFragments0.005
testCodingFragmentBufferingMultipleFragmentsBeyondContentLimit0.005
testCodingFragmentBufferingLargeFragment0.005
testCodingFragmentBufferingTinyFragments0.007
testCodingFragmentBufferingTinyFragments20.008
testCodingFragmentBufferingTinyFragments30.011
testCodingFragmentBufferingBufferFlush0.019
testCodingFragmentBufferingBufferFlush20.01
testCodingFragmentBufferingChannelSaturated0.019
testCodingFragmentBufferingChannelSaturated20.01

TestPipelining

testBasicPipelining0.007
testPipeliningWithCancellable0.509

TestNHttpConnectionBase

testShutdown0.007
testSessionBind0.002
testClose0.001
testCloseWithBufferedData0.001
testContextOperations0.001
testIOOperations0.001
testSocketTimeout0.001
testPrepareIdentityDecoder0.001
testPrepareLengthDelimitedDecoder0
testPrepareChunkDecoder0
testPrepareIdentityEncoder0
testPrepareLengthDelimitedEncoder0.001
testPrepareChunkEncoder0.002
testBasics0.002

TestBasicAsyncResponseProducer

testGenerateRequest0
testNullTargetArgConstructor0.001
testProduceContentEncoderCompleted0.002
testProduceContentEncoderNotCompleted0.002
testClose0.001

TestHttpAsyncService

testInvalidConstruction0.027
testConnected0
testClosed0.001
testHttpExceptionHandling0.002
testIOExceptionHandling0.001
testBasicRequest0.003
testTimeoutActiveConnection0.001
testTimeoutActiveConnectionBufferedData0.001
testTimeoutClosingConnection0.002
testBasicResponse0.003
testResponseContinue0.002
testResponseToHead0.002
testResponseNotModified0.002
testHttpExceptionHandlingResponseSubmitted0.002
testEntityEnclosingRequest0.002
testEntityEnclosingRequestContinueWithoutVerification0.003
testEntityEnclosingRequestExpectationVerification0.006
testRequestExpectationFailed0.001
testRequestExpectationFailedInvalidResponseProducer0.001
testRequestContinue0
testRequestContent0.001
testRequestContentCompleted0.002
testRequestCompletedWithException0.003
testRequestHandlingHttpException0.004
testBasicResponseNoKeepAlive0.002
testEntityEnclosingResponse0.002
testResponseFailedExpectation0.002
testInvalidResponseStatus0.001
testInvalidResponseStatusToExpection0.001
testResponseTrigger0.001
testResponseTriggerInvalidResponseProducer0.001
testResponseContent0.001
testResponseContentCompleted0.002
testResponseContentCompletedNoKeepAlive0.002
testHttpExceptionHandlingRuntimeException0.004
testHttpExceptionHandlingIOException0.002
testRequestNoMatchingHandler0.001

TestBasicAsyncResponseConsumer

testFailed0.027
testResponseProcessing0.004
testResponseProcessingWithException0.004
testCancel0.003
testFailedAfterDone0.002
testClose0.002

TestHttpsAsyncHandlers

testHttpGets0.489
testHttpHeads0.066
testHttpPostsWithContentLength0.085
testHttpPostsChunked0.076
testHttpPostsHTTP100.068
testHttpPostsNoEntity0.207
testHttpPostNoContentLength0.03
testHttpPostIdentity0.022
testHttpPostsWithExpectContinue0.078
testHttpPostsWithExpectationVerification0.035
testHttpHeadsDelayedResponse1.102
testHttpPostsWithExpectationVerificationDelayedResponse0.25
testHttpExceptionInHandler0.048
testNoServiceHandler0.155
testResponseNoContent0.045

TestNIOConnPool

testInvalidConstruction0.005
testShutdown0.001
testLeaseRelease0.004
testFailedConnect0.002
testInternalLeaseRequest0.001
testCencelledConnect0.002
testConnectionRedistributionOnTotalMaxLimit0.01
testStatefulConnectionRedistributionOnPerRouteMaxLimit0.005
testCreateNewIfExpired0.206
testCloseExpired0.205
testCloseIdle0.211
testLeaseRequestTimeout0.104
testCloseIdleInvalid0
testGetStatsInvalid0
testSetMaxInvalid0.001
testTimeoutConnect0.001
testConnectUnknownHost0.007
testLeaseIllegal0
testReleaseUnknownEntry0
testMaxLimits0.005
testEmptyPool0
testSuccessfulConnect0.002

TestBuffers

testInputBufferOperations0
testOutputBufferOperations0.001
testBufferInfo0
testInputBufferNullInput0
testOutputBufferNullInput0
testDirectByteBufferAllocator0
testHeapByteBufferAllocator0

TestSessionInOutBuffers

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

TestChunkEncoder

testChunkNoExceed0
testInvalidConstructor0
testBasicCoding0.001
testCodingEmptyBuffer0
testCodingCompleted0
testLimitedChannel0.001
testChunkExceed0
testBufferFragments0.001

TestContentChannel

testContentDecoder0.014
testContentEncoder0.002

TestBasicAsyncRequestProducer

testNullTarget3ArgConstructor0.015
testNullRequest3ArgConstructor0.001
testNullTarget2ArgConstructor0.001
testNullRequest2ArgConstructor0.001
testGenerateRequest0
testGetTarget0
testResetRequest0.001
testProduceContentEncoderCompleted0.001
testProduceContentEncoderNotCompleted0.003
testClose0

TestUriHttpAsyncRequestHandlerMapper

testRegisterUnregister0.032
testRegisterNull0
testLookupNull0
testWildCardMatchingWithQuery0.002
testLookup0.001

TestDefaultListeningIOReactor

testEndpointUpAndDown0.004
testEndpointAlreadyBoundFatal0.003
testEndpointAlreadyBoundNonFatal0.503

TestHttpsAsyncTimeout

testHandshakeTimeout1.009

TestDefaultIOReactors

testRuntimeException1.015
testUnhandledRuntimeException1.011
testHandledRuntimeException1.011
testGracefulShutdown0.006

TestTruncatedChunks

testTruncatedChunkException0.013
testIgnoreTruncatedChunkException0.006

TestAsyncNHttpHandlers

testHttpGets0.025
testHttpHeads0.017
testHttpPostsWithContentLength0.029
testHttpPostsChunked0.03
testHttpPostsHTTP100.02
testHttpPostsWithExpectContinue0.023
testHttpPostsWithExpectationVerification0.009
testNoServiceHandler0.005
testDelayedHttpGets0.286
testDelayedHttpException0.29
testHttpPostWithNoEntities0.041
testNoRequestHandler0.012
testHttpException0.032

TestHttpAsyncHandlerCancellable

testResponsePrematureTermination0.262
testRequestCancelled0.259

TestBasicAsyncClientExchangeHandler

testFailed0.004
testProduceContent0.001
testProduceContentCompleted0.002
testRequestCompleted0.001
testResponseReceived0.002
testConsumeContent0.002
testFailedAfterRequest0.003
testFailedwithException0.002
testCancelWithException0.002
testResponseCompleted0.002
testResponseFailure0.001
testResponseCompletedWithException0.002
testResponseNoKeepAlive0.002
testInputTerminated0.001
testIsDone0
testInvalidExecution0
testGenerateRequest0.001
testCancel0.001
testClose0.001