jmeter Execute to create Chart Error: An error occurred: Error while processing samples: Mismatch between ……

An error occurred: error while processing samples: mismatch between expected number of columns: 17 and columns in CSV file: 25, check your JMeter. Save. Saveservice. * configuration or check if line 46397 in ‘log. JTL’ is complete

I used many online tutorials, which were not solved and wasted time

The final solution: regenerate the log.jtl file and operate it again

1. Delete the previously generated log.jtl file first

2. Execute the command line to generate log.jtl

D:\apache-jmeter\apache-jmeter-5.4.1> jmeter -n -t pingbi.jmx -l log.jtl

3. Execute the generate chart command line

D:\apache-jmeter\apache-jmeter-5.4.1> jmeter -g log.jtl -o report1

No more errors are reported this time, and the chart is generated successfully

Read More: