fix(性能测试): 修复执行过程包括CSV,部分参数没有初始化的问题
--bug=1022153 --user=刘瑞斌 [BUG]github#21147性能测试测试场景高级设置选择 csv 分割,性能测试场景无法运行 https://www.tapd.cn/55049933/s/1329694 Closes #21147
This commit is contained in:
parent
430784015f
commit
b333de3142
|
@ -263,8 +263,8 @@ public class JmeterDocumentParser implements EngineSourceParser {
|
||||||
if (!BooleanUtils.toBoolean(csvSplit)) {
|
if (!BooleanUtils.toBoolean(csvSplit)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
boolean csvHasHeader = (Boolean) ((Map) (config)).get("csvHasHeader");
|
Boolean csvHasHeader = (Boolean) ((Map) (config)).get("csvHasHeader");
|
||||||
if (csvHasHeader) {
|
if (BooleanUtils.toBoolean(csvHasHeader)) {
|
||||||
String header = tokenizer.nextToken();
|
String header = tokenizer.nextToken();
|
||||||
csv.append(header).append(StringUtils.LF);
|
csv.append(header).append(StringUtils.LF);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue