jenkins执行jmeter时,报Begin size 1 is not equal to fixed size 5

jenkins执行jmeter脚本的时候一直提示如下错误:

Tidying up ...    @ Fri Jul 28 17:03:53 CST 2023 (1690535033178)
Error generating the report: org.apache.jmeter.report.dashboard.GenerationException: Error while processing samples: Consumer failed with message :Consumer failed with message :Consumer failed with message :Consumer failed with message :Begin size 1 is not equal to fixed size 5
... end of run

原因是jenkins版本2.4以上要求的jdk版本11-19,jmeter命令报告生成需要的jdk版本1.8,属于jdk的版本兼容问题
解决方法:下载jdk1.8并解压,然后在jmeter路径/bin下的jmeter文件中添加jdk路径

JAVA_HOME="/data/jdk/jdk1.8.0_144/"

jenkins执行jmeter时,报Begin size 1 is not equal to fixed size 5_第1张图片

你可能感兴趣的:(jmeter,jmeter生成日志报错,Begin,size,1,is,jmeter日志问题,日志生成报错)