org.apache.jmeter.assertions
Class BeanShellAssertion
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.assertions.BeanShellAssertion
- All Implemented Interfaces:
- Assertion, Cloneable, Serializable, TestElement
- public class BeanShellAssertion
- extends AbstractTestElement
- implements Serializable, Assertion
A sampler which understands BeanShell
- Version:
- $Revision: 1.3.2.4 $ Updated on: $Date: 2004/10/08 23:20:10 $
- See Also:
- Serialized Form
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty |
FILENAME
public static final String FILENAME
- See Also:
- Constant Field Values
SCRIPT
public static final String SCRIPT
- See Also:
- Constant Field Values
PARAMETERS
public static final String PARAMETERS
- See Also:
- Constant Field Values
INIT_FILE
public static final String INIT_FILE
- See Also:
- Constant Field Values
BeanShellAssertion
public BeanShellAssertion()
getScript
public String getScript()
getFilename
public String getFilename()
getParameters
public String getParameters()
getResult
public AssertionResult getResult(SampleResult response)
- Description copied from interface:
Assertion
- Returns the AssertionResult object encapsulating information about the
success or failure of the assertion.
- Specified by:
getResult
in interface Assertion
- Parameters:
response
- the SampleResult containing information about the
Sample (duration, success, etc)
- Returns:
- the AssertionResult containing the information about whether the
assertion passed or failed.
Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.