添加中英俄测试用例&修改文件名&修改测试用例内容
This commit is contained in:
@@ -1,27 +1,23 @@
|
||||
*** Settings ***
|
||||
Force Tags tsg_bf_api Cached_Intermediate_Certificates
|
||||
Library String
|
||||
Library OperatingSystem
|
||||
Library Selenium2Library
|
||||
Library Collections
|
||||
Resource ../../../02-Keyword/tsg_bfapi/Common.robot
|
||||
Resource ../../../02-Keyword/tsg_bfapi/policy_file_interface/FunctionalKeywords.robot
|
||||
Resource ../../../03-Variable/BifangApiVariable.txt
|
||||
Force Tags tsg_bf_api Cached_Intermediate_Certificates
|
||||
Library String
|
||||
Library OperatingSystem
|
||||
Library Selenium2Library
|
||||
Library Collections
|
||||
Resource ../../../02-Keyword/tsg_bfapi/Common.robot
|
||||
Resource ../../../02-Keyword/tsg_bfapi/policy_file_interface/FunctionalKeywords.robot
|
||||
Resource ../../../03-Variable/BifangApiVariable.txt
|
||||
|
||||
*** Variables ***
|
||||
${url} /policy/exch/intermediacert
|
||||
${url} /policy/exch/intermediacert
|
||||
|
||||
*** Test Cases ***
|
||||
Intermedia Cert Policy case
|
||||
|
||||
IntermediaCertPolicy-00001
|
||||
# 查询1
|
||||
${suffix_quary} Catenate SEPARATOR=& certId=269 sni=nationalbank.kz
|
||||
QueryPolicyFile ${url} ${suffix_quary}
|
||||
|
||||
QueryPolicyFile ${url} pageNo=1
|
||||
# 查询2
|
||||
${suffix_quary} Catenate SEPARATOR=& certIds=263,265 sni=dw-online.ksosoft
|
||||
${suffix_quary} Catenate SEPARATOR=& pageNo=1 pageSize=20
|
||||
QueryPolicyFile ${url} ${suffix_quary}
|
||||
|
||||
# 启用/暂停
|
||||
${certId} QueryPolicyFile2 ${url} isValid=1
|
||||
${certIds} Create List ${certId}
|
||||
@@ -29,7 +25,17 @@ Intermedia Cert Policy case
|
||||
UpdatePolicyFile2 ${url} ${data}
|
||||
${data2} Set Variable {"opAction":"enable","certIds":${certIds}}
|
||||
UpdatePolicyFile2 ${url} ${data2}
|
||||
|
||||
|
||||
|
||||
|
||||
IntermediaCertPolicy-00002
|
||||
# 查询1
|
||||
QueryPolicyFile ${url} pageNo=1
|
||||
# 查询2
|
||||
${suffix_quary} Catenate SEPARATOR=& pageNo=2 pageSize=30
|
||||
QueryPolicyFile ${url} ${suffix_quary}
|
||||
# 启用/暂停
|
||||
${certId} QueryPolicyFile2 ${url} isValid=1
|
||||
${certIds} Create List ${certId}
|
||||
${data} Set Variable {"opAction":"disable","certIds":${certIds}}
|
||||
UpdatePolicyFile2 ${url} ${data}
|
||||
${data2} Set Variable {"opAction":"enable","certIds":${certIds}}
|
||||
UpdatePolicyFile2 ${url} ${data2}
|
||||
|
||||
Reference in New Issue
Block a user