Examples of XmlObjectConfigurationReader


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( 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

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

  }

  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

  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

    }, this ) );
  }

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

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

    return logger;
  }

  private void readConfig( TestStepConfig config )
  {
    XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader( config.getConfig() );
    scriptText = reader.readString( "script", "" );
  }
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

    private JCheckBox allowWildcardsCheckBox;

    public XQueryContainsAssertion(TestAssertionConfig assertionConfig, Assertable assertable) {
        super(assertionConfig, assertable, true, true, true, true);

        XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(getConfiguration());
        path = reader.readString("path", null);
        expectedContent = reader.readString("content", null);
        allowWildcards = reader.readBoolean("allowWildcards", false);
    }
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.