On 5 November 2010 16:40, Pablo A. Osso <[email protected]> wrote: > Hi sebb, > > I'm also running JMeter 2.4 (on linux). > Regards, > Pablo
Did you create the script using JMeter 2.4? Or was it created with an older version and then updated? If the latter, then try deleting the CTT element and adding it again. JMX files are normally upwards compatible, but in this case it looks like you may need to give JMeter some help. > > On Fri, Nov 5, 2010 at 7:54 AM, sebb <[email protected]> wrote: >> On 4 November 2010 15:44, Pablo A. Osso <[email protected]> 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: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

