shulieTech / Takin

Takin is an Java-based, open-source system designed to measure online environmental performance test for full-links, Especially for microservices. Through Takin, middlewares and applications can identify real online traffic and test traffic, ensure that they enter the right databases.
Apache License 2.0
1.31k stars 330 forks source link

(详细报告)脚本上传csv文件,jmx文件,启动后,报告没有数据且显示压测成功 #95

Open zhull123123 opened 2 years ago

zhull123123 commented 2 years ago

image image image ![image](https://user-images.githubusercontent.com/95072409/146158385-ac8f203e-1d43-4e86-be24-6992d239### ### ### jmeter-1639554709521.log(1).zip

zhaoyong6315 commented 2 years ago

这个问题是csv的路径使用了相对路径,我们在下个版本解决了,不过还需要进行一些测试,目前这个问题您可以通过临时修过代码解决; 在io.shulie.plugin.enginecall.EngineCallExtImpl这个类的160行这块的代码,里面给jar包前面拼接上了路径,您可以临时通过给其他的文件也都拼接上路径来解决这个问题;下个版本这个问题就会被修复掉了;

zhangz-2021 commented 2 years ago

middle_img_v2_ce052c09-4927-4c44-beaa-65d357427e2g 加上这行代码scheduleStartRequest.getDataFile().forEach(dataFile -> { if (dataFile != null && StringUtils.isNotBlank(dataFile.getPath())){ dataFile.setPath(scriptPath + SceneManageConstant.FILE_SPLIT + dataFile.getPath()); } });

zhangz-2021 commented 2 years ago

middle_img_v2_f06629e8-d7d7-4194-9594-afadee67726g 加完之后是这样