|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.assertions.ResponseAssertion
Nested Class Summary | |
static class |
ResponseAssertion.Test
|
Field Summary | |
static String |
ASSUME_SUCCESS
|
static String |
RESPONSE_CODE
|
static String |
RESPONSE_DATA
|
static String |
RESPONSE_MESSAGE
|
static String |
SAMPLE_LABEL
|
static String |
TEST_FIELD
|
static String |
TEST_STRINGS
|
static String |
TEST_TYPE
|
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
ResponseAssertion()
! |
|
ResponseAssertion(String field,
int type,
String string)
! |
Method Summary | |
void |
addTestString(String testString)
! |
void |
clear()
Clear the TestElement of all data. |
void |
clearTestStrings()
|
boolean |
getAssumeSuccess()
|
AssertionResult |
getResult(SampleResult response)
! |
String |
getTestField()
! |
CollectionProperty |
getTestStrings()
! |
int |
getTestType()
! |
boolean |
isContainsType()
|
boolean |
isMatchType()
|
boolean |
isNotType()
|
void |
removeTestString(int index)
|
void |
removeTestString(String testString)
|
void |
setAssumeSuccess(boolean b)
|
protected AssertionResult |
setResultForNull(AssertionResult result)
|
void |
setTestField(String testField)
! |
void |
setTestString(String testString,
int index)
|
void |
setTestType(int testType)
! |
void |
setToContainsType()
|
void |
setToMatchType()
|
void |
setToNotType()
|
void |
unsetNotType()
|
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, addTestElement, canRemove, 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 |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String TEST_FIELD
public static final String SAMPLE_LABEL
public static final String RESPONSE_DATA
public static final String RESPONSE_CODE
public static final String RESPONSE_MESSAGE
public static final String ASSUME_SUCCESS
public static final String TEST_STRINGS
public static final String TEST_TYPE
Constructor Detail |
public ResponseAssertion()
public ResponseAssertion(String field, int type, String string)
field
- !ToDo (Parameter description)type
- !ToDo (Parameter description)string
- !ToDo (Parameter description)Method Detail |
public void clear()
TestElement
clear
in interface TestElement
clear
in class AbstractTestElement
public void setTestField(String testField)
testField
- !ToDo (Parameter description)public void setTestType(int testType)
testType
- !ToDo (Parameter description)public void addTestString(String testString)
testString
- !ToDo (Parameter description)public void setTestString(String testString, int index)
public void removeTestString(String testString)
public void removeTestString(int index)
public void clearTestStrings()
public AssertionResult getResult(SampleResult response)
getResult
in interface Assertion
response
- !ToDo (Parameter description)
public String getTestField()
public int getTestType()
public CollectionProperty getTestStrings()
public boolean isContainsType()
public boolean isMatchType()
public boolean isNotType()
public void setToContainsType()
public void setToMatchType()
public void setToNotType()
public void unsetNotType()
public boolean getAssumeSuccess()
public void setAssumeSuccess(boolean b)
protected AssertionResult setResultForNull(AssertionResult result)
|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |