fix: 场景单独调试禁用请求无响应
This commit is contained in:
parent
03ef08e52b
commit
e5a849f026
|
@ -335,10 +335,13 @@
|
||||||
this.runData.projectId = this.request.projectId;
|
this.runData.projectId = this.request.projectId;
|
||||||
this.request.useEnvironment = this.currentEnvironmentId;
|
this.request.useEnvironment = this.currentEnvironmentId;
|
||||||
this.request.customizeReq = this.isCustomizeReq;
|
this.request.customizeReq = this.isCustomizeReq;
|
||||||
|
let requestParam = JSON.parse(JSON.stringify(this.request));
|
||||||
|
// 禁用调试报错
|
||||||
|
requestParam.enable = true;
|
||||||
let debugData = {
|
let debugData = {
|
||||||
id: this.currentScenario.id, name: this.currentScenario.name, type: "scenario",
|
id: this.currentScenario.id, name: this.currentScenario.name, type: "scenario",
|
||||||
variables: this.currentScenario.variables, referenced: 'Created', headers: this.currentScenario.headers,
|
variables: this.currentScenario.variables, referenced: 'Created', headers: this.currentScenario.headers,
|
||||||
enableCookieShare: this.enableCookieShare, environmentId: this.currentEnvironmentId, hashTree: [this.request],
|
enableCookieShare: this.enableCookieShare, environmentId: this.currentEnvironmentId, hashTree: [requestParam],
|
||||||
};
|
};
|
||||||
this.runData.push(debugData);
|
this.runData.push(debugData);
|
||||||
/*触发执行操作*/
|
/*触发执行操作*/
|
||||||
|
|
Loading…
Reference in New Issue