Examples of LongProperty


Examples of org.apache.jmeter.testelement.property.LongProperty

     *
     * @param stime - the StartTime value.
     */
    public void setStartTime(long stime)
    {
        setProperty(new LongProperty(START_TIME,stime));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.LongProperty

   *
   * @param duration in seconds
   */
  public void setDuration(long duration)
  {
    setProperty(new LongProperty(DURATION,duration));
  }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.LongProperty

   *
   * @param delay in seconds
   */
  public void setDelay(long delay)
  {
    setProperty(new LongProperty(DELAY,delay));
  }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.LongProperty

     *
     * @param etime - the EndTime value.
     */
    public void setEndTime(long etime)
    {
        setProperty(new LongProperty(END_TIME, etime));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.LongProperty

        }

        tg.setProperty(ThreadGroup.NUM_THREADS, threadInput.getText());
        tg.setProperty(ThreadGroup.RAMP_TIME, rampInput.getText());
        tg.setProperty(
            new LongProperty(
                ThreadGroup.START_TIME,
                ((Date) start.getDate()).getTime()));
        tg.setProperty(
            new LongProperty(
                ThreadGroup.END_TIME,
                ((Date) end.getDate()).getTime()));
        tg.setProperty(
            new BooleanProperty(ThreadGroup.SCHEDULER, scheduler.isSelected()));
        tg.setProperty(
View Full Code Here

Examples of org.apache.jmeter.testelement.property.LongProperty

        {
            property= new IntegerProperty();
        }
        else if (value instanceof Long)
        {
            property= new LongProperty();
        }
        else if (value instanceof String)
        {
            property= new StringProperty();
        }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.LongProperty

    public void setErrorThreshold(long inErrorThreshold) {
        if (inErrorThreshold < 0L) {
            throw new IllegalArgumentException(JMeterUtils.getResString("argument_must_not_be_negative")); //$NON-NLS-1$
        }
        if (inErrorThreshold == Long.MAX_VALUE) {
            setProperty(new LongProperty(ERROR_THRESHOLD_KEY, 0));
        } else {
            setProperty(new LongProperty(ERROR_THRESHOLD_KEY, inErrorThreshold));
        }
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.LongProperty

    public void setWarningThreshold(long inWarningThreshold) {
        if (inWarningThreshold < 0L) {
            throw new IllegalArgumentException(JMeterUtils.getResString("argument_must_not_be_negative")); //$NON-NLS-1$
        }
        if (inWarningThreshold == Long.MAX_VALUE) {
            setProperty(new LongProperty(WARNING_THRESHOLD_KEY, 0));
        } else {
            setProperty(new LongProperty(WARNING_THRESHOLD_KEY, inWarningThreshold));
        }
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.LongProperty

    /**
     * Enables html validation mode
     */
    public void setHTML() {
        setProperty(new LongProperty(FORMAT_KEY, 0));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.LongProperty

    /**
     * Enables xhtml validation mode
     */
    public void setXHTML() {
        setProperty(new LongProperty(FORMAT_KEY, 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.