Package com.eviware.soapui.impl.wsdl.panels.mockoperation

Examples of com.eviware.soapui.impl.wsdl.panels.mockoperation.WsdlMockResponseMessageExchange


      {
        return new ValidationError[] { new AssertionError( "Missing operation for MockResponse" ) };
      }

      WsdlValidator validator = new WsdlValidator( ( operation.getInterface() ).getWsdlContext() );
      return validator.assertResponse( new WsdlMockResponseMessageExchange( getModelItem() ), false );
    }
View Full Code Here


                  .getResponse() );
        }
        else if( testStep instanceof WsdlMockResponseTestStep )
        {
          WsdlMockResponseTestStep mockResponseStep = ( WsdlMockResponseTestStep )testStep;
          exchange = new WsdlMockResponseMessageExchange( mockResponseStep.getMockResponse() );
        }

        try
        {
          setScriptText( editor.getEditArea().getText() );
View Full Code Here

                } 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);
View Full Code Here

            if (operation == null) {
                return new ValidationError[]{new AssertionError("Missing operation for MockResponse")};
            }

            WsdlValidator validator = new WsdlValidator((operation.getInterface()).getWsdlContext());
            return validator.assertResponse(new WsdlMockResponseMessageExchange(getModelItem()), false);
        }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.impl.wsdl.panels.mockoperation.WsdlMockResponseMessageExchange

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.