Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
339000100%16.309

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.nio2000100%0.024
org.apache.http.nio.integration62000100%8.518
org.apache.http.nio.protocol125000100%0.185
org.apache.http.impl.nio.codecs74000100%0.019
org.apache.http.nio.util7000100%0.004
org.apache.http.impl.nio.reactor31000100%6.755
org.apache.http.nio.pool34000100%0.8
org.apache.http.impl.nio.pool4000100%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
TestContentChannel2000100%0.024

org.apache.http.nio.integration

ClassTestsErrors FailuresSkippedSuccess RateTime
TestHttpAsyncPrematureTermination3000100%0.013
TestHttpAsyncHandlers15000100%1.774
TestThrottlingNHttpHandlers9000100%0.698
TestPipelining2000100%0.021
TestHttpsAsyncHandlers15000100%2.716
TestHttpsAsyncTimeout1000100%2.006
TestTruncatedChunks2000100%0.009
TestAsyncNHttpHandlers13000100%0.762
TestHttpAsyncHandlerCancellable2000100%0.519

org.apache.http.nio.protocol

ClassTestsErrors FailuresSkippedSuccess RateTime
TestBasicAsyncRequestHandler3000100%0.124
TestErrorResponseProducer2000100%0.001
TestHttpAsyncRequester9000100%0.006
TestHttpAsyncRequestExecutor32000100%0.002
TestBasicAsyncRequestConsumer3000100%0.029
TestBasicAsyncResponseProducer5000100%0
TestHttpAsyncService37000100%0.002
TestBasicAsyncResponseConsumer6000100%0.018
TestBasicAsyncRequestProducer10000100%0.001
TestBasicAsyncRequestExecutionHandler18000100%0.002

org.apache.http.impl.nio.codecs

ClassTestsErrors FailuresSkippedSuccess RateTime
TestIdentityDecoder8000100%0.002
TestChunkDecoder14000100%0.002
TestIdentityEncoder4000100%0
TestHttpMessageParser17000100%0.004
TestLengthDelimitedDecoder15000100%0.006
TestLengthDelimitedEncoder9000100%0.003
TestChunkEncoder7000100%0.002

org.apache.http.nio.util

ClassTestsErrors FailuresSkippedSuccess RateTime
TestBuffers7000100%0.004

org.apache.http.impl.nio.reactor

ClassTestsErrors FailuresSkippedSuccess RateTime
ExceptionEventTest3000100%0
TestDefaultIOReactorsSSL4000100%3.133
TestBaseIOReactorSSL1000100%0.062
TestSessionInOutBuffers16000100%0.005
TestDefaultListeningIOReactor3000100%0.503
TestDefaultIOReactors4000100%3.052

org.apache.http.nio.pool

ClassTestsErrors FailuresSkippedSuccess RateTime
TestRouteSpecificPool13000100%0.022
TestNIOConnPool21000100%0.778

org.apache.http.impl.nio.pool

ClassTestsErrors FailuresSkippedSuccess RateTime
TestBasicNIOConnPool4000100%0.004

Test Cases

[Summary] [Package List] [Test Cases]

TestIdentityDecoder

testDecodingFileWithBufferedSessionData0
testDecodingFileWithOffsetAndBufferedSessionData0
testWriteBeyondFileSize0
testDecodingFromSessionBuffer0
testInvalidInput0
testBasicDecoding0
testInvalidConstructor0
testBasicDecodingFile0

TestChunkDecoder

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

TestRouteSpecificPool

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

TestIdentityEncoder

testCodingEmptyBuffer0
testCodingCompleted0
testBasicCoding0
testInvalidConstructor0

TestBasicAsyncRequestHandler

testProcessRequest0.11
testHandleRequest0.011
testInvalidConstruction0.001

TestHttpMessageParser

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

TestHttpAsyncPrematureTermination

testConnectionTerminatedProcessingRequest0.001
testConnectionTerminatedHandlingRequest0.006
testConnectionTerminatedSendingResponse0.005

TestErrorResponseProducer

testGenerateResponseClose0
testGenerateResponseKeepAlive0

TestLengthDelimitedDecoder

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

