org.apache.jmeter.assertions
Class XMLSchemaAssertion
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.assertions.XMLSchemaAssertion
- All Implemented Interfaces:
- Serializable, Cloneable, Assertion, Searchable, TestElement
public class XMLSchemaAssertion
- extends AbstractTestElement
- implements Serializable, Assertion
XMLSchemaAssertion.java Validate response against an XML Schema author Dave Maung
- See Also:
- Serialized Form
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, 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, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty |
FILE_NAME_IS_REQUIRED
public static final String FILE_NAME_IS_REQUIRED
- See Also:
- Constant Field Values
JAXP_SCHEMA_LANGUAGE
public static final String JAXP_SCHEMA_LANGUAGE
- See Also:
- Constant Field Values
W3C_XML_SCHEMA
public static final String W3C_XML_SCHEMA
- See Also:
- Constant Field Values
JAXP_SCHEMA_SOURCE
public static final String JAXP_SCHEMA_SOURCE
- See Also:
- Constant Field Values
XSD_FILENAME_KEY
public static final String XSD_FILENAME_KEY
- See Also:
- Constant Field Values
XMLSchemaAssertion
public XMLSchemaAssertion()
getResult
public AssertionResult getResult(SampleResult response)
- getResult
- Specified by:
getResult
in interface Assertion
- Parameters:
response
- the SampleResult containing information about the Sample
(duration, success, etc)
- Returns:
- the AssertionResult containing the information about whether the
assertion passed or failed.
setXsdFileName
public void setXsdFileName(String xmlSchemaFileName)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getXsdFileName
public String getXsdFileName()
Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.