Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
1104 0 0 2 99.819% 9.112

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.http.client.cache 29 0 0 0 100% 0.252
org.apache.http.impl.client.cache.memcached 29 0 0 0 100% 0.056
org.apache.http.impl.client.cache.ehcache 240 0 0 1 99.583% 1.289
org.apache.http.impl.client.cache 806 0 0 1 99.876% 7.515

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

org.apache.http.client.cache

Class Tests Errors Failures Skipped Success Rate Time
TestHttpCacheEntry 29 0 0 0 100% 0.252

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

Class Tests Errors Failures Skipped Success Rate Time
TestSHA256HashingScheme 1 0 0 0 100% 0.001
TestPrefixKeyHashingScheme 1 0 0 0 100% 0.001
TestMemcachedCacheEntryFactoryImpl 1 0 0 0 100% 0
TestMemcachedHttpCacheStorage 20 0 0 0 100% 0.052
TestMemcachedCacheEntryImpl 6 0 0 0 100% 0.002

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

Class Tests Errors Failures Skipped Success Rate Time
TestEhcacheProtocolRequirements 232 0 0 1 99.569% 1.258
TestEhcacheHttpCacheStorage 8 0 0 0 100% 0.031

org.apache.http.impl.client.cache

Class Tests Errors Failures Skipped Success Rate Time
TestCachedHttpResponseGenerator 9 0 0 0 100% 0.009
TestCacheableRequestPolicy 7 0 0 0 100% 0
TestBasicHttpCache 28 0 0 0 100% 0.017
TestCombinedEntity 1 0 0 0 100% 0.029
TestDefaultFailureCache 3 0 0 0 100% 0
TestResponseCachingPolicy 96 0 0 0 100% 0.025
TestRFC5861Compliance 17 0 0 0 100% 0.036
TestProtocolAllowedBehavior 2 0 0 0 100% 0.002
TestWarningValue 17 0 0 0 100% 0.003
TestHttpCacheEntrySerializers 35 0 0 0 100% 0.032
TestStaleWhileRevalidationReleasesConnection 1 0 0 0 100% 6.36
TestAsynchronousValidator 7 0 0 0 100% 0.01
TestImmediateSchedulingStrategy 1 0 0 0 100% 0.006
TestCachedResponseSuitabilityChecker 20 0 0 0 100% 0.005
TestProtocolDeviations 5 0 0 0 100% 0.007
TestProtocolRecommendations 87 0 0 0 100% 0.09
TestAsynchronousValidationRequest 6 0 0 0 100% 0.055
TestCacheKeyGenerator 28 0 0 0 100% 0.018
TestProtocolRequirements 232 0 0 1 99.569% 0.535
TestCachingHttpClientBuilder 2 0 0 0 100% 0.007
TestCachingExec 63 0 0 0 100% 0.214
TestCacheInvalidator 32 0 0 0 100% 0.025
TestResponseProtocolCompliance 4 0 0 0 100% 0
TestExponentialBackingOffSchedulingStrategy 8 0 0 0 100% 0.01
TestConditionalRequestBuilder 17 0 0 0 100% 0.006
TestSizeLimitedResponseReader 7 0 0 0 100% 0.001
TestCacheEntryUpdater 12 0 0 0 100% 0.002
TestCacheValidityPolicy 45 0 0 0 100% 0.002
TestRequestProtocolCompliance 13 0 0 0 100% 0.002
TestHttpCacheJiraNumber1147 1 0 0 0 100% 0.007

Test Cases

[Summary] [Package List] [Test Cases]

TestCachedHttpResponseGenerator

testAgeHeaderIsNotPopulatedIfCurrentAgeOfCacheEntryIsZero 0.006
testAgeHeaderIsPopulatedWithCurrentAgeOfCacheEntryIfNonZero 0.001
testResponseDoesNotContainEntityToServeHEADRequestIfEntryContainsResource 0
testResponseStatusCodeMatchesCacheEntry 0.001
testContentLengthIsNotAddedWhenTransferEncodingIsPresent 0
testResponseMatchesCacheEntry 0
testResponseContainsEntityToServeGETRequestIfEntryContainsResource 0.001
testResponseHasContentLength 0
testAgeHeaderIsPopulatedWithMaxAgeIfCurrentAgeTooBig 0

TestCacheableRequestPolicy

testIsGetServableFromCache 0
testIsHeadServableFromCache 0
testIsGetWithCacheControlServableFromCache 0
testIsHeadWithCacheControlServableFromCache 0
testIsGetWithPragmaServableFromCache 0
testIsArbitraryMethodServableFromCache 0
testIsHeadWithPragmaServableFromCache 0

TestBasicHttpCache

testRecognizesComplete200Response 0
testDoNotFlushCacheEntriesOnOptions 0
testEntryUpdate 0.001
testOriginalResponseWithNoContentSizeHeaderIsReleased 0.001
testDoNotFlushCacheEntriesOnTrace 0
testGetVariantCacheEntriesReturnsAllVariants 0.001
testIncompleteResponseErrorProvidesPlainTextErrorMessage 0.001
testTooLargeResponsesAreNotCached 0.001
testDoNotFlushContentLocationEntryIfSafeRequest 0.001
testCanFlushCacheEntriesAtUri 0
testStoreInCachePutsNonVariantEntryInPlace 0.001
testIgnoresIncompleteNon200Or206Responses 0
testResponsesWithUnparseableContentLengthHeaderAreComplete 0
testNullResourcesAreComplete 0
testGetCacheEntryReturnsNullIfNoVariantInCache 0.001
testRecognizesIncomplete200Response 0
testGetCacheEntryReturnsNullOnCacheMiss 0
testFlushContentLocationEntryIfUnSafeRequest 0.001
testRecognizesComplete206Response 0
testDoNotFlushCacheEntriesOnGet 0
testDoNotFlushCacheEntriesOnHead 0
testCacheUpdateAddsVariantURIToParentEntry 0.001
testIncompleteResponseErrorProvidesNonEmptyErrorMessage 0
testGetCacheEntryFetchesFromCacheOnCacheHitIfNoVariants 0
testSmallEnoughResponsesAreCached 0.001
testGetCacheEntryReturnsVariantIfPresentInCache 0.001
testResponsesWithoutExplicitContentLengthAreComplete 0
testGetVariantCacheEntriesReturnsEmptySetOnNoVariants 0.001

TestCombinedEntity

testCombinedEntityBasics 0.028

TestSHA256HashingScheme

canHash 0.001

TestDefaultFailureCache

testResetErrorCount 0
testMaxSize 0
testIncrementErrorCount 0

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme 0

TestResponseCachingPolicy

test303WithExplicitCachingHeadersUnderDefaultBehavior 0
testPlain303ResponseCodeIsNotCacheableEvenIf303CachingEnabled 0
testPlain303ResponseCodeIsNotCacheableUnderDefaultBehavior 0.001
testIsArbitraryMethodCacheableUsingSharedPublicCache 0
testIsHeadCacheable 0
testResponsesToGETWithQueryParamsAndExplicitCachingAreCacheable 0.001
testIsArbitraryMethodCacheable 0
test410ResponseCodeIsCacheable 0
test206ResponseCodeIsNotCacheable 0
testNon206WithSMaxAgeIsCacheable 0
testNon206WithPrivateCacheControlIsNotCacheableBySharedCache 0.001
testIsGetWithAnyCacheControlCacheable 0
headsWithQueryParametersFrom1_0OriginsViaExplicitProxiesCanNotBeCacheableEvenWithExpires 0
getsWithQueryParametersFrom1_0OriginsViaProxiesAreCacheableWithExpires 0
testResponsesWithMultipleExpiresHeadersAreNotCacheable 0
testIsHeadWithNoCacheEmbeddedInListCacheable 0
headsWithQueryParametersDirectlyFrom1_0OriginsAreCacheableWithExpires 0
testIsHeadWithAnyCacheControlCacheable 0.001
testVaryStarIsNotCacheableUsingSharedPublicCache 0
testIsHeadWithVaryHeaderCacheable 0
testAuthorizedResponsesWithCacheControlPublicAreCacheable 0
testPlain302ResponseCodeIsNotCacheable 0
testResponsesToHEADWithQueryParamsAndExplicitCachingAreCacheable 0.001
notCacheableIfExpiresPrecedesDateAndNoCacheControl 0
headsWithQueryParametersFrom1_0OriginsViaProxiesAreNotCacheable 0
test302WithExplicitCachingHeaders 0
test303WithExplicitCachingHeadersWhenPermittedByConfig 0
testResponsesToHEADWithQueryParamsButNoExplicitCachingAreNotCacheableEvenWhen1_0QueryCachingDisabled 0.001
test206ResponseCodeIsNotCacheableUsingSharedPublicCache 0
headsWithQueryParametersFrom1_0OriginsViaProxiesCanNotBeCacheableEvenWithExpires 0
testResponsesWithMalformedDateHeadersAreNotCacheableUsingSharedPublicCache 0
testIsGetWithNoCacheEmbeddedInListCacheable 0
notCacheableIfExpiresEqualsDateAndNoCacheControl 0
testResponsesToRequestsWithNoStoreAreNotCacheable 0
testResponsesWithoutDateHeadersAreNotCacheable 0
testResponsesToHEADWithQueryParamsButNoExplicitCachingAreNotCacheable 0
testIsGetWithNoStoreCacheable 0
testIsGetWithNoCacheCacheable 0
testPlain307ResponseCodeIsNotCacheable 0
getsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheable 0.001
test307WithExplicitCachingHeaders 0
testResponsesToRequestsWithAuthorizationHeadersAreCacheableByNonSharedCache 0
testNon206WithMustRevalidateIsCacheable 0
getsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheableEvenWithSetting 0
testResponsesWithMalformedDateHeadersAreNotCacheable 0
testResponsesWithMultipleDateHeadersAreNotCacheableUsingSharedPublicCache 0.001
testResponsesWithMultipleAgeHeadersAreNotCacheableUsingSharedPublicCache 0
testResponsesWithMultipleExpiresHeadersAreNotCacheableUsingSharedPublicCache 0
headsWithQueryParametersFrom1_0OriginsViaExplicitProxiesAreCacheableWithExpires 0
testIsHeadWithout200Cacheable 0
testResponsesToRequestsWithAuthorizationHeadersAreNotCacheableBySharedCache 0
getsWithQueryParametersDirectlyFrom1_0OriginsAreCacheableWithExpires 0
testIsHeadWithNoStoreCacheable 0
testResponsesToHEADWithQueryParamsAndExplicitCachingAreCacheableEvenWhen1_0QueryCachingDisabled 0
testIsGetWithNoCacheEmbeddedInListAfterFirstHeaderCacheable 0.001
testIsHeadWithNoCacheCacheable 0
headsWithQueryParametersFrom1_0OriginsViaProxiesAreCacheableWithExpires 0
test203ResponseCodeIsCacheable 0
testIsGetWithNoStoreEmbeddedInListAfterFirstHeaderCacheable 0
test301ResponseCodeIsCacheable 0
testNon206WithExplicitExpiresIsCacheable 0
headsWithQueryParametersDirectlyFrom1_0OriginsCanBeNotCacheableEvenWithExpires 0
testResponsesWithMultipleDateHeadersAreNotCacheable 0
test300ResponseCodeIsCacheable 0
testNon206WithMaxAgeIsCacheable 0.001
testResponsesToGETWithQueryParamsAndExplicitCachingAreCacheableEvenWhen1_0QueryCachingDisabled 0
getsWithQueryParametersFrom1_0OriginsViaProxiesCanNotBeCacheableEvenWithExpires 0
test200ResponseWithPrivateCacheControlIsCacheableByNonSharedCache 0
testAuthorizedResponsesWithCacheControlMaxAgeAreNotCacheable 0.001
getsWithQueryParametersFrom1_0OriginsViaExplicitProxiesCanNotBeCacheableEvenWithExpires 0
getsWithQueryParametersDirectlyFrom1_0OriginsCanBeNotCacheableEvenWithExpires 0
testResponsesWithMultipleAgeHeadersAreNotCacheable 0
headsWithQueryParametersFrom1_1OriginsVia1_0ProxiesAreCacheableWithExpires 0
testIsGetWithVaryHeaderCacheable 0.001
testResponsesToGETWithQueryParamsButNoExplicitCachingAreNotCacheableEvenWhen1_0QueryCachingDisabled 0
getsWithQueryParametersFrom1_1OriginsVia1_0ProxiesAreCacheableWithExpires 0
testResponseThatHasTooMuchContentIsNotCacheable 0
testAuthorizedResponsesWithSMaxAgeAreCacheable 0
getsWithQueryParametersFrom1_0OriginsViaProxiesAreNotCacheable 0
testIsHeadWithNoStoreEmbeddedInListCacheable 0.001
testResponsesThatAreSmallEnoughAreCacheable 0
testNon206WithPublicCacheControlIsCacheable 0
testResponseThatHasTooMuchContentIsNotCacheableUsingSharedPublicCache 0
testIsGetWithNoStoreEmbeddedInListCacheable 0
getsWithQueryParametersFrom1_0OriginsViaExplicitProxiesAreCacheableWithExpires 0.001
testIsHeadWithNoCacheEmbeddedInListAfterFirstHeaderCacheable 0
testVaryStarIsNotCacheable 0
testIsGetCacheable 0
testIsHeadWithNoStoreEmbeddedInListAfterFirstHeaderCacheable 0
testAuthorizedResponsesWithMustRevalidateAreCacheable 0.001
testIsGetWithout200Cacheable 0
testNon206WithProxyRevalidateIsCacheable 0
testResponsesToGETWithQueryParamsButNoExplicitCachingAreNotCacheable 0
otherStatusCodesAreCacheableWithExplicitCachingHeaders 0
headsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheable 0
headsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheableEvenWithSetting 0.001

TestRFC5861Compliance

testStaleIfErrorInResponseYieldsToProxyRevalidateForSharedCache 0.002
testStaleIfErrorInRequestIsFalseReturnsError 0.001
testStaleIfErrorInResponseIsTrueReturnsStaleEntryWithWarning 0.002
testStaleWhileRevalidateYieldsToProxyRevalidateForSharedCache 0.001
testStaleWhileRevalidateYieldsToExplicitFreshnessRequest 0.002
testStaleWhileRevalidateYieldsToMustRevalidate 0.002
testStaleIfErrorInResponseYieldsToMustRevalidate 0.001
testStaleWhileRevalidateReturnsStaleEntryWithWarning 0.002
testHTTPCLIENT1470 0
testStaleIfErrorInResponseYieldsToExplicitFreshnessRequest 0.003
testCanAlsoServeStale304sWhileRevalidating 0.003
testConsumesErrorResponseWhenServingStale 0.003
testStaleIfErrorInResponseIsFalseReturnsError 0.002
testStaleIfErrorInRequestIsTrueReturnsStaleNonRevalidatableEntryWithWarning 0.003
testStaleIfErrorInRequestIsTrueReturnsStaleEntryWithWarning 0.002
testStaleIfErrorInResponseNeedNotYieldToProxyRevalidateForPrivateCache 0.002
testStaleWhileRevalidateReturnsStaleNonRevalidatableEntryWithWarning 0.002

TestProtocolAllowedBehavior

testNonSharedCacheReturnsStaleResponseWhenRevalidationFailsForProxyRevalidate 0.001
testNonSharedCacheMayCacheResponsesWithCacheControlPrivate 0.001

TestWarningValue

testConstructWarnValueWithRFC1123WarnDate 0
testMidHeaderParseErrorRecovery 0
testParseMultipleWarnValues 0
testConstructWarnValueWithTextWithCommas 0
testConstructWarnValueWithTextWithSpaces 0
testConstructWarnValueWithIPv4Address 0
testConstructWarnValueWithHostnameAndPort 0
testConstructWarnValueWithIPv4AddressAndPort 0
testConstructWarnValueWithAscTimeWarnDate 0
testParseSingleWarnValue 0
testConstructWarnValueWithHostname 0
testConstructWarnValueWithTextWithEscapedQuotes 0
testTrickyCommaMidHeaderParseErrorRecovery 0
testParseErrorRecoveryAtEndOfHeader 0
testConstructSingleWarnValue 0
testConstructWarnValueWithRFC850WarnDate 0
testConstructWarnValueWithPseudonym 0

TestHttpCacheEntrySerializers

canSerializeEntriesWithVariantMaps 0.014
isAllowedClassNameStringTrue 0
isAllowedClassNameCalanTemplatesImplFalse 0
isAllowedClassNameJavaxXmlTransformTemplatesFalse 0
isAllowedClassNameFloatArrayArrayTrue 0
isAllowedClassNameIntArrayArrayTrue 0
isAllowedClassNameShortArrayTrue 0
isAllowedClassNameJavaxManagementMBeanServerInvocationHandlerFalse 0
isAllowedClassNameResourceTrue 0.001
isAllowedClassNameLongArrayTrue 0
isAllowedClassNameIntArrayTrue 0
isAllowedClassNameDoubleArrayTrue 0
isAllowedClassNameCollectionsInvokerTransformerFalse 0
isAllowedClassNameDataTrue 0
isAllowedClassNameJavaRmiServerRemoteObjectInvocationHandlerFalse 0.001
isAllowedClassNameStringArrayTrue 0
isAllowedClassNameGroovyMethodClosureFalse 0
isAllowedClassNameShortArrayArrayTrue 0
isAllowedClassNameGroovyConvertedClosureFalse 0
isAllowedClassNameLongArrayArrayTrue 0
isAllowedClassNameFloatArrayTrue 0
isAllowedClassNameCharArrayTrue 0
isAllowedClassNameByteArrayArrayTrue 0
isAllowedClassNameJavaRmiRegistryFalse 0
isAllowedClassNameCollectionsInstantiateTransformerFalse 0
isAllowedClassNameCalanTemplatesImplArrayFalse 0.001
isAllowedClassNameStringArrayArrayTrue 0
isAllowedClassNameCollections4InstantiateTransformerFalse 0
isAllowedClassNameByteArrayTrue 0
isAllowedClassNameStatusLineTrue 0
isAllowedClassNameSpringObjectFactoryFalse 0
isAllowedClassNameCharArrayArrayTrue 0
isAllowedClassNameDoubleArrayArrayTrue 0
throwExceptionIfUnsafeDeserialization 0.009
isAllowedClassNameCollections4InvokerTransformerFalse 0

TestStaleWhileRevalidationReleasesConnection

testStaleWhileRevalidate 6.358

TestMemcachedCacheEntryFactoryImpl

createsMemcachedCacheEntryImpls 0

TestAsynchronousValidator

testSchedulingStrategyShutdownOnClose 0.002
testRevalidateCacheEntryProperlyCollapsesRequest 0.001
testRevalidateCacheEntrySchedulesExecutionAndPopulatesIdentifier 0.001
testRevalidateCacheEntryEndToEnd 0.002
testRevalidateCacheEntryDoesNotPopulateIdentifierOnRejectedExecutionException 0.001
testMarkCompleteRemovesIdentifier 0.002
testVariantsBothRevalidated 0.001

TestImmediateSchedulingStrategy

testRequestScheduledImmediately 0.006

TestCachedResponseSuitabilityChecker

testNotSuitableIfContentLengthHeaderIsWrong 0
testNotSuitableIfStaleButTooStaleForRequestMaxStale 0
testNotSuitableIfRequestHasNoCache 0.001
testNotSuitableIfAgeExceedsRequestMaxAge 0
testSuitableIfRequestMethodisHEAD 0
testSuitableIfFreshAndFreshnessLifetimeGreaterThanRequestMinFresh 0
testNotSuitableIfFreshnessLifetimeLessThanRequestMinFresh 0.001
testMalformedCacheControlMinFreshRequestHeaderCausesUnsuitableEntry 0
testNotSuitableIfCacheEntryIsNotFresh 0
testSuitableForGETIfHeadResponseCachingEnabledAndEntryDoesNotSpecifyARequestMethodButContains204Response 0
testMalformedCacheControlMaxAgeRequestHeaderCausesUnsuitableEntry 0.001
testSuitableIfCacheEntryIsHeuristicallyFreshEnoughByDefault 0
testSuitableEvenIfStaleButPermittedByRequestMaxStale 0
testNotSuitableIfRequestMethodIsGETAndEntryResourceIsNull 0
testNotSuitableForGETIfEntryDoesNotSpecifyARequestMethodOrEntity 0.001
testSuitableIfFreshAndAgeIsUnderRequestMaxAge 0
testSuitableForGETIfEntryDoesNotSpecifyARequestMethodButContainsEntity 0.001
testSuitableIfCacheEntryIsHeuristicallyFreshEnough 0
testSuitableForHEADIfHeadResponseCachingEnabledAndEntryDoesNotSpecifyARequestMethod 0
testSuitableIfCacheEntryIsFresh 0

TestProtocolDeviations

testPassesOnOrigin407WithoutAProxyAuthenticateHeader 0.003
testPassesOnOrigin401ResponseWithoutWWWAuthenticateHeader 0.001
testOPTIONSRequestsWithBodiesAndNoContentTypeHaveOneSupplied 0.001
testPassesOnOrigin405WithoutAllowHeader 0.001
testPartialContentIsNotReturnedToAClientThatDidNotAskForIt 0.001

TestProtocolRecommendations

testDoesNotModifyLocationOnResponses 0
shouldStripContentLengthFromOrigin304ResponseToStrongValidation 0
testDoesNotAddNewWarningHeaderIfResponseArrivesStale 0.001
testForwardsExistingWarningHeadersOnResponseThatArrivesStale 0.001
testUsesBothLastModifiedAndETagForConditionalRequestsIfAvailable 0.001
testRevalidatesCachedResponseWithExpirationInThePast 0.002
returns504ForStaleEntryWithOnlyIfCached 0.001
shouldStripContentEncodingFromOrigin304ResponseToStrongValidation 0
testDoesNotModifyExtensionHeaderOnResponses 0.001
responseToGetWithQueryFrom1_0OriginAndNoExpiresIsNotCached 0.001
testDoesNotModifyAcceptRangesOnResponses 0.001
cacheGenerated304ForStrongValidatorShouldNotContainContentMD5 0.001
testDoesNotModifyIfNoneMatchOnRequests 0.001
testDoesNotModifyContentTypeOnRequests 0.001
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFirstHandOneWithCacheControl 0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentLanguage 0.001
testDoesNotModifyRefererOnRequests 0.002
testResponseToExistingVariantsUpdatesEntry 0.002
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFirstHandOneWithPragma 0.001
testDoesNotModifyContentRangeOnResponses 0.001
issues304EvenWithWeakETag 0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentType 0.001
testDoesNotModifyExtensionHeaderOnRequests 0.001
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentEncoding 0.001
responseToGetWithQueryFrom1_0OriginVia1_1ProxyAndNoExpiresIsNotCached 0
shouldStripContentRangeFromOrigin304ResponseToStringValidation 0
testDoesNotModifyIfModifiedSinceOnRequests 0.001
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMaxAge 0.001
testDoesNotModifyContentLengthOnRequests 0.001
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMaxStale 0.001
testUsesLastModifiedDateForCacheConditionalRequests 0.002
testDoesNotModifyIfRangeOnRequests 0.001
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentType 0.001
testDoesNotModifyContentLengthOnResponses 0.001
shouldStripLastModifiedFromOrigin304ResponseToStrongValidation 0.001
cacheGenerated304ForStrongEtagValidatorShouldNotContainAllow 0
shouldInvalidateAllVariantsForUnknownMethod 0.003
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentLanguage 0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentLength 0.001
testDoesNotModifyUserAgentOnRequests 0.001
cacheHitOkWithOnlyIfCached 0.001
expiresPriorToDateWithNoCacheControlIsNotCacheable 0.001
cacheMissResultsIn504WithOnlyIfCached 0
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentRange 0.001
variantNegotiationsDoNotIncludeEtagsForPartialResponses 0.002
testDoesNotModifyExpiresOnResponses 0
shouldStripAllowFromOrigin304ResponseToStrongValidation 0
testMayReturnStaleResponseIfClientExplicitlySpecifiesAcceptableMaxStale 0.001
testDoesNotModifyServerOnResponses 0.001
testDoesNotModifyContentTypeOnResponses 0.001
cacheGenerated304ForStrongValidatorShouldNotContainContentLength 0.001
shouldInvalidateNonvariantCacheEntryForUnknownMethod 0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentMD5 0.001
testDoesNotModifyDateOnRequests 0.001
testDoesNotModifyAuthorizationOnRequests 0.001
testReturnsCachedResponsesAppropriatelyWhenNoOriginCommunication 0.001
returnsStaleCacheEntryWithOnlyIfCachedAndMaxStale 0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentRange 0
testDoesNotModifyRetryAfterOnResponses 0
cachedEntryShouldNotBeUsedIfMoreRecentMentionInContentLocation 0.002
testDoesNotModifyFromOnRequests 0
testDoesNotModifyContentRangeOnRequests 0
shouldStripContentTypeFromOrigin304ResponseToStrongValidation 0.001
expiresEqualToDateWithNoCacheControlIsNotCacheable 0.001
testDoesNotModifyDateOnResponses 0.001
testRetriesValidationThatResultsInAnOlderDated304Response 0.001
testDoesNotModifyIfUnmodifiedSinceOnRequests 0.001
testIdentityCodingIsNotUsedInContentEncodingHeader 0.001
cacheGenerated304ForStrongEtagValidatorShouldNotContainLastModified 0.001
testDoesNotModifyVaryOnResponses 0.001
otherFreshnessRequestDirectivesNotAllowedWithNoCache 0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainAllow 0.001
testResponseToExistingVariantsIsCachedForFutureResponses 0.001
testSendsAllVariantEtagsInConditionalRequest 0.002
shouldStripContentMD5FromOrigin304ResponseToStrongValidation 0.001
testDoesNotModifyContentMD5OnRequests 0
testDoesNotModifyLastModifiedOnResponses 0.001
testDoesNotModifyIfMatchOnRequests 0.001
shouldStripContentLanguageFromOrigin304ResponseToStrongValidation 0
testDoesNotReturnStaleResponseIfClientExplicitlySpecifiesLargerMaxAge 0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentEncoding 0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainLastModified 0.001
cacheShouldUpdateWithNewCacheableResponse 0.002
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMinFresh 0
testDoesNotModifyRangeOnRequests 0.001
testDoesNotModifyContentMD5OnResponses 0.001
testDoesNotModifyETagOnResponses 0.001

TestAsynchronousValidationRequest

testRunGracefullyHandlesProtocolException 0.047
testRunGracefullyHandlesIOException 0.001
testRunCallsCachingClientAndRemovesIdentifier 0.002
testRunGracefullyHandlesRuntimeException 0.001
testRunReportsJobFailedForStaleResponse 0.002
testRunReportsJobFailedForServerError 0.001

TestCacheKeyGenerator

testGetVariantURIHandlesMultipleLineRequestHeaders 0.005
testIntermidateDotSegementsAreEquivalent 0.001
testGetURIWithQueryParameters 0
testGetVariantURIHandlesMultipleVaryHeaders 0.001
testEmptyPortEquivalentToDefaultPortForHttpsAbsoluteURI 0
testIntermidateDotDotSegementsAreEquivalent 0.001
testGetVariantURIAlphabetizesWithMultipleVaryingHeaders 0.001
testSchemeNameComparisonsAreCaseInsensitive 0
testExtraDotDotSegmentsAreIgnored 0
testExtraDotSegmentsAreIgnored 0.001
testExtractsUriFromAbsoluteUriInRequest 0
testGetVariantURIWithNoVaryHeaderReturnsNormalURI 0
testNotProvidedPortEquivalentToDefaultPortForHttp 0.001
testGetVariantURIWithSingleValueVaryHeaderPrepends 0
testEmptyPortEquivalentToDefaultPortForHttp 0.001
testHostNameComparisonsAreCaseInsensitive 0
testIntermidateEncodedDotDotSegementsAreEquivalent 0.001
testEquivalentPathEncodingsAreEquivalent 0
testEquivalentExtraPathEncodingsWithPercentAreEquivalent 0.001
testEmptyPortEquivalentToDefaultPortForHttps 0
testGetURIWithDifferentScheme 0
testEquivalentExtraPathEncodingsAreEquivalent 0.001
testEmptyAbsPathIsEquivalentToSlash 0
testGetURIWithDefaultPortAndScheme 0
testGetURIWithDifferentPortAndScheme 0
testNotProvidedPortEquivalentToDefaultPortForHttpsAbsoluteURI 0
testGetURIWithDifferentPort 0.001
testGetVariantURIWithMissingRequestHeader 0.001

TestProtocolRequirements

testMustIncludeProxyAuthenticateHeaderFromAnOrigin407Response 0.002
testSharedCacheMayCacheAuthorizedResponsesWithCacheControlPublic 0.002
testGenerates504IfCannotRevalidateAMustRevalidateEntry 0.002
testCannotCombinePartialResponseIfCacheEntryDoesNotHaveACacheValidator 0.002
testResponsesToTRACEsAreNotCached 0.001
testOrderOfMultipleContentEncodingHeadersIsPreservedOnResponses 0.001
testOrderOfMultipleAllowHeadersIsPreservedOnResponses 0.001
testConditionalRequestWhereAllValidatorsMatchMayBeServedFromCache 0.002
testHEADResponseWithUpdatedContentMD5FieldMakeACacheEntryStale 0.003
testDoesNotModifyContentMD5HeaderOnRequest 0.001
test205ResponsesDoNotContainMessageBodies 0.002
testDoesNotAddContentLocationToRequestIfNotPresent 0.001
testValidationMustUseETagIfProvidedByOriginServer 0.003
testTransmitsAgeHeaderIfIncomingAgeHeaderTooBig 0.001
testOrderOfMultipleViaHeadersIsPreservedOnRequests 0.001
testStripsBadlyDatedWarningsFromForwardedResponses 0.001
testDoesNotAddEtagToOriginResponse 0.001
testCacheIsNotUsedWhenRespondingToRequestWithCacheControlNoCache 0.002
test206ResponseToIfRangeWithStrongValidatorReturnsAllEntityHeaders 0.002
test304ResponseGeneratedFromCacheIncludesExpiresCacheControlAndOrVaryIfResponseMightDiffer 0.003
testForwardedTRACERequestsDoNotIncludeAnEntity 0.001
testUpdatesWarningHeadersOnValidation 0.001
testWarnDatesAreAddedToWarningsOnLowerProtocolVersions 0.002
test206ContainsContentLocationIfA200ResponseWouldHaveIncludedIt 0.001
testRequestsNotExpecting100ContinueBehaviorShouldNotSetExpectContinueHeader 0
test206ResponseReturnedToClientMustHaveDateHeader 0.001
testDoesNotAddContentTypeHeaderToCachedResponseWithNoTransformIfNotPresent 0.001
testMustDiscardCachedPartialResponseIfCacheValidatorsDoNotStronglyMatchAndDateHeadersAreEqual 0.002
testExpect100ContinueIsNotSentIfThereIsNoRequestBody 0.001
testDoesNotForwardOPTIONSWhenMaxForwardsIsZeroOnAbsoluteURIRequest 0
testDoesNotAddContentTypeToRequestIfNotPresent 0.001
testUnknownHeadersOnResponsesAreForwarded 0.001
testOrderOfMultipleContentEncodingHeadersIsPreservedOnRequests 0
testDoesNotAddLastModifiedToRequestIfNotPresent 0.001
test100ContinueResponsesAreNotForwardedTo1_0ClientsWhoDidNotAskForThem 0.001
testRequestsWithLowerProtocolVersionsGetUpgradedTo1_1 0.001
testOrderOfMultipleAcceptHeaderValuesIsPreservedOnRequests 0.001
testDoesNotModifyServerResponseHeader 0
testDoesNotAddContentEncodingHeaderToCachedResponseWithNoTransformIfNotPresent 0.001
testDELETERequestsAreWrittenThroughToOrigin 0.001
testMustDiscardLeastRecentPartialResponseIfCacheValidatorsDoNotStronglyMatch 0.001
testRemovesWarningHeaderIfAllWarnValuesAreBadlyDated 0.001
testPostInvalidatesCacheForThatUriInContentLocationHeader 0.002
testDoesNotAddContentTypeHeaderToRequestIfNotPresent 0.001
test2xxWarningsAreNotDeletedAfterSuccessfulRevalidation 0.001
testNoStoreOnResponseIsNotStoredInCache 0.001
test302ResponseWithoutExplicitCacheabilityIsNotReturnedFromCache 0.001
testExpiresHeaderMatchesDateIfAddedToCacheHit 0.001
testLowerOriginResponsesUpgradedToOurVersion1_1 0.001
test206ResponseGeneratedFromCacheMustHaveContentRangeOrMultipartByteRangesContentType 0.001
testSharedCacheMustUseNewRequestHeadersWhenRevalidatingAuthorizedResponsesWithMustRevalidate 0.001
testProperlyFormattedViaHeaderIsAddedToResponses 0.001
testHigher1_XProtocolVersionsDowngradeTo1_1 0.001
testExpectHeadersAreForwardedOnRequests 0.001
testCacheMissOnGETUsesOriginResponse 0.001
testOrderOfMultipleAcceptCharsetHeadersIsPreservedOnRequests 0.001
testDELETEWithIfNoneMatchWeakETagIsNotAllowed 0
testDoesNotModifyContentLocationHeaderOnRequest 0.001
testPutDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts 0.002
test304ResponseGeneratedFromCacheIncludesContentLocationIfOriginResponseDid 0.001
testOrderOfMultipleAcceptEncodingHeadersIsPreservedOnRequests 0.001
testHEADResponseWithUpdatedLastModifiedFieldMakeACacheEntryStale 0.002
testDeleteInvalidatesCacheForThatUriInLocationHeader 0.002
testSubrangeGETWithWeakETagIsNotAllowed 0
testOrderOfMultipleWWWAuthenticateHeadersIsPreservedOnResponses 0.001
testCONNECTRequestsAreWrittenThroughToOrigin 0.001
testCachedResponsesWithMissingDateHeadersShouldBeAssignedOne 0.001
testExpiresHeaderEqualToDateHeaderIsTreatedAsStale 0.001
testDoesNotTransmitNoCacheDirectivesWithFieldsDownstream 0
testExpiresHeaderMatchesDateIfAddedToOriginResponse 0.001
testNoCacheOnFieldIsNotReturnedWithoutRevalidation 0.001
test206ResponseIsNotCombinedWithPreviousContentIfETagDoesNotMatch 0.001
testSubrangeGETMustUseStrongComparisonForCachedResponse 0.001
testOrderOfMultipleWarningHeadersIsPreservedOnRequests 0.001
testMustNotAddMultipartByteRangeContentTypeTo416Response 0
testCacheControlPrivateIsNotCacheableBySharedCache 0.001
testOrderOfMultiplePragmaHeadersIsPreservedOnRequests 0.001
testSharedCacheMustRevalidateAuthorizedResponsesWhenSMaxAgeIsZero 0.001
test206ResponseIsNotCombinedWithPreviousContentIfLastModifiedDoesNotMatch 0.001
testPutDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts 0.001
testMultiHeadersAreSuccessfullyReplacedOn304Validation 0.001
testResponsesToPUTsAreNotCached 0.001
testCacheWithoutSupportForRangeAndContentRangeHeadersDoesNotCacheA206Response 0.001
testNoStoreOnResponseIsNotStoredInCacheEvenWithContraryIndicators 0
testDoesNotModifyContentLocationHeaderFromOrigin 0.001
testOrderOfMultipleViaHeadersIsPreservedOnResponses 0.001
testNoCacheCannotSatisfyASubsequentRequestWithoutRevalidationEvenWithContraryIndications 0.001
testMustDiscardLeastRecentPartialResponseIfCachedResponseDoesNotHaveCacheValidator 0.001
test1xxWarningsAreDeletedAfterSuccessfulRevalidation 0.002
testDoesNotAddContentRangeHeaderToCachedResponseWithNoTransformIfNotPresent 0.001
testOrderOfMultipleContentEncodingHeaderValuesIsPreserved 0
testDoesNotAddContentMD5ToRequestIfNotPresent 0.001
testDoesNotModifyContentEncodingHeaderOnCachedResponseWithNoTransform 0.001
test206ResponseToConditionalRangeRequestDoesNotIncludeOtherEntityHeaders 0.001
test206ResponseGeneratedFromCacheMustHaveDateHeader 0.001
testDoesNotModifyAllowHeaderWithUnknownMethods 0.001
testStaleEntryWithMustRevalidateIsNotUsedWithoutRevalidatingWithOrigin 0.002
testOrderOfMultipleCacheControlHeadersIsPreservedOnResponses 0.001
testSharedCacheMustUseNewRequestHeadersWhenRevalidatingAuthorizedResponsesWithSMaxAge 0.001
testPutInvalidatesCacheForThatUriInRelativeContentLocationHeader 0.002
testNoStoreOnRequestIsNotStoredInCacheEvenIfResponseMarkedCacheable 0
testMustReturnAFreshEnoughCacheEntryIfItHasIt 0.001
testDoesNotModifyContentLocationFromOriginOnCacheHit 0.001
testPutInvalidatesCacheForThatUriInLocationHeader 0.002
testUnknownHeadersOnRequestsAreForwarded 0.001
testOrderOfMultipleCacheControlHeadersIsPreservedOnRequests 0.001
testIncompleteResponseMustNotBeReturnedToClientWithoutMarkingItAs206 0.001
testDoesNotModifyLastModifiedFromOriginOnCacheHit 0.001
testDoesNotAddContentRangeHeaderToRequestIfNotPresent 0
testDELETEWithIfMatchWeakETagIsNotAllowed 0.001
testDoesNotModifyContentMD5HeaderFromOrigin 0
test303ResponsesAreNotCached 0.001
testResponsesToDELETEsAreNotCached 0.001
testConditionalRequestWhereNotAllValidatorsMatchCannotBeServedFromCache 0.001
testMustDiscardLeastRecentPartialResponseIfIncomingRequestDoesNotHaveCacheValidator 0.002
testCacheIsNotUsedWhenRespondingToRequestWithPragmaNoCache 0.001
testOrderOfMultiplePragmaHeadersIsPreservedOnResponses 0.001
testCannotCombinePartialResponseIfCacheValidatorsDoNotStronglyMatch 0.001
testDoesNotModifyExpiresHeaderFromOrigin 0
testExpiresZeroHeaderIsTreatedAsStale 0.002
testPUTWithIfNoneMatchWeakETagIsNotAllowed 0
testResponseToAHEADRequestMustNotHaveABody 0.001
testOrderOfMultipleExpectHeadersIsPreservedOnRequests 0.001
testUnknownResponseStatusCodesAreNotCached 0.284
testDoesNotAddContentRangeToRequestIfNotPresent 0.001
testDoesNotAddContentLocationToOriginResponse 0
testHEADResponseWithUpdatedContentLengthFieldMakeACacheEntryStale 0.002
testDoesNotModifyContentRangeHeaderOnCachedResponseWithNoTransform 0.001
testDoesNotAddContentMD5ToOriginResponse 0.001
testDoesNotAddETagHeaderOnCacheHit 0
testAgeHeaderPopulatedFromCacheEntryCurrentAge 0
testViaHeaderOnResponseProperlyRecordsOriginProtocol 0.001
testMustServeAppropriateErrorOrWarningIfNoOriginCommunicationPossible 0
test206ResponseGeneratedFromCacheMustHaveABodyThatMatchesContentLengthHeaderIfPresent 0.001
testPostDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts 0.001
testNonmatchingVariantCannotBeServedFromCacheUnlessConditionallyValidated 0.001
test304ResponseGeneratedFromCacheIncludesEtagIfOriginResponseDid 0.001
testForwardsUnknownHeadersOnRequestsFromHigherProtocolVersions 0.001
testWarning110IsAddedToStaleResponses 0.001
testPOSTRequestsAreWrittenThroughToOrigin 0.001
testGenerates504IfSharedCacheCannotRevalidateAProxyRevalidateEntry 0
testDoesNotModifyETagHeaderOnRequest 0.001
testPUTRequestsAreWrittenThroughToOrigin 0
testMalformedExpiresHeaderIsTreatedAsStale 0.002
testDoesNotAddETagToRequestIfNotPresent 0
test304ResponseGeneratedFromCacheIncludesDateHeader 0.001
testSharedCacheMayCacheAuthorizedResponsesWithMustRevalidate 0.001
testStaleEntryWithProxyRevalidateOnSharedCacheIsNotUsedWithoutRevalidatingWithOrigin 0.001
testCannotServeFromCacheForVaryStar 0
test206ResponsesAreNotCachedIfTheCacheDoesNotSupportRangeAndContentRangeHeaders 0.001
test204ResponsesDoNotContainMessageBodies 0
testDoesNotAddContentTypeHeaderToOriginResponseWithNoTransformIfNotPresent 0.001
testOrderOfMultipleTransferEncodingsInSingleHeadersIsPreserved 0.001
testPutInvalidatesCacheForThatUriInContentLocationHeader 0.001
testUnknownMethodRequestsAreWrittenThroughToOrigin 0.001
testDoesNotAddAMaxForwardsHeaderToForwardedOPTIONSRequests 0
testDeleteInvalidatesCacheForThatUriInRelativeContentLocationHeader 0.002
testStripsBadlyDatedWarningsFromStoredResponses 0
testCannotCombinePartialResponseIfIncomingResponseDoesNotHaveACacheValidator 0.001
testDeleteDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts 0.002
test304GeneratedFromCacheOnWeakValidatorDoesNotIncludeOtherEntityHeaders 0
testPUTWithIfMatchWeakETagIsNotAllowed 0.001
testOrderOfMultipleTransferEncodingHeadersIsPreserved 0
testDoesNotAddContentEncodingHeaderToOriginResponseWithNoTransformIfNotPresent 0.001
testDoesNotModifyContentTypeHeaderFromOriginResponseWithNoTransform 0.001
testOrderOfMultipleContentLanguageHeadersIsPreservedOnResponses 0
testHEADResponseWithUpdatedETagFieldMakeACacheEntryStale 0.002
testDoesNotAddLastModifiedToOriginResponse 0.001
testPostDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts 0.001
testDeleteToUriInvalidatesCacheForThatUri 0.001
testDoesNotModifyLastModifiedHeaderFromOrigin 0.001
test200ResponseToOPTIONSWithNoBodyShouldIncludeContentLengthZero 0.001
testUpdatedEndToEndHeadersFrom304ArePassedOnResponseAndUpdatedInCacheEntry 0.001
testDoesNotModifyContentMD5FromOriginOnCacheHit 0.001
testPostInvalidatesCacheForThatUriInLocationHeader 0.002
testAttachesWarningHeaderWhenGeneratingStaleResponse 0
testMustDiscardLeastRecentPartialResponseIfCacheValidatorsDoNotStronglyMatchEvenIfResponsesOutOfOrder 0.001
testHigherMajorProtocolVersionsOnRequestSwitchToTunnelBehavior 0.001
testDoesNotAddContentLocationHeaderOnCacheHit 0
testDoesNotAddContentMD5HeaderOnCacheHit 0.001
testPostToUriInvalidatesCacheForThatUri 0.002
testOPTIONSRequestsAreWrittenThroughToOrigin 0
skipped
test304ResponseWithDateHeaderForwardedFromOriginIncludesDateHeader 0
testMustReturnACacheEntryIfItCanRevalidateIt 0.001
testNoStoreOnRequestIsNotStoredInCache 0
testDeleteDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts 0.001
testHeuristicCacheOlderThan24HoursHasWarningAttached 0.001
testPostInvalidatesCacheForRelativeUriInContentLocationHeader 0.001
testDoesNotModifyContentEncodingHeaderFromOriginResponseWithNoTransform 0
testDoesNotModifyContentRangeHeaderFromOriginResponseWithNoTransform 0.001
testTransferCodingsAreNotSentToAnHTTP_1_0Client 0.001
testDoesNotAddContentEncodingHeaderToRequestIfNotPresent 0.001
testOrderOfMultipleContentLanguageHeadersIsPreservedOnRequests 0
testNotModifiedOfNonCachedEntityShouldRevalidateWithUnconditionalGET 0.002
testCacheControlPrivateOnFieldIsNotReturnedBySharedCache 0.001
testDoesNotModifyExpiresHeaderFromOriginOnCacheHit 0
testCacheEntryIsUpdatedWithNewFieldValuesIn304Response 0.002
testDoesNotModifyContentTypeHeaderOnCachedResponseWithNoTransform 0.001
testDoesNotAddContentEncodingToRequestIfNotPresent 0
testNoCacheCannotSatisfyASubsequentRequestWithoutRevalidation 0.002
testMustIncludeAllowHeaderFromAnOrigin405Response 0
testDoesNotModifyLastModifiedHeaderOnRequest 0.001
testResponsesToPOSTWithoutCacheControlOrExpiresAreNotCached 0
testVaryStarIsNotGeneratedByProxy 0.001
testDoesNotModifyEtagFromOriginOnCacheHit 0.001
testViaHeaderOnRequestProperlyRecordsClientProtocol 0.001
testTRACERequestsAreWrittenThroughToOrigin 0
testDecrementsMaxForwardsWhenForwardingOPTIONSRequest 0.001
testMustIncludeWWWAuthenticateHeaderOnAnOrigin401Response 0
testRetainsWarningHeadersReceivedFromUpstream 0
testOrderOfMultipleAllowHeadersIsPreservedOnRequests 0.001
testPutToUriInvalidatesCacheForThatUri 0.002
testDeleteInvalidatesCacheForThatUriInContentLocationHeader 0.002
testProperlyFormattedViaHeaderIsAddedToRequests 0.001
testRequestsExpecting100ContinueBehaviorShouldSetExpectHeader 0.001
testResponsesToOPTIONSAreNotCacheable 0
testCannotUseVariantCacheEntryIfNotAllSelectingRequestHeadersMatch 0.002
testOrderOfMultipleParametersInContentEncodingHeaderIsPreserved 0.001
testDoesNotAddLastModifiedHeaderOnCacheHit 0.001
test206ResponseIncludesVariantHeadersIfValueMightDiffer 0.001
testSharedCacheMustNotNormallyCacheAuthorizedResponses 0.002
testKeepsMostRecentDateHeaderForFreshResponse 0.001
testDoesNotModifyEtagHeaderFromOrigin 0.001
testResponseToA1_0RequestShouldUse1_1 0.001
testOrderOfMultipleAcceptLanguageHeadersIsPreservedOnRequests 0.001
test304ResponseDoesNotContainABody 0
testSharedCacheMayCacheAuthorizedResponsesWithSMaxAgeHeader 0.001
testDoesNotAddContentRangeHeaderToOriginResponseWithNoTransformIfNotPresent 0.001
testCacheDoesNotAssumeContentLocationHeaderIndicatesAnotherCacheableResource 0.001
test206ContainsETagIfA200ResponseWouldHaveIncludedIt 0.001
testResponseIncludesCacheEntryEndToEndHeadersForResponseAfter304Validation 0.001
testMustNotUseMultipartByteRangeContentTypeOnCacheGenerated416Responses 0.001

TestEhcacheProtocolRequirements

testMustIncludeProxyAuthenticateHeaderFromAnOrigin407Response 0.036
testSharedCacheMayCacheAuthorizedResponsesWithCacheControlPublic 0.015
testGenerates504IfCannotRevalidateAMustRevalidateEntry 0.005
testCannotCombinePartialResponseIfCacheEntryDoesNotHaveACacheValidator 0.004
testResponsesToTRACEsAreNotCached 0.002
testOrderOfMultipleContentEncodingHeadersIsPreservedOnResponses 0.003
testOrderOfMultipleAllowHeadersIsPreservedOnResponses 0.003
testConditionalRequestWhereAllValidatorsMatchMayBeServedFromCache 0.005
testHEADResponseWithUpdatedContentMD5FieldMakeACacheEntryStale 0.011
testDoesNotModifyContentMD5HeaderOnRequest 0.005
test205ResponsesDoNotContainMessageBodies 0.003
testDoesNotAddContentLocationToRequestIfNotPresent 0.002
testValidationMustUseETagIfProvidedByOriginServer 0.007
testTransmitsAgeHeaderIfIncomingAgeHeaderTooBig 0.003
testOrderOfMultipleViaHeadersIsPreservedOnRequests 0.004
testStripsBadlyDatedWarningsFromForwardedResponses 0.004
testDoesNotAddEtagToOriginResponse 0.002
testCacheIsNotUsedWhenRespondingToRequestWithCacheControlNoCache 0.007
test206ResponseToIfRangeWithStrongValidatorReturnsAllEntityHeaders 0.006
test304ResponseGeneratedFromCacheIncludesExpiresCacheControlAndOrVaryIfResponseMightDiffer 0.016
testForwardedTRACERequestsDoNotIncludeAnEntity 0.002
testUpdatesWarningHeadersOnValidation 0.005
testWarnDatesAreAddedToWarningsOnLowerProtocolVersions 0.003
test206ContainsContentLocationIfA200ResponseWouldHaveIncludedIt 0.004
testRequestsNotExpecting100ContinueBehaviorShouldNotSetExpectContinueHeader 0.001
test206ResponseReturnedToClientMustHaveDateHeader 0.001
testDoesNotAddContentTypeHeaderToCachedResponseWithNoTransformIfNotPresent 0.004
testMustDiscardCachedPartialResponseIfCacheValidatorsDoNotStronglyMatchAndDateHeadersAreEqual 0.004
testExpect100ContinueIsNotSentIfThereIsNoRequestBody 0.004
testDoesNotForwardOPTIONSWhenMaxForwardsIsZeroOnAbsoluteURIRequest 0.001
testDoesNotAddContentTypeToRequestIfNotPresent 0.002
testUnknownHeadersOnResponsesAreForwarded 0.003
testOrderOfMultipleContentEncodingHeadersIsPreservedOnRequests 0.002
testDoesNotAddLastModifiedToRequestIfNotPresent 0.002
test100ContinueResponsesAreNotForwardedTo1_0ClientsWhoDidNotAskForThem 0.002
testRequestsWithLowerProtocolVersionsGetUpgradedTo1_1 0.003
testOrderOfMultipleAcceptHeaderValuesIsPreservedOnRequests 0.003
testDoesNotModifyServerResponseHeader 0.003
testDoesNotAddContentEncodingHeaderToCachedResponseWithNoTransformIfNotPresent 0.005
testDELETERequestsAreWrittenThroughToOrigin 0.002
testMustDiscardLeastRecentPartialResponseIfCacheValidatorsDoNotStronglyMatch 0.005
testRemovesWarningHeaderIfAllWarnValuesAreBadlyDated 0.003
testPostInvalidatesCacheForThatUriInContentLocationHeader 0.007
testDoesNotAddContentTypeHeaderToRequestIfNotPresent 0.002
test2xxWarningsAreNotDeletedAfterSuccessfulRevalidation 0.006
testNoStoreOnResponseIsNotStoredInCache 0.002
test302ResponseWithoutExplicitCacheabilityIsNotReturnedFromCache 0.002
testExpiresHeaderMatchesDateIfAddedToCacheHit 0.003
testLowerOriginResponsesUpgradedToOurVersion1_1 0.003
test206ResponseGeneratedFromCacheMustHaveContentRangeOrMultipartByteRangesContentType 0.004
testSharedCacheMustUseNewRequestHeadersWhenRevalidatingAuthorizedResponsesWithMustRevalidate 0.005
testProperlyFormattedViaHeaderIsAddedToResponses 0.004
testHigher1_XProtocolVersionsDowngradeTo1_1 0.003
testExpectHeadersAreForwardedOnRequests 0.001
testCacheMissOnGETUsesOriginResponse 0.003
testOrderOfMultipleAcceptCharsetHeadersIsPreservedOnRequests 0.002
testDELETEWithIfNoneMatchWeakETagIsNotAllowed 0.002
testDoesNotModifyContentLocationHeaderOnRequest 0.001
testPutDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts 0.005
test304ResponseGeneratedFromCacheIncludesContentLocationIfOriginResponseDid 0.003
testOrderOfMultipleAcceptEncodingHeadersIsPreservedOnRequests 0.003
testHEADResponseWithUpdatedLastModifiedFieldMakeACacheEntryStale 0.013
testDeleteInvalidatesCacheForThatUriInLocationHeader 0.005
testSubrangeGETWithWeakETagIsNotAllowed 0.001
testOrderOfMultipleWWWAuthenticateHeadersIsPreservedOnResponses 0.003
testCONNECTRequestsAreWrittenThroughToOrigin 0.001
testCachedResponsesWithMissingDateHeadersShouldBeAssignedOne 0.002
testExpiresHeaderEqualToDateHeaderIsTreatedAsStale 0.005
testDoesNotTransmitNoCacheDirectivesWithFieldsDownstream 0.001
testExpiresHeaderMatchesDateIfAddedToOriginResponse 0.002
testNoCacheOnFieldIsNotReturnedWithoutRevalidation 0.002
test206ResponseIsNotCombinedWithPreviousContentIfETagDoesNotMatch 0.004
testSubrangeGETMustUseStrongComparisonForCachedResponse 0.002
testOrderOfMultipleWarningHeadersIsPreservedOnRequests 0.002
testMustNotAddMultipartByteRangeContentTypeTo416Response 0.002
testCacheControlPrivateIsNotCacheableBySharedCache 0.003
testOrderOfMultiplePragmaHeadersIsPreservedOnRequests 0.002
testSharedCacheMustRevalidateAuthorizedResponsesWhenSMaxAgeIsZero 0.005
test206ResponseIsNotCombinedWithPreviousContentIfLastModifiedDoesNotMatch 0.005
testPutDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts 0.005
testMultiHeadersAreSuccessfullyReplacedOn304Validation 0.004
testResponsesToPUTsAreNotCached 0.002
testCacheWithoutSupportForRangeAndContentRangeHeadersDoesNotCacheA206Response 0.001
testNoStoreOnResponseIsNotStoredInCacheEvenWithContraryIndicators 0.001
testDoesNotModifyContentLocationHeaderFromOrigin 0.002
testOrderOfMultipleViaHeadersIsPreservedOnResponses 0.003
testNoCacheCannotSatisfyASubsequentRequestWithoutRevalidationEvenWithContraryIndications 0.003
testMustDiscardLeastRecentPartialResponseIfCachedResponseDoesNotHaveCacheValidator 0.003
test1xxWarningsAreDeletedAfterSuccessfulRevalidation 0.004
testDoesNotAddContentRangeHeaderToCachedResponseWithNoTransformIfNotPresent 0.003
testOrderOfMultipleContentEncodingHeaderValuesIsPreserved 0.003
testDoesNotAddContentMD5ToRequestIfNotPresent 0.001
testDoesNotModifyContentEncodingHeaderOnCachedResponseWithNoTransform 0.003
test206ResponseToConditionalRangeRequestDoesNotIncludeOtherEntityHeaders 0.002
test206ResponseGeneratedFromCacheMustHaveDateHeader 0.002
testDoesNotModifyAllowHeaderWithUnknownMethods 0.002
testStaleEntryWithMustRevalidateIsNotUsedWithoutRevalidatingWithOrigin 0.004
testOrderOfMultipleCacheControlHeadersIsPreservedOnResponses 0.002
testSharedCacheMustUseNewRequestHeadersWhenRevalidatingAuthorizedResponsesWithSMaxAge 0.003
testPutInvalidatesCacheForThatUriInRelativeContentLocationHeader 0.004
testNoStoreOnRequestIsNotStoredInCacheEvenIfResponseMarkedCacheable 0.002
testMustReturnAFreshEnoughCacheEntryIfItHasIt 0.001
testDoesNotModifyContentLocationFromOriginOnCacheHit 0.002
testPutInvalidatesCacheForThatUriInLocationHeader 0.004
testUnknownHeadersOnRequestsAreForwarded 0.002
testOrderOfMultipleCacheControlHeadersIsPreservedOnRequests 0.002
testIncompleteResponseMustNotBeReturnedToClientWithoutMarkingItAs206 0.002
testDoesNotModifyLastModifiedFromOriginOnCacheHit 0.002
testDoesNotAddContentRangeHeaderToRequestIfNotPresent 0.002
testDELETEWithIfMatchWeakETagIsNotAllowed 0
testDoesNotModifyContentMD5HeaderFromOrigin 0.002
test303ResponsesAreNotCached 0.002
testResponsesToDELETEsAreNotCached 0.001
testConditionalRequestWhereNotAllValidatorsMatchCannotBeServedFromCache 0.005
testMustDiscardLeastRecentPartialResponseIfIncomingRequestDoesNotHaveCacheValidator 0.002
testCacheIsNotUsedWhenRespondingToRequestWithPragmaNoCache 0.005
testOrderOfMultiplePragmaHeadersIsPreservedOnResponses 0.002
testCannotCombinePartialResponseIfCacheValidatorsDoNotStronglyMatch 0.002
testDoesNotModifyExpiresHeaderFromOrigin 0.002
testExpiresZeroHeaderIsTreatedAsStale 0.004
testPUTWithIfNoneMatchWeakETagIsNotAllowed 0.001
testResponseToAHEADRequestMustNotHaveABody 0.001
testOrderOfMultipleExpectHeadersIsPreservedOnRequests 0.002
testUnknownResponseStatusCodesAreNotCached 0.467
testDoesNotAddContentRangeToRequestIfNotPresent 0.001
testDoesNotAddContentLocationToOriginResponse 0.002
testHEADResponseWithUpdatedContentLengthFieldMakeACacheEntryStale 0.006
testDoesNotModifyContentRangeHeaderOnCachedResponseWithNoTransform 0.004
testDoesNotAddContentMD5ToOriginResponse 0.001
testDoesNotAddETagHeaderOnCacheHit 0.002
testAgeHeaderPopulatedFromCacheEntryCurrentAge 0.001
testViaHeaderOnResponseProperlyRecordsOriginProtocol 0.001
testMustServeAppropriateErrorOrWarningIfNoOriginCommunicationPossible 0.001
test206ResponseGeneratedFromCacheMustHaveABodyThatMatchesContentLengthHeaderIfPresent 0.002
testPostDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts 0.003
testNonmatchingVariantCannotBeServedFromCacheUnlessConditionallyValidated 0.007
test304ResponseGeneratedFromCacheIncludesEtagIfOriginResponseDid 0.002
testForwardsUnknownHeadersOnRequestsFromHigherProtocolVersions 0.002
testWarning110IsAddedToStaleResponses 0.003
testPOSTRequestsAreWrittenThroughToOrigin 0.001
testGenerates504IfSharedCacheCannotRevalidateAProxyRevalidateEntry 0.002
testDoesNotModifyETagHeaderOnRequest 0.001
testPUTRequestsAreWrittenThroughToOrigin 0.001
testMalformedExpiresHeaderIsTreatedAsStale 0.004
testDoesNotAddETagToRequestIfNotPresent 0.001
test304ResponseGeneratedFromCacheIncludesDateHeader 0.002
testSharedCacheMayCacheAuthorizedResponsesWithMustRevalidate 0.004
testStaleEntryWithProxyRevalidateOnSharedCacheIsNotUsedWithoutRevalidatingWithOrigin 0.009
testCannotServeFromCacheForVaryStar 0.003
test206ResponsesAreNotCachedIfTheCacheDoesNotSupportRangeAndContentRangeHeaders 0
test204ResponsesDoNotContainMessageBodies 0.001
testDoesNotAddContentTypeHeaderToOriginResponseWithNoTransformIfNotPresent 0.001
testOrderOfMultipleTransferEncodingsInSingleHeadersIsPreserved 0.002
testPutInvalidatesCacheForThatUriInContentLocationHeader 0.004
testUnknownMethodRequestsAreWrittenThroughToOrigin 0.002
testDoesNotAddAMaxForwardsHeaderToForwardedOPTIONSRequests 0
testDeleteInvalidatesCacheForThatUriInRelativeContentLocationHeader 0.003
testStripsBadlyDatedWarningsFromStoredResponses 0.001
testCannotCombinePartialResponseIfIncomingResponseDoesNotHaveACacheValidator 0.002
testDeleteDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts 0.004
test304GeneratedFromCacheOnWeakValidatorDoesNotIncludeOtherEntityHeaders 0.003
testPUTWithIfMatchWeakETagIsNotAllowed 0.001
testOrderOfMultipleTransferEncodingHeadersIsPreserved 0.001
testDoesNotAddContentEncodingHeaderToOriginResponseWithNoTransformIfNotPresent 0.001
testDoesNotModifyContentTypeHeaderFromOriginResponseWithNoTransform 0.002
testOrderOfMultipleContentLanguageHeadersIsPreservedOnResponses 0.001
testHEADResponseWithUpdatedETagFieldMakeACacheEntryStale 0.006
testDoesNotAddLastModifiedToOriginResponse 0.002
testPostDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts 0.003
testDeleteToUriInvalidatesCacheForThatUri 0.005
testDoesNotModifyLastModifiedHeaderFromOrigin 0.002
test200ResponseToOPTIONSWithNoBodyShouldIncludeContentLengthZero 0.001
testUpdatedEndToEndHeadersFrom304ArePassedOnResponseAndUpdatedInCacheEntry 0.004
testDoesNotModifyContentMD5FromOriginOnCacheHit 0.002
testPostInvalidatesCacheForThatUriInLocationHeader 0.003
testAttachesWarningHeaderWhenGeneratingStaleResponse 0.001
testMustDiscardLeastRecentPartialResponseIfCacheValidatorsDoNotStronglyMatchEvenIfResponsesOutOfOrder 0.002
testHigherMajorProtocolVersionsOnRequestSwitchToTunnelBehavior 0.001
testDoesNotAddContentLocationHeaderOnCacheHit 0.003
testDoesNotAddContentMD5HeaderOnCacheHit 0.002
testPostToUriInvalidatesCacheForThatUri 0.003
testOPTIONSRequestsAreWrittenThroughToOrigin 0
skipped
test304ResponseWithDateHeaderForwardedFromOriginIncludesDateHeader 0.001
testMustReturnACacheEntryIfItCanRevalidateIt 0.001
testNoStoreOnRequestIsNotStoredInCache 0.001
testDeleteDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts 0.004
testHeuristicCacheOlderThan24HoursHasWarningAttached 0.001
testPostInvalidatesCacheForRelativeUriInContentLocationHeader 0.004
testDoesNotModifyContentEncodingHeaderFromOriginResponseWithNoTransform 0.002
testDoesNotModifyContentRangeHeaderFromOriginResponseWithNoTransform 0.001
testTransferCodingsAreNotSentToAnHTTP_1_0Client 0.002
testDoesNotAddContentEncodingHeaderToRequestIfNotPresent 0.001
testOrderOfMultipleContentLanguageHeadersIsPreservedOnRequests 0.001
testNotModifiedOfNonCachedEntityShouldRevalidateWithUnconditionalGET 0.005
testCacheControlPrivateOnFieldIsNotReturnedBySharedCache 0.003
testDoesNotModifyExpiresHeaderFromOriginOnCacheHit 0.003
testCacheEntryIsUpdatedWithNewFieldValuesIn304Response 0.003
testDoesNotModifyContentTypeHeaderOnCachedResponseWithNoTransform 0.003
testDoesNotAddContentEncodingToRequestIfNotPresent 0.001
testNoCacheCannotSatisfyASubsequentRequestWithoutRevalidation 0.002
testMustIncludeAllowHeaderFromAnOrigin405Response 0.001
testDoesNotModifyLastModifiedHeaderOnRequest 0.002
testResponsesToPOSTWithoutCacheControlOrExpiresAreNotCached 0.001
testVaryStarIsNotGeneratedByProxy 0.002
testDoesNotModifyEtagFromOriginOnCacheHit 0.002
testViaHeaderOnRequestProperlyRecordsClientProtocol 0.002
testTRACERequestsAreWrittenThroughToOrigin 0.001
testDecrementsMaxForwardsWhenForwardingOPTIONSRequest 0.001
testMustIncludeWWWAuthenticateHeaderOnAnOrigin401Response 0.002
testRetainsWarningHeadersReceivedFromUpstream 0.002
testOrderOfMultipleAllowHeadersIsPreservedOnRequests 0.001
testPutToUriInvalidatesCacheForThatUri 0.004
testDeleteInvalidatesCacheForThatUriInContentLocationHeader 0.006
testProperlyFormattedViaHeaderIsAddedToRequests 0.003
testRequestsExpecting100ContinueBehaviorShouldSetExpectHeader 0.002
testResponsesToOPTIONSAreNotCacheable 0.001
testCannotUseVariantCacheEntryIfNotAllSelectingRequestHeadersMatch 0.007
testOrderOfMultipleParametersInContentEncodingHeaderIsPreserved 0.003
testDoesNotAddLastModifiedHeaderOnCacheHit 0.003
test206ResponseIncludesVariantHeadersIfValueMightDiffer 0.008
testSharedCacheMustNotNormallyCacheAuthorizedResponses 0.001
testKeepsMostRecentDateHeaderForFreshResponse 0.004
testDoesNotModifyEtagHeaderFromOrigin 0.002
testResponseToA1_0RequestShouldUse1_1 0.002
testOrderOfMultipleAcceptLanguageHeadersIsPreservedOnRequests 0.001
test304ResponseDoesNotContainABody 0.001
testSharedCacheMayCacheAuthorizedResponsesWithSMaxAgeHeader 0.002
testDoesNotAddContentRangeHeaderToOriginResponseWithNoTransformIfNotPresent 0.002
testCacheDoesNotAssumeContentLocationHeaderIndicatesAnotherCacheableResource 0.002
test206ContainsETagIfA200ResponseWouldHaveIncludedIt 0.002
testResponseIncludesCacheEntryEndToEndHeadersForResponseAfter304Validation 0.003
testMustNotUseMultipartByteRangeContentTypeOnCacheGenerated416Responses 0.002

TestCachingHttpClientBuilder

testAsynchronousWorkersMax0 0.004
testNullCacheConfig 0.003

TestCachingExec

testRevalidationCallsHandleBackEndResponseWhenNot200Or304 0.103
testUnsuitableValidatableCacheEntryCausesRevalidation 0.002
testRequestThatCannotBeServedFromCacheCausesBackendRequest 0.001
testUnsuitableUnvalidatableCacheEntryCausesBackendRequest 0.001
testCallBackendMakesBackEndRequestAndHandlesResponse 0.001
testRevalidationUpdatesCacheEntryAndPutsItToCacheWhen304ReturningCachedResponse 0.002
testCacheMissCausesBackendRequest 0.001
testRevalidationRewritesAbsoluteUri 0.001
testDoesNotFlushCachesOnCacheHit 0.001
testEndlessResponsesArePassedThrough 0.016
testReturns304ForIfNoneMatchPassesIfRequestServedFromOrigin 0.002
testSetsRouteInContextOnCacheHit 0.002
testVariantsMissServerReturns304CacheReturns304 0.006
testReturns304ForIfModifiedSinceHeaderIfRequestServedFromCache 0.002
testReturns304ForIfNoneMatchHeaderIfRequestServedFromCache 0.002
testIfOnlyIfCachedAndNoCacheEntryBackendNotCalled 0.003
testSocketTimeoutExceptionIsNotSilentlyCatched 0.001
testIfOnlyIfCachedAndEntryNotSuitableBackendNotCalled 0.001
testSetsModuleGeneratedResponseContextForCacheOptionsResponse 0.001
testTreatsCacheIOExceptionsAsCacheMiss 0.001
testReturns200ForIfNoneMatchHeaderFails 0.002
testSetsViaHeaderOnResponseIfRequestServedFromCache 0.001
testSetsCacheMissContextIfRequestNotServableFromCache 0.001
testReturns200ForOptionsFollowedByGetIfAuthorizationHeaderAndSharedCache 0.001
testDoesNotSetConnectionInContextOnCacheHit 0.001
testNonCompliantRequestWrapsAndReThrowsProtocolException 0.001
testSetsResponseInContextOnCacheHit 0.001
testReturns304ForIfNoneMatchHeaderAndIfModifiedSinceIfRequestServedFromCache 0.002
testReturns200ForIfNoneMatchFailsIfRequestServedFromOrigin 0.001
testNewerCacheableResponsesReplaceExistingCacheEntry 0.002
testReturns200ForIfModifiedSinceDateIsInvalid 0.002
testSetViaHeaderIfValidationFailsButNotRequired 0.001
testSetsModuleResponseContextIfValidationFailsButNotRequired 0.002
testDoesNotSend304ForNonConditionalRequest 0.001
testIfOnlyIfCachedAndEntryExistsAndIsSuitableReturnsEntry 0.001
testNoEntityForIfNoneMatchRequestNotYetInCache 0.002
testSetsCacheHitContextIfRequestServedFromCache 0.001
testCanCacheAResponseWithoutABody 0.001
testSetsRequestInContextOnCacheHit 0.001
testResponseIsGeneratedWhenCacheEntryIsUsable 0.001
testSetsModuleResponseContextIfValidationRequiredButFailed 0.002
testUsesVirtualHostForCacheKey 0.002
testReturns304ForIfModifiedSinceHeaderIf304ResponseInCache 0.001
testSetsViaHeaderOnResponseIfRequestNotServableFromCache 0.002
testVariantMissServerIfReturns304CacheReturns200 0.002
testSetsRequestSentInContextOnCacheHit 0.002
testIsSharedCache 0
testSetsModuleGeneratedResponseContextForFatallyNoncompliantRequest 0.001
testReturns200ForIfModifiedSinceDateIsLess 0.002
testOlderCacheableResponsesDoNotGoIntoCache 0.002
testSuitableCacheEntryDoesNotCauseBackendRequest 0
testNotModifiedResponseUpdatesCacheEntryWhenNoEntity 0.002
testSetsViaHeaderOnResponseForCacheMiss 0.001
testSetsTargetHostInContextOnCacheHit 0.001
testNonCacheableResponseIsNotCachedAndIsReturnedAsIs 0.002
testSetsViaHeaderIfRequestWasSuccessfullyValidated 0.001
testReturns200ForIfNoneMatchHeaderFailsIfModifiedSinceIgnored 0.002
testCacheableResponsesGoIntoCache 0.002
testNotModifiedResponseWithVaryUpdatesCacheEntryWhenNoEntity 0.003
testSetsValidatedContextIfRequestWasSuccessfullyValidated 0.002
testReturns200ForIfModifiedSinceFailsIfRequestServedFromOrigin 0.003
testRecordsClientProtocolInViaHeaderIfRequestNotServableFromCache 0.001
testReturns304ForIfModifiedSincePassesIfRequestServedFromOrigin 0.002

TestCacheInvalidator

flushesEntrySpecifiedByContentLocationIfEntryHasNoDate 0.003
flushesEntryIfFresherAndSpecifiedByContentLocation 0.001
doesNotFlushEntrySpecifiedByContentLocationIfEtagsMatch 0
testInvalidatesUrisInLocationHeadersOnPUTs 0.002
testDoesNotInvalidateGETCacheEntryIfSubsequentGETRequestsAreMadeToTheSameURI 0
flushesEntryIfFresherAndSpecifiedByRelativeContentLocation 0.001
testVariantURIsAreFlushedAlso 0.001
testCacheFlushException 0.001
testDoesNotInvalidateUrisInContentLocationHeadersOnPUTsToDifferentHosts 0.001
doesNotFlushEntryForUnsuccessfulResponse 0
testInvalidatesUrisInContentLocationHeadersOnPUTs 0.001
testDoesNotInvalidateHEADCacheEntry 0.001
doesNotFlushEntrySpecifiedByContentLocationIfResponseHasNoEtag 0
flushesEntryIfFresherAndSpecifiedByLocation 0.001
testInvalidatesHEADCacheEntryIfSubsequentGETRequestsAreMadeToTheSameURI 0.001
doesNotFlushEntryIfContentLocationFromDifferentHost 0.001
testInvalidatesRelativeUrisInContentLocationHeadersOnPUTs 0.001
doesNotFlushEntrySpecifiedByContentLocationIfEntryHasNoEtag 0
flushesEntryIfFresherAndSpecifiedByNonCanonicalContentLocation 0.001
flushesEntrySpecifiedByContentLocationIfEntryHasMalformedDate 0.001
testDoesNotInvalidateHEADCacheEntryIfSubsequentHEADRequestsAreMadeToTheSameURI 0
doesNotFlushForResponsesWithoutContentLocation 0
flushesEntrySpecifiedByContentLocationIfResponseHasMalformedDate 0.001
testDoesNotInvalidateHEADRequest 0
doesNotFlushEntryIfNotInCache 0.001
doesNotFlushEntrySpecifiedByContentLocationIfOlder 0
testInvalidatesVariantHEADCacheEntriesIfSubsequentGETRequestsAreMadeToTheSameURI 0.001
testDoesNotInvalidateGETRequest 0.001
testInvalidatesRequestsThatArentGETorHEAD 0
testDoesNotInvalidateRequestsWithClientCacheControlHeaders 0.001
flushesEntrySpecifiedByContentLocationIfResponseHasNoDate 0
testDoesNotInvalidateRequestsWithClientPragmaHeaders 0.001

TestMemcachedHttpCacheStorage

