public class LoginImpersonateTest extends AbstractTest
Modifier and Type | Field and Description |
---|---|
static int |
COUNT |
static int |
DEFAULT_ITERATIONS |
static long |
NO_CACHE |
static java.lang.String |
USER |
Constructor and Description |
---|
LoginImpersonateTest() |
Modifier and Type | Method and Description |
---|---|
void |
afterSuite()
Run after all iterations of this test have been executed.
|
void |
beforeSuite()
Run before any iterations of this test get executed.
|
protected Repository[] |
createRepository(RepositoryFixture fixture)
Customize the repository creation process by custom fixture handling
|
protected boolean |
customConfigurationParameters() |
protected ConfigurationParameters |
prepare(ConfigurationParameters conf) |
void |
runTest() |
void |
setUp(Repository repository,
Credentials credentials)
Prepares this performance benchmark.
|
addBackgroundJob, afterTest, afterTest, beforeTest, beforeTest, comment, disposeThreadExecutionContext, execute, failOnRepositoryVersions, getCredentials, getCurrentFixture, getRepository, getScale, issueHaltChildThreads, issueHaltRequest, login, loginAdministrative, loginAnonymous, loginSubject, loginWriter, logout, prepareThreadExecutionContext, run, run, runTest, setPrintStream, statsFormats, statsNames, statsValues, systemLogin, tearDown
public static final int COUNT
public static final java.lang.String USER
public static final int DEFAULT_ITERATIONS
public static final long NO_CACHE
public void beforeSuite() throws java.lang.Exception
AbstractTest
java.lang.Exception
- if an error occurspublic void runTest() throws RepositoryException
runTest
in class AbstractTest
RepositoryException
public void setUp(Repository repository, Credentials credentials) throws java.lang.Exception
AbstractTest
setUp
in class AbstractTest
repository
- the repository to usecredentials
- credentials of a user with write accessjava.lang.Exception
- if the benchmark can not be preparedpublic void afterSuite() throws java.lang.Exception
AbstractTest
afterSuite
in class AbstractTest
java.lang.Exception
- if an error occursprotected boolean customConfigurationParameters()
protected ConfigurationParameters prepare(ConfigurationParameters conf)
protected Repository[] createRepository(RepositoryFixture fixture) throws java.lang.Exception
AbstractTest
createRepository
in class AbstractTest
java.lang.Exception
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.