refactor(接口测试): 修复场景导入JMX时后置脚本步骤顺序错乱的问题
--bug=1014065 --user=宋天阳 【接口自动化】github#14803jmeter脚本导入MeterSphere的接口自动化场景中,后置操作的顺序与jmeter中不一致会导致运行失败 https://www.tapd.cn/55049933/s/1182430
This commit is contained in:
parent
772cc6709d
commit
77c4ba4cf1
|
@ -1763,9 +1763,6 @@ export default {
|
||||||
for (let i in stepArray) {
|
for (let i in stepArray) {
|
||||||
if (stepArray[i].type === "Assertions") {
|
if (stepArray[i].type === "Assertions") {
|
||||||
hisDataProcessing(stepArray, obj)
|
hisDataProcessing(stepArray, obj)
|
||||||
let assertions = stepArray[i];
|
|
||||||
stepArray.splice(i, 1);
|
|
||||||
stepArray.unshift(assertions);
|
|
||||||
this.sort();
|
this.sort();
|
||||||
}
|
}
|
||||||
let typeArray = ["JDBCPostProcessor", "JDBCSampler", "JDBCPreProcessor"]
|
let typeArray = ["JDBCPostProcessor", "JDBCSampler", "JDBCPreProcessor"]
|
||||||
|
|
Loading…
Reference in New Issue