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

--- Comment #27 from [email protected] ---
(In reply to Felix Schumacher from comment #26)
> Only one of those seven jtl files shows a problem. With the more detailed
> error message you get:
> 
> An error occurred: Error while processing samples: Mismatch between expected
> number of columns:17 and columns in CSV file:3, check your
> jmeter.save.saveservice.* configuration or check if line 58376 in
> '/tmp/D07302019_133924/SDIS/log/20KB/SDIS.log' is complete
> 
> And in jmeter.log you can find:
> 
>  WARN o.a.j.r.c.CsvSampleReader: Short CSV read around line 58376 of file
> '/tmp/D07302019_133924/SDIS/log/20KB/SDIS.log'. Could only read 3 elements
> of 17 expected. Data is [2019/07/30 13:43:27.461, 121,
> ECMaaSRESTCreateDocSampl]
> 
> And if you have a look at line 58376 (which is the last line in that file),
> you see:
> 
> 2019/07/30 13:43:27.461,121,ECMaaSRESTCreateDocSampl
> 
> Which seems to be a broken file to me.

Hello

Today(Aug 2, 2019) I ran another test for 15 minutes. I used the JMeter jars
that are complied from the latest source from GIT as of yerterday.

The Jmeter log shows this below error. The error says there is a problem with
line # 281268. I checked the line # 281268 in JTL file. The line # 281268
appears complete. All lines above & below this line also appear complete.
I beleive the Dashboard generation process may be triggering in before all
clients completely send and data to Master (in distributed load test). I
beleive before the JTL file is completely written the Dashbord generation
process is triggering. The dashboard generation process should be started only
after that all clients are sent the "test completed" message AND the JTL file
is completely written and it is closed. This is my guess.
Also I beleive as the JTL file size increases Jmeter could not handle large JTL
files. This is my assumption.
I think the communication between the main thread and the thread that generates
the DashBoard generation lack something which is necessary.

One more thing is the timestamp in line #281268 is 2019/08/02 12:02:59.165,102.
The timestamp of last line(# 281307) is 2019/08/02 12:02:59.644,3120. Probably
the JTL file is being read before it is completely written and closed.


I am sending the JTL file (44MB) to your email
[email protected]. 

2019-08-02 12:03:30,530 ERROR o.a.j.JMeter: Error generating dashboard:
org.apache.jmeter.report.dashboard.GenerationException: Error while processing
samples: Mismatch between expected number of columns:17 and columns in CSV
file:1, check your jmeter.save.saveservice.* configuration or check if line
281268 in
'C:\JMeterLoadTests\SDIS_REST\D08022019_114731\SDIS\log\20KB\SDIS.log' is
complete
org.apache.jmeter.report.dashboard.GenerationException: Error while processing
samples: Mismatch between expected number of columns:17 and columns in CSV
file:1, check your jmeter.save.saveservice.* configuration or check if line
281268 in
'C:\JMeterLoadTests\SDIS_REST\D08022019_114731\SDIS\log\20KB\SDIS.log' is
complete
        at
org.apache.jmeter.report.dashboard.ReportGenerator.generate(ReportGenerator.java:247)
~[ApacheJMeter_core.jar:5.2-SNAPSHOT.20190802]
        at
org.apache.jmeter.JMeter$ListenToTest.generateReport(JMeter.java:1326)
[ApacheJMeter_core.jar:5.2-SNAPSHOT.20190802]
        at org.apache.jmeter.JMeter$ListenToTest.run(JMeter.java:1310)
[ApacheJMeter_core.jar:5.2-SNAPSHOT.20190802]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Caused by: org.apache.jmeter.report.core.SampleException: Mismatch between
expected number of columns:17 and columns in CSV file:1, check your
jmeter.save.saveservice.* configuration or check if line 281268 in
'C:\JMeterLoadTests\SDIS_REST\D08022019_114731\SDIS\log\20KB\SDIS.log' is
complete
        at
org.apache.jmeter.report.core.CsvSampleReader.assertCorrectColumns(CsvSampleReader.java:205)
~[ApacheJMeter_core.jar:5.2-SNAPSHOT.20190802]
        at
org.apache.jmeter.report.core.CsvSampleReader.nextSample(CsvSampleReader.java:189)
~[ApacheJMeter_core.jar:5.2-SNAPSHOT.20190802]
        at
org.apache.jmeter.report.core.CsvSampleReader.readSample(CsvSampleReader.java:217)
~[ApacheJMeter_core.jar:5.2-SNAPSHOT.20190802]
        at
org.apache.jmeter.report.processor.CsvFileSampleSource.produce(CsvFileSampleSource.java:180)
~[ApacheJMeter_core.jar:5.2-SNAPSHOT.20190802]
        at
org.apache.jmeter.report.processor.CsvFileSampleSource.run(CsvFileSampleSource.java:238)
~[ApacheJMeter_core.jar:5.2-SNAPSHOT.20190802]
        at
org.apache.jmeter.report.dashboard.ReportGenerator.generate(ReportGenerator.java:245)
~[ApacheJMeter_core.jar:5.2-SNAPSHOT.20190802]
        ... 3 more

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

Reply via email to