Surefire Report

Summary

[Summary] [Package List] [Test Cases]



TestsErrors FailuresSkippedSuccess RateTime
106700299.813%11.913


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.241
org.apache.http.impl.client.cache.memcached29000100%0.166
org.apache.http.impl.client.cache.ehcache24000199.583%1.855
org.apache.http.impl.client.cache76900199.87%9.651


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

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

ClassTestsErrors FailuresSkippedSuccess RateTime
TestMemcachedHttpCacheStorage20000100%0.136
TestSHA256HashingScheme1000100%0.007
TestMemcachedCacheEntryImpl6000100%0.021
TestMemcachedCacheEntryFactoryImpl1000100%0.001
TestPrefixKeyHashingScheme1000100%0.001

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

ClassTestsErrors FailuresSkippedSuccess RateTime
TestEhcacheProtocolRequirements23200199.569%1.822
TestEhcacheHttpCacheStorage8000100%0.033


Test Cases

[Summary] [Package List] [Test Cases]

TestCacheValidityPolicy

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

TestMemcachedHttpCacheStorage

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

TestExponentialBackingOffSchedulingStrategy

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

TestBasicHttpCache

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

TestEhcacheProtocolRequirements

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

TestImmediateSchedulingStrategy

testRequestScheduledImmediately0.011

TestCacheInvalidator

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

TestResponseCachingPolicy

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

TestHttpCacheJiraNumber1147

testIssue11470.006

TestCombinedEntity

testCombinedEntityBasics0.001

TestAsynchronousValidationRequest

testRunGracefullyHandlesProtocolException0.09
testRunGracefullyHandlesIOException0.003
testRunCallsCachingClientAndRemovesIdentifier0.006
testRunGracefullyHandlesRuntimeException0.002
testRunReportsJobFailedForStaleResponse0.005
testRunReportsJobFailedForServerError0.004

TestConditionalRequestBuilder

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

TestCacheKeyGenerator

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

TestSHA256HashingScheme

canHash0.007

TestWarningValue

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

TestDefaultFailureCache

testResetErrorCount0
testMaxSize0
testIncrementErrorCount0.001

TestCachedResponseSuitabilityChecker

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

TestMemcachedCacheEntryImpl

knowsItsCacheEntry0.003
knowsItsCacheKey0.001
canBeSerialized0.009
canBeReconstitutedFromByteArray0.006
canBeCreatedEmpty0.001
cannotReconstituteFromGarbage0.001

TestHttpCacheEntrySerializers

canSerializeEntriesWithVariantMaps0

TestCachingExec

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

TestRequestProtocolCompliance

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

TestCachingHttpClientBuilder

testAsynchronousWorkersMax00.008
testNullCacheConfig0.005

TestProtocolDeviations

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

TestResponseProtocolCompliance

throwsExceptionIfOriginReturnsPartialResponseWhenNotRequested0
consumesPartialContentFromOriginEvenIfNotRequested0
consumesBodyIfOriginSendsOneInResponseToHEAD0
consumesBodyOf100ContinueResponseIfItArrives0.001

TestStaleWhileRevalidationReleasesConnection

testStaleWhileRevalidate6.473

TestSizeLimitedResponseReader

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

TestProtocolRequirements

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

TestMemcachedCacheEntryFactoryImpl

createsMemcachedCacheEntryImpls0.001

TestHttpCacheEntry

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

TestCacheableRequestPolicy

testIsGetServableFromCache0
testIsHeadServableFromCache0
testIsGetWithCacheControlServableFromCache0
testIsHeadWithCacheControlServableFromCache0
testIsGetWithPragmaServableFromCache0
testIsArbitraryMethodServableFromCache0
testIsHeadWithPragmaServableFromCache0

TestCachedHttpResponseGenerator

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

TestCacheEntryUpdater

testNewerHeadersReplaceExistingHeaders0.001
testUpdatedEntryHasLatestRequestAndResponseDates0
testHeadersAreMergedCorrectly0
testNewHeadersAreAddedByMerge0.001
oldHeadersRetainedIfResponseOlderThanEntry0
entry1xxWarningsAreRemovedOnUpdate0.001
entryIsStillUpdatedByResponseWithMalformedDate0
entryWithMalformedDateIsStillUpdated0
cannotUpdateFromANon304OriginResponse0
testUpdateCacheEntryReturnsDifferentEntryInstance0

TestProtocolAllowedBehavior

testNonSharedCacheReturnsStaleResponseWhenRevalidationFailsForProxyRevalidate0.003
testNonSharedCacheMayCacheResponsesWithCacheControlPrivate0.003

TestProtocolRecommendations

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

TestRFC5861Compliance

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

TestEhcacheHttpCacheStorage

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

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme0.001

TestAsynchronousValidator

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


Failure Details

[Summary] [Package List] [Test Cases]



testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped
testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped