public interface MockOperation<RequestType extends GenericMockRequest,ResponseType extends GenericMockResponse> extends com.eviware.soapui.model.ModelItem, Releasable, Assertable
Assertable.AssertionStatus
getChildren, getDescription, getIcon, getId, getName, getParent, getSettings, setName
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
release
addAssertion, addAssertionsListener, cloneAssertion, getAssertableContent, getAssertableContentAsXml, getAssertableType, getAssertionAt, getAssertionByName, getAssertionCount, getAssertionList, getAssertions, getAssertionStatus, getDefaultAssertableContent, getInterface, getModelItem, getTestStep, moveAssertion, removeAssertion, removeAssertionsListener
GenericMockService getMockService()
int getMockResponseCount()
ResponseType getMockResponseAt(int index)
ResponseType getMockResponseByName(String name)
ResponseType addNewMockResponse(String name)
Operation getOperation()
String getDispatchStyle()
MockOperationDispatcher setDispatchStyle(String style)
String getDefaultResponse()
boolean isRouteEnabled()
void setRouteEnabled(boolean isRouteEnabled)
String getRouteScript()
boolean isConditionalRoutingEnabled()
void setRouteScript(String routeScript)
boolean shouldRoute(GenericMockRequest request) throws Exception
Exception
void setConditionalRoutingEnabled(boolean conditionalRoutingEnabled)
boolean isSaveRoutedResponse()
void setSaveRoutedResponse(boolean saveRoutedResponse)
void setDefaultResponse(String response)
MockOperationDispatcher<RequestType,ResponseType> getDispatcher()
MockResult<RequestType,ResponseType> getLastMockResult()
List<ResponseType> getMockResponses()
void removeMockResponse(ResponseType mockResponse)
void addResponseFromResult(MockResult mockResult)
String getScript()
void setScript(String script)
script
- this is a String that might be needed by the dispatch style used in this mock operation.String getDispatchXPath()
void setDispatchXPath(String xPath)
xPath
- this is a String that might be needed by the dispatch style used in this mock operation.String getScriptHelpUrl()
void setMockResultRoutedOperation(MockResult nonResponseAssociatedMockResult)
ParameterRuleEngine getParameterRuleEngine(ParameterDispatcherContext dispatcherContext)
Copyright © 2019. All rights reserved.