I have a test which is sending requests via tcp to my test plant. The test has some Counter's defined. when I run the test from my PC/Windows the test completes successfully. Also when I run it from Jmeter on a Unix machine with Solaris, the test also completes successfully. BUT when I try to run the test remotely on the Unix machine (from the PC) there seems to a problem with the 'Counter' below is the debug: 2007/02/08 14:22:07 DEBUG - jmeter.protocol.tcp.sampler.TCPSampler: Created org.apache.jmeter.protocol.tcp.sampler.TCPSampler@1697b67 2007/02/08 14:22:07 INFO - jmeter.protocol.tcp.sampler.TCPClientImpl: Using eolByte=59 2007/02/08 14:22:07 DEBUG - jmeter.protocol.tcp.sampler.TCPSampler: org.apache.jmeter.protocol.tcp.sampler.TCPSampler@1697b67Created: TCPClientImpl@24c4a3 2007/02/08 14:22:07 DEBUG - jmeter.protocol.tcp.sampler.TCPSampler: Using Protocol Handler: org.apache.jmeter.protocol.tcp.sampler.TCPClientImpl 2007/02/08 14:22:07 DEBUG - jmeter.threads.TestCompiler: Subtracting node, stack size = 2 2007/02/08 14:22:07 DEBUG - jmeter.threads.TestCompiler: Subtracting node, stack size = 2 2007/02/08 14:22:07 DEBUG - jmeter.threads.TestCompiler: Subtracting node, stack size = 3 2007/02/08 14:22:07 DEBUG - jmeter.threads.TestCompiler: Subtracting node, stack size = 2 2007/02/08 14:22:07 DEBUG - jmeter.threads.TestCompiler: adding controller: org.apache.jmeter.threads.ThreadGroup@31f2a7 to sampler config 2007/02/08 14:22:07 DEBUG - jmeter.threads.SamplePackage: configs is null: false 2007/02/08 14:22:07 DEBUG - jmeter.threads.TestCompiler: Subtracting node, stack size = 2 2007/02/08 14:22:07 DEBUG - jmeter.threads.TestCompiler: Subtracting node, stack size = 2 2007/02/08 14:22:07 DEBUG - jmeter.threads.TestCompiler: Subtracting node, stack size = 2 2007/02/08 14:22:07 DEBUG - jmeter.threads.TestCompiler: Subtracting node, stack size = 2 2007/02/08 14:22:07 DEBUG - jmeter.threads.TestCompiler: Subtracting node, stack size = 1 2007/02/08 14:22:07 INFO - jmeter.threads.JMeterThread: Thread Thread Group One 1-1 started 2007/02/08 14:22:07 DEBUG - jmeter.protocol.tcp.sampler.TCPSampler: Thread Started 2007/02/08 14:22:07 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NullPointerException at org.apache.jmeter.modifiers.CounterConfig.iterationStart (CounterConfig.java:74) at org.apache.jmeter.control.GenericController.fireIterationStart (GenericController.java:224) at org.apache.jmeter.control.GenericController.fireIterEvents (GenericController.java:214) at org.apache.jmeter.control.GenericController.next (GenericController.java:83) at org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:123) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:233) at java.lang.Thread.run(Thread.java:534) 2007/02/08 14:22:07 INFO - jmeter.threads.JMeterThread: Thread Thread Group One 1-1 is done 2007/02/08 14:22:07 INFO - jmeter.engine.StandardJMeterEngine: Ending thread 0 2007/02/08 14:22:07 INFO - jmeter.engine.StandardJMeterEngine: Stopping test 2007/02/08 14:22:07 DEBUG - jmeter.protocol.tcp.sampler.TCPSampler: Thread Finished 2007/02/08 14:22:07 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 2007/02/08 14:22:07 INFO - jmeter.samplers.StandardSampleSender: Test Ended on 192.168.5.212:1599 2007/02/08 14:22:07 INFO - jmeter.samplers.StandardSampleSender: Test Ended on 192.168.5.212:1599 2007/02/08 14:22:07 INFO - jmeter.samplers.StandardSampleSender: Test Ended on 192.168.5.212:1599 2007/02/08 14:22:07 INFO - jmeter.engine.StandardJMeterEngine: Test has ended ALSO, I know it is something to do with the counter because when I Disable the Counter and hard code the values the counter was used by, the test then works remotely.
Already fixed, but not yet in a release, sorry. If you want to try it, there are recent nightly builds here: http://people.apache.org/builds/jakarta-jmeter/nightly/
This bug still seems to exit in the latest nightly build -r552369 for 01-Jul- 2007.
Please can you provide a test-case, because it works OK in my tests.
Please re-open with full details if this is still a problem with 2.3RC3 or the current nightlies
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1862