Surefire Report

Summary

[Summary] [Package List] [Test Cases]



TestsErrorsFailuresSkippedSuccess RateTime
107200299.813%9.054


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.049
org.apache.http.impl.client.cache77400199.871%7.486
org.apache.http.impl.client.cache.ehcache24000199.583%1.281
org.apache.http.client.cache29000100%0.238


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.001
TestMemcachedCacheEntryFactoryImpl1000100%0.001
TestMemcachedHttpCacheStorage20000100%0.044
TestMemcachedCacheEntryImpl6000100%0.002

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

ClassTestsErrorsFailuresSkippedSuccess RateTime
TestEhcacheProtocolRequirements23200199.569%1.248
TestEhcacheHttpCacheStorage8000100%0.033

org.apache.http.client.cache

ClassTestsErrorsFailuresSkippedSuccess RateTime
TestHttpCacheEntry29000100%0.238


Test Cases

[Summary] [Package List] [Test Cases]

TestCachedHttpResponseGenerator

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

TestCacheableRequestPolicy

testIsGetServableFromCache0
testIsHeadServableFromCache0
testIsGetWithCacheControlServableFromCache0
testIsHeadWithCacheControlServableFromCache0
testIsGetWithPragmaServableFromCache0
testIsArbitraryMethodServableFromCache0
testIsHeadWithPragmaServableFromCache0

TestBasicHttpCache

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

TestCombinedEntity

testCombinedEntityBasics0.027

TestSHA256HashingScheme

canHash0.001

TestDefaultFailureCache

testResetErrorCount0
testMaxSize0
testIncrementErrorCount0

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme0

TestResponseCachingPolicy

