Package com.eviware.soapui.support.xml

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


        init();
        scriptEngine = SoapUIScriptEngineRegistry.create(this);
    }

    private void init() {
        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(getConfiguration());
        script = reader.readString(GROOVY_SCRIPT, "");
        checkResponse = reader.readBoolean(CHECK_RESPONSE, true);
        checkSeparateHTML = reader.readBoolean(CHECK_SEPARATE_HTML, false);
        groovyEditorModel.setScript(script);
    }
View Full Code Here


        init();
    }

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

     * @param modelItem
     */
    public WSAResponseAssertion(TestAssertionConfig assertionConfig, Assertable modelItem) {
        super(assertionConfig, modelItem, false, true, false, true);

        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(getConfiguration());
        assertWsaAction = reader.readBoolean("asertWsaAction", true);
        assertWsaTo = reader.readBoolean("asertWsaTo", false);
        // assertWsaReplyTo = reader.readBoolean("assertWsaReplyTo", false);
        // assertWsaMessageId = reader.readBoolean("assertWsaMessageId", false);
        assertWsaRelatesTo = reader.readBoolean("asertWsaRelatesTo", false);
        assertReplyToRefParams = reader.readBoolean("assertReplyToRefParams", false);
        assertFaultToRefParams = reader.readBoolean("assertFaultToRefParams", false);
        wsaAssertionConfiguration = new WsaAssertionConfiguration(assertWsaAction, assertWsaTo, false, false,
                assertWsaRelatesTo, assertReplyToRefParams, assertFaultToRefParams);
    }
View Full Code Here

     * @param modelItem
     */
    public WSARequestAssertion(TestAssertionConfig assertionConfig, Assertable modelItem) {
        super(assertionConfig, modelItem, false, true, false, true);

        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(getConfiguration());
        assertWsaAction = reader.readBoolean("asertWsaAction", true);
        assertWsaTo = reader.readBoolean("asertWsaTo", false);
        assertWsaReplyTo = reader.readBoolean("assertWsaReplyTo", false);
        assertWsaMessageId = reader.readBoolean("assertWsaMessageId", false);
        // assertWsaRelatesTo = reader.readBoolean("asertWsaRelatesTo", false);
        // assertReplyToRefParams = reader.readBoolean("assertReplyToRefParams",
        // false);
        // assertFaultToRefParams = reader.readBoolean("assertFaultToRefParams",
        // false);
View Full Code Here

            }
        }, this));
    }

    private void readConfig(TestStepConfig config) {
        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(config.getConfig());
        delayString = reader.readString("delay", DEFAULT_DELAY);
    }
View Full Code Here

        SoapUI.ensureGroovyLog();
        return logger;
    }

    private void readConfig(TestStepConfig config) {
        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(config.getConfig());
        scriptText = reader.readString(SCRIPT_PROPERTY, "");
    }
View Full Code Here

    @SuppressWarnings("unchecked")
    public static Map<String, String> projectEntriesList(SensitiveInfoExposureAssertion sensitiveInfoExposureAssertion) {
        Project project = ModelSupport.getModelItemProject(sensitiveInfoExposureAssertion);
        AbstractWsdlModelItem<ModelItemConfig> modelItem = (AbstractWsdlModelItem<ModelItemConfig>) project
                .getModelItem();
        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(((ProjectConfig) modelItem.getConfig())
                .getSensitiveInformation());
        String[] strngArray = reader.readStrings(ProjectSensitiveInformationPanel.PROJECT_SPECIFIC_EXPOSURE_LIST);
        if (strngArray != null) {
            Map<String, String> map = new HashMap<String, String>();

            for (String str : strngArray) {
                String[] tokens = str.split("###");
View Full Code Here

  private boolean partialValidation;
 
  public XsdSchemaComplianceAssertion(TestAssertionConfig assertionConfig, Assertable assertable) {
    super(assertionConfig, assertable, false, true, false, true);

    XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(getConfiguration());
    definitionPaths = reader.readStrings(PROPERTY_DEFINITION);
    if (definitionPaths == null) {
      definitionPaths = new String[0];
    }
    rootElementXPath = reader.readString(PROPERTY_ROOT_ELEMENT, "");
    partialValidation = reader.readBoolean(PROPERTY_PARTIAL, false);
  }
View Full Code Here

      }
    });
  }

  private void readConfig(TestStepConfig config) {
    XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(config.getConfig());
    setPropertyValue(EXPRESSION, reader.readString(EXPRESSION, ""));
    setPropertyValue(PRECISION, reader.readString(PRECISION, Integer.toString(PRECISION_DEFAULT)));
    setPropertyValue(USE_PADDING, reader.readString(USE_PADDING, Boolean.toString(USE_PADDING_DEFAULT)));
  }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.support.xml.XmlObjectConfigurationReader

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.