Class RequestAssertions
java.lang.Object
com.atlassian.jira.functest.framework.assertions.RequestAssertions
Assertions about requests
- Since:
- v7.1
-
Constructor Summary
ConstructorsConstructorDescriptionRequestAssertions(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData) -
Method Summary
Modifier and TypeMethodDescriptionvoidAsserts that the Cache-control header in the response *is not* set to any one of "no-cache", "no-store" or "must-revalidate".
-
Constructor Details
-
RequestAssertions
@Inject public RequestAssertions(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
-
-
Method Details
-
assertResponseCanBeCached
public void assertResponseCanBeCached()Asserts that the Cache-control header in the response *is not* set to any one of "no-cache", "no-store" or "must-revalidate". The choice of these 3 headers is directly related to the implementation of com.atlassian.core.filters.AbstractEncodingFilter.setNonCachingHeaders(HttpServletResponse)
-