fix(接口测试): 【接口测试】case集合报告,用例统计没显示误报

--bug=1013758 --user=宋天阳 【接口测试】case集合报告,用例统计没显示误报
https://www.tapd.cn/55049933/s/1171950
This commit is contained in:
song-tianyang 2022-06-01 18:52:25 +08:00 committed by f2c-ci-robot[bot]
parent bd6f664a55
commit 7484eb1edf
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ public class ApiScenarioReportStructureService {
totalScenario.set(totalScenario.longValue() + 1);
if (StringUtils.equalsIgnoreCase(step.getTotalStatus(), "fail")) {
scenarioError.set(scenarioError.longValue() + 1);
} else if (StringUtils.equalsIgnoreCase(step.getTotalStatus(), "errorCode")) {
} else if (StringUtils.equalsAnyIgnoreCase(step.getTotalStatus(), "errorCode", ExecuteResult.errorReportResult.name())) {
errorReport.set(errorReport.longValue() + 1);
} else if (!StringUtils.equalsIgnoreCase(step.getTotalStatus(), "success")) {
unExecute.set(unExecute.longValue() + 1);