public abstract class GetNodeTest extends AbstractTest
GetNodeTest implements a performance test, which reads
nodes from the repository. To determine the effect of access control
evaluation the test can either run with anonymous or with admin.| Modifier | Constructor and Description |
|---|---|
protected |
GetNodeTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterSuite()
Run after all iterations of this test have been executed.
|
protected void |
beforeSuite()
Run before any iterations of this test get executed.
|
protected abstract Session |
login() |
protected void |
runTest() |
String |
toString() |
static Benchmark |
withAdmin() |
static Benchmark |
withAnonymous() |
addBackgroundJob, afterTest, afterTest, beforeTest, beforeTest, comment, createRepository, disposeThreadExecutionContext, execute, failOnRepositoryVersions, getCredentials, getCurrentFixture, getRepository, getScale, issueHaltChildThreads, issueHaltRequest, login, loginAdministrative, loginAnonymous, loginWriter, logout, prepareThreadExecutionContext, run, run, runTest, setPrintStream, setUp, statsFormats, statsNames, statsValues, tearDownprotected GetNodeTest(String name)
public static Benchmark withAdmin()
public static Benchmark withAnonymous()
protected abstract Session login()
protected void beforeSuite()
throws Exception
AbstractTestbeforeSuite in class AbstractTestException - if an error occursprotected void runTest()
throws Exception
runTest in class AbstractTestExceptionprotected void afterSuite()
throws Exception
AbstractTestafterSuite in class AbstractTestException - if an error occursCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.