fix(性能测试): 修复测试存在csv的时候不能正常下载zip的问题

--bug=1018966 --user=刘瑞斌 【性能测试】接口自动化有csv文件-创建性能测试-选择local资源池-执行状态一直是starting https://www.tapd.cn/55049933/s/1279521
This commit is contained in:
CaptainB 2022-10-27 10:52:15 +08:00 committed by 刘瑞斌
parent 1f098fd03c
commit 21df35416d
1 changed files with 2 additions and 2 deletions

View File

@ -259,8 +259,8 @@ public class JmeterDocumentParser implements EngineSourceParser {
}
StringBuilder csv = new StringBuilder();
Object config = ((Map) csvConfig).get(filename);
boolean csvSplit = (Boolean) ((Map) (config)).get("csvSplit");
if (!csvSplit) {
Boolean csvSplit = (Boolean) ((Map) (config)).get("csvSplit");
if (!BooleanUtils.toBoolean(csvSplit)) {
return;
}
boolean csvHasHeader = (Boolean) ((Map) (config)).get("csvHasHeader");