Surefire Report

Summary

[Summary] [Package List] [Test Cases]



TestsErrors FailuresSkippedSuccess RateTime
106700299.813%9.707


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.002
org.apache.http.impl.client.cache.memcached29000100%0.078
org.apache.http.impl.client.cache.ehcache24000199.583%1.653
org.apache.http.impl.client.cache76900199.87%7.974


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

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

ClassTestsErrors FailuresSkippedSuccess RateTime
TestSHA256HashingScheme1000100%0.001
TestMemcachedHttpCacheStorage20000100%0.067
TestPrefixKeyHashingScheme1000100%0.001
TestMemcachedCacheEntryFactoryImpl1000100%0.002
TestMemcachedCacheEntryImpl6000100%0.007

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

ClassTestsErrors FailuresSkippedSuccess RateTime
TestEhcacheHttpCacheStorage8000100%0.019
TestEhcacheProtocolRequirements23200199.569%1.634


Test Cases

[Summary] [Package List] [Test Cases]

TestConditionalRequestBuilder

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

TestCacheableRequestPolicy

testIsGetServableFromCache0
testIsHeadServableFromCache0
testIsGetWithCacheControlServableFromCache0
testIsHeadWithCacheControlServableFromCache0
testIsGetWithPragmaServableFromCache0
testIsArbitraryMethodServableFromCache0
testIsHeadWithPragmaServableFromCache0

TestCachedHttpResponseGenerator

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

TestCacheValidityPolicy

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

TestWarningValue

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

TestProtocolRequirements

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

TestHttpCacheEntrySerializers

canSerializeEntriesWithVariantMaps0.029

TestSHA256HashingScheme

canHash0.001

TestHttpCacheEntry

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

TestBasicHttpCache

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

TestExponentialBackingOffSchedulingStrategy

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

TestHttpCacheJiraNumber1147

testIssue11470.003

TestAsynchronousValidator

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

TestProtocolRecommendations

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

TestEhcacheHttpCacheStorage

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

TestCacheEntryUpdater

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

TestAsynchronousValidationRequest

testRunGracefullyHandlesProtocolException0.026
testRunGracefullyHandlesIOException0
testRunCallsCachingClientAndRemovesIdentifier0.004
testRunGracefullyHandlesRuntimeException0
testRunReportsJobFailedForStaleResponse0
testRunReportsJobFailedForServerError0.001

TestMemcachedHttpCacheStorage

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

TestCachingExec

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

TestRFC5861Compliance

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

TestRequestProtocolCompliance

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

TestCachingHttpClientBuilder

testAsynchronousWorkersMax00.008
testNullCacheConfig0.005

TestStaleWhileRevalidationReleasesConnection

testStaleWhileRevalidate6.297

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme0.001

TestResponseCachingPolicy

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

TestMemcachedCacheEntryFactoryImpl

createsMemcachedCacheEntryImpls0.002

TestProtocolDeviations

testPassesOnOrigin407WithoutAProxyAuthenticateHeader0.002
testPassesOnOrigin401ResponseWithoutWWWAuthenticateHeader0
testOPTIONSRequestsWithBodiesAndNoContentTypeHaveOneSupplied0.001
testPassesOnOrigin405WithoutAllowHeader0.001
testPartialContentIsNotReturnedToAClientThatDidNotAskForIt0

TestProtocolAllowedBehavior

testNonSharedCacheReturnsStaleResponseWhenRevalidationFailsForProxyRevalidate0.001
testNonSharedCacheMayCacheResponsesWithCacheControlPrivate0.003

TestSizeLimitedResponseReader

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

TestCacheKeyGenerator

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

TestImmediateSchedulingStrategy

testRequestScheduledImmediately0.004

TestDefaultFailureCache

testResetErrorCount0
testMaxSize0
testIncrementErrorCount0

TestCacheInvalidator

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

TestCachedResponseSuitabilityChecker

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

TestEhcacheProtocolRequirements

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

TestCombinedEntity

testCombinedEntityBasics0.011

TestMemcachedCacheEntryImpl

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

TestResponseProtocolCompliance

throwsExceptionIfOriginReturnsPartialResponseWhenNotRequested0
consumesPartialContentFromOriginEvenIfNotRequested0.001
consumesBodyIfOriginSendsOneInResponseToHEAD0
consumesBodyOf100ContinueResponseIfItArrives0


Failure Details

[Summary] [Package List] [Test Cases]



testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped
testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped