https://bz.apache.org/bugzilla/show_bug.cgi?id=57825
Bug ID: 57825
Summary: __Random function fails if min value is equal to max
value (regression related to 54453)
Product: JMeter
Version: 2.13
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Since 2.13, ${__Random(1,1,value)} fails with:
java.lang.IllegalArgumentException
at
org.apache.jmeter.util.ThreadLocalRandom.nextLong(ThreadLocalRandom.java:168)
at org.apache.jmeter.functions.Random.execute(Random.java:65)
at
org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:142)
at
org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:118)
at
org.apache.jmeter.testelement.property.FunctionProperty.getStringValue(FunctionProperty.java:101)
at
org.apache.jmeter.testelement.AbstractTestElement.getPropertyAsString(AbstractTestElement.java:274)
at
org.apache.jmeter.testelement.AbstractTestElement.getName(AbstractTestElement.java:167)
at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:492)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
at java.lang.Thread.run(Thread.java:745)
--
You are receiving this mail because:
You are the assignee for the bug.