Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
1069 0 0 2 99.813% 14.069

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.http.impl.client.cache.memcached 29 0 0 0 100% 0.153
org.apache.http.impl.client.cache 771 0 0 1 99.87% 9.664
org.apache.http.impl.client.cache.ehcache 240 0 0 1 99.583% 4.01
org.apache.http.client.cache 29 0 0 0 100% 0.242

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

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

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

org.apache.http.impl.client.cache

Class Tests Errors Failures Skipped Success Rate Time
TestCacheValidityPolicy 45 0 0 0 100% 0.069
TestExponentialBackingOffSchedulingStrategy 8 0 0 0 100% 0.013
TestBasicHttpCache 28 0 0 0 100% 0.032
TestImmediateSchedulingStrategy 1 0 0 0 100% 0.011
TestCacheInvalidator 32 0 0 0 100% 0.054
TestResponseCachingPolicy 96 0 0 0 100% 0.057
TestHttpCacheJiraNumber1147 1 0 0 0 100% 0.009
TestCombinedEntity 1 0 0 0 100% 0
TestAsynchronousValidationRequest 6 0 0 0 100% 0.097
TestConditionalRequestBuilder 17 0 0 0 100% 0.005
TestCacheKeyGenerator 28 0 0 0 100% 0.062
TestWarningValue 17 0 0 0 100% 0.005
TestDefaultFailureCache 3 0 0 0 100% 0
TestCachedResponseSuitabilityChecker 20 0 0 0 100% 0.002
TestHttpCacheEntrySerializers 1 0 0 0 100% 0
TestCachingExec 63 0 0 0 100% 1.041
TestRequestProtocolCompliance 13 0 0 0 100% 0.006
TestCachingHttpClientBuilder 2 0 0 0 100% 0.011
TestProtocolDeviations 5 0 0 0 100% 0.007
TestResponseProtocolCompliance 4 0 0 0 100% 0
TestStaleWhileRevalidationReleasesConnection 1 0 0 0 100% 6.47
TestSizeLimitedResponseReader 7 0 0 0 100% 0.009
TestProtocolRequirements 232 0 0 1 99.569% 1.267
TestCacheableRequestPolicy 7 0 0 0 100% 0.001
TestCachedHttpResponseGenerator 9 0 0 0 100% 0.018
TestCacheEntryUpdater 11 0 0 0 100% 0.006
TestProtocolAllowedBehavior 2 0 0 0 100% 0.007
TestProtocolRecommendations 87 0 0 0 100% 0.324
TestRFC5861Compliance 17 0 0 0 100% 0.059
TestAsynchronousValidator 7 0 0 0 100% 0.022

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

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

org.apache.http.client.cache

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

Test Cases

[Summary] [Package List] [Test Cases]

TestCacheValidityPolicy

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

TestMemcachedHttpCacheStorage

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

TestExponentialBackingOffSchedulingStrategy

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

TestBasicHttpCache

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

TestEhcacheProtocolRequirements

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

TestImmediateSchedulingStrategy

testRequestScheduledImmediately 0.01

TestCacheInvalidator

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

TestResponseCachingPolicy

