From 531ea4072c00bdd6ad6b6e09cd878f20577f1b45 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Thu, 1 Sep 2022 18:21:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20ms?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E5=AF=BC=E5=85=A5=E5=A2=9E=E5=8A=A0=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=郭雨琦 --- .../metersphere/api/dto/definition/parse/MsDefinitionParser.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main/java/io/metersphere/api/dto/definition/parse/MsDefinitionParser.java b/backend/src/main/java/io/metersphere/api/dto/definition/parse/MsDefinitionParser.java index 63f333b511..63e5dc69b3 100644 --- a/backend/src/main/java/io/metersphere/api/dto/definition/parse/MsDefinitionParser.java +++ b/backend/src/main/java/io/metersphere/api/dto/definition/parse/MsDefinitionParser.java @@ -54,6 +54,7 @@ public class MsDefinitionParser extends MsAbstractParser { List msHTTPSamplerProxies = parseMsHTTPSamplerProxy(testObject, tag, false); for (MsHTTPSamplerProxy msHTTPSamplerProxy : msHTTPSamplerProxies) { ApiDefinitionWithBLOBs apiDefinition = buildApiDefinition(msHTTPSamplerProxy.getId(), msHTTPSamplerProxy.getName(), msHTTPSamplerProxy.getPath(), msHTTPSamplerProxy.getMethod(), importRequest); + apiDefinition.setModulePath(tag); apiDefinition.setProjectId(this.projectId); apiDefinition.setRequest(JSONObject.toJSONString(msHTTPSamplerProxy)); apiDefinition.setName(apiDefinition.getPath() + " [" + apiDefinition.getMethod() + "]");