parent
cffba0c690
commit
ac233c4ca6
|
@ -143,8 +143,8 @@ public class ErrorReportLibraryUtil {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
LogUtil.info(" FAKE_ERROR result: config-higherThanError:" + higherThanError + ", config-higherThanSuccess:" + higherThanSuccess + ", resultIsSuccess: " + resultIsSuccess);
|
||||||
if (MapUtils.isNotEmpty(errorReportAssertionMap)) {
|
if (CollectionUtils.isNotEmpty(result.errorCodeList)) {
|
||||||
if ((higherThanError && !resultIsSuccess) || (higherThanSuccess && resultIsSuccess)) {
|
if ((higherThanError && !resultIsSuccess) || (higherThanSuccess && resultIsSuccess)) {
|
||||||
result.requestStatus = ApiReportStatus.FAKE_ERROR.name();
|
result.requestStatus = ApiReportStatus.FAKE_ERROR.name();
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,10 +95,10 @@ export default {
|
||||||
borderWidth = 3;
|
borderWidth = 3;
|
||||||
dataIsNotEmpty = true;
|
dataIsNotEmpty = true;
|
||||||
protocolData = [
|
protocolData = [
|
||||||
{ value: this.formatAmount(this.apiData.httpCount), name: 'HTTP' },
|
{ value: this.apiData.httpCount, name: 'HTTP' },
|
||||||
{ value: this.formatAmount(this.apiData.rpcCount), name: 'RPC' },
|
{ value: this.apiData.rpcCount, name: 'RPC' },
|
||||||
{ value: this.formatAmount(this.apiData.tcpCount), name: 'TCP' },
|
{ value: this.apiData.tcpCount, name: 'TCP' },
|
||||||
{ value: this.formatAmount(this.apiData.sqlCount), name: 'SQL' },
|
{ value: this.apiData.sqlCount, name: 'SQL' },
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
let optionData = {
|
let optionData = {
|
||||||
|
|
Loading…
Reference in New Issue