public abstract class CustomMockOperation<Request extends com.eviware.soapui.model.mock.GenericMockRequest,Response extends CustomMockResponse>
extends com.eviware.soapui.impl.support.AbstractMockOperation<com.eviware.soapui.config.CustomOperationConfig,Request,Response>
| Modifier and Type | Field and Description |
|---|---|
protected com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder |
virtPropertyHolder |
| Constructor and Description |
|---|
CustomMockOperation(com.eviware.soapui.config.CustomOperationConfig config,
com.eviware.soapui.model.mock.GenericMockService parent,
String icon) |
| Modifier and Type | Method and Description |
|---|---|
Response |
addNewMockResponse(String name) |
com.eviware.soapui.model.testsuite.TestProperty |
addOperationProperty(String name) |
void |
addOperationPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener) |
protected void |
addResponsesFrom(com.eviware.soapui.config.CustomOperationConfig newConfig) |
protected abstract Response |
buildCustomResponse(com.eviware.soapui.config.CustomResponseConfig config) |
String |
getAssertablePath() |
String |
getDefaultAssertableContent() |
com.eviware.soapui.model.iface.Interface |
getInterface() |
com.eviware.soapui.model.mock.MockResult<Request,Response> |
getLastMockResult() |
com.eviware.soapui.model.iface.Operation |
getOperation() |
Map<String,com.eviware.soapui.model.testsuite.TestProperty> |
getOperationProperties() |
com.eviware.soapui.model.testsuite.TestProperty |
getOperationProperty(String name) |
com.eviware.soapui.model.testsuite.TestProperty |
getOperationPropertyAt(int index) |
int |
getOperationPropertyCount() |
List<com.eviware.soapui.model.testsuite.TestProperty> |
getOperationPropertyList() |
String[] |
getOperationPropertyNames() |
String |
getOperationPropertyValue(String name) |
String |
getScriptHelpUrl() |
boolean |
hasOperationProperty(String name) |
protected void |
initProperties() |
void |
moveOperationProperty(String propertyName,
int targetIndex) |
void |
propertyChange(PropertyChangeEvent evt) |
com.eviware.soapui.model.testsuite.TestProperty |
removeOperationProperty(String propertyName) |
void |
removeOperationPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener) |
void |
removeResponseFromConfig(int index) |
boolean |
renameOperationProperty(String name,
String newName) |
void |
setOperationPropertyValue(String name,
String value) |
protected void |
updateFrom(com.eviware.soapui.config.CustomOperationConfig newConfig) |
addAssertion, addAssertionsListener, addMockResponse, cloneAssertion, createResponseWithDefaultName, equals, getAssertableContentAsXml, getAssertableType, getAssertionAt, getAssertionByName, getAssertionCount, getAssertionList, getAssertions, getAssertionStatus, getDefaultDispatchScript, getDefaultResponse, getDefaultRouteScriptContent, getDispatcher, getDispatchStyle, getDispatchXPath, getMockResponseAt, getMockResponseByName, getMockResponseCount, getMockResponses, getMockResultRoutedOperation, getMockService, getModelItem, getParameterRuleEngine, getRouteScript, getScript, getTestStep, initAssertions, initializeDispatchConfig, initializeDispatcher, initializeRouteScript, isConditionalRoutingEnabled, isRouteEnabled, isSaveRoutedResponse, loadDefaultScript, moveAssertion, release, removeAssertion, removeAssertionsListener, removeMockResponse, setConditionalRoutingEnabled, setDefaultResponse, setDefaultRoutingConfigForNewlyAddedOperation, setDispatcher, setDispatchStyle, setDispatchXPath, setMockResultRoutedOperation, setRouteEnabled, setRouteScript, setSaveRoutedResponse, setScript, setupConfig, shouldRouteaddExternalDependencies, afterLoad, afterSave, beforeSave, clearIdCache, createEventBusMessage, dependsOn, getConfig, getDescription, getExternalAction, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, initItemOrder, initWsdlModelItemOrder, resetConfigOnMove, resolve, setConfig, setDescription, setExternalAction, setIcon, setName, setSettingsaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, getChildren, getDashboardDbId, getProject, isNotifyPropertyChanged, notifyPropertyChanged, removeModelItemFromConfig, removePropertyChangeListener, removePropertyChangeListener, setDashboardDbId, setNotifyPropertyChangedclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildren, getDescription, getIcon, getId, getName, getParent, getSettings, setNameprotected com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder virtPropertyHolder
public CustomMockOperation(com.eviware.soapui.config.CustomOperationConfig config,
com.eviware.soapui.model.mock.GenericMockService parent,
String icon)
protected void initProperties()
protected abstract Response buildCustomResponse(com.eviware.soapui.config.CustomResponseConfig config)
public void removeResponseFromConfig(int index)
removeResponseFromConfig in class com.eviware.soapui.impl.support.AbstractMockOperation<com.eviware.soapui.config.CustomOperationConfig,Request extends com.eviware.soapui.model.mock.GenericMockRequest,Response extends CustomMockResponse>public String getDefaultAssertableContent()
public com.eviware.soapui.model.iface.Interface getInterface()
public com.eviware.soapui.model.iface.Operation getOperation()
public com.eviware.soapui.model.mock.MockResult<Request,Response> getLastMockResult()
getLastMockResult in interface com.eviware.soapui.model.mock.MockOperation<Request extends com.eviware.soapui.model.mock.GenericMockRequest,Response extends CustomMockResponse>getLastMockResult in interface com.eviware.soapui.ready.virt.VirtAssertablegetLastMockResult in class com.eviware.soapui.impl.support.AbstractMockOperation<com.eviware.soapui.config.CustomOperationConfig,Request extends com.eviware.soapui.model.mock.GenericMockRequest,Response extends CustomMockResponse>public String getScriptHelpUrl()
public void propertyChange(PropertyChangeEvent evt)
public String getAssertablePath()
public com.eviware.soapui.model.testsuite.TestProperty addOperationProperty(String name)
public void addOperationPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener)
public com.eviware.soapui.model.testsuite.TestProperty getOperationProperty(String name)
public String[] getOperationPropertyNames()
public List<com.eviware.soapui.model.testsuite.TestProperty> getOperationPropertyList()
public com.eviware.soapui.model.testsuite.TestProperty removeOperationProperty(String propertyName)
public void removeOperationPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener)
public Map<String,com.eviware.soapui.model.testsuite.TestProperty> getOperationProperties()
public boolean hasOperationProperty(String name)
public com.eviware.soapui.model.testsuite.TestProperty getOperationPropertyAt(int index)
public int getOperationPropertyCount()
public void moveOperationProperty(String propertyName, int targetIndex)
protected void updateFrom(com.eviware.soapui.config.CustomOperationConfig newConfig)
protected void addResponsesFrom(com.eviware.soapui.config.CustomOperationConfig newConfig)
Copyright © 2019. All rights reserved.