fix(接口测试): 修复场景报告场景成功数统计错误问题
--bug=1010408 --user=赵勇 【接口测试】场景执行报告没显示成功或失败 的场景数量 https://www.tapd.cn/55049933/s/1105982
This commit is contained in:
parent
9fb0b3f91d
commit
25cadc9115
|
@ -395,6 +395,7 @@ public class ApiScenarioReportStructureService {
|
|||
reportDTO.setScenarioTotal(totalScenario.longValue());
|
||||
reportDTO.setScenarioError(scenarioError.longValue());
|
||||
reportDTO.setScenarioErrorReport(errorReport.longValue());
|
||||
reportDTO.setScenarioSuccess((totalScenario.longValue() - scenarioError.longValue()));
|
||||
//统计步骤数据
|
||||
AtomicLong stepErrorCode = new AtomicLong();
|
||||
calculateStep(stepList, stepError, stepTotal, stepErrorCode, false);
|
||||
|
|
Loading…
Reference in New Issue