public class IncludeController extends GenericController implements ReplaceableController
current, subControllersAndSamplers
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
IncludeController()
No-arg constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
String |
getIncludePath()
return the JMX file path.
|
TestElement |
getReplacementElement() |
HashTree |
getReplacementSubTree()
The way ReplaceableController works is clone is called first,
followed by replace(HashTree) and finally getReplacement().
|
protected HashTree |
loadIncludedElements()
load the included elements using SaveService
|
void |
resolveReplacementSubTree(JMeterTreeNode context)
Compute the replacement tree.
|
void |
setIncludePath(String jmxfile)
In the event an user wants to include an external JMX test plan
the GUI would call this.
|
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, next, nextIsAController, nextIsASampler, nextIsNull, readResolve, reInitialize, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst, triggerEndOfLoop
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
canRemove, clear, clearTestElementChildren, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removed, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
public IncludeController()
Object.Object()
public Object clone()
clone
in interface TestElement
clone
in class AbstractTestElement
public void setIncludePath(String jmxfile)
jmxfile
- The path to the JMX test plan to includepublic String getIncludePath()
public HashTree getReplacementSubTree()
getReplacementSubTree
in interface ReplaceableController
HashTree
public TestElement getReplacementElement()
public void resolveReplacementSubTree(JMeterTreeNode context)
ReplaceableController
resolveReplacementSubTree
in interface ReplaceableController
context
- the starting point of the replacementprotected HashTree loadIncludedElements()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.