Examples of LongProperty


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

    public String getEndAsString(){
        return getPropertyAsString(END);
    }

    public void setIncrement(long inc) {
        setProperty(new LongProperty(INCREMENT, inc));
    }
View Full Code Here

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

  /**
   * set the expiry time for the cookie
     * @param expires - expiry time in seconds since the Java epoch
   */
  public synchronized void setExpires(long expires) {
    setProperty(new LongProperty(EXPIRES, expires));
  }
View Full Code Here

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

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

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

        }
        return Long.toString(value);
    }
   
  public void setStart(long start) {
    setProperty(new LongProperty(START, start));
  }
View Full Code Here

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

  public String getStartAsString() {
    return getPropertyAsString(START);
  }

  public void setEnd(long end) {
    setProperty(new LongProperty(END, end));
  }
View Full Code Here

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

  public String getEndAsString(){
    return getPropertyAsString(END);
  }

  public void setIncrement(long inc) {
    setProperty(new LongProperty(INCREMENT, inc));
  }
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.