Package org.apache.jmeter.assertions
Class XMLSchemaAssertion
-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Cloneable,org.apache.jmeter.assertions.Assertion,org.apache.jmeter.gui.Searchable,org.apache.jmeter.testelement.TestElement
public class XMLSchemaAssertion extends AbstractTestElement implements Serializable, Assertion
XMLSchemaAssertion.java Validate response against an XML Schema author
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringFILE_NAME_IS_REQUIREDpublic final static StringJAXP_SCHEMA_LANGUAGEpublic final static StringW3C_XML_SCHEMApublic final static StringJAXP_SCHEMA_SOURCEpublic final static StringXSD_FILENAME_KEYpublic transient JMeterContextthreadContextpublic transient StringthreadNamepublic final static TestElement.CompanionCompanionpublic final static StringNAMEpublic final static StringGUI_CLASSpublic final static StringENABLEDpublic final static StringTEST_CLASSpublic final static StringCOMMENTS
-
Constructor Summary
Constructors Constructor Description XMLSchemaAssertion()
-
Method Summary
Modifier and Type Method Description AssertionResultgetResult(SampleResult response)voidsetXsdFileName(String xmlSchemaFileName)StringgetXsdFileName()-
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse -
Methods inherited from class org.apache.jmeter.testelement.TestElement
get, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getProps, getSchema, getString, removed, set -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getResult
AssertionResult getResult(SampleResult response)
-
setXsdFileName
void setXsdFileName(String xmlSchemaFileName)
-
getXsdFileName
String getXsdFileName()
-
-
-
-