Apache JMeter

org.apache.jmeter.control
Class IncludeController

java.lang.Object
  extended by org.apache.jmeter.testelement.AbstractTestElement
      extended by org.apache.jmeter.control.GenericController
          extended by org.apache.jmeter.control.IncludeController
All Implemented Interfaces:
Serializable, Cloneable, Controller, ReplaceableController, Searchable, TestElement, TestCompilerHelper

public class IncludeController
extends GenericController
implements ReplaceableController

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
 
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
 
Constructor Summary
IncludeController()
          No-arg constructor
 
Method Summary
 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.
 
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, isDone, isFirst, next, nextIsAController, nextIsASampler, nextIsNull, reInitialize, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst, triggerEndOfLoop
 
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
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, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
 

Constructor Detail

IncludeController

public IncludeController()
No-arg constructor

See Also:
Object.Object()
Method Detail

clone

public Object clone()
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement

setIncludePath

public void setIncludePath(String jmxfile)
In the event an user wants to include an external JMX test plan the GUI would call this.

Parameters:
jmxfile -

getIncludePath

public String getIncludePath()
return the JMX file path.

Returns:
the JMX file path

getReplacementSubTree

public HashTree getReplacementSubTree()
The way ReplaceableController works is clone is called first, followed by replace(HashTree) and finally getReplacement().

Specified by:
getReplacementSubTree in interface ReplaceableController
See Also:
HashTree

getReplacementElement

public TestElement getReplacementElement()

resolveReplacementSubTree

public void resolveReplacementSubTree(JMeterTreeNode context)
Description copied from interface: ReplaceableController
Compute the replacement tree.

Specified by:
resolveReplacementSubTree in interface ReplaceableController

loadIncludedElements

protected HashTree loadIncludedElements()
load the included elements using SaveService


Apache JMeter

Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.