TestHttpAsyncRequester

testInvalidExecution0
testSimpleExecute0
testExecuteConnectionClosedUnexpectedly0
testPooledConnectionRequestFailed0
testPooledConnectionRequestCancelled0
testPooledConnectionAutoReleaseOnRequestCancel0
testPooledRequestExecutionSucceeded0
testPooledRequestExecutionFailed0
testPooledRequestExecutionCancelled0

TestHttpAsyncHandlers

testHttpGets0.208
testHttpHeads0.035
testHttpPostsWithContentLength0.037
testHttpPostsChunked0.023
testHttpPostsHTTP100.028
testHttpPostsNoEntity0.034
testHttpPostNoContentLength0.007
testHttpPostIdentity0.006
testHttpPostsWithExpectContinue0.038
testHttpPostsWithExpectationVerification0.009
testHttpHeadsDelayedResponse1.04
testHttpPostsWithExpectationVerificationDelayedResponse0.214
testHttpExceptionInHandler0.008
testNoServiceHandler0.028
testResponseNoContent0.015

TestHttpAsyncRequestExecutor

testConnected0
testClosedNullState0
testHttpExceptionHandling0
testIOExceptionHandling0
testBasicRequest0
testEntityEnclosingRequestWithoutExpectContinue0
testEntityEnclosingRequestWithExpectContinue0
testRequestContentOutput0
testRequestContentOutputCompleted0
testRequestContentContinueExpected0
testBasicResponse0
testResponseContinue0
testClosed0
testResponseContinueOutOfSequence0
testResponseUnsupported1xx0
testResponseExpectationFailed0
testEarlyResponse0
testResponseToHead0
testResponseToConnect0
testResponseNotModified0
testResponseContentInput0
testResponseContentOutputCompleted0
testResponseInvalidState0
testResponseNoKeepAlive0
testEndOfInput0
testPrematureEndOfInput0
testTimeoutNoHandler0
testExpectContinueTimeout0
testTimeoutActiveConnection0
testTimeoutActiveConnectionBufferedData0
testTimeoutClosingConnection0
testExchangeDone0

ExceptionEventTest

testGetCause0
testGetTimestamp0
testToString0

TestBasicAsyncRequestConsumer

testResponseProcessingWithException0.023
testRequestProcessing0.004
testClose0.002

TestDefaultIOReactorsSSL

testRuntimeException1.015
testUnhandledRuntimeException1.013
testHandledRuntimeException1.032
testGracefulShutdown0.071

TestBasicNIOConnPool

testNullConstructor20
testCreateConnection0.002
testCreateEntry0.001
testNullConstructor0.001

TestThrottlingNHttpHandlers

testHttpPostsWithExpectContinue0.083
testHttpPostsWithExpectationVerification0.008
testSimpleHttpGets0.039
testSimpleHttpPostsWithContentLength0.049
testSimpleHttpPostsChunked0.055
testSimpleHttpPostsHTTP100.032
testSimpleHttpHeads0.024
testSimpleHttpPostsContentNotConsumed0.035
testInputThrottling0.372

TestBaseIOReactorSSL

testBufferedInput0.062

TestLengthDelimitedEncoder

testCodingEmptyBuffer0
testCodingCompleted0
testCodingEmptyFile0.001
testCodingCompletedFromFile0
testCodingFromFileSmaller0.001
testBasicCoding0
testCodingBeyondContentLimitFromFile0
testInvalidConstructor0
testCodingBeyondContentLimit0

TestPipelining

testBasicPipelining0.009
testPipeliningWithCancellable0.008

TestBasicAsyncResponseProducer

testProduceContentEncoderCompleted0
testProduceContentEncoderNotCompleted0
testGenerateRequest0
testClose0
testNullTargetArgConstructor0

TestHttpAsyncService

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

TestBasicAsyncResponseConsumer

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

TestHttpsAsyncHandlers

