public abstract class AbstractDbCachingLoadTest extends CrowdAcceptanceTestCase
Modifier and Type | Field and Description |
---|---|
static String |
CHILD_OU_A |
static String |
CHILD_OU_B |
static String |
CHILD_OU_C |
static String |
CHILD_OU_D |
static String |
CONNECTOR_BASEDN |
static String |
CONNECTOR_CLASSNAME |
static String |
CONNECTOR_DIRECTORY_NAME |
static String |
CONNECTOR_NESTEDGROUPS |
static String |
CONNECTOR_PAGEDRESULTS |
static String |
CONNECTOR_PAGEDRESULTSSIZE |
static String |
CONNECTOR_REFERRAL |
static String |
CONNECTOR_SECURE |
static String |
CONNECTOR_URL |
static String |
CONNECTOR_USERDN |
static String |
CONNECTOR_USERPW |
static int |
MEMBERSHIPS_COUNT |
static int |
ONE_MINUTE_IN_MILLIS |
static String |
PARTIAL_GROUPNAME |
static String |
PARTIAL_USERNAME |
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 |
---|
AbstractDbCachingLoadTest() |
Modifier and Type | Method and Description |
---|---|
void |
assertUsersAndGroupsFromOUNotPresent(String childOU) |
void |
assertUsersAndGroupsFromOUPresent(String childOU) |
String |
createGroupName(String childOU,
int index) |
long |
createLoadTestingDirectory(String url,
String baseDN,
String userDN,
String password) |
String |
createUserName(String childOU,
int index) |
protected String |
getConnectorType() |
protected boolean |
isSynchronising()
Returns true if the directory is currently being synchronised.
|
protected static long |
parsePrettyDurationToSeconds(String duration) |
void |
setUp() |
long |
synchroniseDirectory(String shortDescription)
Manually starts the sync.
|
void |
waitForExistingSyncToFinish() |
_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 static final String CHILD_OU_A
public static final String CHILD_OU_B
public static final String CHILD_OU_C
public static final String CHILD_OU_D
public static final String CONNECTOR_BASEDN
public static final String CONNECTOR_URL
public static final String CONNECTOR_SECURE
public static final String CONNECTOR_REFERRAL
public static final String CONNECTOR_PAGEDRESULTS
public static final String CONNECTOR_PAGEDRESULTSSIZE
public static final String CONNECTOR_USERDN
public static final String CONNECTOR_USERPW
public static final String CONNECTOR_CLASSNAME
public static final String CONNECTOR_NESTEDGROUPS
public static final String CONNECTOR_DIRECTORY_NAME
public static final int ONE_MINUTE_IN_MILLIS
public static final String PARTIAL_GROUPNAME
public static final String PARTIAL_USERNAME
public static final int MEMBERSHIPS_COUNT
public void setUp() throws Exception
setUp
in class CrowdAcceptanceTestCase
Exception
public long synchroniseDirectory(String shortDescription) throws InterruptedException
shortDescription
- A short description of what is being sync-ed (eg. 10k users) to be printed once we believe the sync has finished.InterruptedException
protected static long parsePrettyDurationToSeconds(String duration)
public void waitForExistingSyncToFinish() throws InterruptedException
InterruptedException
public long createLoadTestingDirectory(String url, String baseDN, String userDN, String password) throws Exception
Exception
protected boolean isSynchronising()
protected String getConnectorType()
public void assertUsersAndGroupsFromOUPresent(String childOU)
public void assertUsersAndGroupsFromOUNotPresent(String childOU)
Copyright © 2020 Atlassian. All rights reserved.