From fc42ad0527099c7c89ec5e358c53a9c98a4d6180 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Tue, 4 Jan 2022 13:29:35 +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=8F=92=E4=BB=B6=E5=8D=95=E6=AD=A5=E4=B8=8D?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1009245 --user=赵勇 【github#8813】插件加载websocket插件之后创建的场景jmx与jmeter的生成的参数一样,但是没法在MS上单独运行而且运行一直处于测试中,只能整体调试 https://www.tapd.cn/55049933/s/1089421 --- .../scenario/component/ApiComponent.vue | 1 + .../scenario/component/LoopController.vue | 3 + .../scenario/component/PluginComponent.vue | 145 +++++++++--------- 3 files changed, 77 insertions(+), 72 deletions(-) diff --git a/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue b/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue index cb26976a4a..3c9ddbdec1 100644 --- a/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue @@ -583,6 +583,7 @@ export default { } } } + this.request.debug = true; this.request.active = true; this.loading = true; this.runData = []; diff --git a/frontend/src/business/components/api/automation/scenario/component/LoopController.vue b/frontend/src/business/components/api/automation/scenario/component/LoopController.vue index 0bb63879d7..5891bb8fae 100644 --- a/frontend/src/business/components/api/automation/scenario/component/LoopController.vue +++ b/frontend/src/business/components/api/automation/scenario/component/LoopController.vue @@ -258,6 +258,9 @@ export default { environmentId: this.currentEnvironmentId, hashTree: [this.controller], }; + if (this.node && this.node.data) { + this.node.data.debug = true; + } this.reportId = getUUID().substring(0, 8); }, diff --git a/frontend/src/business/components/api/automation/scenario/component/PluginComponent.vue b/frontend/src/business/components/api/automation/scenario/component/PluginComponent.vue index fc27d87984..14fba68827 100644 --- a/frontend/src/business/components/api/automation/scenario/component/PluginComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/component/PluginComponent.vue @@ -1,93 +1,93 @@