fix(接口测试): 修复插件单步不执行问题

--bug=1009245 --user=赵勇 【github#8813】插件加载websocket插件之后创建的场景jmx与jmeter的生成的参数一样,但是没法在MS上单独运行而且运行一直处于测试中,只能整体调试 https://www.tapd.cn/55049933/s/1089421
This commit is contained in:
fit2-zhao 2022-01-04 13:29:35 +08:00 committed by fit2-zhao
parent 5cafda49be
commit fc42ad0527
3 changed files with 77 additions and 72 deletions

View File

@ -583,6 +583,7 @@ export default {
}
}
}
this.request.debug = true;
this.request.active = true;
this.loading = true;
this.runData = [];

View File

@ -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);
},

View File

@ -1,4 +1,5 @@
<template>
<div>
<api-base-component
@copy="copyRow"
@remove="remove"
@ -83,11 +84,10 @@
</div>
</div>
</template>
</api-base-component>
<ms-run :debug="true" :reportId="reportId" :run-data="runData" :env-map="envMap"
@runRefresh="runRefresh" @errorRefresh="errorRefresh" ref="runTest"/>
</api-base-component>
</div>
</template>
<script>
@ -217,6 +217,7 @@ export default {
}
}
}
this.request.debug = true;
this.request.active = true;
this.loading = true;
this.runData = [];