org.apache.jmeter.assertions
Class BeanShellAssertion
- Assertion, Cloneable, Serializable, TestElement, TestListener, ThreadListener
public class BeanShellAssertion
A sampler which understands BeanShell
clone , getBeanShellInterpreter , getFilename , getInitFileProperty , getParameters , getScript , isResetInterpreter , processFileOrScript , readResolve , setFilename , setParameters , setResetInterpreter , setScript , testEnded , testEnded , testIterationStart , testStarted , testStarted , threadFinished , threadStarted |
addProperty , addTestElement , canRemove , clear , clearTemporary , clone , emptyTemporary , equals , getComment , getName , getProperty , getPropertyAsBoolean , getPropertyAsBoolean , getPropertyAsDouble , getPropertyAsFloat , getPropertyAsInt , getPropertyAsInt , getPropertyAsLong , getPropertyAsString , getPropertyAsString , 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 |
FILENAME
public static final String FILENAME
INIT_FILE
public static final String INIT_FILE
PARAMETERS
public static final String PARAMETERS
RESET_INTERPRETER
public static final String RESET_INTERPRETER
SCRIPT
public static final String SCRIPT
getResult
public AssertionResult getResult(SampleResult response)
Returns the AssertionResult object encapsulating information about the
success or failure of the assertion.
- getResult in interface Assertion
response
- the SampleResult containing information about the Sample
(duration, success, etc)
- the AssertionResult containing the information about whether the
assertion passed or failed.
getScript
public String getScript()
Return the script (TestBean version).
Must be overridden for subclasses that don't implement TestBean
otherwise the clone() method won't work.
- getScript in interface BeanShellTestElement
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.