From 771a0d2615f8479fad12cef80e0f01a340307d74 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Tue, 23 Nov 2021 10:20:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95=E4=B8=AD?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E5=90=8D=E7=A7=B0=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1008230 --user=刘瑞斌 【性能测试】创建性能测试,提示 “测试计划名称已存在” https://www.tapd.cn/55049933/s/1072645 --- .../metersphere/performance/service/PerformanceTestService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/performance/service/PerformanceTestService.java b/backend/src/main/java/io/metersphere/performance/service/PerformanceTestService.java index 27d3a1c99f..a03c9d62e4 100644 --- a/backend/src/main/java/io/metersphere/performance/service/PerformanceTestService.java +++ b/backend/src/main/java/io/metersphere/performance/service/PerformanceTestService.java @@ -237,7 +237,7 @@ public class PerformanceTestService { criteria.andIdNotEqualTo(request.getId()); } if (loadTestMapper.selectByExample(example).size() > 0) { - MSException.throwException(Translator.get("plan_name_already_exists")); + MSException.throwException(Translator.get("api_test_name_already_exists")); } } }