fix(接口测试): 修复接口测试用例和场景转性能测试时会偶发重复jmx的问题
--bug=1021243 --user=宋天阳 【接口测试】接口用例转性能后,再用场景转性能测试,还是显示的接口用例的内容 https://www.tapd.cn/55049933/s/1319525
This commit is contained in:
parent
1fa71457ef
commit
f7097fe42e
|
@ -78,6 +78,7 @@ export default {
|
|||
jmxObj.attachFiles = jmxInfo.attachFiles;
|
||||
jmxObj.attachByteFiles = jmxInfo.attachByteFiles;
|
||||
jmxObj.scenarioId = row.id;
|
||||
jmxObj.caseId = null;
|
||||
jmxObj.version = row.version;
|
||||
jmxObj.projectEnvMap = projectEnvMap;
|
||||
performanceStore.$patch({ test: { name: row.name, jmx: jmxObj } });
|
||||
|
|
|
@ -1433,6 +1433,7 @@ export default {
|
|||
jmxObj.attachFiles = jmxInfo.attachFiles;
|
||||
jmxObj.attachByteFiles = jmxInfo.attachByteFiles;
|
||||
jmxObj.caseId = reqObj.id;
|
||||
jmxObj.scenarioId = null;
|
||||
jmxObj.version = row.version;
|
||||
jmxObj.envId = environment.id;
|
||||
jmxObj.projectEnvMap = projectEnvMap;
|
||||
|
@ -1442,7 +1443,7 @@ export default {
|
|||
});
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
.catch(() => {
|
||||
this.$emit('runRefresh', {});
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue