setting 添加边界值测试用例,中英俄文测试用例,修改部分不合适的测试数据。

This commit is contained in:
朱明明
2020-07-17 19:12:10 +08:00
parent 3718b285b7
commit b172e96760
12 changed files with 416 additions and 9 deletions

View File

@@ -52,3 +52,36 @@ Response_page_html-00002
# 修改
${header_edit} Set Variable {"isValid":1,"format":"html","opAction":"update","profileName":"test_edit","profileId":"${profileId}","returnData":1}
UpdatePolicyFile ${url} response_pages_files/ Create-Response Pages-test.html ${header_edit}
Response_page_html-Namelong1_00003
#Hijack 需要修改的内容
${objectedit} Create Dictionary profileName=1 format=html
Comment 打印需要修改的json内容
log ${objectedit}
${objectDict} Jsoneditmanu ${setting_proxy_profiles_reponse_page} ${objectedit}
log ${objectDict}
${response} CreatePolicyFile4 ${url} response_pages_files/ Create-Response Pages-test.html ${objectDict}
# 查询
${profileId} Get From Dictionary ${response} profileId
${profileName} Get From Dictionary ${response} profileName
QueryPolicyFile ${url} profileId=${profileId}&profileName=${profileName}
# 修改
${header_edit} Set Variable {"isValid":1,"format":"html","opAction":"update","profileName":"test_edit","profileId":"${profileId}","returnData":1}
UpdatePolicyFile ${url} response_pages_files/ Create-Response Pages-test.html ${header_edit}
Response_page_html-Namelong128_00004
#Hijack 需要修改的内容
${objectedit} Create Dictionary profileName=12311233333333333333333333333333333qweeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee3333333333333333333333131312312321313 format=html
Comment 打印需要修改的json内容
log ${objectedit}
${objectDict} Jsoneditmanu ${setting_proxy_profiles_reponse_page} ${objectedit}
log ${objectDict}
${response} CreatePolicyFile4 ${url} response_pages_files/ Create-Response Pages-test.html ${objectDict}
# 查询
${profileId} Get From Dictionary ${response} profileId
${profileName} Get From Dictionary ${response} profileName
QueryPolicyFile ${url} profileId=${profileId}&profileName=${profileName}
# 修改
${header_edit} Set Variable {"isValid":1,"format":"html","opAction":"update","profileName":"test_edit","profileId":"${profileId}","returnData":1}
UpdatePolicyFile ${url} response_pages_files/ Create-Response Pages-test.html ${header_edit}