Package com.eviware.soapui.impl.wsdl.testcase

Examples of com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext


    }
  }

  protected Submit doSubmit() throws SubmitException
  {
    return jdbcRequestTestStep.getJdbcRequest().submit( new WsdlTestRunContext( getModelItem() ), true );
  }
View Full Code Here


    protected ValidationError[] validateXml( String xml )
    {
      if( getModelItem() instanceof WsdlTestRequest )
      {
        WsdlTestRequest testRequest = ( WsdlTestRequest )getModelItem();
        testRequest.assertResponse( new WsdlTestRunContext( testRequest.getTestStep() ) );
      }

      WsdlOperation operation = getModelItem().getOperation();
      WsdlValidator validator = new WsdlValidator( ( operation.getInterface() ).getWsdlContext() );
View Full Code Here

        {
          UISupport.showErrorMessage( "Missing response in previous message" );
          return;
        }

        WsdlTestRunContext context = new WsdlTestRunContext( gotoStep );
        GotoCondition target = gotoStep.runConditions( previousStep, context );
        if( target == null )
        {
          logList.addLine( "No condition true for current response in [" + previousStep.getName() + "]" );
        }
View Full Code Here

        }

        try
        {
          GotoCondition condition = gotoStep.getConditionAt( conditionList.getSelectedIndex() );
          WsdlTestRunContext context = new WsdlTestRunContext( gotoStep );
          boolean evaluate = condition.evaluate( previousStep, context );
          if( !evaluate )
          {
            UISupport.showInfoMessage( "Condition not true for current response in [" + previousStep.getName()
                + "]" );
View Full Code Here

    }
  }

  protected Submit doSubmit() throws SubmitException
  {
    return getRequest().submit( new WsdlTestRunContext( getModelItem() ), true );
  }
View Full Code Here

  }

  protected Submit doSubmit() throws SubmitException
  {

    SubmitContext submitContext = new WsdlTestRunContext( getModelItem() );
    if( !amfRequestTestStep.initAmfRequest( submitContext ) )
    {
      throw new SubmitException( "AMF request is not initialised properly !" );
    }
View Full Code Here

  }

  @Override
  protected Submit doSubmit() throws SubmitException
  {
    return getRequest().submit( new WsdlTestRunContext( getModelItem() ), true );
  }
View Full Code Here

    {
      SoapUI.getThreadPool().execute( new Runnable()
      {
        public void run()
        {
          SubmitContext context = new WsdlTestRunContext( getModelItem() );
          statusBar.setIndeterminate( true );
          amfRequestTestStep.initAmfRequest( context );

          if( context.getProperty( AMFRequest.AMF_SCRIPT_ERROR ) != null )
          {
            UISupport.showInfoMessage( ( ( Throwable )context.getProperty( AMFRequest.AMF_SCRIPT_ERROR ) )
                .getMessage() );
          }
          else
          {
            UISupport.showInfoMessage( scriptInfo( context ) );

          }
          statusBar.setIndeterminate( false );
          amfRequestTestStep.getAMFRequest().clearArguments();
        }

        @SuppressWarnings( "unchecked" )
        private String scriptInfo( SubmitContext context )
        {
          HashMap<String, Object> parameters = ( HashMap<String, Object> )context
              .getProperty( AMFRequest.AMF_SCRIPT_PARAMETERS );
          HashMap<String, Object> amfHeaders = ( HashMap<String, Object> )context
              .getProperty( AMFRequest.AMF_SCRIPT_HEADERS );
          StringBuilder sb = new StringBuilder();
          sb.append( "parameters " + ( parameters != null ? parameters.toString() : "" ) );
          sb.append( "\n" );
          sb.append( "amfHeaders " + ( amfHeaders != null ? amfHeaders.toString() : "" ) );
View Full Code Here

    }
  }

  protected Submit doSubmit() throws SubmitException
  {
    return getRequest().submit( new WsdlTestRunContext( getModelItem() ), true );
  }
View Full Code Here

    desktopPanel = ( HttpTestRequestDesktopPanel )UISupport.selectAndShow( testStep );
    HttpTestRequest testRequest = null;
    try
    {
      testRequest = testStep.getTestRequest();
      WsdlSubmit<HttpRequest> submitRequest = testRequest.submit( new WsdlTestRunContext( testStep ), true );

      if( startRecording )
      {
        submitRequest.waitUntilFinished();
        HttpHtmlResponseView htmlResponseView = ( HttpHtmlResponseView )desktopPanel.getResponseEditor().getViews()
View Full Code Here

TOP

Related Classes of com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext

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.