21.05版全流程case修改
This commit is contained in:
@@ -13,7 +13,7 @@ Resource ../../../05-Other/AllFlowCaseVariable.txt
|
||||
Proxy-Policy-replace-00001
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_00001.bat
|
||||
... ELSE set variable curl -kv https://destidotcom.wordpress.com/contact/
|
||||
... ELSE set variable ${curlbatpath}/command/ProxyPolicy_replace_00001.bat
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List 明天你好 Tango Secure Gateway CA
|
||||
... ELSE Create List 明天你好 Tango Secure Gateway CA
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
@@ -28,7 +28,7 @@ Proxy-Policy-replace-00001
|
||||
sleep 3
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_00001.bat
|
||||
... ELSE set variable r
|
||||
... ELSE set variable ${curlbatpath}/command/ProxyPolicy_replace_00001.bat
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List 后天你好吗 Tango Secure Gateway CA
|
||||
... ELSE Create List 后天你好吗 Tango Secure Gateway CA
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
@@ -41,7 +41,7 @@ Proxy-Policy-replace-00002
|
||||
... ELSE Create List Tango Secure Gateway CA
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
Comment 改变Replace策略
|
||||
${policyDict} Create Dictionary policyId=${replace_policyId1} policyName=Proxy-Policy-replace-00002-1 policyType=pxy_manipulation policyDesc=autotest action=manipulation userRegion={"method":"replace","rules":[{"search_in":"http_req_uri","find":"Kop-baghytty-ushu","replace_with":"Arnaiy-usynystar"}],"protocol":"HTTP"} filterList=109|TSG_FIELD_HTTP_HOST,${replace_objectId44}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=${HTTP_ID}
|
||||
${policyDict} Create Dictionary policyId=${replace_policyId1} policyName=Proxy-Policy-replace-00002-1 policyType=pxy_manipulation policyDesc=autotest action=manipulation userRegion={"method":"replace","rules":[{"search_in":"http_req_uri","find":"Kop-baghytty-ushu","replace_with":"Arnaiy-usynystar"}],"protocol":"HTTP"} filterList=${replace_objectId44}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=${HTTP_ID}
|
||||
log ${policyDict}
|
||||
${rescode} UpdatePolicies 1 ${policyDict} v2 update
|
||||
sleep ${policyModifySleepSeconds}
|
||||
@@ -55,27 +55,25 @@ Proxy-Policy-replace-00002
|
||||
Proxy-Policy-replace-00003
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_00003.bat
|
||||
... ELSE set variable curl -kv https://umcfa.webs.com/
|
||||
... ELSE set variable ${curlbatpath}/command/ProxyPolicy_replace_00003_L.bat
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Australia Tango Secure Gateway CA
|
||||
... ELSE Create List Australia Tango Secure Gateway CA
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_00003_1.bat
|
||||
... ELSE set variable curl -kv https://www.pjpugliese.com/
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_00003_1.bat
|
||||
... ELSE set variable curl -kv https://www.pjpugliese.com/
|
||||
... ELSE set variable ${curlbatpath}/command/ProxyPolicy_replace_00003_1L.bat
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Peter Pugliese Tango Secure Gateway CA
|
||||
... ELSE Create List Peter Pugliese Tango Secure Gateway CA
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_00003_2.bat
|
||||
... ELSE set variable curl -kv https://carblog.co.za/
|
||||
... ELSE set variable ${curlbatpath}/command/ProxyPolicy_replace_00003_2L.bat
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Carblog Tango Secure Gateway CA
|
||||
... ELSE Create List Carblog Tango Secure Gateway CA
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_00003_3.bat
|
||||
... ELSE set variable curl -kv https://www.ornithomedia.com/
|
||||
... ELSE set variable ${curlbatpath}/command/ProxyPolicy_replace_00003_3L.bat
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List 403 Tango Secure Gateway CA
|
||||
... ELSE Create List 403 Tango Secure Gateway CA
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
@@ -126,7 +124,7 @@ Proxy-Policy-replace-00007
|
||||
Proxy-Policy-replace-00008
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_00008.bat
|
||||
... ELSE set variable curl -kv http://www.ghzq.com.cn/ghzq/index.html
|
||||
... ELSE set variable ${curlbatpath}/command/ProxyPolicy_replace_00008.bat
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List text/json
|
||||
... ELSE Create List text/json
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
@@ -137,7 +135,7 @@ Proxy-Policy-replace-00008
|
||||
sleep 3
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_00008.bat
|
||||
... ELSE set variable curl -kv http://www.ghzq.com.cn/ghzq/index.html
|
||||
... ELSE set variable ${curlbatpath}/command/ProxyPolicy_replace_00008.bat
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List text/guheihei
|
||||
... ELSE Create List text/guheihei
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
@@ -233,7 +231,7 @@ Proxy-Policy-replace-00013
|
||||
Proxy-Policy-replace-00014
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_00014.bat
|
||||
... ELSE set variable curl -kv -L --user-agent "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML like Gecko) Chrome/31.0.1650.63 Safari/537.36" \ --cookie "__cfduid=d5c21129d57e7124b729fd86dc82abdcd1596020306; __stripe_sid=2940d4d5-6822-4daf-8b38-9cd18d745beb; __stripe_mid=dd118cd8-845c-4b6e-98ce-81e8d5bdd52c" --referer 'https://www.baidu.com/' \ https://www.engadget.com/gaming/
|
||||
... ELSE set variable ${curlbatpath}/command/ProxyPolicy_replace_00014.bat
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List text/json Tango Secure Gateway CA
|
||||
... ELSE Create List text/json Tango Secure Gateway CA
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
|
||||
Reference in New Issue
Block a user