testCachePutThrowsIOExceptionIfCannotSerializeEntry 0.031
testCacheUpdateCanUpdateExistingEntry 0.003
testTreatsNullFromMemcachedAsCacheMiss 0.001
testTreatsAsCacheMissIfCannotReconstituteEntry 0.001
testCacheUpdateCanUpdateExistingEntryWithRetry 0.002
testTreatsAsCacheMissIfCantHashStorageKey 0.001
testCacheRemoveHandlesKeyHashingFailure 0.001
testSuccessfulCacheGet 0.001
testSuccessfulCachePut 0
testCacheRemove 0
testTreatsNoneByteArrayFromMemcachedAsCacheMiss 0.001
testCacheUpdateThrowsExceptionsIfCASFailsEnoughTimes 0.001
testUpdateThrowsIOExceptionIfMemcachedTimesOut 0.001
testThrowsExceptionOnUpdateIfCannotHashStorageKey 0.001
testCacheRemoveThrowsIOExceptionOnMemcachedTimeout 0
testCachePutFailsSilentlyWhenWeCannotHashAKey 0.001
testCacheUpdateOverwritesNonMatchingHashCollision 0.002
testThrowsIOExceptionIfMemcachedTimesOutOnGet 0
testCacheUpdateCanUpdateNullEntry 0.001
testThrowsIOExceptionWhenMemcachedPutTimesOut 0.001

TestResponseProtocolCompliance

throwsExceptionIfOriginReturnsPartialResponseWhenNotRequested 0
consumesPartialContentFromOriginEvenIfNotRequested 0
consumesBodyIfOriginSendsOneInResponseToHEAD 0
consumesBodyOf100ContinueResponseIfItArrives 0

TestExponentialBackingOffSchedulingStrategy

testScheduleWithFiveFailedAttempts 0.006
testScheduleWithThreeFailedAttempts 0
testScheduleWithSixFailedAttempts 0.001
testScheduleWithOneFailedAttempt 0
testScheduleWithFourFailedAttempts 0.001
testScheduleWithMaxNumberOfFailedAttempts 0
testScheduleWithTwoFailedAttempts 0.001
testScheduleWithoutPreviousError 0

TestHttpCacheEntry

canRetrieveOriginalStatusLine 0.163
mustProvideStatusLine 0
canConstructWithoutVariants 0.001
testMissingDateHeaderIsIgnored 0.001
testGetHeadersReturnsEmptyArrayIfNoneMatch 0.001
testCacheEntryWithVaryStarHasVariants 0
testGetHeadersReturnsCorrectHeaders 0
statusCodeComesFromOriginalStatusLine 0.001
testGetMethodReturnsCorrectRequestMethod 0.001
canGetOriginalRequestDate 0
canRetrieveOriginalVariantMap 0
canGetOriginalResource 0
testCacheEntryWithOneVaryHeaderHasVariants 0
mustProvideResponseDate 0.001
protocolVersionComesFromOriginalStatusLine 0.001
retrievedVariantMapIsNotModifiable 0.001
reasonPhraseComesFromOriginalStatusLine 0.001
testGetFirstHeaderReturnsNullIfNoneMatch 0.001
mustProvideResponseHeaders 0
testGetFirstHeaderReturnsCorrectHeader 0
canProvideVariantMap 0.001
testCacheEntryWithNoVaryHeaderDoesNotHaveVariants 0.001
canGetOriginalResponseDate 0.001
canConvertToString 0.008
testMalformedDateHeaderIsIgnored 0.005
testValidDateHeaderIsParsed 0.001
mustProvideRequestDate 0
testCacheEntryWithMultipleVaryHeadersHasVariants 0
canGetOriginalHeaders 0.001

TestConditionalRequestBuilder

testCacheEntryWithProxyRevalidateDoesEndToEndRevalidation 0
testBuildConditionalRequestWithLastModified 0
testBuildUnconditionalRequestDoesNotUseIfMatch 0
testBuildUnconditionalRequestDoesNotUseIfRange 0.001
testBuildUnconditionalRequestAddsPragmaNoCache 0
testBuildUnconditionalRequestDoesNotUseIfUnmodifiedSince 0
testConditionalRequestForEntryWithLastModifiedAndEtagIncludesBothAsValidators 0
testBuildUnconditionalRequestAddsCacheControlNoCache 0.001
testBuildUnconditionalRequestCarriesOtherRequestHeaders 0
testBuildUnconditionalRequestUsesRequestUri 0
testBuildConditionalRequestWithETag 0
testBuildUnconditionalRequestUsesHTTP_1_1 0
testBuildUnconditionalRequestDoesNotUseIfNoneMatch 0
testBuildUnconditionalRequestUsesGETMethod 0
testBuildUnconditionalRequestDoesNotUseIfModifiedSince 0.001
testBuildConditionalRequestFromVariants 0.001
testCacheEntryWithMustRevalidateDoesEndToEndRevalidation 0

TestMemcachedCacheEntryImpl

knowsItsCacheEntry 0
knowsItsCacheKey 0
canBeSerialized 0
canBeReconstitutedFromByteArray 0.002
canBeCreatedEmpty 0
cannotReconstituteFromGarbage 0

TestSizeLimitedResponseReader

testTooLargeEntityHasOriginalContentTypes 0
testResponseCopiesAllOriginalHeaders 0
testSmallResponseIsNotTooLarge 0
testResponseWithNoEntityIsNotTooLarge 0
testLargeResponseIsTooLarge 0
testExactSizeResponseIsNotTooLarge 0
testTooLargeResponseCombinedClosed 0.001

TestCacheEntryUpdater

testNewerHeadersReplaceExistingHeaders 0
testUpdatedEntryHasLatestRequestAndResponseDates 0
testHeadersAreMergedCorrectly 0
testContentEncodingHeaderIsNotUpdatedByMerge 0
testNewHeadersAreAddedByMerge 0
oldHeadersRetainedIfResponseOlderThanEntry 0
entry1xxWarningsAreRemovedOnUpdate 0
entryIsStillUpdatedByResponseWithMalformedDate 0
entryWithMalformedDateIsStillUpdated 0
testContentLengthIsNotAddedWhenTransferEncodingIsPresent 0
cannotUpdateFromANon304OriginResponse 0
testUpdateCacheEntryReturnsDifferentEntryInstance 0

TestCacheValidityPolicy

testCorrectContentLengthDoesntInvalidateEntry 0
testResponseIsNotFreshIfFreshnessLifetimeEqualsCurrentAge 0.001
testProxyRevalidateIsTrueWhenDirectiveIsPresent 0
testMayReturnStaleIfErrorInResponseIsTrueWithinStaleness 0
testFreshnessLifetimeIsSMaxAgeIfPresent 0
testFreshnessLifetimeIsMaxAgeEvenIfExpiresIsPresent 0
testMalformedCacheControlMaxAgeHeaderReturnsZero 0
testMalformedContentLengthReturnsNegativeOne 0
testApparentAgeIsMaxIntIfDateHeaderNotPresent 0
testWrongContentLengthInvalidatesEntry 0
testProxyRevalidateIsFalseIfDirectiveNotPresent 0
testResponseIsNotFreshIfCurrentAgeExceedsFreshnessLifetime 0
testHeuristicFreshnessLifetime 0
testCorrectedReceivedAgeIsApparentAgeIfLarger 0
testMustRevalidateIsTrueWhenDirectiveIsPresent 0
testMayReturnStaleWhileRevalidatingIsFalseWhenPastStaleness 0
testMayNotReturnStaleIfErrorInResponseAndAfterRequestWindow 0
testCorrectedReceivedAgeIsAgeHeaderIfLarger 0
testMayReturnStaleIfErrorInRequestIsTrueWithinStaleness 0
testMustRevalidateIsFalseIfDirectiveNotPresent 0
testResponseDelayIsDifferenceBetweenResponseAndRequestTimes 0
testCacheEntryIsRevalidatableIfHeadersIncludeETag 0
testMayReturnStaleWhileRevalidatingIsTrueWhenWithinStaleness 0
testHeuristicFreshnessLifetimeDefaultsProperly 0
testMayReturnStaleWhileRevalidatingIsFalseWhenDirectiveEmpty 0
testCorrectedInitialAgeIsCorrectedReceivedAgePlusResponseDelay 0
testMalformedExpirationDateReturnsNull 0
testHeuristicFreshnessLifetimeIsNonNegative 0
testMayReturnStaleWhileRevalidatingIsFalseWhenDirectiveIsAbsent 0
testMalformedAgeHeaderValueReturnsMaxAge 0.001
testFreshnessLifetimeIsMaxAgeIfPresent 0
testMissingContentLengthDoesntInvalidateEntry 0
testResidentTimeSecondsIsTimeSinceResponseTime 0
testCurrentAgeIsCorrectedInitialAgePlusResidentTime 0
testCacheEntryIsNotRevalidatableIfNoAppropriateHeaders 0
testApparentAgeIsResponseReceivedTimeLessDateHeader 0
testFreshnessLifetimeIsFromExpiresHeaderIfNoMaxAge 0
testNullResourceInvalidatesEntry 0
testFreshnessLifetimeIsMostRestrictiveOfMaxAgeAndSMaxAge 0
testFreshnessLifetimeIsSMaxAgeEvenIfExpiresIsPresent 0
testNegativeApparentAgeIsBroughtUpToZero 0
testMayNotReturnStaleIfErrorInResponseAndAfterResponseWindow 0
testNegativeAgeHeaderValueReturnsMaxAge 0
testCacheEntryIsRevalidatableIfHeadersIncludeLastModifiedDate 0
testResponseIsFreshIfFreshnessLifetimeExceedsCurrentAge 0

TestEhcacheHttpCacheStorage

testCacheUpdateFail 0.026
testCacheRemove 0.001
testCacheUpdate 0.001
testCacheGetNullEntry 0
testCacheGet 0.001
testCachePut 0
testCacheUpdateNullEntry 0.001
testSingleCacheUpdateRetry 0.001

TestRequestProtocolCompliance

testRequestWithWeakETagAndRange 0
doesNotModifyACompliantRequest 0.001
testRequestWithWeekETagForPUTOrDELETEIfMatchAllowed 0
upgrades1_0RequestTo1_1 0
testRequestWithWeekETagForPUTOrDELETEIfMatch 0
downgrades1_2RequestTo1_1 0
doesNotStripMinFreshFromRequestWithoutNoCache 0
testRequestContainsNoCacheDirectiveWithFieldName 0
stripsMinFreshFromRequestIfNoCachePresent 0.001
stripsMaxFreshFromRequestIfNoCachePresent 0
removesEntityFromTRACERequest 0
correctlyStripsMinFreshFromMiddleIfNoCache 0
stripsMaxAgeFromRequestIfNoCachePresent 0

TestHttpCacheJiraNumber1147

testIssue1147 0.006

Failure Details

[Summary] [Package List] [Test Cases]


testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped
testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped