21.05版全流程case修改

This commit is contained in:
hebingning
2021-05-17 09:44:02 +08:00
parent f19afa9f91
commit a7c9880278
96 changed files with 3527 additions and 2193 deletions

View File

@@ -1,5 +1,5 @@
*** Settings ***
Test Teardown DeletePolicyAndObject ${policyIds} ${objectids}
Test Teardown DeletePolicyAndObject ${policyIds} ${objectids} ${categoryIds}
Force Tags tsg_adc_wp adc_log security_policy
Library OperatingSystem
Resource ../../../02-Keyword/tsg_adc/SystemCommand.robot
@@ -12,6 +12,7 @@ Resource ../../../05-Other/AllFlowCaseVariable1.txt
*** Variables ***
${policyIds} ${EMPTY}
${objectids} ${EMPTY}
${categoryIds} ${EMPTY}
*** Test Cases ***
SecurityPolicy-Deny-Ssl-00001
@@ -19,6 +20,8 @@ SecurityPolicy-Deny-Ssl-00001
${objectids} set Variable ${deny_ssl_objectId}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_ssl_objectId4}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_ssl_objectId5}
#删除category
${categoryIds} set Variable ${deny_ssl_categoryId}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_ssl_policyId}]}
${s} Convert to String ${deny_ssl_policyId}
@@ -41,7 +44,6 @@ SecurityPolicy-Deny-Ssl-00003
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_ssl_policyId2}]}
${s} Convert to String ${deny_ssl_policyId2}
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ssl_sni austinama.org
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ssl_sni assegaimedia.com
SecurityPolicy-Deny-Ssl-00004
#删除对象
@@ -55,6 +57,8 @@ SecurityPolicy-Deny-Ssl-00004
SecurityPolicy-Deny-Ssl-00005
#删除对象
${objectids} set Variable ${deny_ssl_objectId7}
#删除category
${categoryIds} set Variable ${deny_ssl_categoryId}
#删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_ssl_policyId4}]}
${s} Convert to String ${deny_ssl_policyId4}