diff --git a/backend/src/main/java/io/metersphere/api/dto/definition/request/controller/MsLoopController.java b/backend/src/main/java/io/metersphere/api/dto/definition/request/controller/MsLoopController.java index 9eafc5851b..195611ac0f 100644 --- a/backend/src/main/java/io/metersphere/api/dto/definition/request/controller/MsLoopController.java +++ b/backend/src/main/java/io/metersphere/api/dto/definition/request/controller/MsLoopController.java @@ -66,6 +66,8 @@ public class MsLoopController extends MsTestElement { // 不打开执行成功后轮询功能,则成功后就停止循环 if (StringUtils.equals(this.loopType, LoopConstants.LOOP_COUNT.name()) && this.countController != null && !countController.isProceed()) { ResultAction resultAction = new ResultAction(); + resultAction.setProperty(TestElement.TEST_CLASS, ResultAction.class.getName()); + resultAction.setProperty(TestElement.GUI_CLASS, SaveService.aliasToClass("ResultActionGui")); resultAction.setName("ResultAction"); resultAction.setProperty("OnError.action", "1000"); groupTree.add(resultAction); diff --git a/backend/src/main/java/io/metersphere/api/service/HistoricalDataUpgradeService.java b/backend/src/main/java/io/metersphere/api/service/HistoricalDataUpgradeService.java index c3152fef74..1312783762 100644 --- a/backend/src/main/java/io/metersphere/api/service/HistoricalDataUpgradeService.java +++ b/backend/src/main/java/io/metersphere/api/service/HistoricalDataUpgradeService.java @@ -258,6 +258,7 @@ public class HistoricalDataUpgradeService { if (StringUtils.isEmpty(preProcessor.getName())) { preProcessor.setName("JSR223PreProcessor"); } + preProcessor.setScriptLanguage(request.getJsr223PreProcessor().getLanguage()); preProcessor.setType("JSR223PreProcessor"); preProcessor.setIndex(index + ""); preProcessor.setHashTree(new LinkedList<>()); @@ -271,6 +272,7 @@ public class HistoricalDataUpgradeService { if (StringUtils.isEmpty(preProcessor.getName())) { preProcessor.setName("JSR223PostProcessor"); } + preProcessor.setScriptLanguage(request.getJsr223PostProcessor().getLanguage()); preProcessor.setType("JSR223PostProcessor"); preProcessor.setIndex(index + ""); preProcessor.setHashTree(new LinkedList<>()); diff --git a/frontend/src/business/components/api/test/components/environment/EnvironmentHttpConfig.vue b/frontend/src/business/components/api/test/components/environment/EnvironmentHttpConfig.vue index 625fdc00c2..c8a563ebe0 100644 --- a/frontend/src/business/components/api/test/components/environment/EnvironmentHttpConfig.vue +++ b/frontend/src/business/components/api/test/components/environment/EnvironmentHttpConfig.vue @@ -1,44 +1,50 @@