Surefire Report

Summary

[Summary] [Package List] [Test Cases]



TestsErrors FailuresSkippedSuccess RateTime
106700299.813%12.892


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.009
org.apache.http.impl.client.cache.memcached29000100%0.206
org.apache.http.impl.client.cache.ehcache24000199.583%2.81
org.apache.http.impl.client.cache76900199.87%9.867


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

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

ClassTestsErrors FailuresSkippedSuccess RateTime
TestSHA256HashingScheme1000100%0.007
TestMemcachedHttpCacheStorage20000100%0.179
TestPrefixKeyHashingScheme1000100%0.001
TestMemcachedCacheEntryFactoryImpl1000100%0.003
TestMemcachedCacheEntryImpl6000100%0.016

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

ClassTestsErrors FailuresSkippedSuccess RateTime
TestEhcacheHttpCacheStorage8000100%0.068
TestEhcacheProtocolRequirements23200199.569%2.742


Test Cases

[Summary] [Package List] [Test Cases]

TestConditionalRequestBuilder

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

TestCacheableRequestPolicy

testIsGetServableFromCache0
testIsHeadServableFromCache0
testIsGetWithCacheControlServableFromCache0
testIsHeadWithCacheControlServableFromCache0
testIsGetWithPragmaServableFromCache0
testIsArbitraryMethodServableFromCache0
testIsHeadWithPragmaServableFromCache0

TestCachedHttpResponseGenerator

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

TestCacheValidityPolicy

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

TestWarningValue

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

TestProtocolRequirements

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

TestHttpCacheEntrySerializers

canSerializeEntriesWithVariantMaps0.081

TestSHA256HashingScheme

canHash0.007

TestHttpCacheEntry

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

TestBasicHttpCache

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

TestExponentialBackingOffSchedulingStrategy

testScheduleWithFiveFailedAttempts0.037
testScheduleWithThreeFailedAttempts0.002
testScheduleWithSixFailedAttempts0.002
testScheduleWithOneFailedAttempt0.002
testScheduleWithFourFailedAttempts0.002
testScheduleWithMaxNumberOfFailedAttempts0.002
testScheduleWithTwoFailedAttempts0.002
testScheduleWithoutPreviousError0.001

TestHttpCacheJiraNumber1147

testIssue11470.022

TestAsynchronousValidator

testSchedulingStrategyShutdownOnClose0.009
testRevalidateCacheEntryProperlyCollapsesRequest0.008
testRevalidateCacheEntrySchedulesExecutionAndPopulatesIdentifier0.003
testRevalidateCacheEntryEndToEnd0.006
testRevalidateCacheEntryDoesNotPopulateIdentifierOnRejectedExecutionException0.01
testMarkCompleteRemovesIdentifier0.003
testVariantsBothRevalidated0.009

TestProtocolRecommendations

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

TestEhcacheHttpCacheStorage

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

TestCacheEntryUpdater

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

TestAsynchronousValidationRequest

testRunGracefullyHandlesProtocolException0.093
testRunGracefullyHandlesIOException0.004
testRunCallsCachingClientAndRemovesIdentifier0.006
testRunGracefullyHandlesRuntimeException0.004
testRunReportsJobFailedForStaleResponse0.008
testRunReportsJobFailedForServerError0.007

TestMemcachedHttpCacheStorage

testCachePutThrowsIOExceptionIfCannotSerializeEntry0.086
testCacheUpdateCanUpdateExistingEntry0.011
testTreatsNullFromMemcachedAsCacheMiss0.003
testTreatsAsCacheMissIfCannotReconstituteEntry0.005
testCacheUpdateCanUpdateExistingEntryWithRetry0.01
testTreatsAsCacheMissIfCantHashStorageKey0.002
testCacheRemoveHandlesKeyHashingFailure0.002
testSuccessfulCacheGet0.006
testSuccessfulCachePut0.005
testCacheRemove0.003
testTreatsNoneByteArrayFromMemcachedAsCacheMiss0.003
testCacheUpdateThrowsExceptionsIfCASFailsEnoughTimes0.009
testUpdateThrowsIOExceptionIfMemcachedTimesOut0.004
testThrowsExceptionOnUpdateIfCannotHashStorageKey0.002
testCacheRemoveThrowsIOExceptionOnMemcachedTimeout0.002
testCachePutFailsSilentlyWhenWeCannotHashAKey0.004
testCacheUpdateOverwritesNonMatchingHashCollision0.008
testThrowsIOExceptionIfMemcachedTimesOutOnGet0.004
testCacheUpdateCanUpdateNullEntry0.005
testThrowsIOExceptionWhenMemcachedPutTimesOut0.005

TestCachingExec

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

TestRFC5861Compliance

testStaleIfErrorInResponseYieldsToProxyRevalidateForSharedCache0.456
testStaleIfErrorInRequestIsFalseReturnsError0.012
testStaleIfErrorInResponseIsTrueReturnsStaleEntryWithWarning0.012
testStaleWhileRevalidateYieldsToProxyRevalidateForSharedCache0.013
testStaleWhileRevalidateYieldsToExplicitFreshnessRequest0.011
testStaleWhileRevalidateYieldsToMustRevalidate0.011
testStaleIfErrorInResponseYieldsToMustRevalidate0.043
testStaleWhileRevalidateReturnsStaleEntryWithWarning0.032
testHTTPCLIENT14700.001
testStaleIfErrorInResponseYieldsToExplicitFreshnessRequest0.014
testCanAlsoServeStale304sWhileRevalidating0.034
testConsumesErrorResponseWhenServingStale0.02
testStaleIfErrorInResponseIsFalseReturnsError0.006
testStaleIfErrorInRequestIsTrueReturnsStaleNonRevalidatableEntryWithWarning0.007
testStaleIfErrorInRequestIsTrueReturnsStaleEntryWithWarning0.01
testStaleIfErrorInResponseNeedNotYieldToProxyRevalidateForPrivateCache0.012
testStaleWhileRevalidateReturnsStaleNonRevalidatableEntryWithWarning0.008

TestRequestProtocolCompliance

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

TestCachingHttpClientBuilder

testAsynchronousWorkersMax00.011
testNullCacheConfig0.012

TestStaleWhileRevalidationReleasesConnection

testStaleWhileRevalidate6.735

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme0.001

TestResponseCachingPolicy

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

TestMemcachedCacheEntryFactoryImpl

createsMemcachedCacheEntryImpls0.003

TestProtocolDeviations

testPassesOnOrigin407WithoutAProxyAuthenticateHeader0
testPassesOnOrigin401ResponseWithoutWWWAuthenticateHeader0
testOPTIONSRequestsWithBodiesAndNoContentTypeHaveOneSupplied0
testPassesOnOrigin405WithoutAllowHeader0.004
testPartialContentIsNotReturnedToAClientThatDidNotAskForIt0

TestProtocolAllowedBehavior

testNonSharedCacheReturnsStaleResponseWhenRevalidationFailsForProxyRevalidate0.003
testNonSharedCacheMayCacheResponsesWithCacheControlPrivate0.002

TestSizeLimitedResponseReader

testTooLargeEntityHasOriginalContentTypes0.002
testResponseCopiesAllOriginalHeaders0.003
testSmallResponseIsNotTooLarge0
testResponseWithNoEntityIsNotTooLarge0
testLargeResponseIsTooLarge0
testExactSizeResponseIsNotTooLarge0
testTooLargeResponseCombinedClosed0

TestCacheKeyGenerator

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

TestImmediateSchedulingStrategy

testRequestScheduledImmediately0.012

TestDefaultFailureCache

testResetErrorCount0
testMaxSize0.001
testIncrementErrorCount0

TestCacheInvalidator

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

TestCachedResponseSuitabilityChecker

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

TestEhcacheProtocolRequirements

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

TestCombinedEntity

testCombinedEntityBasics0.019

TestMemcachedCacheEntryImpl

knowsItsCacheEntry0.001
knowsItsCacheKey0.002
canBeSerialized0.003
canBeReconstitutedFromByteArray0.008
canBeCreatedEmpty0.001
cannotReconstituteFromGarbage0.001

TestResponseProtocolCompliance

throwsExceptionIfOriginReturnsPartialResponseWhenNotRequested0
consumesPartialContentFromOriginEvenIfNotRequested0
consumesBodyIfOriginSendsOneInResponseToHEAD0
consumesBodyOf100ContinueResponseIfItArrives0


Failure Details

[Summary] [Package List] [Test Cases]



testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped
testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped