jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: ConstantThroughputTimer: setting throughput as a property
Date Fri, 05 Nov 2010 10:54:52 GMT
On 4 November 2010 15:44, Pablo A. Osso <pabloosso@gmail.com> wrote:
> Hi,
>
> I want to set the throughput as a property so I can change it from the
> command line. I've tried setting throughput=1200 or throughput=1200.0
> on my property file but I get this error:

Works fine for me in JMeter 2.4.

What version of JMeter are you using?

> 2010/11/04 10:37:50 ERROR -
> jmeter.save.converters.TestElementConverter: TestElement not
> instantiable: class org.apache.jmeter.timers.ConstantThroughputTimer
> com.thoughtworks.xstream.converters.ConversionException: For input
> string: "${__P(throughput)}" : For input string: "${__P(throughput)}"
> ---- Debugging information ----
> message             : For input string: "${__P(throughput)}"
> cause-exception     : java.lang.NumberFormatException
> cause-message       : For input string: "${__P(throughput)}"
> class               : org.apache.jmeter.testelement.property.DoubleProperty
> required-type       : java.lang.Double
> path                :
> /jmeterTestPlan/hashTree/hashTree/hashTree[4]/hashTree/ConstantThroughputTimer/doubleProp/value
> line number         : 97
> -------------------------------
>
> Is it possible to set a double property from the command line?
>
> Thanks,
> Pablo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message