Surefire Report

Summary

[Summary] [Package List] [Test Cases]



TestsErrors FailuresSkippedSuccess RateTime
106700299.813%11.814


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.198
org.apache.http.impl.client.cache.memcached29000100%0.124
org.apache.http.impl.client.cache.ehcache24000199.583%1.331
org.apache.http.impl.client.cache76900199.87%10.161


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.198

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

ClassTestsErrors FailuresSkippedSuccess RateTime
TestMemcachedHttpCacheStorage20000100%0.099
TestSHA256HashingScheme1000100%0.006
TestMemcachedCacheEntryImpl6000100%0.018
TestMemcachedCacheEntryFactoryImpl1000100%0
TestPrefixKeyHashingScheme1000100%0.001

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

ClassTestsErrors FailuresSkippedSuccess RateTime
TestEhcacheProtocolRequirements23200199.569%1.28
TestEhcacheHttpCacheStorage8000100%0.051


Test Cases

[Summary] [Package List] [Test Cases]

TestCacheValidityPolicy

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

TestMemcachedHttpCacheStorage

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

TestExponentialBackingOffSchedulingStrategy

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

TestBasicHttpCache

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

TestEhcacheProtocolRequirements

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

TestImmediateSchedulingStrategy

testRequestScheduledImmediately0.009

TestCacheInvalidator

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

TestResponseCachingPolicy

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

TestHttpCacheJiraNumber1147

testIssue11470.048

TestCombinedEntity

testCombinedEntityBasics0.001

TestAsynchronousValidationRequest

testRunGracefullyHandlesProtocolException0.097
testRunGracefullyHandlesIOException0.003
testRunCallsCachingClientAndRemovesIdentifier0.004
testRunGracefullyHandlesRuntimeException0.003
testRunReportsJobFailedForStaleResponse0.005
testRunReportsJobFailedForServerError0.004

TestConditionalRequestBuilder

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

TestCacheKeyGenerator

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

TestSHA256HashingScheme

canHash0.006

TestWarningValue

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

TestDefaultFailureCache

testResetErrorCount0
testMaxSize0
testIncrementErrorCount0

TestCachedResponseSuitabilityChecker

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

TestMemcachedCacheEntryImpl

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

TestHttpCacheEntrySerializers

canSerializeEntriesWithVariantMaps0.004

TestCachingExec

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

TestRequestProtocolCompliance

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

TestCachingHttpClientBuilder

testAsynchronousWorkersMax00.028
testNullCacheConfig0.004

TestProtocolDeviations

testPassesOnOrigin407WithoutAProxyAuthenticateHeader0.003
testPassesOnOrigin401ResponseWithoutWWWAuthenticateHeader0
testOPTIONSRequestsWithBodiesAndNoContentTypeHaveOneSupplied0
testPassesOnOrigin405WithoutAllowHeader0.001
testPartialContentIsNotReturnedToAClientThatDidNotAskForIt0

TestResponseProtocolCompliance

throwsExceptionIfOriginReturnsPartialResponseWhenNotRequested0
consumesPartialContentFromOriginEvenIfNotRequested0.001
consumesBodyIfOriginSendsOneInResponseToHEAD0
consumesBodyOf100ContinueResponseIfItArrives0

TestStaleWhileRevalidationReleasesConnection

testStaleWhileRevalidate6.717

TestSizeLimitedResponseReader

testTooLargeEntityHasOriginalContentTypes0.002
testResponseCopiesAllOriginalHeaders0.001
testSmallResponseIsNotTooLarge0.001
testResponseWithNoEntityIsNotTooLarge0
testLargeResponseIsTooLarge0
testExactSizeResponseIsNotTooLarge0
testTooLargeResponseCombinedClosed0.001

TestProtocolRequirements

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

TestMemcachedCacheEntryFactoryImpl

createsMemcachedCacheEntryImpls0

TestHttpCacheEntry

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

TestCacheableRequestPolicy

testIsGetServableFromCache0
testIsHeadServableFromCache0
testIsGetWithCacheControlServableFromCache0
testIsHeadWithCacheControlServableFromCache0
testIsGetWithPragmaServableFromCache0
testIsArbitraryMethodServableFromCache0
testIsHeadWithPragmaServableFromCache0.001

TestCachedHttpResponseGenerator

testAgeHeaderIsNotPopulatedIfCurrentAgeOfCacheEntryIsZero0.009
testAgeHeaderIsPopulatedWithCurrentAgeOfCacheEntryIfNonZero0.001
testResponseDoesNotContainEntityToServeHEADRequestIfEntryContainsResource0
testResponseStatusCodeMatchesCacheEntry0.001
testContentLengthIsNotAddedWhenTransferEncodingIsPresent0
testResponseMatchesCacheEntry0.002
testResponseContainsEntityToServeGETRequestIfEntryContainsResource0.001
testResponseHasContentLength0.001
testAgeHeaderIsPopulatedWithMaxAgeIfCurrentAgeTooBig0.001

TestCacheEntryUpdater

testNewerHeadersReplaceExistingHeaders0
testUpdatedEntryHasLatestRequestAndResponseDates0
testHeadersAreMergedCorrectly0
testNewHeadersAreAddedByMerge0
oldHeadersRetainedIfResponseOlderThanEntry0
entry1xxWarningsAreRemovedOnUpdate0
entryIsStillUpdatedByResponseWithMalformedDate0
entryWithMalformedDateIsStillUpdated0
cannotUpdateFromANon304OriginResponse0
testUpdateCacheEntryReturnsDifferentEntryInstance0

TestProtocolAllowedBehavior

testNonSharedCacheReturnsStaleResponseWhenRevalidationFailsForProxyRevalidate0.004
testNonSharedCacheMayCacheResponsesWithCacheControlPrivate0.003

TestProtocolRecommendations

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

TestRFC5861Compliance

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

TestEhcacheHttpCacheStorage

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

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme0.001

TestAsynchronousValidator

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


Failure Details

[Summary] [Package List] [Test Cases]



testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped
testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped