diff --git a/backend/src/main/java/io/metersphere/api/parse/PostmanAbstractParserParser.java b/backend/src/main/java/io/metersphere/api/parse/PostmanAbstractParserParser.java index 74678addc1..d133df1d57 100644 --- a/backend/src/main/java/io/metersphere/api/parse/PostmanAbstractParserParser.java +++ b/backend/src/main/java/io/metersphere/api/parse/PostmanAbstractParserParser.java @@ -80,6 +80,7 @@ public abstract class PostmanAbstractParserParser extends ApiImportAbstractPa addBodyHeader(request); HttpResponse response = new HttpResponse(); BeanUtils.copyBean(response, request); + response.setStatusCode(new ArrayList<>()); response.setType("HTTP"); return response; }