fix(接口测试): 误报解析增加日志

误报解析增加日志
This commit is contained in:
song-tianyang 2022-11-23 10:14:20 +08:00 committed by 建国
parent cffba0c690
commit ac233c4ca6
2 changed files with 6 additions and 6 deletions

View File

@ -143,8 +143,8 @@ public class ErrorReportLibraryUtil {
}
});
}
if (MapUtils.isNotEmpty(errorReportAssertionMap)) {
LogUtil.info(" FAKE_ERROR result: config-higherThanError:" + higherThanError + ", config-higherThanSuccess:" + higherThanSuccess + ", resultIsSuccess: " + resultIsSuccess);
if (CollectionUtils.isNotEmpty(result.errorCodeList)) {
if ((higherThanError && !resultIsSuccess) || (higherThanSuccess && resultIsSuccess)) {
result.requestStatus = ApiReportStatus.FAKE_ERROR.name();
}

View File

@ -95,10 +95,10 @@ export default {
borderWidth = 3;
dataIsNotEmpty = true;
protocolData = [
{ value: this.formatAmount(this.apiData.httpCount), name: 'HTTP' },
{ value: this.formatAmount(this.apiData.rpcCount), name: 'RPC' },
{ value: this.formatAmount(this.apiData.tcpCount), name: 'TCP' },
{ value: this.formatAmount(this.apiData.sqlCount), name: 'SQL' },
{ value: this.apiData.httpCount, name: 'HTTP' },
{ value: this.apiData.rpcCount, name: 'RPC' },
{ value: this.apiData.tcpCount, name: 'TCP' },
{ value: this.apiData.sqlCount, name: 'SQL' },
];
}
let optionData = {