public class JsonSchemaComplianceAssertion extends WsdlMessageAssertion implements ResponseAssertion
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonSchemaComplianceAssertion.Factory |
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
LABEL |
assertionErrors, assertionStatus, NO_RESPONSECONFIGURATION_PROPERTY, DISABLED_PROPERTY, ERRORS_PROPERTY, STATUS_PROPERTY| Constructor and Description |
|---|
JsonSchemaComplianceAssertion(TestAssertionConfig assertionConfig,
Assertable modelItem)
Assertions need to have a constructor that takes a TestAssertionConfig and the ModelItem to be asserted
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure() |
protected org.apache.xmlbeans.XmlObject |
createConfiguration() |
protected String |
internalAssertProperty(TestPropertyHolder source,
String propertyName,
MessageExchange messageExchange,
SubmitContext context) |
protected String |
internalAssertResponse(MessageExchange messageExchange,
SubmitContext submitContext) |
boolean |
isConfigurable() |
void |
setSchemaUrl(String endpoint) |
appliesToRequest, assertProperty, assertRequest, assertResponse, createEventBusMessage, getAssertable, getConfig, getConfiguration, getDescription, getErrors, getIcon, getId, getIndexOfAssertion, getLabel, getName, getParent, getPropertyExpansions, getSettings, getStatus, internalAssertRequest, isAllowMultiple, isClonable, isDisabled, isFailed, isValid, prepare, prepare, release, resolve, setAssertable, setConfiguration, setDisabled, setErrors, setName, setStatus, updateConfigaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, getChildren, getDashboardDbId, getProject, initItemOrder, isNotifyPropertyChanged, notifyPropertyChanged, removeModelItemFromConfig, removePropertyChangeListener, removePropertyChangeListener, setDashboardDbId, setNotifyPropertyChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassertResponsepublic static final String ID
public static final String LABEL
public JsonSchemaComplianceAssertion(TestAssertionConfig assertionConfig, Assertable modelItem)
public boolean isConfigurable()
isConfigurable in interface TestAssertionisConfigurable in class WsdlMessageAssertionpublic boolean configure()
configure in interface TestAssertionconfigure in class WsdlMessageAssertionpublic void setSchemaUrl(String endpoint)
protected org.apache.xmlbeans.XmlObject createConfiguration()
protected String internalAssertResponse(MessageExchange messageExchange, SubmitContext submitContext) throws AssertionException
internalAssertResponse in class WsdlMessageAssertionAssertionExceptionprotected String internalAssertProperty(TestPropertyHolder source, String propertyName, MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertProperty in class WsdlMessageAssertionAssertionExceptionCopyright © 2019. All rights reserved.