test303WithExplicitCachingHeadersUnderDefaultBehavior0
testPlain303ResponseCodeIsNotCacheableEvenIf303CachingEnabled0
testPlain303ResponseCodeIsNotCacheableUnderDefaultBehavior0
testIsArbitraryMethodCacheableUsingSharedPublicCache0
testIsHeadCacheable0
testResponsesToGETWithQueryParamsAndExplicitCachingAreCacheable0
testIsArbitraryMethodCacheable0
test410ResponseCodeIsCacheable0
test206ResponseCodeIsNotCacheable0
testNon206WithSMaxAgeIsCacheable0.001
testNon206WithPrivateCacheControlIsNotCacheableBySharedCache0
testIsGetWithAnyCacheControlCacheable0
headsWithQueryParametersFrom1_0OriginsViaExplicitProxiesCanNotBeCacheableEvenWithExpires0
getsWithQueryParametersFrom1_0OriginsViaProxiesAreCacheableWithExpires0
testResponsesWithMultipleExpiresHeadersAreNotCacheable0
testIsHeadWithNoCacheEmbeddedInListCacheable0
headsWithQueryParametersDirectlyFrom1_0OriginsAreCacheableWithExpires0
testIsHeadWithAnyCacheControlCacheable0.001
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.001
testResponsesToRequestsWithAuthorizationHeadersAreCacheableByNonSharedCache0
testNon206WithMustRevalidateIsCacheable0
getsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheableEvenWithSetting0
testResponsesWithMalformedDateHeadersAreNotCacheable0
testResponsesWithMultipleDateHeadersAreNotCacheableUsingSharedPublicCache0
testResponsesWithMultipleAgeHeadersAreNotCacheableUsingSharedPublicCache0
testResponsesWithMultipleExpiresHeadersAreNotCacheableUsingSharedPublicCache0
headsWithQueryParametersFrom1_0OriginsViaExplicitProxiesAreCacheableWithExpires0
testIsHeadWithout200Cacheable0
testResponsesToRequestsWithAuthorizationHeadersAreNotCacheableBySharedCache0
getsWithQueryParametersDirectlyFrom1_0OriginsAreCacheableWithExpires0
testIsHeadWithNoStoreCacheable0
testResponsesToHEADWithQueryParamsAndExplicitCachingAreCacheableEvenWhen1_0QueryCachingDisabled0.001
testIsGetWithNoCacheEmbeddedInListAfterFirstHeaderCacheable0
testIsHeadWithNoCacheCacheable0
headsWithQueryParametersFrom1_0OriginsViaProxiesAreCacheableWithExpires0.001
test203ResponseCodeIsCacheable0
testIsGetWithNoStoreEmbeddedInListAfterFirstHeaderCacheable0
test301ResponseCodeIsCacheable0
testNon206WithExplicitExpiresIsCacheable0.001
headsWithQueryParametersDirectlyFrom1_0OriginsCanBeNotCacheableEvenWithExpires0
testResponsesWithMultipleDateHeadersAreNotCacheable0
test300ResponseCodeIsCacheable0
testNon206WithMaxAgeIsCacheable0
testResponsesToGETWithQueryParamsAndExplicitCachingAreCacheableEvenWhen1_0QueryCachingDisabled0
getsWithQueryParametersFrom1_0OriginsViaProxiesCanNotBeCacheableEvenWithExpires0
test200ResponseWithPrivateCacheControlIsCacheableByNonSharedCache0
testAuthorizedResponsesWithCacheControlMaxAgeAreNotCacheable0.001
getsWithQueryParametersFrom1_0OriginsViaExplicitProxiesCanNotBeCacheableEvenWithExpires0
getsWithQueryParametersDirectlyFrom1_0OriginsCanBeNotCacheableEvenWithExpires0
testResponsesWithMultipleAgeHeadersAreNotCacheable0
headsWithQueryParametersFrom1_1OriginsVia1_0ProxiesAreCacheableWithExpires0.001
testIsGetWithVaryHeaderCacheable0
testResponsesToGETWithQueryParamsButNoExplicitCachingAreNotCacheableEvenWhen1_0QueryCachingDisabled0
getsWithQueryParametersFrom1_1OriginsVia1_0ProxiesAreCacheableWithExpires0
testResponseThatHasTooMuchContentIsNotCacheable0
testAuthorizedResponsesWithSMaxAgeAreCacheable0
getsWithQueryParametersFrom1_0OriginsViaProxiesAreNotCacheable0
testIsHeadWithNoStoreEmbeddedInListCacheable0
testResponsesThatAreSmallEnoughAreCacheable0.001
testNon206WithPublicCacheControlIsCacheable0
testResponseThatHasTooMuchContentIsNotCacheableUsingSharedPublicCache0
testIsGetWithNoStoreEmbeddedInListCacheable0
getsWithQueryParametersFrom1_0OriginsViaExplicitProxiesAreCacheableWithExpires0.001
testIsHeadWithNoCacheEmbeddedInListAfterFirstHeaderCacheable0
testVaryStarIsNotCacheable0
testIsGetCacheable0
testIsHeadWithNoStoreEmbeddedInListAfterFirstHeaderCacheable0.001
testAuthorizedResponsesWithMustRevalidateAreCacheable0
testIsGetWithout200Cacheable0
testNon206WithProxyRevalidateIsCacheable0
testResponsesToGETWithQueryParamsButNoExplicitCachingAreNotCacheable0
otherStatusCodesAreCacheableWithExplicitCachingHeaders0
headsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheable0
headsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheableEvenWithSetting0

TestRFC5861Compliance

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

TestProtocolAllowedBehavior

testNonSharedCacheReturnsStaleResponseWhenRevalidationFailsForProxyRevalidate0.001
testNonSharedCacheMayCacheResponsesWithCacheControlPrivate0.002

TestWarningValue

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

TestHttpCacheEntrySerializers

canSerializeEntriesWithVariantMaps0.008
allowClassesToBeDeserialized0.012
throwExceptionIfUnsafeDeserialization0.001
allowClassesToBeDeserializedByRegex0

TestStaleWhileRevalidationReleasesConnection

testStaleWhileRevalidate6.342

TestMemcachedCacheEntryFactoryImpl

createsMemcachedCacheEntryImpls0

TestAsynchronousValidator

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

TestImmediateSchedulingStrategy

testRequestScheduledImmediately0.005

