Surefire Report

Summary

[Summary] [Package List] [Test Cases]



TestsErrorsFailuresSkippedSuccess RateTime
107200299.813%9.132


Note: failures are anticipated and checked for with assertions while errors are unanticipated.



Package List

[Summary] [Package List] [Test Cases]



PackageTestsErrorsFailuresSkippedSuccess RateTime
org.apache.http.impl.client.cache.memcached29000100%0.053
org.apache.http.impl.client.cache77400199.871%7.564
org.apache.http.impl.client.cache.ehcache24000199.583%1.265
org.apache.http.client.cache29000100%0.25


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

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

ClassTestsErrorsFailuresSkippedSuccess RateTime
TestSHA256HashingScheme1000100%0.001
TestPrefixKeyHashingScheme1000100%0
TestMemcachedCacheEntryFactoryImpl1000100%0
TestMemcachedHttpCacheStorage20000100%0.049
TestMemcachedCacheEntryImpl6000100%0.003

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

ClassTestsErrorsFailuresSkippedSuccess RateTime
TestEhcacheProtocolRequirements23200199.569%1.245
TestEhcacheHttpCacheStorage8000100%0.02

org.apache.http.client.cache

ClassTestsErrorsFailuresSkippedSuccess RateTime
TestHttpCacheEntry29000100%0.25


Test Cases

[Summary] [Package List] [Test Cases]

TestCachedHttpResponseGenerator

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

TestCacheableRequestPolicy

testIsGetServableFromCache0
testIsHeadServableFromCache0
testIsGetWithCacheControlServableFromCache0
testIsHeadWithCacheControlServableFromCache0
testIsGetWithPragmaServableFromCache0
testIsArbitraryMethodServableFromCache0
testIsHeadWithPragmaServableFromCache0

TestBasicHttpCache

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

TestCombinedEntity

testCombinedEntityBasics0.035

TestSHA256HashingScheme

canHash0.001

TestDefaultFailureCache

testResetErrorCount0
testMaxSize0
testIncrementErrorCount0

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme0

TestResponseCachingPolicy

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

TestRFC5861Compliance

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

TestProtocolAllowedBehavior

testNonSharedCacheReturnsStaleResponseWhenRevalidationFailsForProxyRevalidate0.001
testNonSharedCacheMayCacheResponsesWithCacheControlPrivate0.001

TestWarningValue

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

TestHttpCacheEntrySerializers

canSerializeEntriesWithVariantMaps0.008
allowClassesToBeDeserialized0.014
throwExceptionIfUnsafeDeserialization0
allowClassesToBeDeserializedByRegex0.001

TestStaleWhileRevalidationReleasesConnection

testStaleWhileRevalidate6.353

TestMemcachedCacheEntryFactoryImpl

createsMemcachedCacheEntryImpls0

TestAsynchronousValidator

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

TestImmediateSchedulingStrategy

testRequestScheduledImmediately0.006

TestCachedResponseSuitabilityChecker

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

TestProtocolDeviations

testPassesOnOrigin407WithoutAProxyAuthenticateHeader0.002
testPassesOnOrigin401ResponseWithoutWWWAuthenticateHeader0.001
testOPTIONSRequestsWithBodiesAndNoContentTypeHaveOneSupplied0.001
testPassesOnOrigin405WithoutAllowHeader0.001
testPartialContentIsNotReturnedToAClientThatDidNotAskForIt0.001

TestProtocolRecommendations

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

TestAsynchronousValidationRequest

testRunGracefullyHandlesProtocolException0.056
testRunGracefullyHandlesIOException0.001
testRunCallsCachingClientAndRemovesIdentifier0.002
testRunGracefullyHandlesRuntimeException0.001
testRunReportsJobFailedForStaleResponse0.002
testRunReportsJobFailedForServerError0.001

TestCacheKeyGenerator

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

TestProtocolRequirements

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

TestEhcacheProtocolRequirements

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

TestCachingHttpClientBuilder

testAsynchronousWorkersMax00.004
testNullCacheConfig0.004

TestCachingExec

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

TestCacheInvalidator

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

TestMemcachedHttpCacheStorage

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

TestResponseProtocolCompliance

throwsExceptionIfOriginReturnsPartialResponseWhenNotRequested0
consumesPartialContentFromOriginEvenIfNotRequested0.001
consumesBodyIfOriginSendsOneInResponseToHEAD0
consumesBodyOf100ContinueResponseIfItArrives0

TestExponentialBackingOffSchedulingStrategy

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

TestHttpCacheEntry

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

TestConditionalRequestBuilder

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

TestMemcachedCacheEntryImpl

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

TestSizeLimitedResponseReader

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

TestCacheEntryUpdater

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

TestCacheValidityPolicy

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

TestEhcacheHttpCacheStorage

testCacheUpdateFail0.012
testCacheRemove0.001
testCacheUpdate0.002
testCacheGetNullEntry0.001
testCacheGet0.001
testCachePut0
testCacheUpdateNullEntry0.002
testSingleCacheUpdateRetry0.001

TestRequestProtocolCompliance

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

TestHttpCacheJiraNumber1147

testIssue11470.009


Failure Details

[Summary] [Package List] [Test Cases]



testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped
testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped