Surefire Report

Summary

[Summary] [Package List] [Test Cases]



TestsErrors FailuresSkippedSuccess RateTime
97400299.795%3.574


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.client.cache25000100%0.002
org.apache.http.impl.client.cache.memcached29000100%0.065
org.apache.http.impl.client.cache.ehcache24000199.583%1.589
org.apache.http.impl.client.cache68000199.853%1.918


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

org.apache.http.client.cache

ClassTestsErrors FailuresSkippedSuccess RateTime
TestHttpCacheEntry25000100%0.002

org.apache.http.impl.client.cache.memcached

ClassTestsErrors FailuresSkippedSuccess RateTime
TestSHA256HashingScheme1000100%0.001
TestMemcachedHttpCacheStorage20000100%0.05
TestPrefixKeyHashingScheme1000100%0
TestMemcachedCacheEntryFactoryImpl1000100%0.004
TestMemcachedCacheEntryImpl6000100%0.01

org.apache.http.impl.client.cache.ehcache

ClassTestsErrors FailuresSkippedSuccess RateTime
TestEhcacheHttpCacheStorage8000100%0.012
TestEhcacheProtocolRequirements23200199.569%1.577


Test Cases

[Summary] [Package List] [Test Cases]

TestConditionalRequestBuilder

testBuildConditionalRequestWithETag0.001
testCacheEntryWithMustRevalidateDoesEndToEndRevalidation0
testCacheEntryWithProxyRevalidateDoesEndToEndRevalidation0
testBuildUnconditionalRequestUsesGETMethod0
testBuildUnconditionalRequestUsesRequestUri0.001
testBuildUnconditionalRequestUsesHTTP_1_10
testBuildUnconditionalRequestAddsCacheControlNoCache0
testBuildUnconditionalRequestAddsPragmaNoCache0
testBuildUnconditionalRequestDoesNotUseIfRange0
testBuildUnconditionalRequestDoesNotUseIfMatch0.001
testBuildUnconditionalRequestDoesNotUseIfNoneMatch0
testBuildUnconditionalRequestDoesNotUseIfUnmodifiedSince0
testBuildUnconditionalRequestDoesNotUseIfModifiedSince0
testBuildUnconditionalRequestCarriesOtherRequestHeaders0
testBuildConditionalRequestFromVariants0.001
testBuildConditionalRequestWithLastModified0
testConditionalRequestForEntryWithLastModifiedAndEtagIncludesBothAsValidators0.001

TestCacheableRequestPolicy

testIsGetServableFromCache0
testIsGetWithCacheControlServableFromCache0
testIsGetWithPragmaServableFromCache0.001
testIsArbitraryMethodServableFromCache0

TestCachedHttpResponseGenerator

testResponseMatchesCacheEntry0
testContentLengthIsNotAddedWhenTransferEncodingIsPresent0
testResponseHasContentLength0
testResponseStatusCodeMatchesCacheEntry0
testAgeHeaderIsPopulatedWithCurrentAgeOfCacheEntryIfNonZero0
testAgeHeaderIsNotPopulatedIfCurrentAgeOfCacheEntryIsZero0
testAgeHeaderIsPopulatedWithMaxAgeIfCurrentAgeTooBig0

TestCacheValidityPolicy

testApparentAgeIsMaxIntIfDateHeaderNotPresent0
testApparentAgeIsResponseReceivedTimeLessDateHeader0
testNegativeApparentAgeIsBroughtUpToZero0
testCorrectedReceivedAgeIsAgeHeaderIfLarger0.001
testCorrectedReceivedAgeIsApparentAgeIfLarger0
testResponseDelayIsDifferenceBetweenResponseAndRequestTimes0
testCorrectedInitialAgeIsCorrectedReceivedAgePlusResponseDelay0
testResidentTimeSecondsIsTimeSinceResponseTime0
testCurrentAgeIsCorrectedInitialAgePlusResidentTime0.001
testFreshnessLifetimeIsSMaxAgeIfPresent0
testFreshnessLifetimeIsMaxAgeIfPresent0
testFreshnessLifetimeIsMostRestrictiveOfMaxAgeAndSMaxAge0
testFreshnessLifetimeIsMaxAgeEvenIfExpiresIsPresent0
testFreshnessLifetimeIsSMaxAgeEvenIfExpiresIsPresent0
testFreshnessLifetimeIsFromExpiresHeaderIfNoMaxAge0
testHeuristicFreshnessLifetime0.001
testHeuristicFreshnessLifetimeDefaultsProperly0
testHeuristicFreshnessLifetimeIsNonNegative0
testResponseIsFreshIfFreshnessLifetimeExceedsCurrentAge0
testResponseIsNotFreshIfFreshnessLifetimeEqualsCurrentAge0.001
testResponseIsNotFreshIfCurrentAgeExceedsFreshnessLifetime0
testCacheEntryIsRevalidatableIfHeadersIncludeETag0
testCacheEntryIsRevalidatableIfHeadersIncludeLastModifiedDate0
testCacheEntryIsNotRevalidatableIfNoAppropriateHeaders0
testMissingContentLengthDoesntInvalidateEntry0
testCorrectContentLengthDoesntInvalidateEntry0
testWrongContentLengthInvalidatesEntry0
testMalformedDateHeaderIsIgnored0
testMalformedContentLengthReturnsNegativeOne0
testNegativeAgeHeaderValueReturnsMaxAge0
testMalformedAgeHeaderValueReturnsMaxAge0
testMalformedCacheControlMaxAgeHeaderReturnsZero0.001
testMalformedExpirationDateReturnsNull0
testMustRevalidateIsFalseIfDirectiveNotPresent0
testMustRevalidateIsTrueWhenDirectiveIsPresent0
testProxyRevalidateIsFalseIfDirectiveNotPresent0
testProxyRevalidateIsTrueWhenDirectiveIsPresent0
testMayReturnStaleIfErrorInResponseIsTrueWithinStaleness0.001
testMayReturnStaleIfErrorInRequestIsTrueWithinStaleness0
testMayNotReturnStaleIfErrorInResponseAndAfterResponseWindow0
testMayNotReturnStaleIfErrorInResponseAndAfterRequestWindow0
testMayReturnStaleWhileRevalidatingIsFalseWhenDirectiveIsAbsent0
testMayReturnStaleWhileRevalidatingIsTrueWhenWithinStaleness0.001
testMayReturnStaleWhileRevalidatingIsFalseWhenPastStaleness0
testMayReturnStaleWhileRevalidatingIsFalseWhenDirectiveEmpty0

TestWarningValue

testParseSingleWarnValue0
testParseMultipleWarnValues0
testMidHeaderParseErrorRecovery0
testTrickyCommaMidHeaderParseErrorRecovery0.001
testParseErrorRecoveryAtEndOfHeader0
testConstructSingleWarnValue0
testConstructWarnValueWithIPv4Address0
testConstructWarnValueWithHostname0
testConstructWarnValueWithHostnameAndPort0
testConstructWarnValueWithIPv4AddressAndPort0
testConstructWarnValueWithPseudonym0
testConstructWarnValueWithTextWithSpaces0
testConstructWarnValueWithTextWithCommas0
testConstructWarnValueWithTextWithEscapedQuotes0
testConstructWarnValueWithAscTimeWarnDate0
testConstructWarnValueWithRFC850WarnDate0
testConstructWarnValueWithRFC1123WarnDate0

TestProtocolRequirements

test200ResponseToOPTIONSWithNoBodyShouldIncludeContentLengthZero0.002
testDoesNotForwardOPTIONSWhenMaxForwardsIsZeroOnAbsoluteURIRequest0.001
testDecrementsMaxForwardsWhenForwardingOPTIONSRequest0.001
testDoesNotAddAMaxForwardsHeaderToForwardedOPTIONSRequests0.001
testResponseToAHEADRequestMustNotHaveABody0.001
testHEADResponseWithUpdatedContentLengthFieldMakeACacheEntryStale0.002
testHEADResponseWithUpdatedContentMD5FieldMakeACacheEntryStale0.001
testHEADResponseWithUpdatedETagFieldMakeACacheEntryStale0.001
testHEADResponseWithUpdatedLastModifiedFieldMakeACacheEntryStale0.002
testResponsesToPOSTWithoutCacheControlOrExpiresAreNotCached0.001
testResponsesToPUTsAreNotCached0.001
testResponsesToDELETEsAreNotCached0.001
testForwardedTRACERequestsDoNotIncludeAnEntity0.001
testResponsesToTRACEsAreNotCached0.001
test204ResponsesDoNotContainMessageBodies0.001
test205ResponsesDoNotContainMessageBodies0.001
test206ResponseGeneratedFromCacheMustHaveContentRangeOrMultipartByteRangesContentType0.001
test206ResponseGeneratedFromCacheMustHaveABodyThatMatchesContentLengthHeaderIfPresent0.001
test206ResponseGeneratedFromCacheMustHaveDateHeader0.001
test206ResponseReturnedToClientMustHaveDateHeader0.001
test206ContainsETagIfA200ResponseWouldHaveIncludedIt0.002
test206ContainsContentLocationIfA200ResponseWouldHaveIncludedIt0.001
test206ResponseIncludesVariantHeadersIfValueMightDiffer0.002
test206ResponseToConditionalRangeRequestDoesNotIncludeOtherEntityHeaders0.001
test206ResponseToIfRangeWithStrongValidatorReturnsAllEntityHeaders0.002
test206ResponseIsNotCombinedWithPreviousContentIfETagDoesNotMatch0.001
test206ResponseIsNotCombinedWithPreviousContentIfLastModifiedDoesNotMatch0.002
test206ResponsesAreNotCachedIfTheCacheDoesNotSupportRangeAndContentRangeHeaders0.001
test303ResponsesAreNotCached0.001
test304ResponseDoesNotContainABody0.001
test304ResponseWithDateHeaderForwardedFromOriginIncludesDateHeader0.001
test304ResponseGeneratedFromCacheIncludesDateHeader0.001
test304ResponseGeneratedFromCacheIncludesEtagIfOriginResponseDid0.001
test304ResponseGeneratedFromCacheIncludesContentLocationIfOriginResponseDid0.001
test304ResponseGeneratedFromCacheIncludesExpiresCacheControlAndOrVaryIfResponseMightDiffer0.002
test304GeneratedFromCacheOnWeakValidatorDoesNotIncludeOtherEntityHeaders0.001
testNotModifiedOfNonCachedEntityShouldRevalidateWithUnconditionalGET0.001
testCacheEntryIsUpdatedWithNewFieldValuesIn304Response0.002
testMustReturnACacheEntryIfItCanRevalidateIt0.001
testMustIncludeWWWAuthenticateHeaderOnAnOrigin401Response0
testMustIncludeAllowHeaderFromAnOrigin405Response0
testMustIncludeProxyAuthenticateHeaderFromAnOrigin407Response0.001
testMustNotAddMultipartByteRangeContentTypeTo416Response0.001
testMustNotUseMultipartByteRangeContentTypeOnCacheGenerated416Responses0.001
testMustReturnAFreshEnoughCacheEntryIfItHasIt0.001
testMustServeAppropriateErrorOrWarningIfNoOriginCommunicationPossible0.001
testAttachesWarningHeaderWhenGeneratingStaleResponse0
test1xxWarningsAreDeletedAfterSuccessfulRevalidation0.002
test2xxWarningsAreNotDeletedAfterSuccessfulRevalidation0.002
testAgeHeaderPopulatedFromCacheEntryCurrentAge0
testHeuristicCacheOlderThan24HoursHasWarningAttached0.001
testKeepsMostRecentDateHeaderForFreshResponse0.001
testSubrangeGETWithWeakETagIsNotAllowed0.001
testPUTWithIfMatchWeakETagIsNotAllowed0
testPUTWithIfNoneMatchWeakETagIsNotAllowed0.001
testDELETEWithIfMatchWeakETagIsNotAllowed0
testDELETEWithIfNoneMatchWeakETagIsNotAllowed0
testSubrangeGETMustUseStrongComparisonForCachedResponse0.001
testValidationMustUseETagIfProvidedByOriginServer0.002
testConditionalRequestWhereNotAllValidatorsMatchCannotBeServedFromCache0.001
testConditionalRequestWhereAllValidatorsMatchMayBeServedFromCache0.001
testCacheWithoutSupportForRangeAndContentRangeHeadersDoesNotCacheA206Response0
test302ResponseWithoutExplicitCacheabilityIsNotReturnedFromCache0.001
testDoesNotModifyContentLocationHeaderFromOrigin0.001
testDoesNotModifyContentMD5HeaderFromOrigin0.001
testDoesNotModifyEtagHeaderFromOrigin0.001
testDoesNotModifyLastModifiedHeaderFromOrigin0.001
testDoesNotAddContentLocationToOriginResponse0.001
testDoesNotAddContentMD5ToOriginResponse0.001
testDoesNotAddEtagToOriginResponse0.001
testDoesNotAddLastModifiedToOriginResponse0.001
testDoesNotModifyContentLocationFromOriginOnCacheHit0.001
testDoesNotModifyContentMD5FromOriginOnCacheHit0.001
testDoesNotModifyEtagFromOriginOnCacheHit0.001
testDoesNotModifyLastModifiedFromOriginOnCacheHit0.001
testDoesNotAddContentLocationHeaderOnCacheHit0.001
testDoesNotAddContentMD5HeaderOnCacheHit0.001
testDoesNotAddETagHeaderOnCacheHit0.001
testDoesNotAddLastModifiedHeaderOnCacheHit0.001
testDoesNotModifyContentLocationHeaderOnRequest0
testDoesNotModifyContentMD5HeaderOnRequest0.001
testDoesNotModifyETagHeaderOnRequest0.001
testDoesNotModifyLastModifiedHeaderOnRequest0.001
testDoesNotAddContentLocationToRequestIfNotPresent0
testDoesNotAddContentMD5ToRequestIfNotPresent0
testDoesNotAddETagToRequestIfNotPresent0.001
testDoesNotAddLastModifiedToRequestIfNotPresent0.001
testDoesNotModifyExpiresHeaderFromOrigin0.001
testDoesNotModifyExpiresHeaderFromOriginOnCacheHit0.001
testExpiresHeaderMatchesDateIfAddedToOriginResponse0.001
testExpiresHeaderMatchesDateIfAddedToCacheHit0.001
testDoesNotModifyContentEncodingHeaderFromOriginResponseWithNoTransform0.001
testDoesNotModifyContentRangeHeaderFromOriginResponseWithNoTransform0.001
testDoesNotModifyContentTypeHeaderFromOriginResponseWithNoTransform0.001
testDoesNotModifyContentEncodingHeaderOnCachedResponseWithNoTransform0.001
testDoesNotModifyContentTypeHeaderOnCachedResponseWithNoTransform0.001
testDoesNotModifyContentRangeHeaderOnCachedResponseWithNoTransform0.002
testDoesNotAddContentEncodingHeaderToOriginResponseWithNoTransformIfNotPresent0.001
testDoesNotAddContentRangeHeaderToOriginResponseWithNoTransformIfNotPresent0.001
testDoesNotAddContentTypeHeaderToOriginResponseWithNoTransformIfNotPresent0.001
testDoesNotAddContentEncodingHeaderToCachedResponseWithNoTransformIfNotPresent0.001
testDoesNotAddContentRangeHeaderToCachedResponseWithNoTransformIfNotPresent0.001
testDoesNotAddContentTypeHeaderToCachedResponseWithNoTransformIfNotPresent0.001
testDoesNotAddContentEncodingToRequestIfNotPresent0.001
testDoesNotAddContentRangeToRequestIfNotPresent0
testDoesNotAddContentTypeToRequestIfNotPresent0
testDoesNotAddContentEncodingHeaderToRequestIfNotPresent0.001
testDoesNotAddContentRangeHeaderToRequestIfNotPresent0.001
testDoesNotAddContentTypeHeaderToRequestIfNotPresent0.001
testResponseIncludesCacheEntryEndToEndHeadersForResponseAfter304Validation0.005
testUpdatedEndToEndHeadersFrom304ArePassedOnResponseAndUpdatedInCacheEntry0.003
testMultiHeadersAreSuccessfullyReplacedOn304Validation0
testCannotCombinePartialResponseIfIncomingResponseDoesNotHaveACacheValidator0.002
testCannotCombinePartialResponseIfCacheEntryDoesNotHaveACacheValidator0.001
testCannotCombinePartialResponseIfCacheValidatorsDoNotStronglyMatch0.002
testMustDiscardLeastRecentPartialResponseIfIncomingRequestDoesNotHaveCacheValidator0.001
testMustDiscardLeastRecentPartialResponseIfCachedResponseDoesNotHaveCacheValidator0.002
testMustDiscardLeastRecentPartialResponseIfCacheValidatorsDoNotStronglyMatch0.001
testMustDiscardLeastRecentPartialResponseIfCacheValidatorsDoNotStronglyMatchEvenIfResponsesOutOfOrder0.002
testMustDiscardCachedPartialResponseIfCacheValidatorsDoNotStronglyMatchAndDateHeadersAreEqual0.001
testCannotUseVariantCacheEntryIfNotAllSelectingRequestHeadersMatch0.001
testCannotServeFromCacheForVaryStar0.001
testNonmatchingVariantCannotBeServedFromCacheUnlessConditionallyValidated0.002
testIncompleteResponseMustNotBeReturnedToClientWithoutMarkingItAs2060.001
testPutToUriInvalidatesCacheForThatUri0.002
testDeleteToUriInvalidatesCacheForThatUri0.001
testPostToUriInvalidatesCacheForThatUri0.002
testPutInvalidatesCacheForThatUriInContentLocationHeader0.002
testPutInvalidatesCacheForThatUriInLocationHeader0.001
testPutInvalidatesCacheForThatUriInRelativeContentLocationHeader0.002
testOrderOfMultipleTransferEncodingsInSingleHeadersIsPreserved0
testVaryStarIsNotGeneratedByProxy0
testProperlyFormattedViaHeaderIsAddedToRequests0
testProperlyFormattedViaHeaderIsAddedToResponses0.001
testViaHeaderOnRequestProperlyRecordsClientProtocol0.002
testViaHeaderOnResponseProperlyRecordsOriginProtocol0.001
testRetainsWarningHeadersReceivedFromUpstream0.001
testUpdatesWarningHeadersOnValidation0.001
testWarnDatesAreAddedToWarningsOnLowerProtocolVersions0.001
testStripsBadlyDatedWarningsFromForwardedResponses0.001
testStripsBadlyDatedWarningsFromStoredResponses0.001
testRemovesWarningHeaderIfAllWarnValuesAreBadlyDated0
testDeleteInvalidatesCacheForThatUriInContentLocationHeader0.001
testDeleteInvalidatesCacheForThatUriInRelativeContentLocationHeader0.002
testDeleteInvalidatesCacheForThatUriInLocationHeader0.002
testPostInvalidatesCacheForThatUriInContentLocationHeader0.002
testPostInvalidatesCacheForThatUriInLocationHeader0.005
testPostInvalidatesCacheForRelativeUriInContentLocationHeader0.005
testPutDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts0.003
testPutDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts0.002
testPostDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts0.001
testPostDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts0.002
testDeleteDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts0.001
testDeleteDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts0.001
testOPTIONSRequestsAreWrittenThroughToOrigin 0
skipped
testPOSTRequestsAreWrittenThroughToOrigin0
testPUTRequestsAreWrittenThroughToOrigin0.001
testDELETERequestsAreWrittenThroughToOrigin0.001
testTRACERequestsAreWrittenThroughToOrigin0.001
testCONNECTRequestsAreWrittenThroughToOrigin0.001
testUnknownMethodRequestsAreWrittenThroughToOrigin0
testTransmitsAgeHeaderIfIncomingAgeHeaderTooBig0.001
testDoesNotModifyAllowHeaderWithUnknownMethods0.001
testSharedCacheMustNotNormallyCacheAuthorizedResponses0.002
testSharedCacheMayCacheAuthorizedResponsesWithSMaxAgeHeader0.002
testSharedCacheMustRevalidateAuthorizedResponsesWhenSMaxAgeIsZero0.002
testSharedCacheMayCacheAuthorizedResponsesWithMustRevalidate0.002
testSharedCacheMayCacheAuthorizedResponsesWithCacheControlPublic0.002
testSharedCacheMustUseNewRequestHeadersWhenRevalidatingAuthorizedResponsesWithSMaxAge0.001
testSharedCacheMustUseNewRequestHeadersWhenRevalidatingAuthorizedResponsesWithMustRevalidate0.001
testWarning110IsAddedToStaleResponses0.001
testDoesNotTransmitNoCacheDirectivesWithFieldsDownstream0.001
testCacheIsNotUsedWhenRespondingToRequestWithCacheControlNoCache0.001
testCacheIsNotUsedWhenRespondingToRequestWithPragmaNoCache0.001
testStaleEntryWithMustRevalidateIsNotUsedWithoutRevalidatingWithOrigin0.002
testGenerates504IfCannotRevalidateAMustRevalidateEntry0.001
testStaleEntryWithProxyRevalidateOnSharedCacheIsNotUsedWithoutRevalidatingWithOrigin0.002
testGenerates504IfSharedCacheCannotRevalidateAProxyRevalidateEntry0.001
testCacheControlPrivateIsNotCacheableBySharedCache0.001
testCacheControlPrivateOnFieldIsNotReturnedBySharedCache0.001
testNoCacheCannotSatisfyASubsequentRequestWithoutRevalidation0.001
testNoCacheCannotSatisfyASubsequentRequestWithoutRevalidationEvenWithContraryIndications0.001
testNoCacheOnFieldIsNotReturnedWithoutRevalidation0.001
testNoStoreOnRequestIsNotStoredInCache0.001
testNoStoreOnRequestIsNotStoredInCacheEvenIfResponseMarkedCacheable0.001
testNoStoreOnResponseIsNotStoredInCache0.001
testNoStoreOnResponseIsNotStoredInCacheEvenWithContraryIndicators0.002
testOrderOfMultipleContentEncodingHeaderValuesIsPreserved0.001
testOrderOfMultipleParametersInContentEncodingHeaderIsPreserved0.002
testCacheDoesNotAssumeContentLocationHeaderIndicatesAnotherCacheableResource0.002
testCachedResponsesWithMissingDateHeadersShouldBeAssignedOne0.001
testMalformedExpiresHeaderIsTreatedAsStale0.003
testExpiresZeroHeaderIsTreatedAsStale0.002
testExpiresHeaderEqualToDateHeaderIsTreatedAsStale0.003
testDoesNotModifyServerResponseHeader0.001
testOrderOfMultipleTransferEncodingHeadersIsPreserved0.001
testOrderOfMultipleCacheControlHeadersIsPreservedOnRequests0.002
testOrderOfMultipleContentEncodingHeadersIsPreservedOnRequests0.001
testOrderOfMultipleContentLanguageHeadersIsPreservedOnRequests0.001
testOrderOfMultipleExpectHeadersIsPreservedOnRequests0.001
testOrderOfMultiplePragmaHeadersIsPreservedOnRequests0.001
testOrderOfMultipleViaHeadersIsPreservedOnRequests0.001
testOrderOfMultipleWarningHeadersIsPreservedOnRequests0.002
testOrderOfMultipleAllowHeadersIsPreservedOnResponses0.001
testOrderOfMultipleCacheControlHeadersIsPreservedOnResponses0.001
testOrderOfMultipleContentEncodingHeadersIsPreservedOnResponses0.002
testOrderOfMultipleContentLanguageHeadersIsPreservedOnResponses0.002
testOrderOfMultiplePragmaHeadersIsPreservedOnResponses0.002
testOrderOfMultipleViaHeadersIsPreservedOnResponses0.001
testOrderOfMultipleWWWAuthenticateHeadersIsPreservedOnResponses0.001
testUnknownResponseStatusCodesAreNotCached0.477
testUnknownHeadersOnRequestsAreForwarded0.001
testUnknownHeadersOnResponsesAreForwarded0.001
testRequestsExpecting100ContinueBehaviorShouldSetExpectHeader0.001
testRequestsNotExpecting100ContinueBehaviorShouldNotSetExpectContinueHeader0.001
testExpect100ContinueIsNotSentIfThereIsNoRequestBody0.001
testExpectHeadersAreForwardedOnRequests0
test100ContinueResponsesAreNotForwardedTo1_0ClientsWhoDidNotAskForThem0.001
testResponsesToOPTIONSAreNotCacheable0.001
testCacheMissOnGETUsesOriginResponse0.001
testHigherMajorProtocolVersionsOnRequestSwitchToTunnelBehavior0.001
testHigher1_XProtocolVersionsDowngradeTo1_10.001
testRequestsWithLowerProtocolVersionsGetUpgradedTo1_10.001
testLowerOriginResponsesUpgradedToOurVersion1_10.001
testResponseToA1_0RequestShouldUse1_10.001
testForwardsUnknownHeadersOnRequestsFromHigherProtocolVersions0.001
testTransferCodingsAreNotSentToAnHTTP_1_0Client0.001
testOrderOfMultipleAcceptHeaderValuesIsPreservedOnRequests0.001
testOrderOfMultipleAcceptCharsetHeadersIsPreservedOnRequests0.001
testOrderOfMultipleAcceptEncodingHeadersIsPreservedOnRequests0
testOrderOfMultipleAcceptLanguageHeadersIsPreservedOnRequests0
testOrderOfMultipleAllowHeadersIsPreservedOnRequests0.001

TestHttpCacheEntrySerializers

canSerializeEntriesWithVariantMaps0.033

TestSHA256HashingScheme

canHash0.001

TestHttpCacheEntry

mustProvideResponseDate0
mustProvideStatusLine0
mustProvideResponseHeaders0
canRetrieveOriginalStatusLine0
protocolVersionComesFromOriginalStatusLine0
reasonPhraseComesFromOriginalStatusLine0
statusCodeComesFromOriginalStatusLine0
canGetOriginalRequestDate0.001
canGetOriginalResponseDate0
canGetOriginalResource0
canGetOriginalHeaders0
canConstructWithoutVariants0
canProvideVariantMap0
canRetrieveOriginalVariantMap0
retrievedVariantMapIsNotModifiable0
canConvertToString0.001
testGetHeadersReturnsCorrectHeaders0
testGetFirstHeaderReturnsCorrectHeader0
testGetHeadersReturnsEmptyArrayIfNoneMatch0
testGetFirstHeaderReturnsNullIfNoneMatch0
testCacheEntryWithNoVaryHeaderDoesNotHaveVariants0
testCacheEntryWithOneVaryHeaderHasVariants0
testCacheEntryWithMultipleVaryHeadersHasVariants0
testCacheEntryWithVaryStarHasVariants0
mustProvideRequestDate0

TestBasicHttpCache

testStoreInCachePutsNonVariantEntryInPlace0
testTooLargeResponsesAreNotCached0.001
testSmallEnoughResponsesAreCached0.001
testGetCacheEntryReturnsNullOnCacheMiss0
testGetCacheEntryFetchesFromCacheOnCacheHitIfNoVariants0
testGetCacheEntryReturnsNullIfNoVariantInCache0.001
testGetCacheEntryReturnsVariantIfPresentInCache0
testGetVariantCacheEntriesReturnsEmptySetOnNoVariants0
testGetVariantCacheEntriesReturnsAllVariants0.001
testOriginalResponseWithNoContentSizeHeaderIsReleased0.002
testEntryUpdate0.001
testCanFlushCacheEntriesAtUri0.001
testRecognizesComplete200Response0
testRecognizesComplete206Response0
testRecognizesIncomplete200Response0
testIgnoresIncompleteNon200Or206Responses0
testResponsesWithoutExplicitContentLengthAreComplete0
testResponsesWithUnparseableContentLengthHeaderAreComplete0
testIncompleteResponseErrorProvidesPlainTextErrorMessage0
testIncompleteResponseErrorProvidesNonEmptyErrorMessage0.001
testCacheUpdateAddsVariantURIToParentEntry0

TestHttpCacheJiraNumber1147

testIssue11470.002

TestAsynchronousValidator

testMarkCompleteRemovesIdentifier0.006
testRevalidateCacheEntryDoesNotPopulateIdentifierOnRejectedExecutionException0.002
testRevalidateCacheEntryProperlyCollapsesRequest0.001
testRevalidateCacheEntryEndToEnd0.003
testVariantsBothRevalidated0.003
testRevalidateCacheEntrySchedulesExecutionAndPopulatesIdentifier0.003

TestProtocolRecommendations

cacheGenerated304ForStrongEtagValidatorShouldNotContainContentLanguage0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentLanguage0.001
cacheGenerated304ForStrongValidatorShouldNotContainContentLength0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentLength0.001
cacheGenerated304ForStrongValidatorShouldNotContainContentMD50.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentMD50.002
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentRange0.002
cacheGenerated304ForStrongDateValidatorShouldNotContainContentRange0.002
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentType0.002
cacheGenerated304ForStrongDateValidatorShouldNotContainContentType0.001
cacheGenerated304ForStrongEtagValidatorShouldNotContainLastModified0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainLastModified0.001
shouldStripAllowFromOrigin304ResponseToStrongValidation0.001
shouldStripContentEncodingFromOrigin304ResponseToStrongValidation0.001
shouldStripContentLanguageFromOrigin304ResponseToStrongValidation0
shouldStripContentLengthFromOrigin304ResponseToStrongValidation0
shouldStripContentMD5FromOrigin304ResponseToStrongValidation0.001
shouldStripContentTypeFromOrigin304ResponseToStrongValidation0.001
shouldStripContentRangeFromOrigin304ResponseToStringValidation0
shouldStripLastModifiedFromOrigin304ResponseToStrongValidation0.001
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFirstHandOneWithCacheControl0.001
testDoesNotModifyRetryAfterOnResponses0.001
testDoesNotModifyServerOnResponses0
testDoesNotModifyUserAgentOnRequests0.001
testDoesNotModifyVaryOnResponses0.001
testDoesNotModifyExtensionHeaderOnRequests0.001
testDoesNotModifyExtensionHeaderOnResponses0
testUsesLastModifiedDateForCacheConditionalRequests0.001
testUsesBothLastModifiedAndETagForConditionalRequestsIfAvailable0.001
testRevalidatesCachedResponseWithExpirationInThePast0.001
testRetriesValidationThatResultsInAnOlderDated304Response0.001
testSendsAllVariantEtagsInConditionalRequest0.002
testResponseToExistingVariantsUpdatesEntry0.002
testResponseToExistingVariantsIsCachedForFutureResponses0.001
variantNegotiationsDoNotIncludeEtagsForPartialResponses0.001
cachedEntryShouldNotBeUsedIfMoreRecentMentionInContentLocation0.001
responseToGetWithQueryFrom1_0OriginIsNotCached0.001
responseToGetWithQueryFrom1_0OriginVia1_1ProxyIsNotCached0.001
shouldInvalidateNonvariantCacheEntryForUnknownMethod0.001
shouldInvalidateAllVariantsForUnknownMethod0.003
cacheShouldUpdateWithNewCacheableResponse0.002
expiresEqualToDateWithNoCacheControlIsNotCacheable0.002
expiresPriorToDateWithNoCacheControlIsNotCacheable0.002
otherFreshnessRequestDirectivesNotAllowedWithNoCache0.001
cacheMissResultsIn504WithOnlyIfCached0.001
cacheHitOkWithOnlyIfCached0
returns504ForStaleEntryWithOnlyIfCached0.002
returnsStaleCacheEntryWithOnlyIfCachedAndMaxStale0.002
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFirstHandOneWithPragma0.001
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMaxAge0.001
testDoesNotReturnStaleResponseIfClientExplicitlySpecifiesLargerMaxAge0.002
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMinFresh0.002
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMaxStale0.002
testMayReturnStaleResponseIfClientExplicitlySpecifiesAcceptableMaxStale0.002
testReturnsCachedResponsesAppropriatelyWhenNoOriginCommunication0.002
testDoesNotAddNewWarningHeaderIfResponseArrivesStale0.002
testForwardsExistingWarningHeadersOnResponseThatArrivesStale0.001
testDoesNotModifyAcceptRangesOnResponses0.002
testDoesNotModifyAuthorizationOnRequests0.001
testDoesNotModifyContentLengthOnRequests0.001
testDoesNotModifyContentLengthOnResponses0
testDoesNotModifyContentMD5OnRequests0
testDoesNotModifyContentMD5OnResponses0.001
testDoesNotModifyContentRangeOnRequests0.001
testDoesNotModifyContentRangeOnResponses0
testDoesNotModifyContentTypeOnRequests0.001
testDoesNotModifyContentTypeOnResponses0.001
testDoesNotModifyDateOnRequests0
testDoesNotModifyDateOnResponses0.001
testDoesNotModifyETagOnResponses0.001
testDoesNotModifyExpiresOnResponses0.001
testDoesNotModifyFromOnRequests0
testDoesNotModifyIfMatchOnRequests0.001
testDoesNotModifyIfModifiedSinceOnRequests0.001
testDoesNotModifyIfNoneMatchOnRequests0
testDoesNotModifyIfRangeOnRequests0
testDoesNotModifyIfUnmodifiedSinceOnRequests0.001
testDoesNotModifyLastModifiedOnResponses0.001
testDoesNotModifyLocationOnResponses0
testDoesNotModifyRangeOnRequests0.001
testDoesNotModifyRefererOnRequests0.001
testIdentityCodingIsNotUsedInContentEncodingHeader0.001
cacheGenerated304ForStrongEtagValidatorShouldNotContainAllow0
cacheGenerated304ForStrongDateValidatorShouldNotContainAllow0.001
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentEncoding0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentEncoding0.001

TestEhcacheHttpCacheStorage

testCacheGetNullEntry0.009
testCacheUpdateNullEntry0.001
testCacheGet0
testCacheRemove0
testCacheUpdate0.001
testSingleCacheUpdateRetry0.001
testCacheUpdateFail0
testCachePut0

TestCacheEntryUpdater

testUpdateCacheEntryReturnsDifferentEntryInstance0
testHeadersAreMergedCorrectly0
testNewerHeadersReplaceExistingHeaders0
testNewHeadersAreAddedByMerge0
oldHeadersRetainedIfResponseOlderThanEntry0
testUpdatedEntryHasLatestRequestAndResponseDates0
entry1xxWarningsAreRemovedOnUpdate0
entryWithMalformedDateIsStillUpdated0
entryIsStillUpdatedByResponseWithMalformedDate0
cannotUpdateFromANon304OriginResponse0

TestAsynchronousValidationRequest

testRunCallsCachingClientAndRemovesIdentifier0.01
testRunGracefullyHandlesProtocolException0.001
testRunGracefullyHandlesIOException0.001

TestMemcachedHttpCacheStorage

testTreatsNullFromMemcachedAsCacheMiss0.025
testTreatsAsCacheMissIfCannotReconstituteEntry0.002
testTreatsAsCacheMissIfCantHashStorageKey0.001
testThrowsIOExceptionIfMemcachedTimesOutOnGet0.002
testCacheRemove0
testCacheRemoveHandlesKeyHashingFailure0.001
testCacheRemoveThrowsIOExceptionOnMemcachedTimeout0.001
testCacheUpdateCanUpdateNullEntry0.002
testCacheUpdateOverwritesNonMatchingHashCollision0.001
testCacheUpdateCanUpdateExistingEntry0.002
testCacheUpdateThrowsExceptionsIfCASFailsEnoughTimes0.002
testCacheUpdateCanUpdateExistingEntryWithRetry0.002
testUpdateThrowsIOExceptionIfMemcachedTimesOut0.001
testThrowsExceptionOnUpdateIfCannotHashStorageKey0.001
testSuccessfulCachePut0.001
testThrowsIOExceptionWhenMemcachedPutTimesOut0.002
testCachePutThrowsIOExceptionIfCannotSerializeEntry0.001
testSuccessfulCacheGet0.001
testTreatsNoneByteArrayFromMemcachedAsCacheMiss0.001
testCachePutFailsSilentlyWhenWeCannotHashAKey0.001

TestRFC5861Compliance

testStaleIfErrorInResponseYieldsToMustRevalidate0.187
testStaleIfErrorInResponseYieldsToProxyRevalidateForSharedCache0.005
testStaleIfErrorInResponseNeedNotYieldToProxyRevalidateForPrivateCache0.005
testStaleIfErrorInResponseYieldsToExplicitFreshnessRequest0.005
testStaleIfErrorInRequestIsTrueReturnsStaleEntryWithWarning0.005
testStaleIfErrorInResponseIsFalseReturnsError0.004
testStaleIfErrorInRequestIsFalseReturnsError0.004
testStaleWhileRevalidateReturnsStaleEntryWithWarning0.012
testCanAlsoServeStale304sWhileRevalidating0.007
testStaleWhileRevalidateYieldsToMustRevalidate0.007
testStaleWhileRevalidateYieldsToProxyRevalidateForSharedCache0.006
testStaleWhileRevalidateYieldsToExplicitFreshnessRequest0.006
testStaleIfErrorInResponseIsTrueReturnsStaleEntryWithWarning0.004
testConsumesErrorResponseWhenServingStale0.006

TestRequestProtocolCompliance

doesNotModifyACompliantRequest0
removesEntityFromTRACERequest0
upgrades1_0RequestTo1_10
downgrades1_2RequestTo1_10
stripsMinFreshFromRequestIfNoCachePresent0
stripsMaxFreshFromRequestIfNoCachePresent0
stripsMaxAgeFromRequestIfNoCachePresent0
doesNotStripMinFreshFromRequestWithoutNoCache0
correctlyStripsMinFreshFromMiddleIfNoCache0

TestCachingHttpClient

testCacheableResponsesGoIntoCache0.092
testOlderCacheableResponsesDoNotGoIntoCache0.005
testNewerCacheableResponsesReplaceExistingCacheEntry0.006
testRequestThatCannotBeServedFromCacheCausesBackendRequest0.048
testCacheMissCausesBackendRequest0.004
testUnsuitableUnvalidatableCacheEntryCausesBackendRequest0.004
testUnsuitableValidatableCacheEntryCausesRevalidation0.004
testRevalidationCallsHandleBackEndResponseWhenNot200Or3040.004
testRevalidationUpdatesCacheEntryAndPutsItToCacheWhen304ReturningCachedResponse0.003
testSuitableCacheEntryDoesNotCauseBackendRequest0.003
testCallBackendMakesBackEndRequestAndHandlesResponse0.003
testNonCacheableResponseIsNotCachedAndIsReturnedAsIs0.003
testCallsSelfForExecuteOnHostRequestWithNullContext0.003
testCallsSelfWithDefaultContextForExecuteOnHostRequestWithHandler0.002
testCallsSelfOnExecuteHostRequestWithHandlerAndContext0.009
testConsumesEntityOnExecuteWithException0.006
testCallsSelfWithNullContextOnExecuteUriRequest0.003
testCallsSelfWithExtractedHostOnExecuteUriRequestWithContext0.003
testCallsSelfWithNullContextOnExecuteUriRequestWithHandler0.002
testCallsSelfAndRunsHandlerOnExecuteUriRequestWithHandlerAndContext0.003
testUsesBackendsConnectionManager0.002
testUsesBackendsHttpParams0.002
testResponseIsGeneratedWhenCacheEntryIsUsable0.002
testNonCompliantRequestWrapsAndReThrowsProtocolException0.002
testSetsModuleGeneratedResponseContextForCacheOptionsResponse0.003
testSetsModuleGeneratedResponseContextForFatallyNoncompliantRequest0.004
testRecordsClientProtocolInViaHeaderIfRequestNotServableFromCache0.005
testSetsCacheMissContextIfRequestNotServableFromCache0.003
testSetsViaHeaderOnResponseIfRequestNotServableFromCache0.003
testSetsViaHeaderOnResponseForCacheMiss0.003
testSetsCacheHitContextIfRequestServedFromCache0.004
testSetsViaHeaderOnResponseIfRequestServedFromCache0.004
testReturns304ForIfModifiedSinceHeaderIfRequestServedFromCache0.004
testReturns304ForIfModifiedSinceHeaderIf304ResponseInCache0.004
testReturns200ForIfModifiedSinceDateIsLess0.006
testReturns200ForIfModifiedSinceDateIsInvalid0.007
testReturns304ForIfNoneMatchHeaderIfRequestServedFromCache0.004
testReturns200ForIfNoneMatchHeaderFails0.005
testReturns304ForIfNoneMatchHeaderAndIfModifiedSinceIfRequestServedFromCache0.007
testReturns200ForIfNoneMatchHeaderFailsIfModifiedSinceIgnored0.006
testSetsValidatedContextIfRequestWasSuccessfullyValidated0.005
testSetsViaHeaderIfRequestWasSuccessfullyValidated0.004
testSetsModuleResponseContextIfValidationRequiredButFailed0.003
testSetsModuleResponseContextIfValidationFailsButNotRequired0.004
testSetViaHeaderIfValidationFailsButNotRequired0.004
testReturns304ForIfNoneMatchPassesIfRequestServedFromOrigin0.005
testReturns200ForIfNoneMatchFailsIfRequestServedFromOrigin0.008
testReturns304ForIfModifiedSincePassesIfRequestServedFromOrigin0.007
testReturns200ForIfModifiedSinceFailsIfRequestServedFromOrigin0.007
testVariantMissServerIfReturns304CacheReturns2000.012
testVariantsMissServerReturns304CacheReturns3040.009
testIsSharedCache0.002
testTreatsCacheIOExceptionsAsCacheMiss0.004
testIfOnlyIfCachedAndNoCacheEntryBackendNotCalled0.002
testIfOnlyIfCachedAndEntryNotSuitableBackendNotCalled0.004
testIfOnlyIfCachedAndEntryExistsAndIsSuitableReturnsEntry0.003
testAllowsBackendToSetHttpContextVariablesOnCacheMiss0.159
testDoesNotSetConnectionInContextOnCacheHit0.008
testDoesNotSetProxyHostInContextOnCacheHit0.005
testSetsTargetHostInContextOnCacheHit0.006
testSetsRequestInContextOnCacheHit0.007
testSetsResponseInContextOnCacheHit0.009
testSetsRequestSentInContextOnCacheHit0.009
testAllowsBackendToSetContextVariablesOnRevalidation0.011
testCanCacheAResponseWithoutABody0.006
testNoEntityForIfNoneMatchRequestNotYetInCache0.003
testNotModifiedResponseUpdatesCacheEntryWhenNoEntity0.004
testNotModifiedResponseWithVaryUpdatesCacheEntryWhenNoEntity0.005
testDoesNotSend304ForNonConditionalRequest0.006

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme0

TestResponseCachingPolicy

testAuthorizedResponsesWithSMaxAgeAreCacheable0
testAuthorizedResponsesWithMustRevalidateAreCacheable0
testAuthorizedResponsesWithCacheControlPublicAreCacheable0.001
testAuthorizedResponsesWithCacheControlMaxAgeAreNotCacheable0
test203ResponseCodeIsCacheable0
test206ResponseCodeIsNotCacheable0
test300ResponseCodeIsCacheable0
test301ResponseCodeIsCacheable0
test410ResponseCodeIsCacheable0
testPlain302ResponseCodeIsNotCacheable0
testPlain307ResponseCodeIsNotCacheable0
testNon206WithExplicitExpiresIsCacheable0.001
testNon206WithMaxAgeIsCacheable0
testNon206WithSMaxAgeIsCacheable0
testNon206WithMustRevalidateIsCacheable0
testNon206WithProxyRevalidateIsCacheable0
testNon206WithPublicCacheControlIsCacheable0.001
testNon206WithPrivateCacheControlIsNotCacheableBySharedCache0
test200ResponseWithPrivateCacheControlIsCacheableByNonSharedCache0
testIsGetWithNoCacheCacheable0
testIsGetWithNoStoreCacheable0.001
testIsGetWithNoStoreEmbeddedInListCacheable0
testIsGetWithNoCacheEmbeddedInListCacheable0
testIsGetWithNoCacheEmbeddedInListAfterFirstHeaderCacheable0
testIsGetWithNoStoreEmbeddedInListAfterFirstHeaderCacheable0.001
testIsGetWithAnyCacheControlCacheable0
testIsGetWithout200Cacheable0
testVaryStarIsNotCacheable0.001
testIsGetWithVaryHeaderCacheable0
testIsArbitraryMethodCacheable0
testResponsesToRequestsWithNoStoreAreNotCacheable0
testResponsesWithMultipleAgeHeadersAreNotCacheable0
testResponsesWithMultipleDateHeadersAreNotCacheable0
testResponsesWithMalformedDateHeadersAreNotCacheable0
testResponsesWithMultipleExpiresHeadersAreNotCacheable0
testResponsesWithoutDateHeadersAreNotCacheable0
testResponseThatHasTooMuchContentIsNotCacheable0
testResponsesThatAreSmallEnoughAreCacheable0
testResponsesToGETWithQueryParamsButNoExplicitCachingAreNotCacheable0.001
testResponsesToGETWithQueryParamsAndExplicitCachingAreCacheable0
getsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheable0
getsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheableEvenWithExpires0
getsWithQueryParametersFrom1_0OriginsViaProxiesAreNotCacheable0
getsWithQueryParametersFrom1_0OriginsViaProxiesAreNotCacheableEvenWithExpires0
getsWithQueryParametersFrom1_0OriginsViaExplicitProxiesAreNotCacheableEvenWithExpires0
getsWithQueryParametersFrom1_1OriginsVia1_0ProxiesAreCacheableWithExpires0
notCacheableIfExpiresEqualsDateAndNoCacheControl0
notCacheableIfExpiresPrecedesDateAndNoCacheControl0
otherStatusCodesAreCacheableWithExplicitCachingHeaders0
testResponsesToRequestsWithAuthorizationHeadersAreNotCacheableBySharedCache0.001
testResponsesToRequestsWithAuthorizationHeadersAreCacheableByNonSharedCache0
testIsGetCacheable0

TestMemcachedCacheEntryFactoryImpl

createsMemcachedCacheEntryImpls0.004

TestProtocolDeviations

testOPTIONSRequestsWithBodiesAndNoContentTypeHaveOneSupplied0.003
testPartialContentIsNotReturnedToAClientThatDidNotAskForIt0
testPassesOnOrigin401ResponseWithoutWWWAuthenticateHeader0
testPassesOnOrigin405WithoutAllowHeader0.001
testPassesOnOrigin407WithoutAProxyAuthenticateHeader0

TestProtocolAllowedBehavior

testNonSharedCacheReturnsStaleResponseWhenRevalidationFailsForProxyRevalidate0.001
testNonSharedCacheMayCacheResponsesWithCacheControlPrivate0.001

TestSizeLimitedResponseReader

testExactSizeResponseIsNotTooLarge0
testSmallResponseIsNotTooLarge0.001
testResponseWithNoEntityIsNotTooLarge0
testTooLargeEntityHasOriginalContentTypes0.002
testResponseCopiesAllOriginalHeaders0
testLargeResponseIsTooLarge0

TestCacheKeyGenerator

testGetURIWithQueryParameters0
testGetVariantURIWithNoVaryHeaderReturnsNormalURI0
testGetVariantURIWithSingleValueVaryHeaderPrepends0
testGetVariantURIWithMissingRequestHeader0.001
testGetVariantURIAlphabetizesWithMultipleVaryingHeaders0.001
testGetVariantURIHandlesMultipleVaryHeaders0.001
testGetVariantURIHandlesMultipleLineRequestHeaders0.001
testEmptyPortEquivalentToDefaultPortForHttp0.001
testEmptyPortEquivalentToDefaultPortForHttps0.001
testHostNameComparisonsAreCaseInsensitive0.001
testExtractsUriFromAbsoluteUriInRequest0
testGetURIWithDefaultPortAndScheme0
testGetURIWithDifferentScheme0
testGetURIWithDifferentPort0.001
testGetURIWithDifferentPortAndScheme0
testEmptyPortEquivalentToDefaultPortForHttpsAbsoluteURI0
testNotProvidedPortEquivalentToDefaultPortForHttpsAbsoluteURI0.001
testNotProvidedPortEquivalentToDefaultPortForHttp0
testSchemeNameComparisonsAreCaseInsensitive0
testEmptyAbsPathIsEquivalentToSlash0.001
testExtraDotSegmentsAreIgnored0
testExtraDotDotSegmentsAreIgnored0
testIntermidateDotDotSegementsAreEquivalent0.001
testIntermidateEncodedDotDotSegementsAreEquivalent0
testIntermidateDotSegementsAreEquivalent0.001
testEquivalentPathEncodingsAreEquivalent0
testEquivalentExtraPathEncodingsAreEquivalent0
testEquivalentExtraPathEncodingsWithPercentAreEquivalent0.001

TestCacheInvalidator

testInvalidatesRequestsThatArentGETorHEAD0.05
testInvalidatesUrisInContentLocationHeadersOnPUTs0.002
testInvalidatesUrisInLocationHeadersOnPUTs0.001
testInvalidatesRelativeUrisInContentLocationHeadersOnPUTs0.001
testDoesNotInvalidateUrisInContentLocationHeadersOnPUTsToDifferentHosts0.001
testDoesNotInvalidateGETRequest0.001
testDoesNotInvalidateHEADRequest0.001
testDoesNotInvalidateRequestsWithClientCacheControlHeaders0.001
testDoesNotInvalidateRequestsWithClientPragmaHeaders0
testVariantURIsAreFlushedAlso0.001
testCacheFlushException0.001
doesNotFlushForResponsesWithoutContentLocation0.001
flushesEntryIfFresherAndSpecifiedByContentLocation0.002
doesNotFlushEntryForUnsuccessfulResponse0.001
flushesEntryIfFresherAndSpecifiedByNonCanonicalContentLocation0.001
flushesEntryIfFresherAndSpecifiedByRelativeContentLocation0.004
doesNotFlushEntryIfContentLocationFromDifferentHost0.001
doesNotFlushEntrySpecifiedByContentLocationIfEtagsMatch0.001
doesNotFlushEntrySpecifiedByContentLocationIfOlder0.001
doesNotFlushEntryIfNotInCache0.001
doesNotFlushEntrySpecifiedByContentLocationIfResponseHasNoEtag0.001
doesNotFlushEntrySpecifiedByContentLocationIfEntryHasNoEtag0.001
flushesEntrySpecifiedByContentLocationIfResponseHasNoDate0.001
flushesEntrySpecifiedByContentLocationIfEntryHasNoDate0.001
flushesEntrySpecifiedByContentLocationIfResponseHasMalformedDate0.001
flushesEntrySpecifiedByContentLocationIfEntryHasMalformedDate0.001

TestCachedResponseSuitabilityChecker

testSuitableIfCacheEntryIsFresh0
testNotSuitableIfCacheEntryIsNotFresh0.001
testNotSuitableIfAgeExceedsRequestMaxAge0
testSuitableIfFreshAndAgeIsUnderRequestMaxAge0
testSuitableIfFreshAndFreshnessLifetimeGreaterThanRequestMinFresh0.001
testNotSuitableIfFreshnessLifetimeLessThanRequestMinFresh0
testSuitableEvenIfStaleButPermittedByRequestMaxStale0.001
testNotSuitableIfStaleButTooStaleForRequestMaxStale0
testMalformedCacheControlMaxAgeRequestHeaderCausesUnsuitableEntry0
testMalformedCacheControlMinFreshRequestHeaderCausesUnsuitableEntry0.001
testSuitableIfCacheEntryIsHeuristicallyFreshEnough0
testSuitableIfCacheEntryIsHeuristicallyFreshEnoughByDefault0
testNotSuitableIfRequestHasNoCache0.001
testNotSuitableIfContentLengthHeaderIsWrong0

TestEhcacheProtocolRequirements

