Revert "21.05版全流程case修改"

This reverts commit a7c9880278.
This commit is contained in:
hebingning
2021-05-17 09:50:56 +08:00
parent a7c9880278
commit c7edf5e738
96 changed files with 2193 additions and 3527 deletions

View File

@@ -6,6 +6,7 @@ Resource ../../../02-Keyword/tsg_bfapi/PolicyObject.robot
Resource ../../../02-Keyword/tsg_bfapi/LogVariable.robot
Resource ../../../02-Keyword/tsg_adc/FileOperation.robot
Resource ../../../02-Keyword/tsg_bfapi/policy_object/Policy.robot
Resource ../../../03-Variable/ApplicationID.txt
Resource ../../../05-Other/AllFlowCaseVariable.txt
*** Test Cases ***
@@ -20,17 +21,17 @@ Proxy-Policy-Monitor-00001
${policyDict} Create Dictionary policyId=${intercept_monitor_policyId} source=${monitor_objectId46}|TSG_SECURITY_SOURCE_LOCATION policyName=SecurityPolicy-Intercept-monitor-01 policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"HTTP"} filterList=${monitor_objectId47}|TSG_FIELD_HTTP_HOST isValid=${1} appIdObjects=${HTTP_ID}
log ${policyDict}
${rescode} UpdatePolicies 1 ${policyDict} v2 update
sleep ${policyModifySleepSeconds}
sleep 10
Comment 改变Monitor策略
${policyDict} Create Dictionary policyId=${monitor_policyId} source=${monitor_objectId46}|TSG_SECURITY_SOURCE_LOCATION policyName=Proxy-Policy-monitor-00001 policyType=pxy_manipulation policyDesc=autotest action=monitor userRegion={"method":"monitor","protocol":"HTTP"} filterList=${monitor_objectId47}|TSG_FIELD_HTTP_HOST isValid=${1} appIdObjects=${HTTP_ID}
log ${policyDict}
${rescode} UpdatePolicies 1 ${policyDict} v2 update
sleep ${policyModifySleepSeconds}
sleep 10
Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_allow_00002.bat
... ELSE set variable ${curlbatpath}/command/ProxyPolicy_allow_00002_L.bat
${stringlist} run keyword if '${systemType}'=='Windows' Create List www.feishu.cn Tango Secure Gateway CA
... ELSE Create List www.feishu.cn Tango Secure Gateway CA
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Monitor_00001_1.bat
... ELSE set variable curl -kv http://www.vancl.com/?source=vancl_net
${stringlist} run keyword if '${systemType}'=='Windows' Create List 凡客vancl
... ELSE Create List 凡客vancl
${rescode} SystemCommands ${commandstr} ${stringlist}
Proxy-Policy-Monitor-00002
@@ -160,8 +161,8 @@ Proxy-Policy-Monitor-00011
Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Monitor_000011.bat
... ELSE set variable curl http://hongniang.com/
${stringlist} run keyword if '${systemType}'=='Windows' Create List 都市红娘网
... ELSE Create List 找对象
${stringlist} run keyword if '${systemType}'=='Windows' Create List 中国红娘网
... ELSE Create List 中国红娘网
${rescode} SystemCommands ${commandstr} ${stringlist}
# Proxy-Policy-Monitor-00012