修改删除关键字

This commit is contained in:
姬巍川
2020-06-16 14:39:15 +08:00
parent d8827dfb8f
commit 75c5a4c6e5

View File

@@ -1,5 +1,4 @@
*** Settings ***
Test Teardown DeletePolicyAndObject ${policyIds} ${objectids}
Force Tags tsg_adc proxy_policy
Library OperatingSystem
Resource ../../../../02-Keyword/tsg_adc/SystemCommand.robot
@@ -46,6 +45,7 @@ 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,6 +78,7 @@ 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右匹配
@@ -110,6 +111,7 @@ 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右匹配
@@ -144,6 +146,7 @@ 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字串匹配
@@ -178,6 +181,7 @@ 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完整匹配
@@ -210,6 +214,7 @@ 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左匹配
@@ -245,6 +250,7 @@ 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+请求头右匹配
@@ -279,6 +285,7 @@ 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+请求头字串匹配
@@ -313,6 +320,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+请求头完整匹配
@@ -345,6 +353,7 @@ 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+请求头左匹配
@@ -380,6 +389,7 @@ 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字串匹配
@@ -412,6 +422,7 @@ 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+应答头右匹配
@@ -444,6 +455,7 @@ 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+应答头字串匹配
@@ -478,6 +490,7 @@ 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+应答头完整匹配
@@ -510,6 +523,7 @@ 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+应答头左匹配
@@ -542,6 +556,7 @@ 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右匹配
@@ -574,6 +589,7 @@ 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字串匹配
@@ -608,6 +624,7 @@ 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完整匹配
@@ -640,6 +657,7 @@ 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左匹配
@@ -672,6 +690,7 @@ 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+请求体字串匹配
@@ -704,6 +723,7 @@ 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+应答体字串匹配
@@ -736,6 +756,7 @@ 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 最大组合
@@ -784,6 +805,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
@@ -835,6 +857,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 创建请求体
@@ -866,6 +889,7 @@ 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+请求体或更新
@@ -898,6 +922,7 @@ 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关系
@@ -930,6 +955,7 @@ 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+应答体或关系
@@ -962,3 +988,4 @@ 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}