From 041fe4afc79ffd3261b8017dd675327e9a442961 Mon Sep 17 00:00:00 2001 From: xiao-hesheng Date: Wed, 28 Feb 2024 15:46:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A7=92=E8=89=B2=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...60\345\242\236\350\247\222\350\211\262.py" | 66 +++++++++++++++ ...15\345\244\215\346\226\260\345\242\236.py" | 66 +++++++++++++++ ...27\350\241\250\345\261\225\347\244\272.py" | 74 +++++++++++++++++ ...34\345\215\225\345\261\225\347\244\272.py" | 72 +++++++++++++++++ ...22\350\211\262\350\217\234\345\215\225.py" | 81 +++++++++++++++++++ data/b2_herp3_bs/data | 9 ++- report/summary.html | 10 +-- 7 files changed, 372 insertions(+), 6 deletions(-) create mode 100644 "air_case/b2_herp3_bs/r_e0\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262.air/r_e0\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262.py" create mode 100644 "air_case/b2_herp3_bs/r_e1\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262_\351\207\215\345\244\215\346\226\260\345\242\236.air/r_e1\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262_\351\207\215\345\244\215\346\226\260\345\242\236.py" create mode 100644 "air_case/b2_herp3_bs/r_e2\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\247\222\350\211\262\345\210\227\350\241\250\345\261\225\347\244\272.air/r_e2\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\247\222\350\211\262\345\210\227\350\241\250\345\261\225\347\244\272.py" create mode 100644 "air_case/b2_herp3_bs/r_e3\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\217\234\345\215\225\345\261\225\347\244\272.air/r_e3\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\217\234\345\215\225\345\261\225\347\244\272.py" create mode 100644 "air_case/b2_herp3_bs/r_e4\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\344\277\235\345\255\230\350\247\222\350\211\262\350\217\234\345\215\225.air/r_e4\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\344\277\235\345\255\230\350\247\222\350\211\262\350\217\234\345\215\225.py" diff --git "a/air_case/b2_herp3_bs/r_e0\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262.air/r_e0\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262.py" "b/air_case/b2_herp3_bs/r_e0\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262.air/r_e0\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262.py" new file mode 100644 index 00000000..cbc71f03 --- /dev/null +++ "b/air_case/b2_herp3_bs/r_e0\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262.air/r_e0\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262.py" @@ -0,0 +1,66 @@ +# -*- encoding=utf8 -*- +import sys + +from airtest.core.helper import using + +from common.db.sql.sql_del_branch_info import delData +from common.db.sql.sql_del_kind_goodsinfo import delKindGoodsinfo +from common.db.sql.sql_del_notices_info import delByNoticeName +from common.fileUtls import FileUtils +from common.timeUtils import timeUtils + +__author__ = "xiaohesheng" + +""" +case_tag:api,herp-web,r_e0用户管理_角色管理_新增角色,id2263,id2263-243,sit,on +内网:r_e0用户管理_角色管理_新增角色 +""" + +from common.common_func import commonFuc +from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system + +module = "b2_herp3_bs" + + +def test1(): + """ + 场景:r_e0用户管理_角色管理_新增角色 + 用例名称:r_e0用户管理_角色管理_新增角色 + 输入:"" + 输出:"rtn_msg": {"code": 0, "msg": null, "data":[]} + """ + # 内网登录 + username = commonFuc().get_business_data(module, "username") + ## print('医院名称',username) + password = commonFuc().get_business_data(module, "password") + # print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') + # 获取token和projectCode + token, projectCode, uxid, corpId, info = login_system(username, password).get_token() + # print( token,projectCode,uxid,corpId,info) + + #r_e0用户管理_角色管理_新增角色 + + url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "sys_role_save_url") + # 获取请求头信息 + headers = commonFuc().get_business_data(module, "json_headers2", + commonFuc().get_business_data(module, "json_contentType"), token, + commonFuc().get_business_data(module, "X-APP-CODE")) + + # # 请求体 + request_body = commonFuc().get_business_data(module, "payload63") + + print('request_body', request_body) + # # # # 发送请求 + result = commonFuc().http_post(url, request_body, headers) + print('resultccccccccccccccc', result) + #断言 + code = commonFuc().analysis_json('code', result) + data = commonFuc().analysis_json('data', result) + data1 = commonFuc().analysis_json('data', data) + if code == 0 and data == 1: + commonFuc().check_text_exist(0, result) + else: + commonFuc().check_text_exist('error', result) + + +test1() diff --git "a/air_case/b2_herp3_bs/r_e1\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262_\351\207\215\345\244\215\346\226\260\345\242\236.air/r_e1\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262_\351\207\215\345\244\215\346\226\260\345\242\236.py" "b/air_case/b2_herp3_bs/r_e1\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262_\351\207\215\345\244\215\346\226\260\345\242\236.air/r_e1\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262_\351\207\215\345\244\215\346\226\260\345\242\236.py" new file mode 100644 index 00000000..255921b0 --- /dev/null +++ "b/air_case/b2_herp3_bs/r_e1\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262_\351\207\215\345\244\215\346\226\260\345\242\236.air/r_e1\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\346\226\260\345\242\236\350\247\222\350\211\262_\351\207\215\345\244\215\346\226\260\345\242\236.py" @@ -0,0 +1,66 @@ +# -*- encoding=utf8 -*- +import sys + +from airtest.core.helper import using + +from common.db.sql.sql_del_branch_info import delData +from common.db.sql.sql_del_kind_goodsinfo import delKindGoodsinfo +from common.db.sql.sql_del_notices_info import delByNoticeName +from common.fileUtls import FileUtils +from common.timeUtils import timeUtils + +__author__ = "xiaohesheng" + +""" +case_tag:api,herp-web,r_e1用户管理_角色管理_新增角色_重复新增,id2263,id2263-244,sit,on +内网:r_e1用户管理_角色管理_新增角色_重复新增 +""" + +from common.common_func import commonFuc +from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system + +module = "b2_herp3_bs" + + +def test1(): + """ + 场景:r_e1用户管理_角色管理_新增角色_重复新增 + 用例名称:r_e1用户管理_角色管理_新增角色_重复新增 + 输入:"" + 输出:"rtn_msg": {"code": 0, "msg": null, "data":[]} + """ + # 内网登录 + username = commonFuc().get_business_data(module, "username") + ## print('医院名称',username) + password = commonFuc().get_business_data(module, "password") + # print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') + # 获取token和projectCode + token, projectCode, uxid, corpId, info = login_system(username, password).get_token() + # print( token,projectCode,uxid,corpId,info) + + #r_e1用户管理_角色管理_新增角色_重复新增 + + url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "sys_role_save_url") + # 获取请求头信息 + headers = commonFuc().get_business_data(module, "json_headers2", + commonFuc().get_business_data(module, "json_contentType"), token, + commonFuc().get_business_data(module, "X-APP-CODE")) + + # # 请求体 + request_body = commonFuc().get_business_data(module, "payload63") + + print('request_body', request_body) + # # # # 发送请求 + result = commonFuc().http_post(url, request_body, headers) + print('resultccccccccccccccc', result) + #断言 + code = commonFuc().analysis_json('code', result) + data = commonFuc().analysis_json('data', result) + data1 = commonFuc().analysis_json('data', data) + if code == 2022 and data == None: + commonFuc().check_text_exist(0, result) + else: + commonFuc().check_text_exist('error', result) + + +test1() diff --git "a/air_case/b2_herp3_bs/r_e2\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\247\222\350\211\262\345\210\227\350\241\250\345\261\225\347\244\272.air/r_e2\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\247\222\350\211\262\345\210\227\350\241\250\345\261\225\347\244\272.py" "b/air_case/b2_herp3_bs/r_e2\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\247\222\350\211\262\345\210\227\350\241\250\345\261\225\347\244\272.air/r_e2\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\247\222\350\211\262\345\210\227\350\241\250\345\261\225\347\244\272.py" new file mode 100644 index 00000000..e245c024 --- /dev/null +++ "b/air_case/b2_herp3_bs/r_e2\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\247\222\350\211\262\345\210\227\350\241\250\345\261\225\347\244\272.air/r_e2\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\247\222\350\211\262\345\210\227\350\241\250\345\261\225\347\244\272.py" @@ -0,0 +1,74 @@ +# -*- encoding=utf8 -*- +import sys + +from airtest.core.helper import using + +from common.db.sql.sql_del_branch_info import delData +from common.db.sql.sql_del_kind_goodsinfo import delKindGoodsinfo +from common.db.sql.sql_del_notices_info import delByNoticeName +from common.fileUtls import FileUtils +from common.timeUtils import timeUtils + +__author__ = "xiaohesheng" + +""" +case_tag:api,herp-web,r_e2用户管理_角色管理_角色列表展示,id2263,id2263-245,sit,on +内网:r_e2用户管理_角色管理_角色列表展示 +""" + +from common.common_func import commonFuc +from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system + +module = "b2_herp3_bs" + + +def test1(): + """ + 场景:r_e2用户管理_角色管理_角色列表展示 + 用例名称:r_e2用户管理_角色管理_角色列表展示 + 输入:"" + 输出:"rtn_msg": {"code": 0, "msg": null, "data":[]} + """ + # 内网登录 + username = commonFuc().get_business_data(module, "username") + ## print('医院名称',username) + password = commonFuc().get_business_data(module, "password") + # print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') + # 获取token和projectCode + token, projectCode, uxid, corpId, info = login_system(username, password).get_token() + # print( token,projectCode,uxid,corpId,info) + + #r_e2用户管理_角色管理_角色列表展示 + + url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "sys_role_list_url") + # 获取请求头信息 + headers = commonFuc().get_business_data(module, "json_headers2", + commonFuc().get_business_data(module, "json_contentType"), token, + commonFuc().get_business_data(module, "X-APP-CODE")) + + # # 请求体 + request_body = commonFuc().get_business_data(module, "payload63_1") + + print('request_body', request_body) + # # # # 发送请求 + result = commonFuc().http_post(url, request_body, headers) + print('resultccccccccccccccc', result) + #断言 + code = commonFuc().analysis_json('code', result) + data = commonFuc().analysis_json('data', result) + roleCode="" + if code == 0 and len(data) >= 1: + for i in data: + cname=commonFuc().analysis_json('cname', i) + if cname=='自动化测试': + code1=commonFuc().analysis_json('code', i) + roleCode=code1 + break + commonFuc().check_text_exist(0, result) + print(roleCode) + return roleCode + else: + commonFuc().check_text_exist('error', result) + + +test1() diff --git "a/air_case/b2_herp3_bs/r_e3\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\217\234\345\215\225\345\261\225\347\244\272.air/r_e3\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\217\234\345\215\225\345\261\225\347\244\272.py" "b/air_case/b2_herp3_bs/r_e3\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\217\234\345\215\225\345\261\225\347\244\272.air/r_e3\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\217\234\345\215\225\345\261\225\347\244\272.py" new file mode 100644 index 00000000..f3c2f3e7 --- /dev/null +++ "b/air_case/b2_herp3_bs/r_e3\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\217\234\345\215\225\345\261\225\347\244\272.air/r_e3\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\350\217\234\345\215\225\345\261\225\347\244\272.py" @@ -0,0 +1,72 @@ +# -*- encoding=utf8 -*- +import sys + +from airtest.core.helper import using + +from common.db.sql.sql_del_branch_info import delData +from common.db.sql.sql_del_kind_goodsinfo import delKindGoodsinfo +from common.db.sql.sql_del_notices_info import delByNoticeName +from common.fileUtls import FileUtils +from common.timeUtils import timeUtils + +__author__ = "xiaohesheng" + +""" +case_tag:api,herp-web,r_e3用户管理_角色管理_菜单展示,id2263,id2263-246,sit,on +内网:r_e3用户管理_角色管理_菜单展示 +""" + +from common.common_func import commonFuc +from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system + +module = "b2_herp3_bs" + + +def test1(): + """ + 场景:r_e3用户管理_角色管理_菜单展示 + 用例名称:r_e3用户管理_角色管理_菜单展示 + 输入:"" + 输出:"rtn_msg": {"code": 0, "msg": null, "data":[]} + """ + # 内网登录 + username = commonFuc().get_business_data(module, "username") + ## print('医院名称',username) + password = commonFuc().get_business_data(module, "password") + # print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') + # 获取token和projectCode + token, projectCode, uxid, corpId, info = login_system(username, password).get_token() + # print( token,projectCode,uxid,corpId,info) + + # 获取角色id + pro_path = commonFuc().get_pro_path() + sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\r_e2用户管理_角色管理_角色列表展示.air') + using(pro_path + r'\\air_case\\b2_herp3_bs\\r_e2用户管理_角色管理_角色列表展示.air') + from r_e2用户管理_角色管理_角色列表展示 import test1 + roleCode = test1() + + #r_e3用户管理_角色管理_菜单展示 + url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "sys_role_menu_all_url") + # 获取请求头信息 + headers = commonFuc().get_business_data(module, "json_headers2", + commonFuc().get_business_data(module, "json_contentType"), token, + commonFuc().get_business_data(module, "X-APP-CODE")) + + # # 请求体 + request_body = commonFuc().get_business_data(module, "payload63_2",roleCode) + + print('request_body', request_body) + # # # # 发送请求 + result = commonFuc().http_post(url, request_body, headers) + print('resultccccccccccccccc', result) + #断言 + code = commonFuc().analysis_json('code', result) + data = commonFuc().analysis_json('data', result) + data1 = commonFuc().analysis_json('data', data) + if code == 0 and len(data) >= 1: + commonFuc().check_text_exist(0, result) + else: + commonFuc().check_text_exist('error', result) + + +test1() diff --git "a/air_case/b2_herp3_bs/r_e4\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\344\277\235\345\255\230\350\247\222\350\211\262\350\217\234\345\215\225.air/r_e4\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\344\277\235\345\255\230\350\247\222\350\211\262\350\217\234\345\215\225.py" "b/air_case/b2_herp3_bs/r_e4\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\344\277\235\345\255\230\350\247\222\350\211\262\350\217\234\345\215\225.air/r_e4\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\344\277\235\345\255\230\350\247\222\350\211\262\350\217\234\345\215\225.py" new file mode 100644 index 00000000..1edec7a9 --- /dev/null +++ "b/air_case/b2_herp3_bs/r_e4\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\344\277\235\345\255\230\350\247\222\350\211\262\350\217\234\345\215\225.air/r_e4\347\224\250\346\210\267\347\256\241\347\220\206_\350\247\222\350\211\262\347\256\241\347\220\206_\344\277\235\345\255\230\350\247\222\350\211\262\350\217\234\345\215\225.py" @@ -0,0 +1,81 @@ +# -*- encoding=utf8 -*- +import sys + +from airtest.core.helper import using + +from common.db.sql.sql_del_branch_info import delData +from common.db.sql.sql_del_kind_goodsinfo import delKindGoodsinfo +from common.db.sql.sql_del_notices_info import delByNoticeName +from common.fileUtls import FileUtils +from common.timeUtils import timeUtils + +__author__ = "xiaohesheng" + +""" +case_tag:api,herp-web,r_e4用户管理_角色管理_保存角色菜单,id2263,id2263-247,sit,on +内网:r_e4用户管理_角色管理_保存角色菜单 +""" + +from common.common_func import commonFuc +from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system + +module = "b2_herp3_bs" + + +def test1(): + """ + 场景:r_e2用户管理_角色管理_角色列表展示 + 用例名称:r_e2用户管理_角色管理_角色列表展示 + 输入:"" + 输出:"rtn_msg": {"code": 0, "msg": null, "data":[]} + """ + # 内网登录 + username = commonFuc().get_business_data(module, "username") + ## print('医院名称',username) + password = commonFuc().get_business_data(module, "password") + # print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') + # 获取token和projectCode + token, projectCode, uxid, corpId, info = login_system(username, password).get_token() + # print( token,projectCode,uxid,corpId,info) + + #r_e2用户管理_角色管理_角色列表展示 + + url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "sys_role_menu_batch_save") + # 获取请求头信息 + headers = commonFuc().get_business_data(module, "json_headers2", + commonFuc().get_business_data(module, "json_contentType"), token, + commonFuc().get_business_data(module, "X-APP-CODE")) + # # 请求体 + request_body = commonFuc().get_business_data(module, 'payload63_3') + request_body=str(request_body) + new_request_body = request_body.replace("'", '"') + new_request_body = new_request_body.replace("None", 'null') + print(new_request_body) + import json + request_body_json = json.loads(new_request_body) + print('request_body_json',request_body_json) + + + # print('request_body', request_body) + # # # # # 发送请求 + result = commonFuc().http_post(url, request_body_json, headers) + print('resultccccccccccccccc', result) + # #断言 + # code = commonFuc().analysis_json('code', result) + # data = commonFuc().analysis_json('data', result) + # roleCode="" + # if code == 0 and len(data) >= 1: + # for i in data: + # cname=commonFuc().analysis_json('cname', i) + # if cname=='自动化测试': + # code1=commonFuc().analysis_json('code', i) + # roleCode=code1 + # break + # commonFuc().check_text_exist(0, result) + # print(roleCode) + # return roleCode + # else: + # commonFuc().check_text_exist('error', result) + + +test1() diff --git a/data/b2_herp3_bs/data b/data/b2_herp3_bs/data index 5db1913b..4b013b2e 100644 --- a/data/b2_herp3_bs/data +++ b/data/b2_herp3_bs/data @@ -101,7 +101,10 @@ "basic_stockUser_insertShelf_url": "/api/herpService/basic/stockShelf/insertShelf" "basic_probeInfo_probe_url": "/api/herpService/basic/probeInfo/available/probe" "basic_probeInfo_shelf_save_url": "/api/herpService/basic/probeInfo/shelf/save" - +"sys_role_save_url": "/api/platformService/sys/role/v2/save" +"sys_role_list_url": "/api/platformService/sys/role/v2/list" +"sys_role_menu_all_url": "/api/platformService/sys/role/v2/menu/all" +"sys_role_menu_batch_save": "/api/platformService/sys/role/v2/menu/batch/save" data1: '条码,high_info,check_detail,高值打码,out_stock,goods_change_baseInfo,center_out_stock_pkg,mcms_centre_out_stock,pkg_info,mcms_dept_out_stock,barcode_common,mcms_centre_in_stock,goods_change_price,mcms_dept_in_stock,check_detail_pkg,center_out_stock_high,center_out_stock_high,high_consume,shelf_code,barcode_common_pkg,check_detail_high,balance_bill,barcode_rfid,bottle_info,验收单明细打印,产品信息变更,中心库出库单低值,医院中心库出库单,包信息,医院科室出库单,高值纸质条码打印,医院中心库入库单,产品调价,医院科室入库单,低值验收单,中心库出库单高值,高值耗材使用登记表,货位码,单元包纸质条码打印,高值验收单,结算单打印,高值RFID条码打印,单瓶码打印' data2: 'code,医院标识,code1,code1,erpCode,JDE编码修改,GOODS_CHANGE_STATUS,产品信息变更状态,GOODS_CHARGE_COST,是否计入成本,GOODS_KIND_TYPE,产品分类类型,MFRS_KIND,企业职能,miCode,医保编码修改,NOTICE_RANGE_KIND,公告通知范围,PUR_MODE,耗材类型,YWMS,业务模式,CORP_TYPE,主体类别,PROGRAM_TYPE,程序端,GRAIN,参数粒度,ENV,发布环境,PROJECT_GROUP,系统分组,RETURN_REASON_TYPE,退货原因,NEWCPFL,新产品分类,ZZLX,企业证照类型,68FL,68器械分类,18FL,18器械分类,GOODS_START_STOP,产品启停,YYDJ,医院等级,GOODS_TEMP,产品临采,GLJB,耗材管理级别,GOODS_PURCHASE,产品是否采购,HIS_CODE_CHANGE,HIS编码修改,MI_CODE_CHANGE,医保型号修改,MI_GOODS_GG_CHANGE,医保产品规格,MI_GOODS_XH_CHANGE,医保型号修改,GOODS_CHARGE,产品是否计费,GOODS_BAR_CODE,产品管理模式,GOODS_PUR_MODE,耗材类型,GOODS_CHANGE_PRICE,产品调价类型,GOODS_BAR_CODE_STRATEGY,UDI管理策略,FOCUS_CONTROL_TYPE,重点管控分类,MANUAL_PICK_REASON,手工出库原因,RFID_LABEL_CHANGE,RFID标签管理,ALLOT_PICK_REASON,调拨出库原因,MAGRE_PICK_REASON,移库出库原因' @@ -481,6 +484,10 @@ json_headers2: { "payload62_16": {"pageNum":1,"pageSize":50,"queryObject":{"shelfCode":"%s","hosId":"h0347"}} "payload62_17": {"pageNum":1,"pageSize":50,"queryObject":{"probeId":"%s","shelfCode":"%s","hosId":"h0347"}} "payload62_18": {"hosId":"h0347","probeId":"%s","shelfId":"%s","shelfCode":"%s","createUser":"UID-050151","lastModifiedUser":"UID-050151","oldProbeId":null} +"payload63": {"cname":"自动化测试","projectCode":"herp"} +"payload63_1": {"projectCode":"herp","roleType":"1"} +"payload63_2": {"projectCode":"herp","roleCode":"%s"} +"payload63_3": '[{"addMenus":[{"menuCode":"herp.pc.pm01631.pm01632.pm01633","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01632.pm01634","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01632.pm01635","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01632.pm01923","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01636.pm01642","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01636.pm01643","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01636.pm01644","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01636.pm01645","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01636.pm01646","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01636.pm01718","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01636.pm01926","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01636.pm02197","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01779","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01636.pm01912","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01636.pm02108","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01641.pm02180","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01637.pm01647","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01638.pm01648","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01638.pm01649","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01638.pm01650","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01638.pm01651","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01638.pm01652","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01638.pm01653","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01638.pm01668","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01638.pm01654","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01639.pm01655","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01639.pm01656","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01639.pm01658","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01639.pm01734","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01639.pm01735","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01640.pm01659","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01640.pm02192","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01641.pm01660","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm01641.pm01661","btnCodes":null},{"menuCode":"herp.pc.pm01921.pm01922","btnCodes":null},{"menuCode":"herp.pc.pm01921.pm02193","btnCodes":null},{"menuCode":"herp.pc.pm01631.pm02168.pm02169","btnCodes":null},{"menuCode":"herp.pc.pm01898.pm01899","btnCodes":null},{"menuCode":"herp.pc.pm01898.pm01900","btnCodes":null},{"menuCode":"herp.pc.pm01692.pm01693","btnCodes":null},{"menuCode":"herp.pc.pm01692.pm01694","btnCodes":null},{"menuCode":"herp.pc.pm01692.pm01695","btnCodes":null},{"menuCode":"herp.pc.pm01692.pm02160","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01687.pm01707","btnCodes":null},{"menuCode":"herp.pc.pm01692.pm01883","btnCodes":null},{"menuCode":"herp.pc.pm01692.pm01882","btnCodes":null},{"menuCode":"herp.pc.pm01692.pm02155","btnCodes":null},{"menuCode":"herp.pc.pm01692.pm02199","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01721.pm01724","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01721.pm01728","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01721.pm01727","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01721.pm01902","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01721.pm02200","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01721.pm02179","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01722.pm01725","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01722.pm01729","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01722.pm01730","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01722.pm01723","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01722.pm01736","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01722.pm01737","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01722.pm01738","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01722.pm01739","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01722.pm01740","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01722.pm02156","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01741.pm01742","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01741.pm01743","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01741.pm01744","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01741.pm01745","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01741.pm01746","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01741.pm01747","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01741.pm01770","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01741.pm01748","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01787.pm01788","btnCodes":null},{"menuCode":"herp.pc.pm01720.pm01787.pm01808","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01687.pm01688","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01687.pm01690","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01687.pm01691","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01687.pm01708","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01687.pm02158","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01687.pm02161","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01687.pm02196","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01749.pm01751","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01749.pm01752","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01750.pm01762","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01763.pm01765","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01763.pm01764","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01763.pm02198","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm02188.pm02189","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01750.pm01761","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01750.pm01755","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01750.pm01756","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01750.pm01753","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01750.pm01754","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01750.pm02165","btnCodes":null},{"menuCode":"herp.pc.pm01686.pm01785.pm01786","btnCodes":null},{"menuCode":"herp.pc.pm01709.pm01710.pm01760","btnCodes":null},{"menuCode":"herp.pc.pm01709.pm01710.pm01711","btnCodes":null},{"menuCode":"herp.pc.pm01709.pm01710.pm01712","btnCodes":null},{"menuCode":"herp.pc.pm01709.pm01710.pm01714","btnCodes":null},{"menuCode":"herp.pc.pm01709.pm01710.pm01713","btnCodes":null},{"menuCode":"herp.pc.pm01709.pm01710.pm01715","btnCodes":null},{"menuCode":"herp.pc.pm01709.pm01710.pm01716","btnCodes":null},{"menuCode":"herp.pc.pm01709.pm01710.pm01768","btnCodes":null},{"menuCode":"herp.pc.pm01709.pm01924.pm01925","btnCodes":null},{"menuCode":"herp.pc.pm01676.pm01677","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01814.pm01824","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01814.pm01822","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01814.pm01823","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01815.pm01827","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01815.pm01825","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01815.pm01826","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01816.pm01828","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01816.pm01829","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01816.pm01830","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01816.pm01831","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01816.pm01832","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01816.pm01833","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01817.pm01835","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01817.pm01836","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01817.pm01837","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01817.pm01838","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01817.pm01839","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01817.pm01840","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01818.pm01841","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01819.pm01843","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01820.pm01844","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01820.pm01845","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01821.pm01846","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01821.pm01847","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01821.pm01848","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm01821.pm01849","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm02170.pm02171","btnCodes":null},{"menuCode":"herp.pc.pm01812.pm02174.pm02175","btnCodes":null},{"menuCode":"herp.pc.pm01935.cuspm01934.cuspm01941","btnCodes":null},{"menuCode":"herp.pc.pm01935.cuspm01934.cuspm01940","btnCodes":null},{"menuCode":"herp.pc.pm01935.cuspm01934.cuspm01943","btnCodes":null},{"menuCode":"herp.pc.pm01935.cuspm01934.cuspm01942","btnCodes":null},{"menuCode":"herp.pc.pm02185.cuspm01944","btnCodes":null}],"delMenus":[],"projectCode":"herp.pc","roleCode":"ro00529"},{"addMenus":[],"delMenus":[],"projectCode":"herp.pda","roleCode":"ro00529"}]' checkDict: {"code": 0,'msg': None,'data': True} diff --git a/report/summary.html b/report/summary.html index 298b1352..349a1b55 100644 --- a/report/summary.html +++ b/report/summary.html @@ -55,9 +55,9 @@ 1 - 0 + 1 0分2秒 - 0.0% + 100.0% @@ -72,9 +72,9 @@ - r_d9库房管理_库区设置_货位管理_编辑货位 - 失败 - 2.774 + r_e4用户管理_角色管理_保存角色菜单 + 成功 + 1.975 xiaohesheng -- GitLab