命中趋势测试用例

This commit is contained in:
姬巍川
2020-05-28 14:38:56 +08:00
parent fa0ad0f9f2
commit d400d20a95

View File

@@ -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