testHttpGets0.399
testHttpHeads0.08
testHttpPostsWithContentLength0.121
testHttpPostsChunked0.078
testHttpPostsHTTP100.077
testHttpPostsNoEntity0.19
testHttpPostNoContentLength0.035
testHttpPostIdentity0.03
testHttpPostsWithExpectContinue0.053
testHttpPostsWithExpectationVerification0.031
testHttpHeadsDelayedResponse1.095
testHttpPostsWithExpectationVerificationDelayedResponse0.255
testHttpExceptionInHandler0.051
testNoServiceHandler0.171
testResponseNoContent0.047

TestNIOConnPool

testInternalLeaseRequest0.001
testCencelledConnect0.008
testTimeoutConnect0.002
testLeaseIllegal0
testReleaseUnknownEntry0
testMaxLimits0.005
testConnectionRedistributionOnTotalMaxLimit0.008
testStatefulConnectionRedistributionOnPerRouteMaxLimit0.006
testCreateNewIfExpired0.206
testCloseExpired0.209
testCloseIdle0.209
testLeaseRequestTimeout0.105
testCloseIdleInvalid0
testGetStatsInvalid0.001
testSetMaxInvalid0.001
testFailedConnect0.004
testLeaseRelease0.005
testSuccessfulConnect0.001
testShutdown0.001
testInvalidConstruction0
testEmptyPool0

TestBuffers

testBufferInfo0.001
testInputBufferNullInput0
testOutputBufferNullInput0
testDirectByteBufferAllocator0
testHeapByteBufferAllocator0
testInputBufferOperations0.001
testOutputBufferOperations0

TestSessionInOutBuffers

testReadLineChunks0
testWriteLineChunks0
testBasicReadWriteLine0
testComplexReadWriteLine0
testReadOneByte0.001
testReadByteBuffer0
testReadByteBufferWithMaxLen0
testReadToChannel0
testReadToChannelWithMaxLen0
testWriteByteBuffer0
testWriteFromChannel0
testMultibyteCodedReadWriteLine0
testMalformedCharacters0
testInputMatchesBufferLength0
testMalformedInputAction0
testUnmappableInputAction0

TestChunkEncoder

testCodingEmptyBuffer0
testCodingCompleted0
testChunkNoExceed0
testHttpCore2390.001
testChunkExceed0
testBasicCoding0
testInvalidConstructor0

TestContentChannel

testContentEncoder0.021
testContentDecoder0.002

TestBasicAsyncRequestProducer

testProduceContentEncoderCompleted0
testProduceContentEncoderNotCompleted0
testResetRequest0
testNullTarget3ArgConstructor0
testNullRequest3ArgConstructor0
testNullTarget2ArgConstructor0
testNullRequest2ArgConstructor0
testGenerateRequest0
testGetTarget0
testClose0

TestDefaultListeningIOReactor

testEndpointAlreadyBoundNonFatal0.497
testEndpointUpAndDown0.002
testEndpointAlreadyBoundFatal0.004

TestHttpsAsyncTimeout

testHandshakeTimeout2.006

TestDefaultIOReactors

testRuntimeException1.006
testUnhandledRuntimeException1.01
testHandledRuntimeException1.011
testGracefulShutdown0.021

TestTruncatedChunks

testTruncatedChunkException0.001
testIgnoreTruncatedChunkException0.006

TestBasicAsyncRequestExecutionHandler

testFailed0
testInvalidExecution0
testGenerateRequest0
testGetTarget0
testCancel0
testProduceContent0
testProduceContentCompleted0
testRequestCompleted0
testResponseReceived0
testConsumeContent0
testFailedAfterRequest0
testFailedwithException0
testCancelWithException0
testResponseCompleted0
testResponseFailure0
testResponseCompletedWithException0
testMisc0
testClose0

TestAsyncNHttpHandlers

testHttpGets0.042
testHttpHeads0.013
testHttpPostsWithContentLength0.028
testHttpPostsChunked0.023
testHttpPostsHTTP100.026
testHttpPostsWithExpectContinue0.02
testHttpPostsWithExpectationVerification0.005
testNoServiceHandler0.004
testDelayedHttpGets0.263
testDelayedHttpException0.274
testHttpPostWithNoEntities0.038
testNoRequestHandler0.004
testHttpException0.013

TestHttpAsyncHandlerCancellable

testRequestCancelled0.258
testResponsePrematureTermination0.259