jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61209] Save Responses to a File does not seem to be thread safe in Jmeter 3.2
Date Sun, 16 Jul 2017 15:30:05 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61209

--- Comment #8 from Felix Schumacher <felix.schumacher@internetallee.de> ---
(In reply to Philippe Mouawad from comment #7)
> (In reply to Felix Schumacher from comment #6)
> > (In reply to Philippe Mouawad from comment #5)
> > > Hello
> > > @Felix, I am not able to see any issue with result-saver-threads.jmx, what
> > > are you seeing ?
> > 
> > I got null pointer exceptions in jmeter.log as described in #1
> 
> Do you still get them ?

Yes. I tried to run it with 

$ ./bin/jmeter -n -t /tmp/result-saver-threads.jmx

After the test run I check the created files with

$ ls /tmp/test_* | wc -l

If there are not 20.000 files, than there should be an exception in jmeter.log
like the following:

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.20170716]
>-------at org.apache.jmeter.reporters.ResultSaver.makeFileName(ResultSaver.java:218) ~[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170716]
>-------at org.apache.jmeter.reporters.ResultSaver.saveSample(ResultSaver.java:185) ~[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170716]
>-------at org.apache.jmeter.reporters.ResultSaver.processSample(ResultSaver.java:162)
~[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170716]
>-------at org.apache.jmeter.reporters.ResultSaver.sampleOccurred(ResultSaver.java:152)
~[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170716]
>-------at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:65)
[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170716]
>-------at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:903)
[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170716]
>-------at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:530)
[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170716]
>-------at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:425)
[ApacheJMeter_core.jar:3.3-SNAPSHOT.20170716]
>-------at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:254) [ApacheJMeter_core.jar:3.3-SNAPSHOT.20170716]
>-------at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

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