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 javax.jcr.Session |
login() |
protected void |
runTest() |
String |
toString() |
static Benchmark |
withAdmin() |
static Benchmark |
withAnonymous() |
addBackgroundJob, afterTest, afterTest, beforeTest, beforeTest, comment, createRepository, disposeThreadExecutionContext, execute, failOnRepositoryVersions, getCredentials, getRepository, getScale, issueHaltChildThreads, issueHaltRequest, login, loginAdministrative, loginAnonymous, loginWriter, logout, prepareThreadExecutionContext, run, run, runTest, setPrintStream, setUp, statsFormats, statsNames, statsValues, tearDown
protected GetNodeTest(String name)
public static Benchmark withAdmin()
public static Benchmark withAnonymous()
protected abstract javax.jcr.Session login()
protected void beforeSuite() throws Exception
AbstractTest
beforeSuite
in class AbstractTest
Exception
- if an error occursprotected void runTest() throws Exception
runTest
in class AbstractTest
Exception
protected void afterSuite() throws Exception
AbstractTest
afterSuite
in class AbstractTest
Exception
- if an error occursCopyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.