Package com.eviware.soapui.config

Examples of com.eviware.soapui.config.TestStepConfig


    public WsdlTestStep buildTestStep(WsdlTestCase testCase, TestStepConfig config, boolean forLoadTest) {
        return new PropertyTransfersTestStep(testCase, config, forLoadTest);
    }

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


    @Override
    public WsdlTestStep clone(WsdlTestCase targetTestCase, String name) {
        beforeSave();

        TestStepConfig config = (TestStepConfig) getConfig().copy();
        JdbcRequestTestStep result = (JdbcRequestTestStep) targetTestCase.addTestStep(config);

        return result;
    }
View Full Code Here

    @Override
    public WsdlTestStep clone(WsdlTestCase targetTestCase, String name) {
        beforeSave();

        TestStepConfig config = (TestStepConfig) getConfig().copy();
        RequestStepConfig stepConfig = (RequestStepConfig) config.getConfig().changeType(RequestStepConfig.type);

        while (stepConfig.getRequest().sizeOfAttachmentArray() > 0) {
            stepConfig.getRequest().removeAttachment(0);
        }

        config.setName(name);
        stepConfig.getRequest().setName(name);

        WsdlTestRequestStep result = (WsdlTestRequestStep) targetTestCase.addTestStep(config);
        testRequest.copyAttachmentsTo(result.getTestRequest());
View Full Code Here

            testRequestConfig.setCredentials((CredentialsConfig) request.getConfig().getCredentials().copy());
        }

        testRequestConfig.setWssPasswordType(request.getConfig().getWssPasswordType());

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

        return testStep;
    }
View Full Code Here

        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

        if (values.getBoolean(ADD_SOAP_FAULT_ASSERTION)) {
            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

    public WsdlTestStep buildTestStep(WsdlTestCase testCase, TestStepConfig config, boolean forLoadTest) {
        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

    public WsdlTestStep buildTestStep(WsdlTestCase testCase, TestStepConfig config, boolean forLoadTest) {
        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

    public WsdlTestStep buildTestStep(WsdlTestCase testCase, TestStepConfig config, boolean forLoadTest) {
        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

    public WsdlTestStep buildTestStep(WsdlTestCase testCase, TestStepConfig config, boolean forLoadTest) {
        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

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.