1、Allow_Http_test.robot修改错误用例:ProxyPolicy-Allow-Http-00001

2、LoginLogout.robot调整UIAPI白名单删除问题;
3、ManaeObjectBody.robot修改格式错误;
4、合并删除一级对象和多级对象方法
This commit is contained in:
dongxiaoyan
2020-09-01 16:39:09 +08:00
parent 920d871fe9
commit e9e809e1a8
4 changed files with 34 additions and 19 deletions

View File

@@ -75,14 +75,16 @@ ApiLogoutAndDelLocalIP
[Tags] tsg_adc tsg_bf_api
log ApiLogoutAndDelLocalIP
log to_LogoutAndDelLocalIP_LogoutAndDelLocalIP
#删除tsgUIAPI 先删除白名单是因为此策略也引用了本机IP
Run Keyword If ${addTsgUIAPIFlag}==1 SecurityPolicy-Allow-TSGUIAPI-DEL
Run Keyword If ${addTestClentIPFlag}==1 DelLocalIPObject
#ApiDeleteAutoTagsCase
loginlogout.Logout
#[Return] ${rescode}
#添加tsgUIAPI
Run Keyword If ${addTsgUIAPIFlag}==1 SecurityPolicy-Allow-TSGUIAPI-DEL
CliLogin
[Tags] tsg_cli cli_login
Open Connection ${cliHost}
@@ -112,5 +114,7 @@ SecurityPolicy-Allow-TSGUIAPI-Add
SecurityPolicy-Allow-TSGUIAPI-DEL
[Tags] uiallow
log toDelTSGUIAPI
DeletePolicyAndObject ${testBifangPolicy} ${testBifangIP}
${policyId1} set Variable {"policyType":"tsg_security","policyIds":[${testBifangPolicy}]}
${policyIds} Create List ${policyId1}
DeletePolicyAndObject ${policyIds} ${testBifangIP}
log delTSGUIAPISucess