-1

Getting the below error, when trying the cmd as : jmeter -g /path/result/testo1.csv -o /path/result/report

An error occurred: Error while processing samples: Consumer failed with message :Consumer failed with message :Consumer failed with message :Consumer failed with message :Begin size 0 is not equal to fixed size 5

I have already ran the cmd to run the test and generate the csv file properly

I have also tried this, but it doesn't worked.

Using Jmeter 5.4.3, installed via brew

java -v :

openjdk version "15" 2020-09-15
OpenJDK Runtime Environment AdoptOpenJDK (build 15+36)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 15+36, mixed mode, sharing)
Ajay Rawat
  • 161
  • 2
  • 12

1 Answers1

0

It looks like a bug 65838, the options are in:

  1. Downgrade your Java version to Java 8
  2. Try out the nightly build, there is a chance that the issue is fixed there. However I doubt you will be able to install it using homebrew, you will have to go through the manual JMeter installation process (not very complex though)
Dmitri T
  • 159,985
  • 5
  • 83
  • 133
  • tried this also, but still the same error , java version is already 8 – Ajay Rawat Mar 22 '22 at 15:30
  • if you do something like `/full/path/to/your/java/8/bin/java -jar /full/path/to/ApacheJMeter.jar -g /full/path/to .jtl file -o /full/path/to/dashboard` it will be successful – Dmitri T Mar 22 '22 at 15:36
  • Neither of these solutions worked for me; how can we be sure jmeter is using the correct version of java? – fullStackChris May 25 '22 at 18:29