Examples of XmlObjectConfigurationReader


Examples of com.eviware.soapui.support.xml.XmlObjectConfigurationReader

        initIcon("/status_loadtest_assertion.gif");
    }

    private void init(LoadTestAssertionConfig assertionConfig) {
        XmlObject configuration = assertionConfig.getConfiguration();
        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(configuration);

        setName(reader.readString(TestStepStatusAssertion.NAME_ELEMENT, "Step Status"));
        minRequests = reader.readInt(TestStepStatusAssertion.MIN_REQUESTS_ELEMENT, 0);
        setTargetStep(reader.readString(TestStepStatusAssertion.TEST_STEP_ELEMENT, ANY_TEST_STEP));
        maxErrors = reader.readInt(MAX_ERRORS_ELEMENT, -1);
    }
View Full Code Here

Examples of com.eviware.soapui.support.xml.XmlObjectConfigurationReader

    }

    public VarianceLoadStrategy(XmlObject config, WsdlLoadTest loadTest) {
        super(STRATEGY_TYPE, loadTest);

        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(config);
        interval = reader.readLong(INTERVAL_ELEMENT, DEFAULT_INTERVAL);
        variance = reader.readFloat(VARIANCE_ELEMENT, DEFAULT_VARIANCE);
    }
View Full Code Here

Examples of com.eviware.soapui.support.xml.XmlObjectConfigurationReader

    }

    public BurstLoadStrategy(XmlObject config, WsdlLoadTest loadTest) {
        super(STRATEGY_TYPE, loadTest);

        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(config);
        burstDelay = reader.readInt(BURST_DELAY_ELEMENT, DEFAULT_BURST_DELAY);
        burstDuration = reader.readInt(BURST_DURATION_ELEMENT, DEFAULT_BURST_DURATION);
    }
View Full Code Here

Examples of com.eviware.soapui.support.xml.XmlObjectConfigurationReader

    }

    private void init(LoadTestAssertionConfig assertionConfig) {
        XmlObject configuration = assertionConfig.getConfiguration();

        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(configuration);
        setName(reader.readString(NAME_ELEMENT, "Step Average"));
        minRequests = reader.readInt(MIN_REQUESTS_ELEMENT, 100);
        maxAverage = reader.readInt(MAX_AVERAGE_ELEMENT, 1000);
        setTargetStep(reader.readString(TEST_STEP_ELEMENT, ANY_TEST_STEP));
        maxErrors = reader.readInt(MAX_ERRORS_ELEMENT, -1);
        sampleInterval = reader.readInt(SAMPLE_INTERVAL_ELEMENT, 20);
    }
View Full Code Here

Examples of com.eviware.soapui.support.xml.XmlObjectConfigurationReader

    }

    private void init(LoadTestAssertionConfig assertionConfig) {
        XmlObject configuration = assertionConfig.getConfiguration();

        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(configuration);
        setName(reader.readString(TestStepMaxAssertion.NAME_ELEMENT, "Step Maximum"));
        minRequests = reader.readInt(TestStepMaxAssertion.MIN_REQUESTS_ELEMENT, 100);
        maxValue = reader.readInt(TestStepMaxAssertion.MAX_VALUE_ELEMENT, 1000);
        setTargetStep(reader.readString(TestStepMaxAssertion.TEST_STEP_ELEMENT, TestStepMaxAssertion.ANY_TEST_STEP));
        maxErrors = reader.readInt(MAX_ERRORS_ELEMENT, -1);
    }
View Full Code Here

Examples of com.eviware.soapui.support.xml.XmlObjectConfigurationReader

        }
        init();
    }

    private void init() {
        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(config);
        projectSpecificExposureList = StringUtils.toStringList(reader.readStrings(PROJECT_SPECIFIC_EXPOSURE_LIST));
        extractTokenTable();
    }
View Full Code Here

Examples of com.eviware.soapui.support.xml.XmlObjectConfigurationReader

        init();
    }

    private void init() {
        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(getConfiguration());
        includeGlobal = reader.readBoolean(INCLUDE_GLOBAL, true);
        includeProjectSpecific = reader.readBoolean(INCLUDE_PROJECT_SPECIFIC, true);
        assertionSpecificExposureList = StringUtils.toStringList(reader.readStrings(ASSERTION_SPECIFIC_EXPOSURE_LIST));
        extractTokenTable();
    }
View Full Code Here

Examples of com.eviware.soapui.support.xml.XmlObjectConfigurationReader

        init();
    }

    private void init() {
        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(getConfiguration());
        codes = reader.readString(CODES, "");
    }
View Full Code Here

Examples of com.eviware.soapui.support.xml.XmlObjectConfigurationReader

        initIcon("/errors_loadtest_assertion.gif");
    }

    private void init(LoadTestAssertionConfig assertionConfig) {
        XmlObject configuration = assertionConfig.getConfiguration();
        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(configuration);

        setName(reader.readString(MaxErrorsAssertion.NAME_ELEMENT, "Max Errors"));
        maxAbsoluteErrors = reader.readInt(MAX_ABSOLUTE_ERRORS_ELEMENT, 100);
        maxRelativeErrors = reader.readFloat(MAX_RELATIVE_ERRORS_ELEMENT, (float) 0.2);
        setTargetStep(reader.readString(TEST_STEP_ELEMENT, ALL_TEST_STEPS));
    }
View Full Code Here

Examples of com.eviware.soapui.support.xml.XmlObjectConfigurationReader

    }

    private void init(LoadTestAssertionConfig assertionConfig) {
        XmlObject configuration = assertionConfig.getConfiguration();

        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(configuration);
        setName(reader.readString(TestStepTpsAssertion.NAME_ELEMENT, "Step TPS"));
        minRequests = reader.readInt(TestStepTpsAssertion.MIN_REQUESTS_ELEMENT, 100);
        minValue = reader.readInt(TestStepTpsAssertion.MIN_VALUE_ELEMENT, 10);
        setTargetStep(reader.readString(TestStepTpsAssertion.TEST_STEP_ELEMENT, TestStepTpsAssertion.ANY_TEST_STEP));
        maxErrors = reader.readInt(MAX_ERRORS_ELEMENT, -1);
    }
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.