Try using "80" instead of "80.0"

On 02/10/2009, Tech Newbie <[email protected]> wrote:
> I am trying to define a constant throughput via a property.  However, I'm 
> getting the following exception.  Seems like jmeter is trying to  parse for a 
> double in the property string "${__P(throughput,80.0)}".  Is this allowed?
>
>  2009/10/01 22:58:19 ERROR - jmeter.save.converters.TestElementConverter: 
> TestEle
>  ment not instantiable: class 
> org.apache.jmeter.timers.ConstantThroughputTimer co
>  m.thoughtworks.xstream.converters.ConversionException: For input string: 
> "${__P(
>  throughput,80.0)}" : For input string: "${__P(throughput,80.0)}"
>  ---- Debugging information ----
>  message             : For input string: "${__P(throughput,80.0)}"
>  cause-exception     : java.lang.NumberFormatException
>  cause-message       : For input string: "${__P(throughput,80.0)}"
>  class               : org.apache.jmeter.testelement.property.DoubleProperty
>  required-type       : java.lang.Double
>  path                : 
> /jmeterTestPlan/hashTree/hashTree/hashTree/ConstantThrough
>  putTimer/doubleProp/value
>  line number         : 81
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to