diff --git "a/air_case/cmdc_login/\345\244\232\351\207\207\345\225\206\345\237\216\347\231\273\345\275\225/verifycode.png" "b/air_case/cmdc_login/\345\244\232\351\207\207\345\225\206\345\237\216\347\231\273\345\275\225/verifycode.png" index 66f79cc5490a748fa001e151f3be2e5b920b491f..d241bc209287aeabc31e141173072f2c9cd5fcfb 100644 Binary files "a/air_case/cmdc_login/\345\244\232\351\207\207\345\225\206\345\237\216\347\231\273\345\275\225/verifycode.png" and "b/air_case/cmdc_login/\345\244\232\351\207\207\345\225\206\345\237\216\347\231\273\345\275\225/verifycode.png" differ diff --git "a/air_case/cmdc_portal_reportbill/\344\270\212\346\212\245\346\244\215\345\205\245\345\217\260\350\264\246\345\267\262\344\270\212\346\212\245\346\270\205\345\215\225.air/\344\270\212\346\212\245\346\244\215\345\205\245\345\217\260\350\264\246\345\267\262\344\270\212\346\212\245\346\270\205\345\215\225.py" "b/air_case/cmdc_portal_reportbill/\344\270\212\346\212\245\346\244\215\345\205\245\345\217\260\350\264\246\345\267\262\344\270\212\346\212\245\346\270\205\345\215\225.air/\344\270\212\346\212\245\346\244\215\345\205\245\345\217\260\350\264\246\345\267\262\344\270\212\346\212\245\346\270\205\345\215\225.py" index 345d22e49cf3587277ef2a99fc89a7da06f1ccb2..048273e38044b54ce4650975dd1e87295cfd8287 100644 --- "a/air_case/cmdc_portal_reportbill/\344\270\212\346\212\245\346\244\215\345\205\245\345\217\260\350\264\246\345\267\262\344\270\212\346\212\245\346\270\205\345\215\225.air/\344\270\212\346\212\245\346\244\215\345\205\245\345\217\260\350\264\246\345\267\262\344\270\212\346\212\245\346\270\205\345\215\225.py" +++ "b/air_case/cmdc_portal_reportbill/\344\270\212\346\212\245\346\244\215\345\205\245\345\217\260\350\264\246\345\267\262\344\270\212\346\212\245\346\270\205\345\215\225.air/\344\270\212\346\212\245\346\244\215\345\205\245\345\217\260\350\264\246\345\267\262\344\270\212\346\212\245\346\270\205\345\215\225.py" @@ -2,7 +2,7 @@ __author__ = "zhouniandong" """ -case_tag:cmdc_api,cmdc多采商城上报植入台账已上报清单,1001-2,1001-2-1,sit,bs +case_tag:cmdc_api,cmdc上报植入台账已上报清单,1001-2,1001-2-1,sit,bs 主数据平台:多采商城上报植入台账接口 """ @@ -28,7 +28,7 @@ print(url1) request_body1 = commonFuc().get_business_data(module, "payload3") """ 场景:多采商城上报植入台账 - 用例名称:多采商城上报植入台账已上报清单(多采商城上报植入台账) + 用例名称:上报植入台账已上报清单(多采商城上报植入台账) 输出:{"success":true,"code":"200","message":"OK","data":"ok"} """ # 发送请求 diff --git "a/air_case/cmdc_portal_reportbill/\346\244\215\345\205\245\344\270\212\346\212\245\346\234\252\344\270\212\346\212\245\345\210\227\350\241\250.air/\346\244\215\345\205\245\344\270\212\346\212\245\346\234\252\344\270\212\346\212\245\345\210\227\350\241\250.py" "b/air_case/cmdc_portal_reportbill/\346\244\215\345\205\245\344\270\212\346\212\245\346\234\252\344\270\212\346\212\245\345\210\227\350\241\250.air/\346\244\215\345\205\245\344\270\212\346\212\245\346\234\252\344\270\212\346\212\245\345\210\227\350\241\250.py" index 95776d2edbc42b3cd026c644e812876acf70628e..f6a5ede0d03bab1bd2dd5347da2098f69359c362 100644 --- "a/air_case/cmdc_portal_reportbill/\346\244\215\345\205\245\344\270\212\346\212\245\346\234\252\344\270\212\346\212\245\345\210\227\350\241\250.air/\346\244\215\345\205\245\344\270\212\346\212\245\346\234\252\344\270\212\346\212\245\345\210\227\350\241\250.py" +++ "b/air_case/cmdc_portal_reportbill/\346\244\215\345\205\245\344\270\212\346\212\245\346\234\252\344\270\212\346\212\245\345\210\227\350\241\250.air/\346\244\215\345\205\245\344\270\212\346\212\245\346\234\252\344\270\212\346\212\245\345\210\227\350\241\250.py" @@ -23,9 +23,9 @@ password1 = commonFuc().get_business_data(module, "password") cmdc_access_token1 = CmdcMaiiLogin(username1, password1).get_token() headers1 = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token1) # print(headers1) -url1 = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url5") +url1 = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url11") print(url1) -request_body1 = commonFuc().get_business_data(module, "payload5") +request_body1 = commonFuc().get_business_data(module, "payload11") """ 场景:多采商城上报植入 用例名称:植入上报未上报列表(多采商城上报植入) @@ -33,16 +33,16 @@ request_body1 = commonFuc().get_business_data(module, "payload5") """ # 发送请求 result1 = requests.post(url1, json=request_body1, headers=headers1) -#print("\033[031mresult1============\033[0m",result1) +print("\033[031mresult1============\033[0m",result1) #result1 = json.loads(result1.content) # 获取接口响应时间 api_time = float(result1.elapsed.total_seconds()) result1 = json.loads(result1.content) result1["api_time"] = api_time print(api_time) -#print("\033[031mresult2============\033[0m",result1) +print("\033[031mresult2============\033[0m",result1) # 获取预期结果 -check_dict = commonFuc().get_business_data(module, "checkDict5") +check_dict = commonFuc().get_business_data(module, "checkDict11") #print("\033[031mcheckDict1============\033[0m",checkDict) # 断言实际结果中是否包含预期结果的内容 commonFuc().check_result(check_dict, result1) diff --git a/data/cmdc_portal_reportbill/data b/data/cmdc_portal_reportbill/data index 95dcc66ffbcd7327855936459291224df3c0892c..e5bf8aca133bc8b15e5e5e987e9dcc201a53512e 100644 --- a/data/cmdc_portal_reportbill/data +++ b/data/cmdc_portal_reportbill/data @@ -89,11 +89,11 @@ checkDict9: {"success":true,"code":"200","message":"OK","data":[],"freshToken":n #预期结果 checkDict10: {"success":true,"code":"200","message":"OK","data":[],"freshToken":null} -#信息中心查看详情按ID查询 post -"url11": "/cms/mall/notice/queryById" -"payload11": {"noticeId":"5340033"} +#植入上报未上报列表 post +"url11": "/order/public/getReportList" +"payload11": {"productLineCode":"","reportHospitalCodeList":[],"reportAuditStatusList":[],"invoiceStatusList":[],"reportQueryType":"2","companyCode":"00103","reportHospitalCode":"","companyName":"国药集团北京医疗器械有限公司","companyId":3,"customerCode":"1127254","customerName":"国药集团云南医疗器械有限公司","isBack":0,"pageNum":1,"pageSize":10,"pageStart":1} #预期结果 -checkDict11: {"success":true,"code":"200","message":"操作成功"} +checkDict11: {"success":true,"code":"200","message":"OK"} #信息中心查看详情更新状态 post "url12": "/cms/mall/notice/updateStatus" diff --git a/log/runtime.txt b/log/runtime.txt index dc4420cfde3b41a99270caca079bc310d747369b..18833ab8035b0cebe3999feb33d33b43753a8cd1 100644 --- a/log/runtime.txt +++ b/log/runtime.txt @@ -1 +1 @@ -植入上报按客户编码获取医院信息 1719372337311 1719372338246 zhouniandong +上报植入台账待上报清单 1719383682960 1719383684002 zhouniandong diff --git a/report/summary.html b/report/summary.html index 26281901455be6c641558fac33a81a0df0eeed77..32d0c7adf4cfb3d357314059ee1ed6801acc60ee 100644 --- a/report/summary.html +++ b/report/summary.html @@ -73,11 +73,11 @@