diff --git a/01-TestCase/tsg_adc/selfserver/Api_Security/Deny_DNS_Tests.robot b/01-TestCase/tsg_adc/selfserver/Api_Security/Deny_DNS_Tests.robot index a1e850c..76994f2 100644 --- a/01-TestCase/tsg_adc/selfserver/Api_Security/Deny_DNS_Tests.robot +++ b/01-TestCase/tsg_adc/selfserver/Api_Security/Deny_DNS_Tests.robot @@ -14,8 +14,8 @@ ${objectids} ${EMPTY} *** Test Cases *** SecurityPolicy-Deny-DNS-00001 - [Tags] Selfserver deny DNS ip+fqdn右匹配 - Comment FQDN + [Tags] Selfserver Deny Dns Ip+Fqdn右匹配 + Comment 创建fqdn ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*yhd.com ${rescode} ${object_fqdn_Id} AddObject2 ${1} ${objectDict} ${objectids} set Variable ${object_fqdn_Id} @@ -28,7 +28,7 @@ SecurityPolicy-Deny-DNS-00001 ${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.yhd.com ... ELSE set variable nslookup -d www.yhd.com ${stringlist} run keyword if '${systemType}'=='Windows' Create List 超时 - ... ELSE Create List 超时 + ... ELSE Create List canonical name = www.yhd.com ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -39,8 +39,8 @@ SecurityPolicy-Deny-DNS-00001 GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} dns_qname yhd.com SecurityPolicy-Deny-DNS-00002 - [Tags] Selfserver deny DNS ip+cat完整匹配 - Comment FQDN + [Tags] Selfserver Deny Dns Ip+Cat完整匹配 + Comment 创建fqdn ${objectDict} Create Dictionary objectType=fqdn_category isValid=${1} addItemList=$www.toutiao.com ${rescode} ${object_fqdn_Id} AddObject2 ${1} ${objectDict} ${objectids} set Variable ${object_fqdn_Id} @@ -51,7 +51,7 @@ SecurityPolicy-Deny-DNS-00002 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${policyId}]} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.toutiao.com - ... ELSE set variable nslookup -d www.toutiao.com + ... ELSE set variable nslookup \ www.toutiao.com ${stringlist} run keyword if '${systemType}'=='Windows' Create List canonical name = www.vip.com ... ELSE Create List canonical name = www.vip.com ${starttime} Get Time