jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 61209] Save Responses to a File does not seem to be thread safe in Jmeter 3.2
Date Thu, 22 Jun 2017 18:31:00 GMT

--- Comment #1 from Felix Schumacher <> ---
Created attachment 35068
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
java.lang.NullPointerException: null
>-------at org.apache.jmeter.reporters.ResultSaver.makeFileName( ~[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170622]
>-------at org.apache.jmeter.reporters.ResultSaver.saveSample( ~[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170622]
>-------at org.apache.jmeter.reporters.ResultSaver.processSample(
>-------at org.apache.jmeter.reporters.ResultSaver.sampleOccurred(
>-------at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(
>-------at org.apache.jmeter.threads.JMeterThread.notifyListeners(
>-------at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(
>-------at org.apache.jmeter.threads.JMeterThread.processSampler(
>-------at [ApacheJMeter_core.jar:3.3-SNAPSHOT.20170622]
>-------at [?: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.
View raw message