You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2004/03/17 16:09:03 UTC
DO NOT REPLY [Bug 27744] New: -
Counter does not work
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27744>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27744
Counter does not work
Summary: Counter does not work
Product: JMeter
Version: Nightly (Please specify date)
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: Main
AssignedTo: jmeter-dev@jakarta.apache.org
ReportedBy: M.Kostrzewa@pentacomp.com.pl
The minimal test is:
test plan
+-Thread group (5 threads, 5 loops)
+-Http request (parameter aa=${clock})
+-Counter (refname = clock)
+-View Results Tree
The problem:
When running 1 thread, everything is fine, parameter aa sent with each request
is incremented.
When running multiple threads, the following error occures:
java.lang.NullPointerException
at
org.apache.jmeter.modifiers.CounterConfig.iterationStart(CounterConfig.java:68)
at
org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:273)
at
org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:261)
at
org.apache.jmeter.control.GenericController.next(GenericController.java:89)
at
org.apache.jmeter.control.LoopController.nextIsNull(LoopController.java:134)
at
org.apache.jmeter.control.GenericController.next(GenericController.java:101)
at org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:102)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:239)
at java.lang.Thread.run(Thread.java:536)
and the request isn't performed.
Sometimes (??) the request is sent, but with the parameter aa=${counter} (the
variable is not expanded)
This test works in last stable version.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org