mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-12 13:05:13 +08:00
fix(性能测试): 修复配置csv分割配置报null的问题
This commit is contained in:
parent
3148369c70
commit
d0075a710d
@ -264,6 +264,9 @@ public class JmeterDocumentParser implements EngineSourceParser {
|
|||||||
}
|
}
|
||||||
StringBuilder csv = new StringBuilder();
|
StringBuilder csv = new StringBuilder();
|
||||||
Object config = ((Map) csvConfig).get(filename);
|
Object config = ((Map) csvConfig).get(filename);
|
||||||
|
if (config == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
Boolean csvSplit = (Boolean) ((Map) (config)).get("csvSplit");
|
Boolean csvSplit = (Boolean) ((Map) (config)).get("csvSplit");
|
||||||
if (!BooleanUtils.toBoolean(csvSplit)) {
|
if (!BooleanUtils.toBoolean(csvSplit)) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user