Examples of WsdlTestRunContext


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

    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()
            .get( 2 );
View Full Code Here

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

      if( assertion == null )
        return null;

      if( getResponse() != null )
      {
        assertion.assertResponse( new HttpResponseMessageExchange( this ), new WsdlTestRunContext( testStep ) );
        notifier.notifyChange();
      }

      return assertion;
    }
View Full Code Here

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

      String txt = pathArea == null || !pathArea.isVisible() ? getPath() : pathArea.getSelectedText();
      if( txt == null )
        txt = pathArea == null ? "" : pathArea.getText();

      WsdlTestRunContext context = new WsdlTestRunContext( getAssertable().getTestStep() );

      String expandedPath = PropertyExpander.expandProperties( context, txt.trim() );

      if( contentArea != null && contentArea.isVisible() )
        contentArea.setText( "" );
View Full Code Here

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

      setIgnoreNamespaceDifferences( ignoreNamespaceDifferencesCheckBox.isSelected() );
      setIgnoreComments( ignoreCommentsCheckBox.isSelected() );

      try
      {
        String msg = assertContent( getAssertable().getAssertableContent(), new WsdlTestRunContext( getAssertable()
            .getTestStep() ), "Response" );
        UISupport.showInfoMessage( msg, "Success" );
      }
      catch( AssertionException e )
      {
View Full Code Here

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

        }

        try
        {
          setScriptText( editor.getEditArea().getText() );
          String result = assertScript( exchange, new WsdlTestRunContext( testStep ), logger );
          UISupport
              .showInfoMessage( "Script Assertion Passed" + ( ( result == null ) ? "" : ": [" + result + "]" ) );
        }
        catch( AssertionException e1 )
        {
View Full Code Here

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

      String txt = pathArea == null || !pathArea.isVisible() ? getPath() : pathArea.getSelectedText();
      if( txt == null )
        txt = pathArea == null ? "" : pathArea.getText();

      WsdlTestRunContext context = new WsdlTestRunContext( getAssertable().getTestStep() );

      String expandedPath = PropertyExpander.expandProperties( context, txt.trim() );

      if( contentArea != null && contentArea.isVisible() )
        contentArea.setText( "" );
View Full Code Here

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

      setContent( contentArea.getText() );
      setAllowWildcards( allowWildcardsCheckBox.isSelected() );

      try
      {
        String msg = assertContent( getAssertable().getAssertableContent(), new WsdlTestRunContext( getAssertable()
            .getTestStep() ), "Response" );
        UISupport.showInfoMessage( msg, "Success" );
      }
      catch( AssertionException e )
      {
View Full Code Here

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

      if( assertion == null )
        return null;

      if( getResponse() != null )
      {
        assertion.assertResponse( new WsdlResponseMessageExchange( this ), new WsdlTestRunContext( testStep ) );
        notifier.notifyChange();
      }

      return assertion;
    }
View Full Code Here

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

      if( assertion == null )
        return null;

      if( getResponse() != null )
      {
        assertion.assertResponse( new RestResponseMessageExchange( this ), new WsdlTestRunContext( testStep ) );
        notifier.notifyChange();
      }

      return assertion;
    }
View Full Code Here

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

    if( evt.getPropertyName().equals( TestAssertion.CONFIGURATION_PROPERTY )
        || evt.getPropertyName().equals( TestAssertion.DISABLED_PROPERTY ) )
    {
      if( getTestRequest().getResponse() != null )
      {
        getTestRequest().assertResponse( new WsdlTestRunContext( this ) );
      }
    }
    else
    {
      if( evt.getSource() == testRequest && evt.getPropertyName().equals( WsdlTestRequest.NAME_PROPERTY ) )
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.