From 7e047049bcef3e57c0fabc497b1f8609f60941d5 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Wed, 26 Jan 2022 15:50:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=B0=E5=88=9B=E5=BB=BA=E7=9A=84TCP?= =?UTF-8?q?=E6=A1=88=E4=BE=8B=E8=AF=B7=E6=B1=82=E6=95=B0=E6=8D=AE=E7=BB=93?= =?UTF-8?q?=E6=9E=84=E4=B8=AD=E6=B2=A1=E6=9C=89=E8=A7=A3=E6=9E=90=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1009775 --user=宋天阳 【接口测试】场景里导入tcp接口执行失败,接口列表执行成功 https://www.tapd.cn/55049933/s/1099218 --- .../java/io/metersphere/api/service/ApiTestCaseService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/api/service/ApiTestCaseService.java b/backend/src/main/java/io/metersphere/api/service/ApiTestCaseService.java index c3e9c2d35d..19813385ea 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiTestCaseService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiTestCaseService.java @@ -405,7 +405,7 @@ public class ApiTestCaseService { private ApiTestCase createTest(SaveApiTestCaseRequest request, List bodyFiles) { checkNameExist(request); FileUtils.createBodyFiles(request.getId(), bodyFiles); - + request.setRequest(tcpApiParamService.parseMsTestElement(request.getRequest())); if (StringUtils.isNotEmpty(request.getEsbDataStruct()) || StringUtils.isNotEmpty(request.getBackEsbDataStruct())) { request = esbApiParamService.handleEsbRequest(request); }