public class ResponseAssertion
extends org.apache.jmeter.testelement.AbstractScopedAssertion
implements java.io.Serializable, org.apache.jmeter.assertions.Assertion
AssertionGui for GUI.| Constructor and Description |
|---|
ResponseAssertion() |
fetchScope, getSampleList, getVariableName, isScopeAll, isScopeChildren, isScopeParent, isScopeVariable, isScopeVariable, setScopeAll, setScopeChildren, setScopeParent, setScopeVariableaddPropertiesValues, 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, traversePropertypublic void clear()
clear in interface org.apache.jmeter.testelement.TestElementclear in class org.apache.jmeter.testelement.AbstractTestElementpublic 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(java.lang.String customFailureMessage)
public java.lang.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(java.lang.String testString)
public void clearTestStrings()
public org.apache.jmeter.assertions.AssertionResult getResult(org.apache.jmeter.samplers.SampleResult response)
getResult in interface org.apache.jmeter.assertions.Assertionpublic java.lang.String getTestField()
public int getTestType()
public org.apache.jmeter.testelement.property.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-2018 Apache Software Foundation. All Rights Reserved.