jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60474] Test plan with Throughput Shaping Timer works in 3.0 but not in 3.1
Date Fri, 23 Dec 2016 13:22:52 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60474

--- Comment #3 from Richard Olsson <richard.olsson@hiq.se> ---
The reason for failing is the specific parameter definition I use in the
Throughput Sharping Timer, to get it to work in JMeter 2.13 version. It also
works in 3.0:

To be able to use variables in Throughput Sharping Timer sample I had to use
the format "${__jexl(${THROUGHPUT})}". Then could that variable be set in User
Defined Variables sample. (THROUGHPUT : ${__P(THROUGHPUT,1)})

But obvious some changes has been made in 3.1, since above stuff isn't working
anymore.

But it seems that normal variable reference format can be used now, in
Throughput sharping Timer.

${THROUGHPUT} 


I get some errors for Throughput Sharping Timer. But guess I can live with that
since it seems to work...
Guess it's used to write the expected graphs...


2016/12/23 13:43:42 ERROR - jmeter.testelement.property.AbstractProperty: Tried
to parse a non-number string to an integer java.lang.NumberFormatException: For
input string: "${THROUGHPUT}"
                          at
sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
                          at sun.misc.FloatingDecimal.parseDouble(Unknown
Source)
                          at java.lang.Double.parseDouble(Unknown Source)
                          at
org.apache.jmeter.testelement.property.AbstractProperty.getDoubleValue(AbstractProperty.java:149)
                          at
kg.apc.jmeter.timers.VariableThroughputTimer.getDoubleValue(VariableThroughputTimer.java:164)
                          at
kg.apc.jmeter.timers.VariableThroughputTimer.getRPSForSecond(VariableThroughputTimer.java:151)
                          at
kg.apc.jmeter.timers.VariableThroughputTimerGui.updateChart(VariableThroughputTimerGui.java:195)
                          at
kg.apc.jmeter.timers.VariableThroughputTimerGui.updateUI(VariableThroughputTimerGui.java:164)
                          at
kg.apc.jmeter.timers.VariableThroughputTimerGui.configure(VariableThroughputTimerGui.java:154)
                          at
org.apache.jmeter.gui.GuiPackage.updateCurrentGui(GuiPackage.java:426)
                          at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:72)
                          at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
                          at
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
                          at java.awt.event.InvocationEvent.dispatch(Unknown
Source)
                          at java.awt.EventQueue.dispatchEventImpl(Unknown
Source)
                          at java.awt.EventQueue.access$500(Unknown Source)
                          at java.awt.EventQueue$3.run(Unknown Source)
                          at java.awt.EventQueue$3.run(Unknown Source)
                          at java.security.AccessController.doPrivileged(Native
Method)
                          at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
                          at java.awt.EventQueue.dispatchEvent(Unknown Source)
                          at
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                          at
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                          at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
                          at java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
                          at java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
                          at java.awt.EventDispatchThread.run(Unknown Source)

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message