public class XFireGzipTest extends CrowdAcceptanceTestCase
We intercept and send off the exact headers to the Crowd Server and ensure that content-encoding header is gzip enabled.
AuthenticateApplicationListener is the server socket that will always return a dummy SOAP message with successful result to a Crowd Client's AuthenticateApplication request.
The port for server socket that intercepts the headers is hard-coded in listenerPort.
Modifier and Type | Class and Description |
---|---|
class |
XFireGzipTest.AuthenticateApplicationProxy |
ADMIN_PW, ADMIN_USER, BATCHED_TEST_RULE, DEVELOPER_LICENSE_KEY, EVALUATION_DC_KEY, EXPIRED_MAINTENANCE_KEY, logger, testkitClient, testName, testWatcher, URL_HOME, USER_DETAILS_TABLE_ID
i18n
Constructor and Description |
---|
XFireGzipTest() |
Modifier and Type | Method and Description |
---|---|
void |
clientHeaders()
This will:
1.
|
void |
setUp() |
void |
tearDown() |
_loginAdminUser, _loginAsUser, _logout, assertAtLoginForm, assertAtLoginForm, assertIsLoggedIn, assertIsLoggedOut, assertMatchInTableBody, assertNoMatchInTableBody, assertUnescapedKeyNotPresent, assertUnescapedKeyPresent, assertUserInTable, assertUserInTable, assertUserNotInTable, disableIPValidation, doBackup, getBaseUrl, getCookie, getCookieOrThrow, getCrowdApplicationPassword, getGroupTableContents, getInstanceProperties, getUserDetailsTableContents, gotoAddApplication, gotoAddGroup, gotoAddPrincipal, gotoAdministrationPage, gotoBrowseApplications, gotoBrowseDirectories, gotoBrowseGroups, gotoBrowseGroups, gotoBrowsePrincipals, gotoBrowsePrincipals, gotoCreateDirectory, gotoCurrentApplicationSessions, gotoCurrentPrincipalSessions, gotoGeneral, gotoImporters, gotoLdapConnectionPool, gotoLicensing, gotoLoggingProfiling, gotoMailServer, gotoMailTemplate, gotoRemovePrincipal, gotoRestore, gotoSAMLConfig, gotoSessionConfig, gotoSystemInfo, gotoTrustedProxies, gotoViewApplication, gotoViewApplicationDirectories, gotoViewGroup, gotoViewPrincipal, intendToModifyData, intendToModifyLdapData, log, loginAdminWithRememberMe, loginAndRedirectToStartPage, loginAndRedirectToStartPage, loginWithRestEndpoint, loginWithRestEndpoint, namesOf, performRequestWithCookieExchange, removeCookie, restGet, restoreBaseSetup, restoreCrowdFromXML, restoreCrowdFromXMLWithoutReloggingIn, restPost, submitLoginFormAsAdminUser, userWithDetails
addRequestHeader, assertButtonNotPresent, assertButtonPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxSelected, assertElementIsDisabled, assertElementIsEnabled, assertElementNotPresent, assertElementNotPresentByXPath, assertElementPresent, assertElementPresentByXPath, assertErrorNotPresent, assertErrorPresent, assertErrorPresentWithKey, assertFieldErrorPresentWithKey, assertFormPresent, assertInfoPresent, assertKeyInElement, assertKeyNotPresent, assertKeyPresent, assertKeyPresent, assertKeyPresent, assertKeyPresentOnce, assertLinkNotPresent, assertLinkPresent, assertLinkPresentWithExactText, assertLinkPresentWithKey, assertMatchInTable, assertMatchInTable, assertRadioOptionNotPresent, assertRadioOptionSelected, assertSelectedOptionEquals, assertSelectedOptionValueEquals, assertSelectOptionNotPresent, assertSelectOptionsEqual, assertServerResponseContains, assertServerResponseDoesNotContain, assertSubmitButtonNotPresent, assertSuccessPresent, assertTableEquals, assertTableNotPresent, assertTablePresent, assertTableRowCountEquals, assertTextFieldEquals, assertTextInElement, assertTextInTable, assertTextInTable, assertTextNotInTable, assertTextNotInTable, assertTextNotPresent, assertTextPresent, assertTextPresent, assertTitleEquals, assertTitleMatch, assertTitleNotEquals, assertWarningAndErrorNotPresent, assertWarningNotPresent, beginAt, checkCheckbox, checkCheckbox, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkInNavbar, clickLinkWithExactText, clickLinkWithKey, clickLinkWithText, clickLinkWithText, clickRadioOption, closeBrowser, equalToIgnoringWhiteSpace, getDialog, getElementAttributeByXPath, getElementById, getElementByXPath, getElementsByXPath, getElementTextById, getElementTextByXPath, getElementValueByID, getMessage, getMessage, getName, getPageSource, getPageText, getResponseHeaders, getTable, getTestContext, getTestingEngine, getText, getTextForList, getWebTester, gotoPage, isTextPresent, scrapeTable, scrapeTable, scrapeTable, selectOption, selectOption, selectOptionByValue, setRadioButton, setScriptingEnabled, setTester, setTextField, setWorkingForm, setWorkingForm, submit, submit, uncheckCheckbox, waitFor, waitForElementById, waitForElementByXPath, waitForElementToDisappearByXPath, waitForText, waitForText
public void setUp() throws Exception
setUp
in class CrowdAcceptanceTestCase
Exception
public void clientHeaders() throws Exception
Exception
Copyright © 2020 Atlassian. All rights reserved.