Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
854 0 0 1 99.883% 7.87

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.004
org.apache.hc.client5.http.schedule 1 0 0 0 100% 0.002
org.apache.hc.client5.http.cache 25 0 0 0 100% 1.348
org.apache.hc.client5.http.impl.cache 824 0 0 1 99.879% 6.507
org.apache.hc.client5.http.impl.cache.memcached 2 0 0 0 100% 0.009

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
TestImmediateSchedulingStrategy 1 0 0 0 100% 0.001
TestExponentialBackingOffSchedulingStrategy 1 0 0 0 100% 0.003

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% 1.348

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

Class Tests Errors Failures Skipped Success Rate Time
TestHttpByteArrayCacheEntrySerializer 20 0 0 0 100% 0.178
TestCachedResponseSuitabilityChecker 20 0 0 0 100% 0.03
TestCombinedEntity 1 0 0 0 100% 0.126
TestWarningValue 17 0 0 0 100% 0.027
TestResponseCachingPolicy 96 0 0 0 100% 0.994
TestCacheableRequestPolicy 7 0 0 0 100% 0.006
TestAbstractSerializingCacheStorage 12 0 0 0 100% 0.38
TestDefaultCacheInvalidator 31 0 0 0 100% 0.33
TestProtocolRequirements 228 0 0 1 99.561% 1.994
TestProtocolAllowedBehavior 2 0 0 0 100% 0.077
TestConditionalRequestBuilder 16 0 0 0 100% 0.047
TestDefaultAsyncCacheInvalidator 31 0 0 0 100% 0.198
TestCacheUpdateHandler 13 0 0 0 100% 0.016
TestByteArrayCacheEntrySerializer 34 0 0 0 100% 0.021
TestRFC5861Compliance 16 0 0 0 100% 0.074
TestCacheKeyGenerator 28 0 0 0 100% 0.147
TestProtocolRecommendations 87 0 0 0 100% 0.298
TestCacheValidityPolicy 43 0 0 0 100% 0.052
TestHttpCacheJiraNumber1147 1 0 0 0 100% 0.071
TestAbstractSerializingAsyncCacheStorage 12 0 0 0 100% 0.188
TestRequestProtocolCompliance 12 0 0 0 100% 0.014
TestCachingExec 63 0 0 0 100% 0.933
TestProtocolDeviations 4 0 0 0 100% 0.019
TestBasicHttpCache 14 0 0 0 100% 0.044
TestCachedHttpResponseGenerator 9 0 0 0 100% 0.103
TestResponseProtocolCompliance 1 0 0 0 100% 0.003
TestCacheRevalidatorBase 6 0 0 0 100% 0.137

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

Class Tests Errors Failures Skipped Success Rate Time
TestSHA256HashingScheme 1 0 0 0 100% 0.006
TestPrefixKeyHashingScheme 1 0 0 0 100% 0.003

Test Cases

[Summary] [Package List] [Test Cases]

TestImmediateSchedulingStrategy

testSchedule 0

TestHttpByteArrayCacheEntrySerializer

fileObjectTest 0.036
testDeserializeWithIOException 0.065
escapedHeaderTestFromPreviouslySerialized 0.001
noBodyTest 0.001
emptyBodyTest 0.001
testEscapedHeaders 0.001
testInvalidCacheEntry 0.001
fileTestFromPreviouslySerialized 0.001
testSerializeWithHTTPException 0.045
testInvalidHeaderCacheEntry 0.001
testMissingHeaderCacheEntry 0
simpleTestFromPreviouslySerialized 0.001
testVariantMapMissingValueCacheEntry 0
noBodyTestFromPreviouslySerialized 0.001
variantMapTestFromPreviouslySerialized 0.001
testSimpleVariantMap 0.002
simpleObjectTest 0.001
testVariantMapMissingKeyCacheEntry 0.001
testNullStorageKey 0
noHeadersTest 0.001

TestCachedResponseSuitabilityChecker

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

TestCombinedEntity

testCombinedEntityBasics 0.12

TestWarningValue

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

TestResponseCachingPolicy

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

TestSHA256HashingScheme

canHash 0.001

TestCacheableRequestPolicy

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

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme 0

TestAbstractSerializingCacheStorage

testCacheUpdateFail 0.271
testCacheGetKeyMismatch 0.008
testBulkGet 0.014
testCacheRemove 0.001
testCacheGetNullEntry 0.001
testCacheGet 0.005
testCachePut 0.01
testCacheCASUpdate 0.011
testCacheUpdateNullEntry 0.006
testSingleCacheUpdateRetry 0.014
testCacheCASUpdateKeyMismatch 0.009
testBulkGetKeyMismatch 0.016

TestDefaultCacheInvalidator

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

TestProtocolRequirements

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

TestHttpCacheEntry

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

TestProtocolAllowedBehavior

