Surefire Report

Summary

[Summary] [Package List] [Test Cases]



TestsErrors FailuresSkippedSuccess RateTime
106700299.813%10.343


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.cache29000100%0.214
org.apache.http.impl.client.cache.memcached29000100%0.134
org.apache.http.impl.client.cache.ehcache24000199.583%1.324
org.apache.http.impl.client.cache76900199.87%8.671


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

org.apache.http.client.cache

ClassTestsErrors FailuresSkippedSuccess RateTime
TestHttpCacheEntry29000100%0.214

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

ClassTestsErrors FailuresSkippedSuccess RateTime
TestMemcachedHttpCacheStorage20000100%0.101
TestSHA256HashingScheme1000100%0.013
TestMemcachedCacheEntryImpl6000100%0.019
TestMemcachedCacheEntryFactoryImpl1000100%0
TestPrefixKeyHashingScheme1000100%0.001

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

ClassTestsErrors FailuresSkippedSuccess RateTime
TestEhcacheProtocolRequirements23200199.569%1.283
TestEhcacheHttpCacheStorage8000100%0.041


Test Cases

[Summary] [Package List] [Test Cases]

TestCacheValidityPolicy

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

TestMemcachedHttpCacheStorage

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

TestExponentialBackingOffSchedulingStrategy

testScheduleWithFiveFailedAttempts0.01
testScheduleWithThreeFailedAttempts0
testScheduleWithSixFailedAttempts0.001
testScheduleWithOneFailedAttempt0
testScheduleWithFourFailedAttempts0.001
testScheduleWithMaxNumberOfFailedAttempts0.001
testScheduleWithTwoFailedAttempts0
testScheduleWithoutPreviousError0.001

TestBasicHttpCache

testRecognizesComplete200Response0
testDoNotFlushCacheEntriesOnOptions0.001
testEntryUpdate0.002
testOriginalResponseWithNoContentSizeHeaderIsReleased0.002
testDoNotFlushCacheEntriesOnTrace0.001
testGetVariantCacheEntriesReturnsAllVariants0.002
testIncompleteResponseErrorProvidesPlainTextErrorMessage0
testTooLargeResponsesAreNotCached0.002
testDoNotFlushContentLocationEntryIfSafeRequest0
testCanFlushCacheEntriesAtUri0.002
testStoreInCachePutsNonVariantEntryInPlace0
testIgnoresIncompleteNon200Or206Responses0.001
testResponsesWithUnparseableContentLengthHeaderAreComplete0
testNullResourcesAreComplete0
testGetCacheEntryReturnsNullIfNoVariantInCache0.001
testRecognizesIncomplete200Response0.001
testGetCacheEntryReturnsNullOnCacheMiss0
testFlushContentLocationEntryIfUnSafeRequest0.001
testRecognizesComplete206Response0
testDoNotFlushCacheEntriesOnGet0.001
testDoNotFlushCacheEntriesOnHead0.001
testCacheUpdateAddsVariantURIToParentEntry0.003
testIncompleteResponseErrorProvidesNonEmptyErrorMessage0
testGetCacheEntryFetchesFromCacheOnCacheHitIfNoVariants0
testSmallEnoughResponsesAreCached0
testGetCacheEntryReturnsVariantIfPresentInCache0
testResponsesWithoutExplicitContentLengthAreComplete0
testGetVariantCacheEntriesReturnsEmptySetOnNoVariants0.001

TestEhcacheProtocolRequirements

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

TestImmediateSchedulingStrategy

testRequestScheduledImmediately0.008

TestCacheInvalidator

flushesEntrySpecifiedByContentLocationIfEntryHasNoDate0.007
flushesEntryIfFresherAndSpecifiedByContentLocation0.002
doesNotFlushEntrySpecifiedByContentLocationIfEtagsMatch0.002
testInvalidatesUrisInLocationHeadersOnPUTs0.004
testDoesNotInvalidateGETCacheEntryIfSubsequentGETRequestsAreMadeToTheSameURI0.002
flushesEntryIfFresherAndSpecifiedByRelativeContentLocation0.002
testVariantURIsAreFlushedAlso0.002
testCacheFlushException0.002
testDoesNotInvalidateUrisInContentLocationHeadersOnPUTsToDifferentHosts0.002
doesNotFlushEntryForUnsuccessfulResponse0.001
testInvalidatesUrisInContentLocationHeadersOnPUTs0.003
testDoesNotInvalidateHEADCacheEntry0.001
doesNotFlushEntrySpecifiedByContentLocationIfResponseHasNoEtag0.002
flushesEntryIfFresherAndSpecifiedByLocation0.003
testInvalidatesHEADCacheEntryIfSubsequentGETRequestsAreMadeToTheSameURI0.003
doesNotFlushEntryIfContentLocationFromDifferentHost0.002
testInvalidatesRelativeUrisInContentLocationHeadersOnPUTs0.002
doesNotFlushEntrySpecifiedByContentLocationIfEntryHasNoEtag0.002
flushesEntryIfFresherAndSpecifiedByNonCanonicalContentLocation0.002
flushesEntrySpecifiedByContentLocationIfEntryHasMalformedDate0.002
testDoesNotInvalidateHEADCacheEntryIfSubsequentHEADRequestsAreMadeToTheSameURI0.001
doesNotFlushForResponsesWithoutContentLocation0.001
flushesEntrySpecifiedByContentLocationIfResponseHasMalformedDate0.002
testDoesNotInvalidateHEADRequest0.001
doesNotFlushEntryIfNotInCache0.001
doesNotFlushEntrySpecifiedByContentLocationIfOlder0.001
testInvalidatesVariantHEADCacheEntriesIfSubsequentGETRequestsAreMadeToTheSameURI0.003
testDoesNotInvalidateGETRequest0.001
testInvalidatesRequestsThatArentGETorHEAD0.002
testDoesNotInvalidateRequestsWithClientCacheControlHeaders0.001
flushesEntrySpecifiedByContentLocationIfResponseHasNoDate0.002
testDoesNotInvalidateRequestsWithClientPragmaHeaders0

TestResponseCachingPolicy

test303WithExplicitCachingHeadersUnderDefaultBehavior0
testPlain303ResponseCodeIsNotCacheableEvenIf303CachingEnabled0
testPlain303ResponseCodeIsNotCacheableUnderDefaultBehavior0
testIsArbitraryMethodCacheableUsingSharedPublicCache0.001
testIsHeadCacheable0
testResponsesToGETWithQueryParamsAndExplicitCachingAreCacheable0
testIsArbitraryMethodCacheable0.001
test410ResponseCodeIsCacheable0
test206ResponseCodeIsNotCacheable0
testNon206WithSMaxAgeIsCacheable0
testNon206WithPrivateCacheControlIsNotCacheableBySharedCache0.001
testIsGetWithAnyCacheControlCacheable0
headsWithQueryParametersFrom1_0OriginsViaExplicitProxiesCanNotBeCacheableEvenWithExpires0
getsWithQueryParametersFrom1_0OriginsViaProxiesAreCacheableWithExpires0
testResponsesWithMultipleExpiresHeadersAreNotCacheable0
testIsHeadWithNoCacheEmbeddedInListCacheable0
headsWithQueryParametersDirectlyFrom1_0OriginsAreCacheableWithExpires0
testIsHeadWithAnyCacheControlCacheable0
testVaryStarIsNotCacheableUsingSharedPublicCache0
testIsHeadWithVaryHeaderCacheable0.001
testAuthorizedResponsesWithCacheControlPublicAreCacheable0
testPlain302ResponseCodeIsNotCacheable0
testResponsesToHEADWithQueryParamsAndExplicitCachingAreCacheable0.001
notCacheableIfExpiresPrecedesDateAndNoCacheControl0
headsWithQueryParametersFrom1_0OriginsViaProxiesAreNotCacheable0.001
test302WithExplicitCachingHeaders0
test303WithExplicitCachingHeadersWhenPermittedByConfig0
testResponsesToHEADWithQueryParamsButNoExplicitCachingAreNotCacheableEvenWhen1_0QueryCachingDisabled0.001
test206ResponseCodeIsNotCacheableUsingSharedPublicCache0
headsWithQueryParametersFrom1_0OriginsViaProxiesCanNotBeCacheableEvenWithExpires0
testResponsesWithMalformedDateHeadersAreNotCacheableUsingSharedPublicCache0
testIsGetWithNoCacheEmbeddedInListCacheable0
notCacheableIfExpiresEqualsDateAndNoCacheControl0
testResponsesToRequestsWithNoStoreAreNotCacheable0
testResponsesWithoutDateHeadersAreNotCacheable0
testResponsesToHEADWithQueryParamsButNoExplicitCachingAreNotCacheable0
testIsGetWithNoStoreCacheable0
testIsGetWithNoCacheCacheable0.001
testPlain307ResponseCodeIsNotCacheable0
getsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheable0
test307WithExplicitCachingHeaders0.001
testResponsesToRequestsWithAuthorizationHeadersAreCacheableByNonSharedCache0
testNon206WithMustRevalidateIsCacheable0.001
getsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheableEvenWithSetting0
testResponsesWithMalformedDateHeadersAreNotCacheable0
testResponsesWithMultipleDateHeadersAreNotCacheableUsingSharedPublicCache0.001
testResponsesWithMultipleAgeHeadersAreNotCacheableUsingSharedPublicCache0
testResponsesWithMultipleExpiresHeadersAreNotCacheableUsingSharedPublicCache0.001
headsWithQueryParametersFrom1_0OriginsViaExplicitProxiesAreCacheableWithExpires0.002
testIsHeadWithout200Cacheable0
testResponsesToRequestsWithAuthorizationHeadersAreNotCacheableBySharedCache0
getsWithQueryParametersDirectlyFrom1_0OriginsAreCacheableWithExpires0
testIsHeadWithNoStoreCacheable0
testResponsesToHEADWithQueryParamsAndExplicitCachingAreCacheableEvenWhen1_0QueryCachingDisabled0
testIsGetWithNoCacheEmbeddedInListAfterFirstHeaderCacheable0
testIsHeadWithNoCacheCacheable0
headsWithQueryParametersFrom1_0OriginsViaProxiesAreCacheableWithExpires0
test203ResponseCodeIsCacheable0.001
testIsGetWithNoStoreEmbeddedInListAfterFirstHeaderCacheable0
test301ResponseCodeIsCacheable0
testNon206WithExplicitExpiresIsCacheable0
headsWithQueryParametersDirectlyFrom1_0OriginsCanBeNotCacheableEvenWithExpires0
testResponsesWithMultipleDateHeadersAreNotCacheable0
test300ResponseCodeIsCacheable0
testNon206WithMaxAgeIsCacheable0
testResponsesToGETWithQueryParamsAndExplicitCachingAreCacheableEvenWhen1_0QueryCachingDisabled0.001
getsWithQueryParametersFrom1_0OriginsViaProxiesCanNotBeCacheableEvenWithExpires0
test200ResponseWithPrivateCacheControlIsCacheableByNonSharedCache0.001
testAuthorizedResponsesWithCacheControlMaxAgeAreNotCacheable0
getsWithQueryParametersFrom1_0OriginsViaExplicitProxiesCanNotBeCacheableEvenWithExpires0
getsWithQueryParametersDirectlyFrom1_0OriginsCanBeNotCacheableEvenWithExpires0
testResponsesWithMultipleAgeHeadersAreNotCacheable0
headsWithQueryParametersFrom1_1OriginsVia1_0ProxiesAreCacheableWithExpires0
testIsGetWithVaryHeaderCacheable0.001
testResponsesToGETWithQueryParamsButNoExplicitCachingAreNotCacheableEvenWhen1_0QueryCachingDisabled0
getsWithQueryParametersFrom1_1OriginsVia1_0ProxiesAreCacheableWithExpires0
testResponseThatHasTooMuchContentIsNotCacheable0.001
testAuthorizedResponsesWithSMaxAgeAreCacheable0
getsWithQueryParametersFrom1_0OriginsViaProxiesAreNotCacheable0
testIsHeadWithNoStoreEmbeddedInListCacheable0.001
testResponsesThatAreSmallEnoughAreCacheable0
testNon206WithPublicCacheControlIsCacheable0
testResponseThatHasTooMuchContentIsNotCacheableUsingSharedPublicCache0
testIsGetWithNoStoreEmbeddedInListCacheable0
getsWithQueryParametersFrom1_0OriginsViaExplicitProxiesAreCacheableWithExpires0
testIsHeadWithNoCacheEmbeddedInListAfterFirstHeaderCacheable0.001
testVaryStarIsNotCacheable0
testIsGetCacheable0
testIsHeadWithNoStoreEmbeddedInListAfterFirstHeaderCacheable0.001
testAuthorizedResponsesWithMustRevalidateAreCacheable0
testIsGetWithout200Cacheable0
testNon206WithProxyRevalidateIsCacheable0
testResponsesToGETWithQueryParamsButNoExplicitCachingAreNotCacheable0
otherStatusCodesAreCacheableWithExplicitCachingHeaders0
headsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheable0
headsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheableEvenWithSetting0

TestHttpCacheJiraNumber1147

testIssue11470.007

TestCombinedEntity

testCombinedEntityBasics0

TestAsynchronousValidationRequest

testRunGracefullyHandlesProtocolException0.065
testRunGracefullyHandlesIOException0.002
testRunCallsCachingClientAndRemovesIdentifier0.003
testRunGracefullyHandlesRuntimeException0.003
testRunReportsJobFailedForStaleResponse0.004
testRunReportsJobFailedForServerError0.004

TestConditionalRequestBuilder

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

TestCacheKeyGenerator

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

TestSHA256HashingScheme

canHash0.013

TestWarningValue

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

TestDefaultFailureCache

testResetErrorCount0
testMaxSize0
testIncrementErrorCount0

TestCachedResponseSuitabilityChecker

testNotSuitableIfContentLengthHeaderIsWrong0
testNotSuitableIfStaleButTooStaleForRequestMaxStale0
testNotSuitableIfRequestHasNoCache0
testNotSuitableIfAgeExceedsRequestMaxAge0
testSuitableIfRequestMethodisHEAD0
testSuitableIfFreshAndFreshnessLifetimeGreaterThanRequestMinFresh0.001
testNotSuitableIfFreshnessLifetimeLessThanRequestMinFresh0
testMalformedCacheControlMinFreshRequestHeaderCausesUnsuitableEntry0.001
testNotSuitableIfCacheEntryIsNotFresh0
testSuitableForGETIfHeadResponseCachingEnabledAndEntryDoesNotSpecifyARequestMethodButContains204Response0
testMalformedCacheControlMaxAgeRequestHeaderCausesUnsuitableEntry0
testSuitableIfCacheEntryIsHeuristicallyFreshEnoughByDefault0
testSuitableEvenIfStaleButPermittedByRequestMaxStale0.001
testNotSuitableIfRequestMethodIsGETAndEntryResourceIsNull0
testNotSuitableForGETIfEntryDoesNotSpecifyARequestMethodOrEntity0.001
testSuitableIfFreshAndAgeIsUnderRequestMaxAge0.001
testSuitableForGETIfEntryDoesNotSpecifyARequestMethodButContainsEntity0.001
testSuitableIfCacheEntryIsHeuristicallyFreshEnough0
testSuitableForHEADIfHeadResponseCachingEnabledAndEntryDoesNotSpecifyARequestMethod0.001
testSuitableIfCacheEntryIsFresh0

TestMemcachedCacheEntryImpl

knowsItsCacheEntry0.001
knowsItsCacheKey0
canBeSerialized0.009
canBeReconstitutedFromByteArray0.007
canBeCreatedEmpty0
cannotReconstituteFromGarbage0.001

TestHttpCacheEntrySerializers

canSerializeEntriesWithVariantMaps0

TestCachingExec

testRevalidationCallsHandleBackEndResponseWhenNot200Or3040.3
testUnsuitableValidatableCacheEntryCausesRevalidation0.006
testRequestThatCannotBeServedFromCacheCausesBackendRequest0.003
testUnsuitableUnvalidatableCacheEntryCausesBackendRequest0.004
testCallBackendMakesBackEndRequestAndHandlesResponse0.005
testRevalidationUpdatesCacheEntryAndPutsItToCacheWhen304ReturningCachedResponse0.003
testCacheMissCausesBackendRequest0.003
testRevalidationRewritesAbsoluteUri0.008
testEndlessResponsesArePassedThrough0.026
testReturns304ForIfNoneMatchPassesIfRequestServedFromOrigin0.008
testSetsRouteInContextOnCacheHit0.007
testVariantsMissServerReturns304CacheReturns3040.011
testReturns304ForIfModifiedSinceHeaderIfRequestServedFromCache0.005
testReturns304ForIfNoneMatchHeaderIfRequestServedFromCache0.004
testIfOnlyIfCachedAndNoCacheEntryBackendNotCalled0.003
testSocketTimeoutExceptionIsNotSilentlyCatched0.008
testIfOnlyIfCachedAndEntryNotSuitableBackendNotCalled0.003
testSetsModuleGeneratedResponseContextForCacheOptionsResponse0.003
testTreatsCacheIOExceptionsAsCacheMiss0.003
testReturns200ForIfNoneMatchHeaderFails0.005
testSetsViaHeaderOnResponseIfRequestServedFromCache0.004
testSetsCacheMissContextIfRequestNotServableFromCache0.004
testReturns200ForOptionsFollowedByGetIfAuthorizationHeaderAndSharedCache0.004
testDoesNotSetConnectionInContextOnCacheHit0.005
testNonCompliantRequestWrapsAndReThrowsProtocolException0.003
testSetsResponseInContextOnCacheHit0.004
testReturns304ForIfNoneMatchHeaderAndIfModifiedSinceIfRequestServedFromCache0.004
testReturns200ForIfNoneMatchFailsIfRequestServedFromOrigin0.005
testNewerCacheableResponsesReplaceExistingCacheEntry0.005
testReturns200ForIfModifiedSinceDateIsInvalid0.005
testSetViaHeaderIfValidationFailsButNotRequired0.004
testSetsModuleResponseContextIfValidationFailsButNotRequired0.003
testDoesNotSend304ForNonConditionalRequest0.005
testIfOnlyIfCachedAndEntryExistsAndIsSuitableReturnsEntry0.003
testNoEntityForIfNoneMatchRequestNotYetInCache0.004
testSetsCacheHitContextIfRequestServedFromCache0.004
testCanCacheAResponseWithoutABody0.004
testSetsRequestInContextOnCacheHit0.004
testResponseIsGeneratedWhenCacheEntryIsUsable0.003
testSetsModuleResponseContextIfValidationRequiredButFailed0.004
testUsesVirtualHostForCacheKey0.005
testReturns304ForIfModifiedSinceHeaderIf304ResponseInCache0.005
testSetsViaHeaderOnResponseIfRequestNotServableFromCache0.003
testVariantMissServerIfReturns304CacheReturns2000.007
testSetsRequestSentInContextOnCacheHit0.004
testIsSharedCache0.001
testSetsModuleGeneratedResponseContextForFatallyNoncompliantRequest0.003
testReturns200ForIfModifiedSinceDateIsLess0.006
testOlderCacheableResponsesDoNotGoIntoCache0.005
testSuitableCacheEntryDoesNotCauseBackendRequest0.002
testNotModifiedResponseUpdatesCacheEntryWhenNoEntity0.005
testSetsViaHeaderOnResponseForCacheMiss0.003
testSetsTargetHostInContextOnCacheHit0.003
testNonCacheableResponseIsNotCachedAndIsReturnedAsIs0.003
testSetsViaHeaderIfRequestWasSuccessfullyValidated0.006
testReturns200ForIfNoneMatchHeaderFailsIfModifiedSinceIgnored0.005
testCacheableResponsesGoIntoCache0.005
testNotModifiedResponseWithVaryUpdatesCacheEntryWhenNoEntity0.005
testSetsValidatedContextIfRequestWasSuccessfullyValidated0.006
testReturns200ForIfModifiedSinceFailsIfRequestServedFromOrigin0.005
testRecordsClientProtocolInViaHeaderIfRequestNotServableFromCache0.004
testReturns304ForIfModifiedSincePassesIfRequestServedFromOrigin0.004

TestRequestProtocolCompliance

testRequestWithWeakETagAndRange0
doesNotModifyACompliantRequest0
testRequestWithWeekETagForPUTOrDELETEIfMatchAllowed0.001
upgrades1_0RequestTo1_10
testRequestWithWeekETagForPUTOrDELETEIfMatch0
downgrades1_2RequestTo1_10
doesNotStripMinFreshFromRequestWithoutNoCache0
testRequestContainsNoCacheDirectiveWithFieldName0
stripsMinFreshFromRequestIfNoCachePresent0
stripsMaxFreshFromRequestIfNoCachePresent0
removesEntityFromTRACERequest0
correctlyStripsMinFreshFromMiddleIfNoCache0
stripsMaxAgeFromRequestIfNoCachePresent0

TestCachingHttpClientBuilder

testAsynchronousWorkersMax00.003
testNullCacheConfig0.005

TestProtocolDeviations

testPassesOnOrigin407WithoutAProxyAuthenticateHeader0.003
testPassesOnOrigin401ResponseWithoutWWWAuthenticateHeader0.001
testOPTIONSRequestsWithBodiesAndNoContentTypeHaveOneSupplied0.001
testPassesOnOrigin405WithoutAllowHeader0.001
testPartialContentIsNotReturnedToAClientThatDidNotAskForIt0.001

TestResponseProtocolCompliance

throwsExceptionIfOriginReturnsPartialResponseWhenNotRequested0
consumesPartialContentFromOriginEvenIfNotRequested0
consumesBodyIfOriginSendsOneInResponseToHEAD0
consumesBodyOf100ContinueResponseIfItArrives0

TestStaleWhileRevalidationReleasesConnection

testStaleWhileRevalidate6.337

TestSizeLimitedResponseReader

testTooLargeEntityHasOriginalContentTypes0
testResponseCopiesAllOriginalHeaders0
testSmallResponseIsNotTooLarge0
testResponseWithNoEntityIsNotTooLarge0
testLargeResponseIsTooLarge0
testExactSizeResponseIsNotTooLarge0
testTooLargeResponseCombinedClosed0

TestProtocolRequirements

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

TestMemcachedCacheEntryFactoryImpl

createsMemcachedCacheEntryImpls0

TestHttpCacheEntry

canRetrieveOriginalStatusLine0.13
mustProvideStatusLine0
canConstructWithoutVariants0
testMissingDateHeaderIsIgnored0.001
testGetHeadersReturnsEmptyArrayIfNoneMatch0.001
testCacheEntryWithVaryStarHasVariants0.001
testGetHeadersReturnsCorrectHeaders0
statusCodeComesFromOriginalStatusLine0
testGetMethodReturnsCorrectRequestMethod0.001
canGetOriginalRequestDate0
canRetrieveOriginalVariantMap0
canGetOriginalResource0.001
testCacheEntryWithOneVaryHeaderHasVariants0
mustProvideResponseDate0
protocolVersionComesFromOriginalStatusLine0.001
retrievedVariantMapIsNotModifiable0.001
reasonPhraseComesFromOriginalStatusLine0
testGetFirstHeaderReturnsNullIfNoneMatch0
mustProvideResponseHeaders0
testGetFirstHeaderReturnsCorrectHeader0
canProvideVariantMap0.001
testCacheEntryWithNoVaryHeaderDoesNotHaveVariants0
canGetOriginalResponseDate0
canConvertToString0.013
testMalformedDateHeaderIsIgnored0.008
testValidDateHeaderIsParsed0.001
mustProvideRequestDate0
testCacheEntryWithMultipleVaryHeadersHasVariants0
canGetOriginalHeaders0.002

TestCacheableRequestPolicy

testIsGetServableFromCache0
testIsHeadServableFromCache0
testIsGetWithCacheControlServableFromCache0
testIsHeadWithCacheControlServableFromCache0
testIsGetWithPragmaServableFromCache0
testIsArbitraryMethodServableFromCache0
testIsHeadWithPragmaServableFromCache0

TestCachedHttpResponseGenerator

testAgeHeaderIsNotPopulatedIfCurrentAgeOfCacheEntryIsZero0.01
testAgeHeaderIsPopulatedWithCurrentAgeOfCacheEntryIfNonZero0.001
testResponseDoesNotContainEntityToServeHEADRequestIfEntryContainsResource0.001
testResponseStatusCodeMatchesCacheEntry0
testContentLengthIsNotAddedWhenTransferEncodingIsPresent0.001
testResponseMatchesCacheEntry0
testResponseContainsEntityToServeGETRequestIfEntryContainsResource0
testResponseHasContentLength0
testAgeHeaderIsPopulatedWithMaxAgeIfCurrentAgeTooBig0.001

TestCacheEntryUpdater

testNewerHeadersReplaceExistingHeaders0
testUpdatedEntryHasLatestRequestAndResponseDates0
testHeadersAreMergedCorrectly0
testNewHeadersAreAddedByMerge0
oldHeadersRetainedIfResponseOlderThanEntry0
entry1xxWarningsAreRemovedOnUpdate0
entryIsStillUpdatedByResponseWithMalformedDate0
entryWithMalformedDateIsStillUpdated0
cannotUpdateFromANon304OriginResponse0
testUpdateCacheEntryReturnsDifferentEntryInstance0

TestProtocolAllowedBehavior

testNonSharedCacheReturnsStaleResponseWhenRevalidationFailsForProxyRevalidate0
testNonSharedCacheMayCacheResponsesWithCacheControlPrivate0.003

TestProtocolRecommendations

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

TestRFC5861Compliance

testStaleIfErrorInResponseYieldsToProxyRevalidateForSharedCache0
testStaleIfErrorInRequestIsFalseReturnsError0
testStaleIfErrorInResponseIsTrueReturnsStaleEntryWithWarning0
testStaleWhileRevalidateYieldsToProxyRevalidateForSharedCache0
testStaleWhileRevalidateYieldsToExplicitFreshnessRequest0
testStaleWhileRevalidateYieldsToMustRevalidate0.002
testStaleIfErrorInResponseYieldsToMustRevalidate0.001
testStaleWhileRevalidateReturnsStaleEntryWithWarning0.003
testHTTPCLIENT14700
testStaleIfErrorInResponseYieldsToExplicitFreshnessRequest0.002
testCanAlsoServeStale304sWhileRevalidating0.001
testConsumesErrorResponseWhenServingStale0.005
testStaleIfErrorInResponseIsFalseReturnsError0.002
testStaleIfErrorInRequestIsTrueReturnsStaleNonRevalidatableEntryWithWarning0.002
testStaleIfErrorInRequestIsTrueReturnsStaleEntryWithWarning0.003
testStaleIfErrorInResponseNeedNotYieldToProxyRevalidateForPrivateCache0.003
testStaleWhileRevalidateReturnsStaleNonRevalidatableEntryWithWarning0.005

TestEhcacheHttpCacheStorage

testCacheUpdateFail0.029
testCacheRemove0.001
testCacheUpdate0.003
testCacheGetNullEntry0.001
testCacheGet0.001
testCachePut0.001
testCacheUpdateNullEntry0.002
testSingleCacheUpdateRetry0.003

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme0

TestAsynchronousValidator

testSchedulingStrategyShutdownOnClose0
testRevalidateCacheEntryProperlyCollapsesRequest0.001
testRevalidateCacheEntrySchedulesExecutionAndPopulatesIdentifier0.001
testRevalidateCacheEntryEndToEnd0.007
testRevalidateCacheEntryDoesNotPopulateIdentifierOnRejectedExecutionException0.001
testMarkCompleteRemovesIdentifier0.002
testVariantsBothRevalidated0.003


Failure Details

[Summary] [Package List] [Test Cases]



testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped
testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped