Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
800 0 0 1 99.875% 7.151

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.hc.client5.http.impl.schedule 2 0 0 0 100% 0
org.apache.hc.client5.http.schedule 1 0 0 0 100% 0.002
org.apache.hc.client5.http.cache 25 0 0 0 100% 0.661
org.apache.hc.client5.http.impl.cache 770 0 0 1 99.87% 6.425
org.apache.hc.client5.http.impl.cache.memcached 2 0 0 0 100% 0.063

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

org.apache.hc.client5.http.impl.schedule

Class Tests Errors Failures Skipped Success Rate Time
TestExponentialBackingOffSchedulingStrategy 1 0 0 0 100% 0
TestImmediateSchedulingStrategy 1 0 0 0 100% 0

org.apache.hc.client5.http.schedule

Class Tests Errors Failures Skipped Success Rate Time
TestConcurrentCountMap 1 0 0 0 100% 0.002

org.apache.hc.client5.http.cache

Class Tests Errors Failures Skipped Success Rate Time
TestHttpCacheEntry 25 0 0 0 100% 0.661

org.apache.hc.client5.http.impl.cache

Class Tests Errors Failures Skipped Success Rate Time
TestCacheRevalidatorBase 6 0 0 0 100% 0.072
TestAbstractSerializingCacheStorage 12 0 0 0 100% 0.13
TestBasicHttpCache 14 0 0 0 100% 0.016
TestAbstractSerializingAsyncCacheStorage 12 0 0 0 100% 0.079
TestResponseCachingPolicy 96 0 0 0 100% 0.004
TestDefaultAsyncCacheInvalidator 31 0 0 0 100% 0.07
TestCacheKeyGenerator 28 0 0 0 100% 0.109
TestProtocolRequirements 228 0 0 1 99.561% 1.073
TestProtocolAllowedBehavior 2 0 0 0 100% 0
TestConditionalRequestBuilder 16 0 0 0 100% 0
TestResponseProtocolCompliance 1 0 0 0 100% 0.001
TestCacheUpdateHandler 12 0 0 0 100% 0
TestProtocolRecommendations 87 0 0 0 100% 3.198
TestRequestProtocolCompliance 12 0 0 0 100% 0
TestWarningValue 17 0 0 0 100% 0.001
TestCacheValidityPolicy 43 0 0 0 100% 0.052
TestCacheableRequestPolicy 7 0 0 0 100% 0
TestCachingExec 63 0 0 0 100% 1.204
TestRFC5861Compliance 16 0 0 0 100% 0.028
TestProtocolDeviations 4 0 0 0 100% 0
TestCombinedEntity 1 0 0 0 100% 0.039
TestDefaultCacheInvalidator 31 0 0 0 100% 0.074
TestHttpCacheJiraNumber1147 1 0 0 0 100% 0.079
TestByteArrayCacheEntrySerializer 1 0 0 0 100% 0
TestCachedResponseSuitabilityChecker 20 0 0 0 100% 0.001
TestCachedHttpResponseGenerator 9 0 0 0 100% 0.195

org.apache.hc.client5.http.impl.cache.memcached

Class Tests Errors Failures Skipped Success Rate Time
TestSHA256HashingScheme 1 0 0 0 100% 0.062
TestPrefixKeyHashingScheme 1 0 0 0 100% 0.001

Test Cases

[Summary] [Package List] [Test Cases]

TestCacheRevalidatorBase

testRevalidateCacheEntryProperlyCollapsesRequest 0.001
testRevalidateCacheEntrySchedulesExecutionAndPopulatesIdentifier 0
testStaleResponse 0
testRevalidateCacheEntryDoesNotPopulateIdentifierOnRejectedExecutionException 0.001
testShutdown 0
testMarkCompleteRemovesIdentifier 0

TestAbstractSerializingCacheStorage

testCacheUpdateFail 0.096
testCacheGetKeyMismatch 0.002
testBulkGet 0.006
testCacheRemove 0
testCacheGetNullEntry 0
testCacheGet 0.002
testCachePut 0.003
testCacheCASUpdate 0.005
testCacheUpdateNullEntry 0.002
testSingleCacheUpdateRetry 0.004
testCacheCASUpdateKeyMismatch 0.003
testBulkGetKeyMismatch 0.004

TestBasicHttpCache

testDoNotFlushCacheEntriesOnOptions 0
testDoNotFlushCacheEntriesOnTrace 0.002
testGetVariantCacheEntriesReturnsAllVariants 0.001
testDoNotFlushContentLocationEntryIfSafeRequest 0.001
testCanFlushCacheEntriesAtUri 0.001
testStoreInCachePutsNonVariantEntryInPlace 0.001
testGetCacheEntryReturnsNullIfNoVariantInCache 0
testGetCacheEntryReturnsNullOnCacheMiss 0.001
testFlushContentLocationEntryIfUnSafeRequest 0
testDoNotFlushCacheEntriesOnGet 0.001
testDoNotFlushCacheEntriesOnHead 0.007
testGetCacheEntryFetchesFromCacheOnCacheHitIfNoVariants 0
testGetCacheEntryReturnsVariantIfPresentInCache 0
testGetVariantCacheEntriesReturnsEmptySetOnNoVariants 0

TestAbstractSerializingAsyncCacheStorage

testCacheUpdateFail 0.037
testCacheGetKeyMismatch 0.002
testBulkGet 0.004
testCacheRemove 0.001
testCacheGetNullEntry 0.001
testCacheGet 0.002
testCachePut 0.001
testCacheCASUpdate 0.003
testCacheUpdateNullEntry 0.002
testSingleCacheUpdateRetry 0.004
testCacheCASUpdateKeyMismatch 0.003
testBulkGetKeyMismatch 0.004

TestResponseCachingPolicy

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

TestDefaultAsyncCacheInvalidator

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

TestCacheKeyGenerator

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

TestProtocolRequirements

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

TestSHA256HashingScheme

canHash 0.062

TestProtocolAllowedBehavior

testNonSharedCacheReturnsStaleResponseWhenRevalidationFailsForProxyRevalidate 0
testNonSharedCacheMayCacheResponsesWithCacheControlPrivate 0

TestConditionalRequestBuilder

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

TestHttpCacheEntry

canConstructWithoutVariants 0.571
testMissingDateHeaderIsIgnored 0.001
testGetHeadersReturnsEmptyArrayIfNoneMatch 0.001
testCacheEntryWithVaryStarHasVariants 0
testGetHeadersReturnsCorrectHeaders 0
statusCodeComesFromOriginalStatusLine 0.001
testGetMethodReturnsCorrectRequestMethod 0
canGetOriginalRequestDate 0
canRetrieveOriginalVariantMap 0.001
canGetOriginalResource 0
testCacheEntryWithOneVaryHeaderHasVariants 0
mustProvideResponseDate 0.001
retrievedVariantMapIsNotModifiable 0.002
testGetFirstHeaderReturnsNullIfNoneMatch 0
mustProvideResponseHeaders 0
testGetFirstHeaderReturnsCorrectHeader 0.001
canProvideVariantMap 0.001
testCacheEntryWithNoVaryHeaderDoesNotHaveVariants 0.001
canGetOriginalResponseDate 0
canConvertToString 0.004
testMalformedDateHeaderIsIgnored 0.004
testValidDateHeaderIsParsed 0.001
mustProvideRequestDate 0
testCacheEntryWithMultipleVaryHeadersHasVariants 0.001
canGetOriginalHeaders 0.001

TestResponseProtocolCompliance

throwsExceptionIfOriginReturnsPartialResponseWhenNotRequested 0.001

TestCacheUpdateHandler

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

TestProtocolRecommendations

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

TestExponentialBackingOffSchedulingStrategy

testSchedule 0

TestRequestProtocolCompliance

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

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme 0

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

TestCacheValidityPolicy

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

TestCacheableRequestPolicy

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

TestCachingExec

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

TestRFC5861Compliance

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

TestProtocolDeviations

testPassesOnOrigin407WithoutAProxyAuthenticateHeader 0
testPassesOnOrigin401ResponseWithoutWWWAuthenticateHeader 0
testPassesOnOrigin405WithoutAllowHeader 0
testPartialContentIsNotReturnedToAClientThatDidNotAskForIt 0

TestCombinedEntity

testCombinedEntityBasics 0.039

TestDefaultCacheInvalidator

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

TestHttpCacheJiraNumber1147

testIssue1147 0.079

TestByteArrayCacheEntrySerializer

canSerializeEntriesWithVariantMaps 0

TestImmediateSchedulingStrategy

testSchedule 0

TestConcurrentCountMap

testBasics 0.002

TestCachedResponseSuitabilityChecker

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

TestCachedHttpResponseGenerator

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

Failure Details

[Summary] [Package List] [Test Cases]


testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped