diff --git a/01-TestCase/tsg_bfapi/api_log/LogStatistics_Timeandcount.robot b/01-TestCase/tsg_bfapi/api_log/LogStatistics_Timeandcount.robot new file mode 100644 index 0000000..4daddad --- /dev/null +++ b/01-TestCase/tsg_bfapi/api_log/LogStatistics_Timeandcount.robot @@ -0,0 +1,30 @@ +*** Settings *** +Resource ../../02-Keyword/tsg_bfapi/LogStatistics.robot + +*** Variables *** +${url} /report/policyevent/hit/timeandcount + +*** Test Cases *** +LogStatistics-Timeandcount-00001 + [Tags] security_event_hits_log类型正常输出 单policyId + Timeandcount ${url} security_event_hits_log 20515 + +LogStatistics_Timeandcount-00002 + [Tags] security_event_hits_log类型正常输出 多ip + Timeandcount ${url} security_event_hits_log 14385,32601 + +LogStatistics_Timeandcount-00003 + [Tags] proxy_event_hits_log类型正常输出 单ip + Timeandcount ${url} proxy_event_hits_log 34736 + +LogStatistics-Timeandcount-00004 + [Tags] proxy_event_hits_log类型正常输出 多ip + Timeandcount ${url} proxy_event_hits_log 34752,34748 + +LogStatistics-Timeandcount-00005 + [Tags] policyid与日志类型不符合 单ip + Timeandcount ${url} proxy_event_hits_log 20515 + +LogStatistics-Timeandcount-00006 + [Tags] policyid与日志类型不符合 多ip + Timeandcount ${url} proxy_event_hits_log 14385,32601