diff --git a/01-TestCase/tsg_bfapi/api_log/LogStatistics_Trend.robot b/01-TestCase/tsg_bfapi/api_log/LogStatistics_Trend.robot new file mode 100644 index 0000000..5f472ed --- /dev/null +++ b/01-TestCase/tsg_bfapi/api_log/LogStatistics_Trend.robot @@ -0,0 +1,26 @@ +*** Settings *** +Resource ../../02-Keyword/tsg_bfapi/LogStatistics.robot + +*** Variables *** +${url} /report/policyevent/hit/trend + +*** Test Cases *** +LogStatistics-Trend-00001 + [Tags] security_event_hits_log类型正常输出 + Trend ${url} 2020-05-27 00:00:00 2020-05-27 15:00:00 security_event_hits_log 32601 + +LogStatistics-Trend-00002 + [Tags] proxy_event_hits_log类型正常输出 + Trend ${url} 2020-05-27 00:00:00 2020-05-27 17:00:00 proxy_event_hits_log 34358 + +LogStatistics-Trend-00003 + [Tags] 日志类型和policyId不一致 + Trend ${url} 2020-05-27 00:00:00 2020-05-27 15:00:00 proxy_event_hits_log 32601 + +LogStatistics-Trend-00004 + [Tags] policyId不在此时间段产生流量 + Trend ${url} 2020-05-27 00:00:00 2020-05-27 15:00:00 proxy_event_hits_log 34358 + +LogStatistics-Trend-00005 + [Tags] policyId不在此时间段产生流量 + Trend ${url} 2020-05-27 00:00:00 2020-05-27 15:00:00 security_event_hits_log 14385