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=41568>.
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=41568

           Summary: Problem when running tests remotely when using a
                    'Counter'
           Product: JMeter
           Version: 2.2
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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 
[EMAIL PROTECTED] 
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: 
[EMAIL PROTECTED]: 
[EMAIL PROTECTED] 
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: 
[EMAIL PROTECTED] 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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to