Examples of buildTestStep()


Examples of com.eviware.soapui.impl.wsdl.teststeps.registry.WsdlTestStepFactory.buildTestStep()

    WsdlTestStep clonedTestStep = null;
    TestStepConfig testStepConfig = ( TestStepConfig )sourceTestStep.getConfig().copy();
    WsdlTestStepFactory factory = WsdlTestStepRegistry.getInstance().getFactory( testStepConfig.getType() );
    if( factory != null )
    {
      clonedTestStep = factory.buildTestStep( securityTest.getTestCase(), testStepConfig, false );
      if( clonedTestStep instanceof Assertable )
      {
        for( TestAssertion assertion : ( ( Assertable )clonedTestStep ).getAssertionList() )
        {
          ( ( Assertable )clonedTestStep ).removeAssertion( assertion );
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.registry.WsdlTestStepFactory.buildTestStep()

  private WsdlTestStep createTestStepFromConfig( TestStepConfig tsc )
  {
    WsdlTestStepFactory factory = WsdlTestStepRegistry.getInstance().getFactory( tsc.getType() );
    if( factory != null )
    {
      WsdlTestStep testStep = factory.buildTestStep( this, tsc, forLoadTest );
      return testStep;
    }
    else
    {
      logger.error( "Failed to create test step for [" + tsc.getName() + "]" );
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.registry.WsdlTestStepFactory.buildTestStep()

    WsdlTestStep clonedTestStep = null;
    TestStepConfig testStepConfig = ( TestStepConfig )sourceTestStep.getConfig().copy();
    WsdlTestStepFactory factory = WsdlTestStepRegistry.getInstance().getFactory( testStepConfig.getType() );
    if( factory != null )
    {
      clonedTestStep = factory.buildTestStep( securityTest.getTestCase(), testStepConfig, false );
      if( clonedTestStep instanceof Assertable )
      {
        for( TestAssertion assertion : ( ( Assertable )clonedTestStep ).getAssertionList() )
        {
          ( ( Assertable )clonedTestStep ).removeAssertion( assertion );
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.registry.WsdlTestStepFactory.buildTestStep()

    WsdlTestStep clonedTestStep = null;
    TestStepConfig testStepConfig = ( TestStepConfig )sourceTestStep.getConfig().copy();
    WsdlTestStepFactory factory = WsdlTestStepRegistry.getInstance().getFactory( testStepConfig.getType() );
    if( factory != null )
    {
      clonedTestStep = factory.buildTestStep( sourceTestStep.getTestCase(), testStepConfig, false );
      if( clonedTestStep instanceof Assertable )
      {
        for( TestAssertion assertion : ( ( Assertable )clonedTestStep ).getAssertionList() )
        {
          ( ( Assertable )clonedTestStep ).removeAssertion( assertion );
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.registry.WsdlTestStepFactory.buildTestStep()

    testStepConfig.setConfig( httpRequest );
    testStepConfig.setName( "Separate Request" );

    WsdlTestStepFactory factory = WsdlTestStepRegistry.getInstance().getFactory(
        ( HttpRequestStepFactory.HTTPREQUEST_TYPE ) );
    return ( HttpTestRequestStep )factory.buildTestStep( ( WsdlTestCase )testStep2.getTestCase(), testStepConfig,
        false );

  }

  public static class Factory extends AbstractTestAssertionFactory
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.registry.WsdlTestStepFactory.buildTestStep()

    public TestStep cloneForSecurityScan(WsdlTestStep sourceTestStep) {
        WsdlTestStep clonedTestStep = null;
        TestStepConfig testStepConfig = (TestStepConfig) sourceTestStep.getConfig().copy();
        WsdlTestStepFactory factory = WsdlTestStepRegistry.getInstance().getFactory(testStepConfig.getType());
        if (factory != null) {
            clonedTestStep = factory.buildTestStep(securityTest.getTestCase(), testStepConfig, false);
            if (clonedTestStep instanceof Assertable) {
                for (TestAssertion assertion : ((Assertable) clonedTestStep).getAssertionList()) {
                    ((Assertable) clonedTestStep).removeAssertion(assertion);
                }
            }
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.registry.WsdlTestStepFactory.buildTestStep()

    public static TestStep cloneTestStepForSecurityScan(WsdlTestStep sourceTestStep) {
        WsdlTestStep clonedTestStep = null;
        TestStepConfig testStepConfig = (TestStepConfig) sourceTestStep.getConfig().copy();
        WsdlTestStepFactory factory = WsdlTestStepRegistry.getInstance().getFactory(testStepConfig.getType());
        if (factory != null) {
            clonedTestStep = factory.buildTestStep(sourceTestStep.getTestCase(), testStepConfig, false);
            if (clonedTestStep instanceof Assertable) {
                for (TestAssertion assertion : ((Assertable) clonedTestStep).getAssertionList()) {
                    ((Assertable) clonedTestStep).removeAssertion(assertion);
                }
            }
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.registry.WsdlTestStepFactory.buildTestStep()

    }

    private WsdlTestStep createTestStepFromConfig(TestStepConfig tsc) {
        WsdlTestStepFactory factory = WsdlTestStepRegistry.getInstance().getFactory(tsc.getType());
        if (factory != null) {
            WsdlTestStep testStep = factory.buildTestStep(this, tsc, forLoadTest);
            return testStep;
        } else {
            logger.error("Failed to create test step for [" + tsc.getName() + "]");
            return null;
        }
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.registry.WsdlTestStepFactory.buildTestStep()

    private TestStep cloneForSecurityScan(WsdlTestStep sourceTestStep) {
        WsdlTestStep clonedTestStep = null;
        TestStepConfig testStepConfig = (TestStepConfig) sourceTestStep.getConfig().copy();
        WsdlTestStepFactory factory = WsdlTestStepRegistry.getInstance().getFactory(testStepConfig.getType());
        if (factory != null) {
            clonedTestStep = factory.buildTestStep(securityTest.getTestCase(), testStepConfig, false);
            if (clonedTestStep instanceof Assertable) {
                for (TestAssertion assertion : ((Assertable) clonedTestStep).getAssertionList()) {
                    ((Assertable) clonedTestStep).removeAssertion(assertion);
                }
            }
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.registry.WsdlTestStepFactory.buildTestStep()

        testStepConfig.setConfig(httpRequest);
        testStepConfig.setName("Separate Request");

        WsdlTestStepFactory factory = WsdlTestStepRegistry.getInstance().getFactory(
                (HttpRequestStepFactory.HTTPREQUEST_TYPE));
        return (HttpTestRequestStep) factory.buildTestStep((WsdlTestCase) testStep2.getTestCase(), testStepConfig,
                false);

    }

    protected String internalAssertProperty(TestPropertyHolder source, String propertyName,
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.