Package com.eviware.soapui.impl.wsdl.loadtest.strategy

Examples of com.eviware.soapui.impl.wsdl.loadtest.strategy.ThreadCountChangeLoadStrategy


      return;
    }
    if( loadStrategy instanceof ThreadCountChangeLoadStrategy )
    {
      loadUITriggerType = RAMP_TRIGGER;
      ThreadCountChangeLoadStrategy currentStrategy = ( ThreadCountChangeLoadStrategy )loadStrategy;
      return;
    }
    if( loadStrategy instanceof BurstLoadStrategy )
    {
      loadUITriggerType = FIXED_LOAD_TRIGGER;
View Full Code Here


          createProperyValue( Long.class, Long.toString( currentStrategy.getInterval() / 1000 ) ) );
    }
    if( loadStrategy instanceof ThreadCountChangeLoadStrategy )
    {
      loadUITriggerType = RAMP_TRIGGER;
      ThreadCountChangeLoadStrategy currentStrategy = ( ThreadCountChangeLoadStrategy )loadStrategy;
      long end = extractLongProperty( "end" );
      triggerProperties.put(
          "end",
          createProperyValue(
              Long.class,
              Long.toString( end
                  * ( currentStrategy.getEndThreadCount() / currentStrategy.getStartThreadCount() ) ) ) );
      if( loadTest.getLimitType().equals( LoadTestLimitTypesConfig.TIME ) )
      {
        triggerProperties
            .put( "period", createProperyValue( Long.class, Long.toString( loadTest.getTestLimit() ) ) );
      }
View Full Code Here

            VarianceLoadStrategy currentStrategy = (VarianceLoadStrategy) loadStrategy;
            return;
        }
        if (loadStrategy instanceof ThreadCountChangeLoadStrategy) {
            loadUITriggerType = RAMP_TRIGGER;
            ThreadCountChangeLoadStrategy currentStrategy = (ThreadCountChangeLoadStrategy) loadStrategy;
            return;
        }
        if (loadStrategy instanceof BurstLoadStrategy) {
            loadUITriggerType = FIXED_LOAD_TRIGGER;
            triggerProperties.put("load", createProperyValue(Long.class, Long.toString(loadTest.getThreadCount())));
View Full Code Here

            triggerProperties.put("period",
                    createProperyValue(Long.class, Long.toString(currentStrategy.getInterval() / 1000)));
        }
        if (loadStrategy instanceof ThreadCountChangeLoadStrategy) {
            loadUITriggerType = RAMP_TRIGGER;
            ThreadCountChangeLoadStrategy currentStrategy = (ThreadCountChangeLoadStrategy) loadStrategy;
            long end = extractLongProperty("end");
            triggerProperties.put(
                    "end",
                    createProperyValue(
                            Long.class,
                            Long.toString(end
                                    * (currentStrategy.getEndThreadCount() / currentStrategy.getStartThreadCount()))));
            if (loadTest.getLimitType().equals(LoadTestLimitTypesConfig.TIME)) {
                triggerProperties
                        .put("period", createProperyValue(Long.class, Long.toString(loadTest.getTestLimit())));
            }
        }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.impl.wsdl.loadtest.strategy.ThreadCountChangeLoadStrategy

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.