JMeter error when generating dashboard at end of test

Jake Zidow

For the last few weeks I have been using JMeters automatic dashboard generation at end of test w/ command:

./jmeter -n -t <test JMX file> -l <test log file> -e -o <Path to output folder>

However about 50% of the time the terminal freezes exactly 1 second before the test is scheduled to end without generating the dashboard. So I want to manually build the dash report from my log.jtl file using:

./jmeter -g <log file> -o <Path to output folder>

But when I run this command in terminal I get the error:

An error occurred: Error while processing samples:Mismatch between expected number of columns:16 and columns in CSV file:15, check your jmeter.save.saveservice.* configuration

The only thing I have in user.properties is (taken directly from http://jmeter.apache.org/usermanual/generating-dashboard.html):

jmeter.save.saveservice.bytes = true
jmeter.save.saveservice.label = true
jmeter.save.saveservice.latency = true
jmeter.save.saveservice.response_code = true
jmeter.save.saveservice.response_message = true
jmeter.save.saveservice.successful = true
jmeter.save.saveservice.thread_counts = true
jmeter.save.saveservice.thread_name = true
jmeter.save.saveservice.time = true
jmeter.save.saveservice.connect_time = true 
jmeter.save.saveservice.timestamp_format = ms
jmeter.save.saveservice.timestamp_format = yyyy/MM/dd HH:mm:ss

Running ./jmeter -g <log file> -o <Path to output folder> with and without these additions to user.properties still causes the same error listed.

Please help!

UPDATE: When I run a test from nongui mode and it completes ('tidying up...' is printed to the terminal) as opposed to freezing, my dashboard generation ./jmeter -g <log file> -o <Path to output folder> works correctly. So it seems the freezing problem lies in the test construction. The test ends by hitting a certain time of day, say 4:00 pm, which is added to the jmeter test in the thread group scheduler. Does anyone have any suggestions to how I can fix this? Has anyone experienced a similar problem?

Bruno Mareque

I know it's a little bit late but i'm still answering this in case other people had the same problem, as i did.

In my case, after making sure the jmeter.properties and the user.properties were identical, i opened the log file. You know, the .jtl one, and deleted the last line that was cutted out. Then, just execute the command line jmeter -g <log file> -o <Path to output folder> and worked just fine.

It happens when the execution doesn't end properly.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

':app:lintVitalRelease' error when generating signed apk

JMeter: Why get error when try to save test plan

JMeter Report Dashboard Error - Data Exporter "html" is unable to export data

Android error when generating JSonStringer

Running test script recorder error in JMeter

access jmeter.log file when lunching test from jenkins jmeter.log (Permission denied) java.io.FileNotFoundException: error

JMeter "Content encoding Error" when using FireFox and HTTP(S) Test Script recorder

JMeter How to stop the test when we reach specific error rate

JMeter method call on start/end of test plan

JMeter Save Result when Test already finished

Error encountered when generating numbers in series

rspec not creating test models when generating model

error when generating gridview

Apache JMeter HTTP(S) Test Script Recorder not generating samples

Error when generating dynamic content

Getting an error from the application when recording a Jmeter test plan

JMeter - Error when starting test plan- keytool error: proxysever.jks (access is denied)

Jmeter test in Jenkins fails with "errorlevel=255" error

Load test run in Jenkins with Jmeter does not end

Error in report dashboard report generation in Jmeter 4.0

Memory error occurring when generating a list of passwords

Error generating embed token for editable Power BI Embedded dashboard

When running load test for Kafka messaging with Jmeter from Jenkins server getting an error

Form generating error when using GET request

While generating dashboard report in Jmeter, Unnecessary filter is showing and therefor pass api list is not showing

Error while generating report in apache-jmeter-5.4.1.tgz

Creation of Hashtable table in JMeter generating syntax error

Error generating variable with 44 characters in Jmeter

Custom info in Jmeter dashboard