You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2017/06/22 18:31:00 UTC

[Bug 61209] Save Responses to a File does not seem to be thread safe in Jmeter 3.2

https://bz.apache.org/bugzilla/show_bug.cgi?id=61209

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
Created attachment 35068
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35068&action=edit
Test that shows some errors (might be the ones that this bug is about)

I tried to setup a simple test plan, that shows the described behaviour.

In this plan, there are 200 threads looping 100 times and doing a java test
sample. All of that is listened by the result saver, that saves its results
into files that are prefixed by /tmp/test_${__threadNum}_

In my runs I get a few exceptions, when the filename gets calculated:

2017-06-22 20:23:56,823 ERROR o.a.j.t.ListenerNotifier: Detected problem in
Listener.
java.lang.NullPointerException: null
>-------at org.apache.jmeter.services.FileServer.resolveBaseRelativeName(FileServer.java:571) ~[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170622]
>-------at org.apache.jmeter.reporters.ResultSaver.makeFileName(ResultSaver.java:218) ~[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170622]
>-------at org.apache.jmeter.reporters.ResultSaver.saveSample(ResultSaver.java:185) ~[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170622]
>-------at org.apache.jmeter.reporters.ResultSaver.processSample(ResultSaver.java:162) ~[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170622]
>-------at org.apache.jmeter.reporters.ResultSaver.sampleOccurred(ResultSaver.java:152) ~[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170622]
>-------at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:65) [ApacheJMeter_core.jar:3.3-SNAPSHOT.20170622]
>-------at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:903) [ApacheJMeter_core.jar:3.3-SNAPSHOT.20170622]
>-------at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:530) [ApacheJMeter_core.jar:3.3-SNAPSHOT.20170622]
>-------at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:425) [ApacheJMeter_core.jar:3.3-SNAPSHOT.20170622]
>-------at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:254) [ApacheJMeter_core.jar:3.3-SNAPSHOT.20170622]
>-------at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

Now I have two questions. First, is this the same bug that itzed reported and
second, why is the filename null.

-- 
You are receiving this mail because:
You are the assignee for the bug.