diff --git a/api-test/backend/src/main/java/io/metersphere/api/exec/scenario/ApiScenarioEnvService.java b/api-test/backend/src/main/java/io/metersphere/api/exec/scenario/ApiScenarioEnvService.java index c52f59b895..8b99d93d36 100644 --- a/api-test/backend/src/main/java/io/metersphere/api/exec/scenario/ApiScenarioEnvService.java +++ b/api-test/backend/src/main/java/io/metersphere/api/exec/scenario/ApiScenarioEnvService.java @@ -59,7 +59,6 @@ public class ApiScenarioEnvService { private BaseEnvironmentService apiTestEnvironmentService; public ScenarioEnv getApiScenarioEnv(String definition) { - LogUtil.info("开始数据转换 " + System.currentTimeMillis()); ScenarioEnv env = new ScenarioEnv(); if (StringUtils.isEmpty(definition)) { return env; @@ -75,7 +74,6 @@ public class ApiScenarioEnvService { getHashTree(testElement.getHashTree(), env); } } - LogUtil.info("数据转换结束 " + System.currentTimeMillis()); return env; } @@ -112,14 +110,12 @@ public class ApiScenarioEnvService { || StringUtils.equals(testElement.getType(), ElementConstants.TCP_SAMPLER)) { if (StringUtils.isEmpty(testElement.getProjectId())) { if (StringUtils.equals(testElement.getRefType(), CommonConstants.CASE)) { - LogUtil.info("引用用例查询数据库:"); ApiTestCase testCase = apiTestCaseMapper.selectByPrimaryKey(testElement.getId()); if (testCase != null) { env.getProjectIds().add(testCase.getProjectId()); env.setFullUrl(false); } } else { - LogUtil.info("接口查询数据库"); ApiDefinition apiDefinition = apiDefinitionService.get(testElement.getId()); if (apiDefinition != null) { env.getProjectIds().add(apiDefinition.getProjectId()); @@ -131,7 +127,6 @@ public class ApiScenarioEnvService { env.setFullUrl(false); } } else if (StringUtils.equals(testElement.getType(), ElementConstants.SCENARIO) && StringUtils.isEmpty(testElement.getProjectId())) { - LogUtil.info("场景查询数据库"); ApiScenarioWithBLOBs apiScenario = apiScenarioMapper.selectByPrimaryKey(testElement.getId()); if (apiScenario != null) { env.getProjectIds().add(apiScenario.getProjectId()); diff --git a/api-test/backend/src/main/java/io/metersphere/controller/scenario/ApiScenarioController.java b/api-test/backend/src/main/java/io/metersphere/controller/scenario/ApiScenarioController.java index 577b11d058..c82e8872d9 100644 --- a/api-test/backend/src/main/java/io/metersphere/controller/scenario/ApiScenarioController.java +++ b/api-test/backend/src/main/java/io/metersphere/controller/scenario/ApiScenarioController.java @@ -12,7 +12,6 @@ import io.metersphere.base.domain.ApiScenarioWithBLOBs; import io.metersphere.base.domain.Schedule; import io.metersphere.commons.constants.*; import io.metersphere.commons.exception.MSException; -import io.metersphere.commons.utils.LogUtil; import io.metersphere.commons.utils.PageUtils; import io.metersphere.commons.utils.Pager; import io.metersphere.commons.utils.WebSocketUtil; @@ -186,7 +185,6 @@ public class ApiScenarioController { @PostMapping("/scenario-env") public ScenarioEnv getScenarioDefinition(@RequestBody ApiScenarioEnvRequest request) { - LogUtil.info("获取前台传输 " + System.currentTimeMillis()); return apiAutomationService.getApiScenarioEnv(request.getDefinition()); }