Package com.eviware.soapui.support.xml

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


   * @param modelItem
   */
  public ResponseSLAAssertion( TestAssertionConfig assertionConfig, Assertable modelItem )
  {
    super( assertionConfig, modelItem, false, true, false, false );
    XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader( getConfiguration() );
    SLA = reader.readString( "SLA", "200" );
  }
View Full Code Here


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

    XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader( getConfiguration() );
    definition = reader.readString( "definition", null );
  }
View Full Code Here

  public GroovyScriptAssertion( TestAssertionConfig assertionConfig, Assertable modelItem )
  {
    super( assertionConfig, modelItem, true, true, true, false );

    XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader( getConfiguration() );
    scriptText = reader.readString( "scriptText", "" );

    scriptEngine = SoapUIScriptEngineRegistry.create( this );
    scriptEngine.setScript( scriptText );
  }
View Full Code Here

  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

  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

  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

    this.label = label;

    if( config.getConfiguration() == null )
      config.addNewConfiguration();

    load( new XmlObjectConfigurationReader( config.getConfiguration() ) );
  }
View Full Code Here

    init();
  }

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

    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

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.