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 7a58e49..af516ca 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 @@ -26,7 +26,7 @@ SecurityPolicy-Deny-DNS-00001 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${policyId}]} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.yhd.com - ... ELSE set variable nslookup -d www.yhd.com + ... ELSE set variable nslookup \ www.yhd.com ${stringlist} run keyword if '${systemType}'=='Windows' Create List 超时 ... ELSE Create List canonical name = www.yhd.com ${starttime} Get Time @@ -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 \ www.toutiao.com + ... ELSE set variable nslookup -debug -query=A \ 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 @@ -80,7 +80,7 @@ SecurityPolicy-Deny-DNS-00003 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${policyId}]} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.douban.com - ... ELSE set variable nslookup -d www.douban.com + ... ELSE set variable nslookup -debug -query=AAAA \ www.douban.com ${stringlist} run keyword if '${systemType}'=='Windows' Create List canonical name = www.taobao.com ... ELSE Create List canonical name = www.taobao.com ${starttime} Get Time @@ -105,7 +105,7 @@ SecurityPolicy-Deny-DNS-00004 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${policyId}]} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.mgtv.com - ... ELSE set variable nslookup \ www.mgtv.com + ... ELSE set variable nslookup -debug -query=A \ www.mgtv.com ${stringlist} run keyword if '${systemType}'=='Windows' Create List 192.168.50.18 ... ELSE Create List 192.168.50.18 ${starttime} Get Time @@ -130,7 +130,7 @@ SecurityPolicy-Deny-DNS-00005 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${policyId}]} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.suning.com - ... ELSE set variable nslookup \ www.suning.com + ... ELSE set variable nslookup -debug -query=AAAA \ www.suning.com ${stringlist} run keyword if '${systemType}'=='Windows' Create List fc00::2:66 ... ELSE Create List fc00::2:66 ${starttime} Get Time @@ -159,7 +159,7 @@ SecurityPolicy-Deny-DNS-00006 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${policyId}]} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.mgtv.com - ... ELSE set variable nslookup \ www.mgtv.com + ... ELSE set variable nslookup -debug -query=AAAA \ www.mgtv.com ${stringlist} run keyword if '${systemType}'=='Windows' Create List fc00::2:66 ... ELSE Create List fc00::2:66 ${starttime} Get Time @@ -175,7 +175,7 @@ SecurityPolicy-Deny-DNS-00006 ${rescode} ${policyId} EditPolicy ${policyDict} update Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.suning.com - ... ELSE set variable nslookup \ www.suning.com + ... ELSE set variable nslookup -debug -query=A \ www.suning.com ${stringlist} run keyword if '${systemType}'=='Windows' Create List 192.168.50.18 ... ELSE Create List 192.168.50.18 ${starttime} Get Time @@ -199,7 +199,7 @@ SecurityPolicy-Deny-DNS-00007 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${policyId}]} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.liepin.com - ... ELSE set variable nslookup -d www.liepin.com + ... ELSE set variable nslookup -debug -query=AAAA \ www.lipin.com ${stringlist} run keyword if '${systemType}'=='Windows' Create List fc00::2:66 www.zhihu.com ttl = 300 ... ELSE Create List fc00::2:66 www.zhihu.com ttl = 300 ${starttime} Get Time @@ -224,7 +224,7 @@ SecurityPolicy-Deny-DNS-00008 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${policyId}]} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.zealer.com - ... ELSE set variable nslookup -d www.zealer.com + ... ELSE set variable nslookup -debug -query=A \ www.zealer.com ${stringlist} run keyword if '${systemType}'=='Windows' Create List 192.168.50.18 www.bilibili.com ttl = 500 ... ELSE Create List 192.168.50.18 www.bilibili.com ttl = 500 ${starttime} Get Time @@ -249,7 +249,7 @@ SecurityPolicy-Deny-DNS-00009 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${policyId}]} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.douyu.com - ... ELSE set variable nslookup -d www.douyu.com + ... ELSE set variable nslookup -debug -query=A \ www.douyu.com nslookup -debug -query=AAAA \ www.douyu.com ${stringlist} run keyword if '${systemType}'=='Windows' Create List 192.168.50.18 www.tuniu.com ttl = 500 www.booking.com fc00::2:66 ... ELSE Create List 192.168.50.18 www.tuniu.com ttl = 500 www.booking.com fc00::2:66 ${starttime} Get Time