public interface GenericMockResponse<RequestType extends GenericMockRequest> extends Releasable, TestModelItem
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.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
evaluateScript(RequestType request) |
|
public MockResult |
execute(RequestType request, MockResult result) |
|
public StringToStringMap |
getAdditionalContextProperties(MockRunContext context) |
|
public java.lang.String |
getDataSourceName() |
|
public java.lang.String |
getMagicDateField() |
|
public MockOperation |
getMockOperation() |
|
public MockResult<RequestType, GenericMockResponse> |
getMockResult() |
|
public java.lang.String |
getResponseContent() |
|
public java.lang.String |
getScript() |
|
public java.lang.String |
getScriptHelpUrl() |
|
public void |
setDataSourceName(java.lang.String name) |
|
public void |
setMagicDateField(java.lang.String magicDateField) |
|
public void |
setResponseContent(java.lang.String responseContent) |
|
public void |
setScript(java.lang.String script) |
| Methods inherited from class | Name |
|---|---|
interface Releasable |
release |
interface TestPropertyHolder |
addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue |