From 87c344603474ee8bb0528aab5209185350dd7186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=AC=E5=B7=8D=E5=B7=9D?= Date: Tue, 12 May 2020 15:56:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9liunx=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Api_Security/Deny_DNS_Tests.robot | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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