Closed asfimport closed 21 years ago
jkb (migrated from Bugzilla): Created attachment ConstantThroughputTimer.java: Updated copy of ConstantThroughputTimer.java
jkb (migrated from Bugzilla): Created attachment ConstantThroughputTimer.patch: Patch version of fix - use instead of previous attachment
jkb (Bug 17688): ConstantThroughputTimer does not work in non-GUI (batch) mode. This is because the "delay" field does not get set up - it remains as zero.
==
The similar ConstantTimer works OK in non-GUI mode. It uses iterationStarted() to set the delay from the relevant properties string, which seems to be set up from the JMX record in non-GUI mode.
However, iterationStarted() seems to be called every time through the loop, so maybe setJMeterVariables() would be a better place to calculate the delay and save it ... hope to find time to test this soon; will post details later.
Severity: normal OS: other