Package com.eviware.soapui.config

Examples of com.eviware.soapui.config.TestStepConfig


    // add ws-a action
    String defaultAction = WsdlUtils.getDefaultWsaAction( operation, false );
    if( StringUtils.hasContent( defaultAction ) )
      testRequestConfig.getWsaConfig().setAction( defaultAction );

    TestStepConfig testStep = TestStepConfig.Factory.newInstance();
    testStep.setType( REQUEST_TYPE );
    testStep.setConfig( requestStepConfig );

    return testStep;
  }
View Full Code Here


    {
      TestAssertionConfig assertionConfig = testRequestConfig.addNewAssertion();
      assertionConfig.setType( NotSoapFaultAssertion.ID );
    }

    TestStepConfig testStep = TestStepConfig.Factory.newInstance();
    testStep.setType( REQUEST_TYPE );
    testStep.setConfig( requestStepConfig );
    testStep.setName( name );

    return testStep;
  }
View Full Code Here

    dialog.getFormField( Form.CLOSE_REQUEST ).setEnabled( desktop != null && desktop.hasDesktopPanel( request ) );

    if( !dialog.show() )
      return false;

    TestStepConfig config = WsdlMockResponseStepFactory.createConfig( operation, request, false );
    MockResponseStepConfig mockResponseStepConfig = ( ( MockResponseStepConfig )config.getConfig() );

    config.setName( dialog.getValue( Form.STEP_NAME ) );
    mockResponseStepConfig.setPath( dialog.getValue( Form.PATH ) );
    mockResponseStepConfig.setPort( dialog.getIntValue( Form.PORT, 8181 ) );
    CompressedStringConfig responseContent = mockResponseStepConfig.getResponse().getResponseContent();

    if( request.getResponse() == null && !request.getOperation().isOneWay() )
View Full Code Here

    return new WsdlPropertiesTestStep( testCase, config, forLoadTest );
  }

  public TestStepConfig createNewTestStep( WsdlTestCase testCase, String name )
  {
    TestStepConfig testStepConfig = TestStepConfig.Factory.newInstance();
    testStepConfig.setType( PROPERTIES_TYPE );
    testStepConfig.setName( name );
    testStepConfig.setConfig( PropertiesStepConfig.Factory.newInstance() );
    return testStepConfig;
  }
View Full Code Here

    return new WsdlRunTestCaseTestStep( testCase, config, forLoadTest );
  }

  public TestStepConfig createNewTestStep( WsdlTestCase testCase, String name )
  {
    TestStepConfig testStepConfig = TestStepConfig.Factory.newInstance();
    testStepConfig.setType( RUNTESTCASE_TYPE );
    testStepConfig.setName( name );
    return testStepConfig;
  }
View Full Code Here

    return new WsdlDelayTestStep( testCase, config, forLoadTest );
  }

  public TestStepConfig createNewTestStep( WsdlTestCase testCase, String name )
  {
    TestStepConfig testStepConfig = TestStepConfig.Factory.newInstance();
    testStepConfig.setType( DELAY_TYPE );
    testStepConfig.setName( name );
    return testStepConfig;
  }
View Full Code Here

    return new ManualTestStep( testCase, config, forLoadTest );
  }

  public TestStepConfig createNewTestStep( WsdlTestCase testCase, String name )
  {
    TestStepConfig testStepConfig = TestStepConfig.Factory.newInstance();
    testStepConfig.setType( MANUAL_TEST_STEP );
    testStepConfig.setName( name );
    return testStepConfig;
  }
View Full Code Here

  public TestStepConfig createConfig( String stepName )
  {
    ManualTestStepConfig testRequestConfig = ManualTestStepConfig.Factory.newInstance();

    TestStepConfig testStep = TestStepConfig.Factory.newInstance();
    testStep.setType( MANUAL_TEST_STEP );
    testStep.setConfig( testRequestConfig );
    testStep.setName( stepName );
    return testStep;
  }
View Full Code Here

    return new WsdlGotoTestStep( testCase, config, forLoadTest );
  }

  public TestStepConfig createNewTestStep( WsdlTestCase testCase, String name )
  {
    TestStepConfig testStepConfig = TestStepConfig.Factory.newInstance();
    testStepConfig.setType( GOTO_TYPE );
    testStepConfig.setName( name );
    testStepConfig.setConfig( GotoStepConfig.Factory.newInstance() );
    return testStepConfig;
  }
View Full Code Here

   */

  public WsdlTestStep clone( WsdlTestCase targetTestCase, String name )
  {
    beforeSave();
    TestStepConfig newConfig = ( TestStepConfig )getConfig().copy();
    newConfig.setName( name );
    WsdlTestStep result = targetTestCase.addTestStep( newConfig );
    ModelSupport.unsetIds( result );
    return result;
  }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.config.TestStepConfig

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.