api-security测试用例修改和StmpHandle.robot关键字EmailLogin的修改
This commit is contained in:
@@ -37,7 +37,7 @@ SecurityPolicy-Deny-DNS-00001
|
||||
${endtime} Get Time
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId2}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ssl_sni xiaozhu
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} dns_qname ziroom
|
||||
|
||||
SecurityPolicy-Deny-DNS-00002
|
||||
[Tags] Deny Sub_Category
|
||||
@@ -62,10 +62,12 @@ SecurityPolicy-Deny-DNS-00002
|
||||
Sleep ${policyVerificationSleepSeconds}s
|
||||
${starttime} Get Time
|
||||
${commandstr} set variable nslookup -d www.smspunch.net
|
||||
@{stringlist} set variable www.ly.com
|
||||
${rescode} SystemCommands ${commandstr} @{stringlist}
|
||||
#@{stringlist} set variable www.ly.com
|
||||
${stringlista} set variable 超时
|
||||
${stringlist} Create List ${stringlista}
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
Sleep ${policyLogVerificationSleepSeconds}s
|
||||
${endtime} Get Time
|
||||
#日志验证
|
||||
${s} Convert to String ${policyId2}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} ssl_sni xiaozhu
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} dns_qname smspunch
|
||||
|
||||
Reference in New Issue
Block a user