public abstract class ScriptingTestElement extends AbstractTestElement
BSFTestElement
and JSR223TestElement
scripting test elements.
These also share the ScriptingBeanInfoSupport
class for configuration.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SCRIPT_LANGUAGE |
protected String |
scriptLanguage |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
ScriptingTestElement() |
Modifier and Type | Method and Description |
---|---|
String |
getFilename() |
String |
getParameters() |
String |
getScript()
Return the script (TestBean version).
|
protected boolean |
isStopCondition(Throwable rootCause) |
void |
setFilename(String s) |
void |
setParameters(String s) |
void |
setScript(String s)
Set the script (TestBean version).
|
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, 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
removed
protected String scriptLanguage
public static final String DEFAULT_SCRIPT_LANGUAGE
public String getScript()
public void setScript(String s)
s
- the script to execute (may be blank)public String getParameters()
public void setParameters(String s)
public String getFilename()
public void setFilename(String s)
protected boolean isStopCondition(Throwable rootCause)
rootCause
- ThrowableCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.