jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60428] New: JMeter Backend Listener show exception when test ended
Date Tue, 29 Nov 2016 03:13:14 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60428

            Bug ID: 60428
           Summary: JMeter Backend Listener show exception when test ended
           Product: JMeter
           Version: 3.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: liu_xp2003@sina.com
  Target Milestone: ---

Steps:
1. Create JMeter test script with default Backend Listener.
2. Set correct graphiteHost,graphitePort,rootMetricsPrefix and samplersList.
3. Change useRegexpForSamplersList to true.
4. Run the test script.

Result:
We can see exception like below:
2016/11/29 11:01:19 WARN  - jmeter.engine.StandardJMeterEngine: Error
encountered during shutdown of
org.apache.jmeter.visualizers.backend.BackendListener@2b1f1961
java.lang.IllegalStateException: Failed calling teardownTest
        at
org.apache.jmeter.visualizers.backend.BackendListener.testEnded(BackendListener.java:384)
        at
org.apache.jmeter.visualizers.backend.BackendListener.testEnded(BackendListener.java:392)
        at
org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(StandardJMeterEngine.java:216)
        at
org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:437)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
        at
org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient.teardownTest(GraphiteBackendListenerClient.java:327)
        at
org.apache.jmeter.visualizers.backend.BackendListener.testEnded(BackendListener.java:382)
        ... 4 more


This is issue should be bring with the Bug 59099 fixed at 9 month ago.
Bug 59099 - Backend listener : Add the possibility to consider samplersList as
a Regular Expression

I fixed this issue by changing code temporary.
org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient
move line 304 "samplersToFilter = new HashSet<>();" after line 301

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