test200ResponseToOPTIONSWithNoBodyShouldIncludeContentLengthZero0.019
testDoesNotForwardOPTIONSWhenMaxForwardsIsZeroOnAbsoluteURIRequest0.003
testDecrementsMaxForwardsWhenForwardingOPTIONSRequest0.005
testDoesNotAddAMaxForwardsHeaderToForwardedOPTIONSRequests0.004
testResponseToAHEADRequestMustNotHaveABody0.002
testHEADResponseWithUpdatedContentLengthFieldMakeACacheEntryStale0.015
testHEADResponseWithUpdatedContentMD5FieldMakeACacheEntryStale0.006
testHEADResponseWithUpdatedETagFieldMakeACacheEntryStale0.005
testHEADResponseWithUpdatedLastModifiedFieldMakeACacheEntryStale0.006
testResponsesToPOSTWithoutCacheControlOrExpiresAreNotCached0.002
testResponsesToPUTsAreNotCached0.002
testResponsesToDELETEsAreNotCached0.002
testForwardedTRACERequestsDoNotIncludeAnEntity0.002
testResponsesToTRACEsAreNotCached0.001
test204ResponsesDoNotContainMessageBodies0.001
test205ResponsesDoNotContainMessageBodies0.002
test206ResponseGeneratedFromCacheMustHaveContentRangeOrMultipartByteRangesContentType0.005
test206ResponseGeneratedFromCacheMustHaveABodyThatMatchesContentLengthHeaderIfPresent0.006
test206ResponseGeneratedFromCacheMustHaveDateHeader0.004
test206ResponseReturnedToClientMustHaveDateHeader0.002
test206ContainsETagIfA200ResponseWouldHaveIncludedIt0.004
test206ContainsContentLocationIfA200ResponseWouldHaveIncludedIt0.004
test206ResponseIncludesVariantHeadersIfValueMightDiffer0.011
test206ResponseToConditionalRangeRequestDoesNotIncludeOtherEntityHeaders0.003
test206ResponseToIfRangeWithStrongValidatorReturnsAllEntityHeaders0.009
test206ResponseIsNotCombinedWithPreviousContentIfETagDoesNotMatch0.004
test206ResponseIsNotCombinedWithPreviousContentIfLastModifiedDoesNotMatch0.005
test206ResponsesAreNotCachedIfTheCacheDoesNotSupportRangeAndContentRangeHeaders0.002
test303ResponsesAreNotCached0.001
test304ResponseDoesNotContainABody0.001
test304ResponseWithDateHeaderForwardedFromOriginIncludesDateHeader0.002
test304ResponseGeneratedFromCacheIncludesDateHeader0.003
test304ResponseGeneratedFromCacheIncludesEtagIfOriginResponseDid0.005
test304ResponseGeneratedFromCacheIncludesContentLocationIfOriginResponseDid0.007
test304ResponseGeneratedFromCacheIncludesExpiresCacheControlAndOrVaryIfResponseMightDiffer0.025
test304GeneratedFromCacheOnWeakValidatorDoesNotIncludeOtherEntityHeaders0.004
testNotModifiedOfNonCachedEntityShouldRevalidateWithUnconditionalGET0.005
testCacheEntryIsUpdatedWithNewFieldValuesIn304Response0.006
testMustReturnACacheEntryIfItCanRevalidateIt0.002
testMustIncludeWWWAuthenticateHeaderOnAnOrigin401Response0.001
testMustIncludeAllowHeaderFromAnOrigin405Response0.001
testMustIncludeProxyAuthenticateHeaderFromAnOrigin407Response0.002
testMustNotAddMultipartByteRangeContentTypeTo416Response0.001
testMustNotUseMultipartByteRangeContentTypeOnCacheGenerated416Responses0.003
testMustReturnAFreshEnoughCacheEntryIfItHasIt0.002
testMustServeAppropriateErrorOrWarningIfNoOriginCommunicationPossible0.001
testAttachesWarningHeaderWhenGeneratingStaleResponse0.001
test1xxWarningsAreDeletedAfterSuccessfulRevalidation0.006
test2xxWarningsAreNotDeletedAfterSuccessfulRevalidation0.011
testAgeHeaderPopulatedFromCacheEntryCurrentAge0.002
testHeuristicCacheOlderThan24HoursHasWarningAttached0.002
testKeepsMostRecentDateHeaderForFreshResponse0.005
testSubrangeGETWithWeakETagIsNotAllowed0.001
testPUTWithIfMatchWeakETagIsNotAllowed0
testPUTWithIfNoneMatchWeakETagIsNotAllowed0.001
testDELETEWithIfMatchWeakETagIsNotAllowed0.001
testDELETEWithIfNoneMatchWeakETagIsNotAllowed0.001
testSubrangeGETMustUseStrongComparisonForCachedResponse0.002
testValidationMustUseETagIfProvidedByOriginServer0.006
testConditionalRequestWhereNotAllValidatorsMatchCannotBeServedFromCache0.005
testConditionalRequestWhereAllValidatorsMatchMayBeServedFromCache0.004
testCacheWithoutSupportForRangeAndContentRangeHeadersDoesNotCacheA206Response0.002
test302ResponseWithoutExplicitCacheabilityIsNotReturnedFromCache0.003
testDoesNotModifyContentLocationHeaderFromOrigin0.002
testDoesNotModifyContentMD5HeaderFromOrigin0.002
testDoesNotModifyEtagHeaderFromOrigin0.002
testDoesNotModifyLastModifiedHeaderFromOrigin0.003
testDoesNotAddContentLocationToOriginResponse0.002
testDoesNotAddContentMD5ToOriginResponse0.003
testDoesNotAddEtagToOriginResponse0.002
testDoesNotAddLastModifiedToOriginResponse0.002
testDoesNotModifyContentLocationFromOriginOnCacheHit0.004
testDoesNotModifyContentMD5FromOriginOnCacheHit0.003
testDoesNotModifyEtagFromOriginOnCacheHit0.004
testDoesNotModifyLastModifiedFromOriginOnCacheHit0.004
testDoesNotAddContentLocationHeaderOnCacheHit0.003
testDoesNotAddContentMD5HeaderOnCacheHit0.004
testDoesNotAddETagHeaderOnCacheHit0.003
testDoesNotAddLastModifiedHeaderOnCacheHit0.003
testDoesNotModifyContentLocationHeaderOnRequest0.002
testDoesNotModifyContentMD5HeaderOnRequest0.001
testDoesNotModifyETagHeaderOnRequest0.002
testDoesNotModifyLastModifiedHeaderOnRequest0.001
testDoesNotAddContentLocationToRequestIfNotPresent0.002
testDoesNotAddContentMD5ToRequestIfNotPresent0.001
testDoesNotAddETagToRequestIfNotPresent0.002
testDoesNotAddLastModifiedToRequestIfNotPresent0.001
testDoesNotModifyExpiresHeaderFromOrigin0.003
testDoesNotModifyExpiresHeaderFromOriginOnCacheHit0.003
testExpiresHeaderMatchesDateIfAddedToOriginResponse0.002
testExpiresHeaderMatchesDateIfAddedToCacheHit0.004
testDoesNotModifyContentEncodingHeaderFromOriginResponseWithNoTransform0.003
testDoesNotModifyContentRangeHeaderFromOriginResponseWithNoTransform0.001
testDoesNotModifyContentTypeHeaderFromOriginResponseWithNoTransform0.003
testDoesNotModifyContentEncodingHeaderOnCachedResponseWithNoTransform0.005
testDoesNotModifyContentTypeHeaderOnCachedResponseWithNoTransform0.006
testDoesNotModifyContentRangeHeaderOnCachedResponseWithNoTransform0.007
testDoesNotAddContentEncodingHeaderToOriginResponseWithNoTransformIfNotPresent0.003
testDoesNotAddContentRangeHeaderToOriginResponseWithNoTransformIfNotPresent0.002
testDoesNotAddContentTypeHeaderToOriginResponseWithNoTransformIfNotPresent0.002
testDoesNotAddContentEncodingHeaderToCachedResponseWithNoTransformIfNotPresent0.004
testDoesNotAddContentRangeHeaderToCachedResponseWithNoTransformIfNotPresent0.004
testDoesNotAddContentTypeHeaderToCachedResponseWithNoTransformIfNotPresent0.004
testDoesNotAddContentEncodingToRequestIfNotPresent0.001
testDoesNotAddContentRangeToRequestIfNotPresent0.001
testDoesNotAddContentTypeToRequestIfNotPresent0.002
testDoesNotAddContentEncodingHeaderToRequestIfNotPresent0.002
testDoesNotAddContentRangeHeaderToRequestIfNotPresent0.003
testDoesNotAddContentTypeHeaderToRequestIfNotPresent0.002
testResponseIncludesCacheEntryEndToEndHeadersForResponseAfter304Validation0.008
testUpdatedEndToEndHeadersFrom304ArePassedOnResponseAndUpdatedInCacheEntry0.011
testMultiHeadersAreSuccessfullyReplacedOn304Validation0.007
testCannotCombinePartialResponseIfIncomingResponseDoesNotHaveACacheValidator0.004
testCannotCombinePartialResponseIfCacheEntryDoesNotHaveACacheValidator0.003
testCannotCombinePartialResponseIfCacheValidatorsDoNotStronglyMatch0.003
testMustDiscardLeastRecentPartialResponseIfIncomingRequestDoesNotHaveCacheValidator0.004
testMustDiscardLeastRecentPartialResponseIfCachedResponseDoesNotHaveCacheValidator0.003
testMustDiscardLeastRecentPartialResponseIfCacheValidatorsDoNotStronglyMatch0.003
testMustDiscardLeastRecentPartialResponseIfCacheValidatorsDoNotStronglyMatchEvenIfResponsesOutOfOrder0.003
testMustDiscardCachedPartialResponseIfCacheValidatorsDoNotStronglyMatchAndDateHeadersAreEqual0.003
testCannotUseVariantCacheEntryIfNotAllSelectingRequestHeadersMatch0.007
testCannotServeFromCacheForVaryStar0.003
testNonmatchingVariantCannotBeServedFromCacheUnlessConditionallyValidated0.007
testIncompleteResponseMustNotBeReturnedToClientWithoutMarkingItAs2060.002
testPutToUriInvalidatesCacheForThatUri0.006
testDeleteToUriInvalidatesCacheForThatUri0.004
testPostToUriInvalidatesCacheForThatUri0.005
testPutInvalidatesCacheForThatUriInContentLocationHeader0.004
testPutInvalidatesCacheForThatUriInLocationHeader0.004
testPutInvalidatesCacheForThatUriInRelativeContentLocationHeader0.004
testOrderOfMultipleTransferEncodingsInSingleHeadersIsPreserved0.002
testVaryStarIsNotGeneratedByProxy0.002
testProperlyFormattedViaHeaderIsAddedToRequests0.003
testProperlyFormattedViaHeaderIsAddedToResponses0.007
testViaHeaderOnRequestProperlyRecordsClientProtocol0.004
testViaHeaderOnResponseProperlyRecordsOriginProtocol0.001
testRetainsWarningHeadersReceivedFromUpstream0.003
testUpdatesWarningHeadersOnValidation0.007
testWarnDatesAreAddedToWarningsOnLowerProtocolVersions0.003
testStripsBadlyDatedWarningsFromForwardedResponses0.002
testStripsBadlyDatedWarningsFromStoredResponses0.002
testRemovesWarningHeaderIfAllWarnValuesAreBadlyDated0.003
testDeleteInvalidatesCacheForThatUriInContentLocationHeader0.004
testDeleteInvalidatesCacheForThatUriInRelativeContentLocationHeader0.004
testDeleteInvalidatesCacheForThatUriInLocationHeader0.003
testPostInvalidatesCacheForThatUriInContentLocationHeader0.005
testPostInvalidatesCacheForThatUriInLocationHeader0.004
testPostInvalidatesCacheForRelativeUriInContentLocationHeader0.003
testPutDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts0.004
testPutDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts0.004
testPostDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts0.003
testPostDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts0.004
testDeleteDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts0.004
testDeleteDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts0.006
testOPTIONSRequestsAreWrittenThroughToOrigin 0
skipped
testPOSTRequestsAreWrittenThroughToOrigin0.002
testPUTRequestsAreWrittenThroughToOrigin0.002
testDELETERequestsAreWrittenThroughToOrigin0.003
testTRACERequestsAreWrittenThroughToOrigin0.002
testCONNECTRequestsAreWrittenThroughToOrigin0.003
testUnknownMethodRequestsAreWrittenThroughToOrigin0.002
testTransmitsAgeHeaderIfIncomingAgeHeaderTooBig0.003
testDoesNotModifyAllowHeaderWithUnknownMethods0.003
testSharedCacheMustNotNormallyCacheAuthorizedResponses0.004
testSharedCacheMayCacheAuthorizedResponsesWithSMaxAgeHeader0.004
testSharedCacheMustRevalidateAuthorizedResponsesWhenSMaxAgeIsZero0.005
testSharedCacheMayCacheAuthorizedResponsesWithMustRevalidate0.005
testSharedCacheMayCacheAuthorizedResponsesWithCacheControlPublic0.005
testSharedCacheMustUseNewRequestHeadersWhenRevalidatingAuthorizedResponsesWithSMaxAge0.004
testSharedCacheMustUseNewRequestHeadersWhenRevalidatingAuthorizedResponsesWithMustRevalidate0.004
testWarning110IsAddedToStaleResponses0.003
testDoesNotTransmitNoCacheDirectivesWithFieldsDownstream0.001
testCacheIsNotUsedWhenRespondingToRequestWithCacheControlNoCache0.004
testCacheIsNotUsedWhenRespondingToRequestWithPragmaNoCache0.004
testStaleEntryWithMustRevalidateIsNotUsedWithoutRevalidatingWithOrigin0.006
testGenerates504IfCannotRevalidateAMustRevalidateEntry0.004
testStaleEntryWithProxyRevalidateOnSharedCacheIsNotUsedWithoutRevalidatingWithOrigin0.005
testGenerates504IfSharedCacheCannotRevalidateAProxyRevalidateEntry0.004
testCacheControlPrivateIsNotCacheableBySharedCache0.003
testCacheControlPrivateOnFieldIsNotReturnedBySharedCache0.004
testNoCacheCannotSatisfyASubsequentRequestWithoutRevalidation0.004
testNoCacheCannotSatisfyASubsequentRequestWithoutRevalidationEvenWithContraryIndications0.005
testNoCacheOnFieldIsNotReturnedWithoutRevalidation0
testNoStoreOnRequestIsNotStoredInCache0.002
testNoStoreOnRequestIsNotStoredInCacheEvenIfResponseMarkedCacheable0.002
testNoStoreOnResponseIsNotStoredInCache0.001
testNoStoreOnResponseIsNotStoredInCacheEvenWithContraryIndicators0.002
testOrderOfMultipleContentEncodingHeaderValuesIsPreserved0.002
testOrderOfMultipleParametersInContentEncodingHeaderIsPreserved0.003
testCacheDoesNotAssumeContentLocationHeaderIndicatesAnotherCacheableResource0.005
testCachedResponsesWithMissingDateHeadersShouldBeAssignedOne0.002
testMalformedExpiresHeaderIsTreatedAsStale0.008
testExpiresZeroHeaderIsTreatedAsStale0.007
testExpiresHeaderEqualToDateHeaderIsTreatedAsStale0.006
testDoesNotModifyServerResponseHeader0.003
testOrderOfMultipleTransferEncodingHeadersIsPreserved0.013
testOrderOfMultipleCacheControlHeadersIsPreservedOnRequests0.002
testOrderOfMultipleContentEncodingHeadersIsPreservedOnRequests0.001
testOrderOfMultipleContentLanguageHeadersIsPreservedOnRequests0.002
testOrderOfMultipleExpectHeadersIsPreservedOnRequests0.001
testOrderOfMultiplePragmaHeadersIsPreservedOnRequests0.002
testOrderOfMultipleViaHeadersIsPreservedOnRequests0.002
testOrderOfMultipleWarningHeadersIsPreservedOnRequests0.002
testOrderOfMultipleAllowHeadersIsPreservedOnResponses0.001
testOrderOfMultipleCacheControlHeadersIsPreservedOnResponses0.003
testOrderOfMultipleContentEncodingHeadersIsPreservedOnResponses0.002
testOrderOfMultipleContentLanguageHeadersIsPreservedOnResponses0.002
testOrderOfMultiplePragmaHeadersIsPreservedOnResponses0.003
testOrderOfMultipleViaHeadersIsPreservedOnResponses0.003
testOrderOfMultipleWWWAuthenticateHeadersIsPreservedOnResponses0.003
testUnknownResponseStatusCodesAreNotCached0.749
testUnknownHeadersOnRequestsAreForwarded0.002
testUnknownHeadersOnResponsesAreForwarded0.001
testRequestsExpecting100ContinueBehaviorShouldSetExpectHeader0.034
testRequestsNotExpecting100ContinueBehaviorShouldNotSetExpectContinueHeader0.001
testExpect100ContinueIsNotSentIfThereIsNoRequestBody0.001
testExpectHeadersAreForwardedOnRequests0.001
test100ContinueResponsesAreNotForwardedTo1_0ClientsWhoDidNotAskForThem0.001
testResponsesToOPTIONSAreNotCacheable0.001
testCacheMissOnGETUsesOriginResponse0.002
testHigherMajorProtocolVersionsOnRequestSwitchToTunnelBehavior0.001
testHigher1_XProtocolVersionsDowngradeTo1_10.014
testRequestsWithLowerProtocolVersionsGetUpgradedTo1_10.001
testLowerOriginResponsesUpgradedToOurVersion1_10.002
testResponseToA1_0RequestShouldUse1_10.001
testForwardsUnknownHeadersOnRequestsFromHigherProtocolVersions0.002
testTransferCodingsAreNotSentToAnHTTP_1_0Client0.002
testOrderOfMultipleAcceptHeaderValuesIsPreservedOnRequests0.002
testOrderOfMultipleAcceptCharsetHeadersIsPreservedOnRequests0.001
testOrderOfMultipleAcceptEncodingHeadersIsPreservedOnRequests0.002
testOrderOfMultipleAcceptLanguageHeadersIsPreservedOnRequests0.001
testOrderOfMultipleAllowHeadersIsPreservedOnRequests0.001

TestCombinedEntity

testCombinedEntityBasics0.003

TestMemcachedCacheEntryImpl

canBeCreatedEmpty0
canBeSerialized0.001
knowsItsCacheKey0
knowsItsCacheEntry0
canBeReconstitutedFromByteArray0.004
cannotReconstituteFromGarbage0.005

TestResponseProtocolCompliance

consumesBodyIfOriginSendsOneInResponseToHEAD0
throwsExceptionIfOriginReturnsPartialResponseWhenNotRequested0
consumesPartialContentFromOriginEvenIfNotRequested0
consumesBodyOf100ContinueResponseIfItArrives0


Failure Details

[Summary] [Package List] [Test Cases]



testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped
testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped