public class ResponseAssertion extends AbstractScopedAssertion implements Serializable, Assertion
AssertionGui
for GUI.COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
ResponseAssertion() |
getScopeName
fetchScope, getSampleList, getVariableName, isScopeAll, isScopeChildren, isScopeParent, isScopeVariable, isScopeVariable, setScopeAll, setScopeChildren, setScopeParent, setScopeVariable
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, 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
public void clear()
AbstractTestElement
clear
in interface TestElement
clear
in class AbstractTestElement
public void setTestFieldURL()
public void setTestFieldResponseCode()
public void setTestFieldResponseData()
public void setTestFieldResponseDataAsDocument()
public void setTestFieldResponseMessage()
public void setTestFieldResponseHeaders()
public void setTestFieldRequestHeaders()
public void setTestFieldRequestData()
public void setCustomFailureMessage(String customFailureMessage)
public String getCustomFailureMessage()
public boolean isTestFieldURL()
public boolean isTestFieldResponseCode()
public boolean isTestFieldResponseData()
public boolean isTestFieldResponseDataAsDocument()
public boolean isTestFieldResponseMessage()
public boolean isTestFieldResponseHeaders()
public boolean isTestFieldRequestHeaders()
public boolean isTestFieldRequestData()
public void addTestString(String testString)
public void clearTestStrings()
public AssertionResult getResult(SampleResult response)
Assertion
public String getTestField()
public int getTestType()
public CollectionProperty getTestStrings()
public boolean isEqualsType()
public boolean isSubstringType()
public boolean isContainsType()
public boolean isMatchType()
public boolean isNotType()
public boolean isOrType()
public void setToContainsType()
public void setToMatchType()
public void setToEqualsType()
public void setToSubstringType()
public void setToNotType()
public void unsetNotType()
public void setToOrType()
public void unsetOrType()
public boolean getAssumeSuccess()
public void setAssumeSuccess(boolean b)
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.