31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
|
|
*** 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
|