This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dongxiaoyan-tsg-autotest/01-TestCase/tsg_bfapi/api_log/LogStatistics_Timeandcount.robot
2020-05-28 14:38:24 +08:00

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