Update Deny_Ssl_Tests.robot

This commit is contained in:
姬巍川
2020-04-27 14:13:44 +08:00
parent 6e784b136d
commit fb99a47069

View File

@@ -742,23 +742,23 @@ ProxyPolicy-Deny-Ssl-00023
Comment 创建fqdn Comment 创建fqdn
${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$open.node.com ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$open.node.com
${rescode} ${object_fqdn_Id} AddObject2 ${1} ${objectDict} ${rescode} ${object_fqdn_Id} AddObject2 ${1} ${objectDict}
${objectids} set Variable ${object_fqdn_Id} ${objectids} Catenate SEPARATOR=, ${object_fqdn_Id}
Comment 创建url Comment 创建url
${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=*bytedance.html ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=*bytedance.html
${rescode} ${object_url_Id} AddObject2 ${1} ${objectDict} ${rescode} ${object_url_Id} AddObject2 ${1} ${objectDict}
${objectids} set Variable ${object_url_Id} ${objectids} Catenate SEPARATOR=, ${object_fqdn_Id} ${object_url_Id}
Comment 创建请求头 Comment 创建请求头
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*Safari/537.36|User-Agent ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*Safari/537.36|User-Agent
${rescode} ${object_rq_Id} AddObject2 ${1} ${objectDict} ${rescode} ${object_rq_Id} AddObject2 ${1} ${objectDict}
${objectids} set Variable ${object_rq_Id} ${objectids} Catenate SEPARATOR=, ${object_fqdn_Id} ${object_url_Id} ${object_rq_Id}
Comment 创建应答头 Comment 创建应答头
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=html|Content-Type ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=html|Content-Type
${rescode} ${object_re_Id} AddObject2 ${1} ${objectDict} ${rescode} ${object_re_Id} AddObject2 ${1} ${objectDict}
${objectids} set Variable ${object_re_Id} ${objectids} Catenate SEPARATOR=, ${object_fqdn_Id} ${object_url_Id} ${object_rq_Id} ${object_re_Id}
Comment 创建应答体 Comment 创建应答体
${objectDict} Create Dictionary objectType=keywords isValid=${1} addItemList=字节跳动 ${objectDict} Create Dictionary objectType=keywords isValid=${1} addItemList=字节跳动
${rescode} ${object_by_Id} AddObject2 ${1} ${objectDict} ${rescode} ${object_by_Id} AddObject2 ${1} ${objectDict}
${objectids} set Variable ${object_by_Id} ${objectids} Catenate SEPARATOR=, ${object_fqdn_Id} ${object_url_Id} ${object_rq_Id} ${object_re_Id} ${object_by_Id}
Comment 创建安全策略 Comment 创建安全策略
${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-HTTP-00001 policyType=tsg_security policyDesc=autotest userTags= action=intercept effectiveRange= userRegion={"protocol": "SSL"} referenceObject= isValid=${1} appObjectIdArray=3 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-HTTP-00001 policyType=tsg_security policyDesc=autotest userTags= action=intercept effectiveRange= userRegion={"protocol": "SSL"} referenceObject= isValid=${1} appObjectIdArray=3
${rescode} ${policyId} AddPolicy2 ${1} ${policyDict} ${rescode} ${policyId} AddPolicy2 ${1} ${policyDict}