} else if (testStep instanceof RestTestRequestStepInterface) {
exchange = new RestResponseMessageExchange(((RestRequestInterface) ((RestTestRequestStepInterface) testStep).getTestRequest()));
} else if (testStep instanceof HttpTestRequestStepInterface) {
exchange = new HttpResponseMessageExchange(((HttpTestRequestStepInterface) testStep).getTestRequest());
} else if (testStep instanceof WsdlMockResponseTestStep) {
exchange = new WsdlMockResponseMessageExchange(((WsdlMockResponseTestStep) testStep).getMockResponse());
}
try {
setScriptText(editor.getEditArea().getText());
String result = assertScript(exchange, new WsdlTestRunContext(testStep), logger);