A MockResponse returned by a MockOperation. An instance of this interface represents an actual response sent from a MockService. It is (together with MockRequest) a part of a MockResult.
Modifiers | Name | Description |
---|---|---|
java.lang.String |
RESPONSE_CONTENT_PROPERTY |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
evaluateScript(RequestType request) |
|
MockResult |
execute(RequestType request, MockResult result) |
|
StringToStringMap |
getAdditionalContextProperties(MockRunContext context) |
|
java.lang.String |
getDataSourceName() |
|
MockOperation |
getMockOperation() |
|
MockResult<RequestType, GenericMockResponse> |
getMockResult() |
|
java.lang.String |
getResponseContent() |
|
java.lang.String |
getScript() |
|
java.lang.String |
getScriptHelpUrl() |
|
void |
setDataSourceName(java.lang.String name) |
|
void |
setResponseContent(java.lang.String responseContent) |
|
void |
setScript(java.lang.String script) |