TestCachedResponseSuitabilityChecker

testNotSuitableIfContentLengthHeaderIsWrong0
testNotSuitableIfStaleButTooStaleForRequestMaxStale0
testNotSuitableIfRequestHasNoCache0.001
testNotSuitableIfAgeExceedsRequestMaxAge0
testSuitableIfRequestMethodisHEAD0
testSuitableIfFreshAndFreshnessLifetimeGreaterThanRequestMinFresh0
testNotSuitableIfFreshnessLifetimeLessThanRequestMinFresh0
testMalformedCacheControlMinFreshRequestHeaderCausesUnsuitableEntry0.001
testNotSuitableIfCacheEntryIsNotFresh0
testSuitableForGETIfHeadResponseCachingEnabledAndEntryDoesNotSpecifyARequestMethodButContains204Response0
testMalformedCacheControlMaxAgeRequestHeaderCausesUnsuitableEntry0
testSuitableIfCacheEntryIsHeuristicallyFreshEnoughByDefault0
testSuitableEvenIfStaleButPermittedByRequestMaxStale0.001
testNotSuitableIfRequestMethodIsGETAndEntryResourceIsNull0
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
testUsesBothLastModifiedAndETagForConditionalRequestsIfAvailable0.001
testRevalidatesCachedResponseWithExpirationInThePast0.001
returns504ForStaleEntryWithOnlyIfCached0.001
shouldStripContentEncodingFromOrigin304ResponseToStrongValidation0.001
testDoesNotModifyExtensionHeaderOnResponses0.001
responseToGetWithQueryFrom1_0OriginAndNoExpiresIsNotCached0.001
testDoesNotModifyAcceptRangesOnResponses0
cacheGenerated304ForStrongValidatorShouldNotContainContentMD50
testDoesNotModifyIfNoneMatchOnRequests0.001
testDoesNotModifyContentTypeOnRequests0.001
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFirstHandOneWithCacheControl0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentLanguage0.001
testDoesNotModifyRefererOnRequests0.001
testResponseToExistingVariantsUpdatesEntry0.002
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFirstHandOneWithPragma0.001
testDoesNotModifyContentRangeOnResponses0.001
issues304EvenWithWeakETag0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentType0.001
testDoesNotModifyExtensionHeaderOnRequests0
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentEncoding0.001
responseToGetWithQueryFrom1_0OriginVia1_1ProxyAndNoExpiresIsNotCached0.001
shouldStripContentRangeFromOrigin304ResponseToStringValidation0.001
testDoesNotModifyIfModifiedSinceOnRequests0
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMaxAge0.001
testDoesNotModifyContentLengthOnRequests0.001
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMaxStale0.001
testUsesLastModifiedDateForCacheConditionalRequests0.001
testDoesNotModifyIfRangeOnRequests0.001
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentType0.001
testDoesNotModifyContentLengthOnResponses0
shouldStripLastModifiedFromOrigin304ResponseToStrongValidation0
cacheGenerated304ForStrongEtagValidatorShouldNotContainAllow0.001
shouldInvalidateAllVariantsForUnknownMethod0.003
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentLanguage0
cacheGenerated304ForStrongDateValidatorShouldNotContainContentLength0.001
testDoesNotModifyUserAgentOnRequests0.001
cacheHitOkWithOnlyIfCached0.001
expiresPriorToDateWithNoCacheControlIsNotCacheable0.001
cacheMissResultsIn504WithOnlyIfCached0
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentRange0.001
variantNegotiationsDoNotIncludeEtagsForPartialResponses0.002
testDoesNotModifyExpiresOnResponses0
shouldStripAllowFromOrigin304ResponseToStrongValidation0.001
testMayReturnStaleResponseIfClientExplicitlySpecifiesAcceptableMaxStale0.001
testDoesNotModifyServerOnResponses0.001
testDoesNotModifyContentTypeOnResponses0
cacheGenerated304ForStrongValidatorShouldNotContainContentLength0.001
shouldInvalidateNonvariantCacheEntryForUnknownMethod0.002
cacheGenerated304ForStrongDateValidatorShouldNotContainContentMD50.001
testDoesNotModifyDateOnRequests0
testDoesNotModifyAuthorizationOnRequests0.001
testReturnsCachedResponsesAppropriatelyWhenNoOriginCommunication0.001
returnsStaleCacheEntryWithOnlyIfCachedAndMaxStale0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentRange0.001
testDoesNotModifyRetryAfterOnResponses0
cachedEntryShouldNotBeUsedIfMoreRecentMentionInContentLocation0.001
testDoesNotModifyFromOnRequests0.001
testDoesNotModifyContentRangeOnRequests0
shouldStripContentTypeFromOrigin304ResponseToStrongValidation0.001
expiresEqualToDateWithNoCacheControlIsNotCacheable0.001
testDoesNotModifyDateOnResponses0
testRetriesValidationThatResultsInAnOlderDated304Response0.001
testDoesNotModifyIfUnmodifiedSinceOnRequests0
testIdentityCodingIsNotUsedInContentEncodingHeader0.001
cacheGenerated304ForStrongEtagValidatorShouldNotContainLastModified0.001
testDoesNotModifyVaryOnResponses0.001
otherFreshnessRequestDirectivesNotAllowedWithNoCache0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainAllow0
testResponseToExistingVariantsIsCachedForFutureResponses0.002
testSendsAllVariantEtagsInConditionalRequest0.002
shouldStripContentMD5FromOrigin304ResponseToStrongValidation0
testDoesNotModifyContentMD5OnRequests0.001
testDoesNotModifyLastModifiedOnResponses0
testDoesNotModifyIfMatchOnRequests0.001
shouldStripContentLanguageFromOrigin304ResponseToStrongValidation0.001
testDoesNotReturnStaleResponseIfClientExplicitlySpecifiesLargerMaxAge0
cacheGenerated304ForStrongDateValidatorShouldNotContainContentEncoding0
cacheGenerated304ForStrongDateValidatorShouldNotContainLastModified0.001
cacheShouldUpdateWithNewCacheableResponse0.002
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMinFresh0
testDoesNotModifyRangeOnRequests0.001
testDoesNotModifyContentMD5OnResponses0.001
testDoesNotModifyETagOnResponses0

TestAsynchronousValidationRequest

testRunGracefullyHandlesProtocolException0.051
testRunGracefullyHandlesIOException0.001
testRunCallsCachingClientAndRemovesIdentifier0.001
testRunGracefullyHandlesRuntimeException0.002
testRunReportsJobFailedForStaleResponse0.003
testRunReportsJobFailedForServerError0.002

TestCacheKeyGenerator

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

TestProtocolRequirements

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

TestEhcacheProtocolRequirements

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

TestCachingHttpClientBuilder

testAsynchronousWorkersMax00.004
testNullCacheConfig0.003

TestCachingExec

testRevalidationCallsHandleBackEndResponseWhenNot200Or3040.104
testUnsuitableValidatableCacheEntryCausesRevalidation0.002
testRequestThatCannotBeServedFromCacheCausesBackendRequest0.001
testUnsuitableUnvalidatableCacheEntryCausesBackendRequest0.002
testCallBackendMakesBackEndRequestAndHandlesResponse0.001
testRevalidationUpdatesCacheEntryAndPutsItToCacheWhen304ReturningCachedResponse0.001
testCacheMissCausesBackendRequest0.001
testRevalidationRewritesAbsoluteUri0.001
testDoesNotFlushCachesOnCacheHit0.001
testEndlessResponsesArePassedThrough0.016
testReturns304ForIfNoneMatchPassesIfRequestServedFromOrigin0.002
testSetsRouteInContextOnCacheHit0.002
testVariantsMissServerReturns304CacheReturns3040.002
testReturns304ForIfModifiedSinceHeaderIfRequestServedFromCache0.002
testReturns304ForIfNoneMatchHeaderIfRequestServedFromCache0.002
testIfOnlyIfCachedAndNoCacheEntryBackendNotCalled0.003
testSocketTimeoutExceptionIsNotSilentlyCatched0.001
testIfOnlyIfCachedAndEntryNotSuitableBackendNotCalled0.001
testSetsModuleGeneratedResponseContextForCacheOptionsResponse0.003
testTreatsCacheIOExceptionsAsCacheMiss0.002
testReturns200ForIfNoneMatchHeaderFails0.001
testSetsViaHeaderOnResponseIfRequestServedFromCache0.002
testSetsCacheMissContextIfRequestNotServableFromCache0.001
testReturns200ForOptionsFollowedByGetIfAuthorizationHeaderAndSharedCache0.002
testDoesNotSetConnectionInContextOnCacheHit0.001
testNonCompliantRequestWrapsAndReThrowsProtocolException0.001
testSetsResponseInContextOnCacheHit0.001
testReturns304ForIfNoneMatchHeaderAndIfModifiedSinceIfRequestServedFromCache0.002
testReturns200ForIfNoneMatchFailsIfRequestServedFromOrigin0.001
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.001
testReturns304ForIfModifiedSinceHeaderIf304ResponseInCache0.001
testSetsViaHeaderOnResponseIfRequestNotServableFromCache0.001
testVariantMissServerIfReturns304CacheReturns2000.003
testSetsRequestSentInContextOnCacheHit0.001
testIsSharedCache0
testSetsModuleGeneratedResponseContextForFatallyNoncompliantRequest0.001
testReturns200ForIfModifiedSinceDateIsLess0.002
testOlderCacheableResponsesDoNotGoIntoCache0.001
testSuitableCacheEntryDoesNotCauseBackendRequest0.001
testNotModifiedResponseUpdatesCacheEntryWhenNoEntity0.002
testSetsViaHeaderOnResponseForCacheMiss0.001
testSetsTargetHostInContextOnCacheHit0.001
testNonCacheableResponseIsNotCachedAndIsReturnedAsIs0.001
testSetsViaHeaderIfRequestWasSuccessfullyValidated0.001
testReturns200ForIfNoneMatchHeaderFailsIfModifiedSinceIgnored0.001
testCacheableResponsesGoIntoCache0.002
testNotModifiedResponseWithVaryUpdatesCacheEntryWhenNoEntity0.002
testSetsValidatedContextIfRequestWasSuccessfullyValidated0.002
testReturns200ForIfModifiedSinceFailsIfRequestServedFromOrigin0.002
testRecordsClientProtocolInViaHeaderIfRequestNotServableFromCache0.001
testReturns304ForIfModifiedSincePassesIfRequestServedFromOrigin0.002

TestCacheInvalidator

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

TestMemcachedHttpCacheStorage

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

TestResponseProtocolCompliance

throwsExceptionIfOriginReturnsPartialResponseWhenNotRequested0
consumesPartialContentFromOriginEvenIfNotRequested0
consumesBodyIfOriginSendsOneInResponseToHEAD0
consumesBodyOf100ContinueResponseIfItArrives0.001

TestExponentialBackingOffSchedulingStrategy

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

TestHttpCacheEntry

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

TestConditionalRequestBuilder

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

TestMemcachedCacheEntryImpl

knowsItsCacheEntry0
knowsItsCacheKey0
canBeSerialized0
canBeReconstitutedFromByteArray0.002
canBeCreatedEmpty0
cannotReconstituteFromGarbage0

TestSizeLimitedResponseReader

testTooLargeEntityHasOriginalContentTypes0
testResponseCopiesAllOriginalHeaders0.001
testSmallResponseIsNotTooLarge0
testResponseWithNoEntityIsNotTooLarge0
testLargeResponseIsTooLarge0
testExactSizeResponseIsNotTooLarge0
testTooLargeResponseCombinedClosed0

TestCacheEntryUpdater

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

TestCacheValidityPolicy

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

TestEhcacheHttpCacheStorage

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

TestRequestProtocolCompliance

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

TestHttpCacheJiraNumber1147

testIssue11470.006


Failure Details

[Summary] [Package List] [Test Cases]



testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped
testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped