have you verified with a debug sampler(or otherwise) that your property is being passed correctly to the Jmeter script?
On Fri, Nov 5, 2010 at 9:40 AM, Pablo A. Osso <[email protected]> wrote: > Hi sebb, > > I'm also running JMeter 2.4 (on linux). > Regards, > Pablo > > 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] > >