test303WithExplicitCachingHeadersUnderDefaultBehavior 0
testPlain303ResponseCodeIsNotCacheableEvenIf303CachingEnabled 0
testPlain303ResponseCodeIsNotCacheableUnderDefaultBehavior 0
testIsArbitraryMethodCacheableUsingSharedPublicCache 0
testIsHeadCacheable 0
testResponsesToGETWithQueryParamsAndExplicitCachingAreCacheable 0.001
testIsArbitraryMethodCacheable 0.001
test410ResponseCodeIsCacheable 0
test206ResponseCodeIsNotCacheable 0
testNon206WithSMaxAgeIsCacheable 0.001
testNon206WithPrivateCacheControlIsNotCacheableBySharedCache 0.001
testIsGetWithAnyCacheControlCacheable 0.002
headsWithQueryParametersFrom1_0OriginsViaExplicitProxiesCanNotBeCacheableEvenWithExpires 0
getsWithQueryParametersFrom1_0OriginsViaProxiesAreCacheableWithExpires 0
testResponsesWithMultipleExpiresHeadersAreNotCacheable 0
testIsHeadWithNoCacheEmbeddedInListCacheable 0.001
headsWithQueryParametersDirectlyFrom1_0OriginsAreCacheableWithExpires 0.001
testIsHeadWithAnyCacheControlCacheable 0.001
testVaryStarIsNotCacheableUsingSharedPublicCache 0.001
testIsHeadWithVaryHeaderCacheable 0
testAuthorizedResponsesWithCacheControlPublicAreCacheable 0.001
testPlain302ResponseCodeIsNotCacheable 0
testResponsesToHEADWithQueryParamsAndExplicitCachingAreCacheable 0.001
notCacheableIfExpiresPrecedesDateAndNoCacheControl 0
headsWithQueryParametersFrom1_0OriginsViaProxiesAreNotCacheable 0
test302WithExplicitCachingHeaders 0
test303WithExplicitCachingHeadersWhenPermittedByConfig 0
testResponsesToHEADWithQueryParamsButNoExplicitCachingAreNotCacheableEvenWhen1_0QueryCachingDisabled 0.001
test206ResponseCodeIsNotCacheableUsingSharedPublicCache 0
headsWithQueryParametersFrom1_0OriginsViaProxiesCanNotBeCacheableEvenWithExpires 0
testResponsesWithMalformedDateHeadersAreNotCacheableUsingSharedPublicCache 0.001
testIsGetWithNoCacheEmbeddedInListCacheable 0
notCacheableIfExpiresEqualsDateAndNoCacheControl 0.001
testResponsesToRequestsWithNoStoreAreNotCacheable 0
testResponsesWithoutDateHeadersAreNotCacheable 0
testResponsesToHEADWithQueryParamsButNoExplicitCachingAreNotCacheable 0
testIsGetWithNoStoreCacheable 0.001
testIsGetWithNoCacheCacheable 0
testPlain307ResponseCodeIsNotCacheable 0
getsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheable 0.001
test307WithExplicitCachingHeaders 0
testResponsesToRequestsWithAuthorizationHeadersAreCacheableByNonSharedCache 0
testNon206WithMustRevalidateIsCacheable 0.001
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
headsWithQueryParametersFrom1_0OriginsViaProxiesAreCacheableWithExpires 0.001
test203ResponseCodeIsCacheable 0
testIsGetWithNoStoreEmbeddedInListAfterFirstHeaderCacheable 0.001
test301ResponseCodeIsCacheable 0
testNon206WithExplicitExpiresIsCacheable 0
headsWithQueryParametersDirectlyFrom1_0OriginsCanBeNotCacheableEvenWithExpires 0
testResponsesWithMultipleDateHeadersAreNotCacheable 0
test300ResponseCodeIsCacheable 0
testNon206WithMaxAgeIsCacheable 0.001
testResponsesToGETWithQueryParamsAndExplicitCachingAreCacheableEvenWhen1_0QueryCachingDisabled 0.001
getsWithQueryParametersFrom1_0OriginsViaProxiesCanNotBeCacheableEvenWithExpires 0
test200ResponseWithPrivateCacheControlIsCacheableByNonSharedCache 0.001
testAuthorizedResponsesWithCacheControlMaxAgeAreNotCacheable 0
getsWithQueryParametersFrom1_0OriginsViaExplicitProxiesCanNotBeCacheableEvenWithExpires 0
getsWithQueryParametersDirectlyFrom1_0OriginsCanBeNotCacheableEvenWithExpires 0
testResponsesWithMultipleAgeHeadersAreNotCacheable 0
headsWithQueryParametersFrom1_1OriginsVia1_0ProxiesAreCacheableWithExpires 0
testIsGetWithVaryHeaderCacheable 0.001
testResponsesToGETWithQueryParamsButNoExplicitCachingAreNotCacheableEvenWhen1_0QueryCachingDisabled 0
getsWithQueryParametersFrom1_1OriginsVia1_0ProxiesAreCacheableWithExpires 0
testResponseThatHasTooMuchContentIsNotCacheable 0
testAuthorizedResponsesWithSMaxAgeAreCacheable 0
getsWithQueryParametersFrom1_0OriginsViaProxiesAreNotCacheable 0
testIsHeadWithNoStoreEmbeddedInListCacheable 0
testResponsesThatAreSmallEnoughAreCacheable 0.001
testNon206WithPublicCacheControlIsCacheable 0
testResponseThatHasTooMuchContentIsNotCacheableUsingSharedPublicCache 0
testIsGetWithNoStoreEmbeddedInListCacheable 0
getsWithQueryParametersFrom1_0OriginsViaExplicitProxiesAreCacheableWithExpires 0.001
testIsHeadWithNoCacheEmbeddedInListAfterFirstHeaderCacheable 0
testVaryStarIsNotCacheable 0.001
testIsGetCacheable 0
testIsHeadWithNoStoreEmbeddedInListAfterFirstHeaderCacheable 0.001
testAuthorizedResponsesWithMustRevalidateAreCacheable 0
testIsGetWithout200Cacheable 0.001
testNon206WithProxyRevalidateIsCacheable 0
testResponsesToGETWithQueryParamsButNoExplicitCachingAreNotCacheable 0.001
otherStatusCodesAreCacheableWithExplicitCachingHeaders 0
headsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheable 0
headsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheableEvenWithSetting 0

TestHttpCacheJiraNumber1147

testIssue1147 0.008

TestCombinedEntity

testCombinedEntityBasics 0

TestAsynchronousValidationRequest

testRunGracefullyHandlesProtocolException 0.076
testRunGracefullyHandlesIOException 0.003
testRunCallsCachingClientAndRemovesIdentifier 0.003
testRunGracefullyHandlesRuntimeException 0.002
testRunReportsJobFailedForStaleResponse 0.003
testRunReportsJobFailedForServerError 0.003

TestConditionalRequestBuilder

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

TestCacheKeyGenerator

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

TestSHA256HashingScheme

canHash 0.007

TestWarningValue

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

TestDefaultFailureCache

testResetErrorCount 0
testMaxSize 0
testIncrementErrorCount 0

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

TestMemcachedCacheEntryImpl

knowsItsCacheEntry 0
knowsItsCacheKey 0
canBeSerialized 0.011
canBeReconstitutedFromByteArray 0.007
canBeCreatedEmpty 0.001
cannotReconstituteFromGarbage 0.001

TestHttpCacheEntrySerializers

canSerializeEntriesWithVariantMaps 0

TestCachingExec

testRevalidationCallsHandleBackEndResponseWhenNot200Or304 0.352
testUnsuitableValidatableCacheEntryCausesRevalidation 0.008
testRequestThatCannotBeServedFromCacheCausesBackendRequest 0.007
testUnsuitableUnvalidatableCacheEntryCausesBackendRequest 0.007
testCallBackendMakesBackEndRequestAndHandlesResponse 0.006
testRevalidationUpdatesCacheEntryAndPutsItToCacheWhen304ReturningCachedResponse 0.006
testCacheMissCausesBackendRequest 0.005
testRevalidationRewritesAbsoluteUri 0.013
testDoesNotFlushCachesOnCacheHit 0.005
testEndlessResponsesArePassedThrough 0.04
testReturns304ForIfNoneMatchPassesIfRequestServedFromOrigin 0.012
testSetsRouteInContextOnCacheHit 0.013
testVariantsMissServerReturns304CacheReturns304 0.033
testReturns304ForIfModifiedSinceHeaderIfRequestServedFromCache 0.01
testReturns304ForIfNoneMatchHeaderIfRequestServedFromCache 0.007
testIfOnlyIfCachedAndNoCacheEntryBackendNotCalled 0.015
testSocketTimeoutExceptionIsNotSilentlyCatched 0.014
testIfOnlyIfCachedAndEntryNotSuitableBackendNotCalled 0.006
testSetsModuleGeneratedResponseContextForCacheOptionsResponse 0.006
testTreatsCacheIOExceptionsAsCacheMiss 0.007
testReturns200ForIfNoneMatchHeaderFails 0.009
testSetsViaHeaderOnResponseIfRequestServedFromCache 0.007
testSetsCacheMissContextIfRequestNotServableFromCache 0.007
testReturns200ForOptionsFollowedByGetIfAuthorizationHeaderAndSharedCache 0.009
testDoesNotSetConnectionInContextOnCacheHit 0.009
testNonCompliantRequestWrapsAndReThrowsProtocolException 0.006
testSetsResponseInContextOnCacheHit 0.019
testReturns304ForIfNoneMatchHeaderAndIfModifiedSinceIfRequestServedFromCache 0.013
testReturns200ForIfNoneMatchFailsIfRequestServedFromOrigin 0.023
testNewerCacheableResponsesReplaceExistingCacheEntry 0.019
testReturns200ForIfModifiedSinceDateIsInvalid 0.01
testSetViaHeaderIfValidationFailsButNotRequired 0.006
testSetsModuleResponseContextIfValidationFailsButNotRequired 0.006
testDoesNotSend304ForNonConditionalRequest 0.009
testIfOnlyIfCachedAndEntryExistsAndIsSuitableReturnsEntry 0.005
testNoEntityForIfNoneMatchRequestNotYetInCache 0.008
testSetsCacheHitContextIfRequestServedFromCache 0.007
testCanCacheAResponseWithoutABody 0.01
testSetsRequestInContextOnCacheHit 0.01
testResponseIsGeneratedWhenCacheEntryIsUsable 0.008
testSetsModuleResponseContextIfValidationRequiredButFailed 0.02
testUsesVirtualHostForCacheKey 0.008
testReturns304ForIfModifiedSinceHeaderIf304ResponseInCache 0.013
testSetsViaHeaderOnResponseIfRequestNotServableFromCache 0.006
testVariantMissServerIfReturns304CacheReturns200 0.022
testSetsRequestSentInContextOnCacheHit 0.006
testIsSharedCache 0.003
testSetsModuleGeneratedResponseContextForFatallyNoncompliantRequest 0.004
testReturns200ForIfModifiedSinceDateIsLess 0.011
testOlderCacheableResponsesDoNotGoIntoCache 0.012
testSuitableCacheEntryDoesNotCauseBackendRequest 0.004
testNotModifiedResponseUpdatesCacheEntryWhenNoEntity 0.012
testSetsViaHeaderOnResponseForCacheMiss 0.007
testSetsTargetHostInContextOnCacheHit 0.01
testNonCacheableResponseIsNotCachedAndIsReturnedAsIs 0.006
testSetsViaHeaderIfRequestWasSuccessfullyValidated 0.013
testReturns200ForIfNoneMatchHeaderFailsIfModifiedSinceIgnored 0.014
testCacheableResponsesGoIntoCache 0.006
testNotModifiedResponseWithVaryUpdatesCacheEntryWhenNoEntity 0.007
testSetsValidatedContextIfRequestWasSuccessfullyValidated 0.006
testReturns200ForIfModifiedSinceFailsIfRequestServedFromOrigin 0.007
testRecordsClientProtocolInViaHeaderIfRequestNotServableFromCache 0.006
testReturns304ForIfModifiedSincePassesIfRequestServedFromOrigin 0.007

TestRequestProtocolCompliance

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

TestCachingHttpClientBuilder

testAsynchronousWorkersMax0 0.006
testNullCacheConfig 0.005

TestProtocolDeviations

testPassesOnOrigin407WithoutAProxyAuthenticateHeader 0.003
testPassesOnOrigin401ResponseWithoutWWWAuthenticateHeader 0.001
testOPTIONSRequestsWithBodiesAndNoContentTypeHaveOneSupplied 0.001
testPassesOnOrigin405WithoutAllowHeader 0.001
testPartialContentIsNotReturnedToAClientThatDidNotAskForIt 0.001

TestResponseProtocolCompliance

throwsExceptionIfOriginReturnsPartialResponseWhenNotRequested 0
consumesPartialContentFromOriginEvenIfNotRequested 0
consumesBodyIfOriginSendsOneInResponseToHEAD 0
consumesBodyOf100ContinueResponseIfItArrives 0

TestStaleWhileRevalidationReleasesConnection

testStaleWhileRevalidate 6.463

TestSizeLimitedResponseReader

testTooLargeEntityHasOriginalContentTypes 0.004
testResponseCopiesAllOriginalHeaders 0.005
testSmallResponseIsNotTooLarge 0
testResponseWithNoEntityIsNotTooLarge 0
testLargeResponseIsTooLarge 0
testExactSizeResponseIsNotTooLarge 0
testTooLargeResponseCombinedClosed 0

TestProtocolRequirements

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

TestMemcachedCacheEntryFactoryImpl

createsMemcachedCacheEntryImpls 0

TestHttpCacheEntry

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

TestCacheableRequestPolicy

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

TestCachedHttpResponseGenerator

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

TestCacheEntryUpdater

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

TestProtocolAllowedBehavior

testNonSharedCacheReturnsStaleResponseWhenRevalidationFailsForProxyRevalidate 0.002
testNonSharedCacheMayCacheResponsesWithCacheControlPrivate 0.005

TestProtocolRecommendations

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

TestRFC5861Compliance

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

TestEhcacheHttpCacheStorage

testCacheUpdateFail 0.038
testCacheRemove 0.001
testCacheUpdate 0.002
testCacheGetNullEntry 0
testCacheGet 0.001
testCachePut 0
testCacheUpdateNullEntry 0.001
testSingleCacheUpdateRetry 0.002

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme 0

TestAsynchronousValidator

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

Failure Details

[Summary] [Package List] [Test Cases]


testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped
testOPTIONSRequestsAreWrittenThroughToOrigin
skipped: skipped