diff --git a/performance-test/backend/src/main/java/io/metersphere/parse/xml/reader/JmeterDocumentParser.java b/performance-test/backend/src/main/java/io/metersphere/parse/xml/reader/JmeterDocumentParser.java index 91c285aa6e..0eeb8dc7a9 100644 --- a/performance-test/backend/src/main/java/io/metersphere/parse/xml/reader/JmeterDocumentParser.java +++ b/performance-test/backend/src/main/java/io/metersphere/parse/xml/reader/JmeterDocumentParser.java @@ -264,6 +264,9 @@ public class JmeterDocumentParser implements EngineSourceParser { } StringBuilder csv = new StringBuilder(); Object config = ((Map) csvConfig).get(filename); + if (config == null) { + return; + } Boolean csvSplit = (Boolean) ((Map) (config)).get("csvSplit"); if (!BooleanUtils.toBoolean(csvSplit)) { return;