优化删除文件
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
*** Settings ***
|
||||
Test Teardown DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${profiledId}
|
||||
Force Tags tsg_adc proxy_policy
|
||||
Library OperatingSystem
|
||||
Resource ../../../../02-Keyword/tsg_adc/SystemCommand.robot
|
||||
@@ -45,7 +46,6 @@ ProxyPolicy-Deny-Http-00001
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00002
|
||||
[Tags] selfserver ip+fqdn完整匹配
|
||||
@@ -78,7 +78,6 @@ ProxyPolicy-Deny-Http-00002
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00003
|
||||
[Tags] selfserver ip+cat右匹配
|
||||
@@ -111,7 +110,6 @@ ProxyPolicy-Deny-Http-00003
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00004
|
||||
[Tags] selfserver ip+url右匹配
|
||||
@@ -146,7 +144,6 @@ ProxyPolicy-Deny-Http-00004
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${profiledId}
|
||||
|
||||
ProxyPolicy-Deny-Http-00005
|
||||
[Tags] selfserver ip+url字串匹配
|
||||
@@ -181,7 +178,6 @@ ProxyPolicy-Deny-Http-00005
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${profiledId}
|
||||
|
||||
ProxyPolicy-Deny-Http-00006
|
||||
[Tags] selfserver ip+url完整匹配
|
||||
@@ -214,7 +210,6 @@ ProxyPolicy-Deny-Http-00006
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00007
|
||||
[Tags] selfserver ip+url左匹配
|
||||
@@ -250,7 +245,6 @@ ProxyPolicy-Deny-Http-00007
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${profiledId}
|
||||
|
||||
ProxyPolicy-Deny-Http-00008
|
||||
[Tags] selfserver ip+请求头右匹配
|
||||
@@ -285,7 +279,6 @@ ProxyPolicy-Deny-Http-00008
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${profiledId}
|
||||
|
||||
ProxyPolicy-Deny-Http-00009
|
||||
[Tags] selfserver ip+请求头字串匹配
|
||||
@@ -320,7 +313,7 @@ ProxyPolicy-Deny-Http-00009
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${profiledId}
|
||||
|
||||
|
||||
ProxyPolicy-Deny-Http-00010
|
||||
[Tags] selfserver ip+请求头完整匹配
|
||||
@@ -353,7 +346,6 @@ ProxyPolicy-Deny-Http-00010
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00011
|
||||
[Tags] selfserver ip+请求头左匹配
|
||||
@@ -389,7 +381,6 @@ ProxyPolicy-Deny-Http-00011
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${profiledId}
|
||||
|
||||
ProxyPolicy-Deny-Http-00012
|
||||
[Tags] selfserver ip+cookie字串匹配
|
||||
@@ -422,7 +413,6 @@ ProxyPolicy-Deny-Http-00012
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00013
|
||||
[Tags] selfserver ip+应答头右匹配
|
||||
@@ -455,7 +445,6 @@ ProxyPolicy-Deny-Http-00013
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00014
|
||||
[Tags] selfserver ip+应答头字串匹配
|
||||
@@ -490,7 +479,6 @@ ProxyPolicy-Deny-Http-00014
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${profiledId}
|
||||
|
||||
ProxyPolicy-Deny-Http-00015
|
||||
[Tags] selfserver ip+应答头完整匹配
|
||||
@@ -523,7 +511,6 @@ ProxyPolicy-Deny-Http-00015
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00016
|
||||
[Tags] selfserver ip+应答头左匹配
|
||||
@@ -556,7 +543,6 @@ ProxyPolicy-Deny-Http-00016
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00017
|
||||
[Tags] selfserver ip+set-cookie右匹配
|
||||
@@ -589,7 +575,6 @@ ProxyPolicy-Deny-Http-00017
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00018
|
||||
[Tags] selfserver ip+set-cookie字串匹配
|
||||
@@ -624,7 +609,6 @@ ProxyPolicy-Deny-Http-00018
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${profiledId}
|
||||
|
||||
ProxyPolicy-Deny-Http-00019
|
||||
[Tags] selfserver ip+set-cookie完整匹配
|
||||
@@ -657,7 +641,6 @@ ProxyPolicy-Deny-Http-00019
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00020
|
||||
[Tags] selfserver ip+set-cookie左匹配
|
||||
@@ -690,7 +673,6 @@ ProxyPolicy-Deny-Http-00020
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00021
|
||||
[Tags] selfserver ip+请求体字串匹配
|
||||
@@ -723,7 +705,6 @@ ProxyPolicy-Deny-Http-00021
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00022
|
||||
[Tags] selfserver ip+应答体字串匹配
|
||||
@@ -756,7 +737,6 @@ ProxyPolicy-Deny-Http-00022
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00023
|
||||
[Tags] selfserver 最大组合
|
||||
@@ -805,7 +785,7 @@ ProxyPolicy-Deny-Http-00023
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00024
|
||||
[Tags] selfserver 修改
|
||||
Comment 创建url
|
||||
@@ -857,7 +837,7 @@ ProxyPolicy-Deny-Http-00024
|
||||
Sleep ${policyLogVerificationSleepSeconds}s
|
||||
${endtime} Get Time
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${profiledId}
|
||||
|
||||
ProxyPolicy-Deny-Http-00025
|
||||
[Tags] selfserver ip+请求体and关系
|
||||
Comment 创建请求体
|
||||
@@ -889,7 +869,6 @@ ProxyPolicy-Deny-Http-00025
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00026
|
||||
[Tags] selfserver ip+请求体或更新
|
||||
@@ -922,7 +901,6 @@ ProxyPolicy-Deny-Http-00026
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00027
|
||||
[Tags] selfserver ip+应答体and关系
|
||||
@@ -955,7 +933,6 @@ ProxyPolicy-Deny-Http-00027
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
ProxyPolicy-Deny-Http-00028
|
||||
[Tags] selfserver ip+应答体或关系
|
||||
@@ -988,4 +965,3 @@ ProxyPolicy-Deny-Http-00028
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId3}
|
||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||
[Teardown] DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${EMPTY}
|
||||
|
||||
Reference in New Issue
Block a user