fix(接口测试): 【接口测试】case集合报告,用例统计没显示误报
--bug=1013758 --user=宋天阳 【接口测试】case集合报告,用例统计没显示误报 https://www.tapd.cn/55049933/s/1171950
This commit is contained in:
parent
72bb76e5e4
commit
7cdcc8cf9b
|
@ -218,7 +218,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);
|
||||
|
|
Loading…
Reference in New Issue