testNonSharedCacheReturnsStaleResponseWhenRevalidationFailsForProxyRevalidate 0.067
testNonSharedCacheMayCacheResponsesWithCacheControlPrivate 0.004

TestConditionalRequestBuilder

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

TestConcurrentCountMap

testBasics 0

TestDefaultAsyncCacheInvalidator

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

TestCacheUpdateHandler

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

TestByteArrayCacheEntrySerializer

canSerializeEntriesWithVariantMaps 0.003
isAllowedClassNameStringTrue 0
isAllowedClassNameCalanTemplatesImplFalse 0
isAllowedClassNameJavaxXmlTransformTemplatesFalse 0
isAllowedClassNameFloatArrayArrayTrue 0
isAllowedClassNameIntArrayArrayTrue 0
isAllowedClassNameShortArrayTrue 0
isAllowedClassNameJavaxManagementMBeanServerInvocationHandlerFalse 0
isAllowedClassNameResourceTrue 0
isAllowedClassNameLongArrayTrue 0
isAllowedClassNameIntArrayTrue 0
isAllowedClassNameDoubleArrayTrue 0
isAllowedClassNameCollectionsInvokerTransformerFalse 0
isAllowedClassNameDataTrue 0
isAllowedClassNameJavaRmiServerRemoteObjectInvocationHandlerFalse 0
isAllowedClassNameStringArrayTrue 0.001
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.001
isAllowedClassNameCharArrayArrayTrue 0
isAllowedClassNameDoubleArrayArrayTrue 0
isAllowedClassNameCollections4InvokerTransformerFalse 0

TestRFC5861Compliance

testStaleIfErrorInResponseYieldsToProxyRevalidateForSharedCache 0.004
testStaleIfErrorInRequestIsFalseReturnsError 0.004
testStaleIfErrorInResponseIsTrueReturnsStaleEntryWithWarning 0.003
testStaleWhileRevalidateYieldsToProxyRevalidateForSharedCache 0.004
testStaleWhileRevalidateYieldsToExplicitFreshnessRequest 0.005
testStaleWhileRevalidateYieldsToMustRevalidate 0.005
testStaleIfErrorInResponseYieldsToMustRevalidate 0.003
testStaleWhileRevalidateReturnsStaleEntryWithWarning 0.007
testStaleIfErrorInResponseYieldsToExplicitFreshnessRequest 0.003
testCanAlsoServeStale304sWhileRevalidating 0.005
testConsumesErrorResponseWhenServingStale 0.004
testStaleIfErrorInResponseIsFalseReturnsError 0.004
testStaleIfErrorInRequestIsTrueReturnsStaleNonRevalidatableEntryWithWarning 0.003
testStaleIfErrorInRequestIsTrueReturnsStaleEntryWithWarning 0.004
testStaleIfErrorInResponseNeedNotYieldToProxyRevalidateForPrivateCache 0.003
testStaleWhileRevalidateReturnsStaleNonRevalidatableEntryWithWarning 0.005

TestCacheKeyGenerator

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

TestProtocolRecommendations

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

TestCacheValidityPolicy

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

TestHttpCacheJiraNumber1147

testIssue1147 0.067

TestExponentialBackingOffSchedulingStrategy

testSchedule 0

TestAbstractSerializingAsyncCacheStorage

testCacheUpdateFail 0.074
testCacheGetKeyMismatch 0.007
testBulkGet 0.012
testCacheRemove 0.002
testCacheGetNullEntry 0.002
testCacheGet 0.005
testCachePut 0.003
testCacheCASUpdate 0.006
testCacheUpdateNullEntry 0.004
testSingleCacheUpdateRetry 0.012
testCacheCASUpdateKeyMismatch 0.008
testBulkGetKeyMismatch 0.009

TestRequestProtocolCompliance

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

TestCachingExec

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

TestProtocolDeviations

testPassesOnOrigin407WithoutAProxyAuthenticateHeader 0.005
testPassesOnOrigin401ResponseWithoutWWWAuthenticateHeader 0.003
testPassesOnOrigin405WithoutAllowHeader 0.003
testPartialContentIsNotReturnedToAClientThatDidNotAskForIt 0.003

TestBasicHttpCache

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

TestCachedHttpResponseGenerator

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

TestResponseProtocolCompliance

throwsExceptionIfOriginReturnsPartialResponseWhenNotRequested 0

TestCacheRevalidatorBase

testRevalidateCacheEntryProperlyCollapsesRequest 0.004
testRevalidateCacheEntrySchedulesExecutionAndPopulatesIdentifier 0.001
testStaleResponse 0.001
testRevalidateCacheEntryDoesNotPopulateIdentifierOnRejectedExecutionException 0.003
testShutdown 0.001
testMarkCompleteRemovesIdentifier 0.001

Failure Details

[Summary] [Package List] [Test Cases]


testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped