fix(接口自动化): 修复并行场景错误问题 #1005298
--bug=1005298 --user=赵勇 【接口测试】场景-批量... https://www.tapd.cn/55049933/s/1027083
This commit is contained in:
parent
9cf38f6d24
commit
3176446947
|
@ -1139,7 +1139,7 @@ public class ApiAutomationService {
|
|||
//存储报告
|
||||
APIScenarioReportResult report = executeQueue.get(reportId).getReport();
|
||||
batchMapper.insert(report);
|
||||
executorService.submit(new ParallelScenarioExecTask(jMeterService, executeQueue.get(report), request));
|
||||
executorService.submit(new ParallelScenarioExecTask(jMeterService, executeQueue.get(reportId), request));
|
||||
}
|
||||
sqlSession.flushStatements();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue