diff --git a/api-test/backend/src/main/java/io/metersphere/service/RemakeReportService.java b/api-test/backend/src/main/java/io/metersphere/service/RemakeReportService.java index 4bf9c4e890..371ae59737 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/RemakeReportService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/RemakeReportService.java @@ -23,7 +23,6 @@ public class RemakeReportService { BeanUtils.copyBean(dto, request); dto.setQueueId(request.getQueueId()); dto.setTestId(request.getTestId()); - dto.setRemake(true); LoggerUtil.info("进入异常结果处理:" + dto.getRunMode() + " 整体处理完成", dto.getReportId()); // 全局并发队列 PoolExecBlockingQueueUtil.offer(dto.getReportId()); diff --git a/api-test/backend/src/main/java/io/metersphere/service/TestResultService.java b/api-test/backend/src/main/java/io/metersphere/service/TestResultService.java index b9a5404915..f2825bd34b 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/TestResultService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/TestResultService.java @@ -263,7 +263,7 @@ public class TestResultService { sendTask(reportTask, dto.getTestId()); } } - } else if (apiRunModes.contains(dto.getRunMode()) && dto.isRemake()) { + } else if (apiRunModes.contains(dto.getRunMode())) { // 只处理RUNNING中的执行报告 updateRunningResult(dto); } diff --git a/framework/sdk-parent/frontend/src/components/environment/ApiEnvironmentConfig.vue b/framework/sdk-parent/frontend/src/components/environment/ApiEnvironmentConfig.vue index 8f42f8db6c..09dac10c1a 100644 --- a/framework/sdk-parent/frontend/src/components/environment/ApiEnvironmentConfig.vue +++ b/framework/sdk-parent/frontend/src/components/environment/ApiEnvironmentConfig.vue @@ -245,7 +245,6 @@ export default { }, save() { this.$refs.environmentEdit.save(); - this.$emit('saveRefresh'); }, close() { this.$emit('close'); @@ -266,6 +265,7 @@ export default { }, refresh() { this.getEnvironments(); + this.$emit('saveRefresh'); }, } } diff --git a/framework/sdk-parent/jmeter/src/main/java/io/metersphere/dto/ResultDTO.java b/framework/sdk-parent/jmeter/src/main/java/io/metersphere/dto/ResultDTO.java index 46b27064a4..5a3cac5076 100644 --- a/framework/sdk-parent/jmeter/src/main/java/io/metersphere/dto/ResultDTO.java +++ b/framework/sdk-parent/jmeter/src/main/java/io/metersphere/dto/ResultDTO.java @@ -17,7 +17,6 @@ public class ResultDTO { private String runType; private String console; private String runningDebugSampler; - private boolean isRemake; // 失败重试 private boolean retryEnable; /**