From 00e1d006689ecbca860e0251a0841169f54d9e0a Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Mon, 28 Jun 2021 14:09:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E3=80=90github#3846=E3=80=91=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8C=96=E5=AF=BC=E5=85=A5JMX=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=97=B6=EF=BC=8C=E4=BB=A5=E8=84=9A=E6=9C=AC=E5=90=8D?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E5=9C=BA=E6=99=AF=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/api/dto/automation/parse/MsJmeterParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/api/dto/automation/parse/MsJmeterParser.java b/backend/src/main/java/io/metersphere/api/dto/automation/parse/MsJmeterParser.java index 54f192f99d..4c4fee7a36 100644 --- a/backend/src/main/java/io/metersphere/api/dto/automation/parse/MsJmeterParser.java +++ b/backend/src/main/java/io/metersphere/api/dto/automation/parse/MsJmeterParser.java @@ -124,7 +124,7 @@ public class MsJmeterParser extends ApiImportAbstractParser { } } ApiScenarioModule module = ApiScenarioImportUtil.buildModule(selectModule, msScenario.getName(), this.projectId); - scenarioWithBLOBs.setName(msScenario.getName()); + scenarioWithBLOBs.setName(request.getFileName()); scenarioWithBLOBs.setProjectId(request.getProjectId()); if (msScenario != null && CollectionUtils.isNotEmpty(msScenario.getHashTree())) { scenarioWithBLOBs.setStepTotal(msScenario.getHashTree().size());