From fa0ad0f9f2a2a9615fa720dee191f1d2714abf4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=AC=E5=B7=8D=E5=B7=9D?= Date: Thu, 28 May 2020 14:38:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=B6=E9=97=B4=E4=B8=8E=E8=AE=A1=E6=95=B0?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api_log/LogStatistics_Timeandcount.robot | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 01-TestCase/tsg_bfapi/api_log/LogStatistics_Timeandcount.robot diff --git a/01-TestCase/tsg_bfapi/api_log/LogStatistics_Timeandcount.robot b/01-TestCase/tsg_bfapi/api_log/LogStatistics_Timeandcount.robot new file mode 100644 index 0000000..4daddad --- /dev/null +++ b/01-TestCase/tsg_bfapi/api_log/LogStatistics_Timeandcount.robot @@ -0,0 +1,30 @@ +*** 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