28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
*** Settings ***
|
|
Resource ../../../02-Keyword/tsg_bfapi/LogStatistics.robot
|
|
Resource ../../../03-Variable/BifangApiVariable.txt
|
|
|
|
*** Variables ***
|
|
${url} /${version}/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
|