<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>测试报告</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous"> <!-- 页面样式--> <style type="text/css"> /*标题样式*/ .title { width: auto; height: 60px; text-align: center; font: bolder 38px/60px "Microsoft YaHei UI"; } /*汇总信息样式*/ .summary { width: 90%; position: absolute; top: 120px; margin-left: 5%; } .text-left { font: bolder 20px/30px "Microsoft YaHei UI"; } .left { width: 50%; float: left; } .right { width: 50%; float: right; } .desc { float: left; width: 100%; } .list-group-item span { font: normal 16px/38px "Microsoft YaHei UI"; padding: 30px; } .list-group-item { position: relative; display: block; padding: .4rem 1.25rem; background-color: #fff; border: 1px solid rgba(0, 0, 0, .125); } /* 执行信息样式 */ .test_info { width: 90%; position: absolute; top: 900px; margin-left: 5%; color: #28a745 !important; } .table td, th { border: solid 2px rgba(9, 122, 51, 0.11) !important; padding: 0; line-height: 40px; text-align: center; } select { border: 0; padding: 0; margin: 0; height: 2em; width: 8em; margin-left: 2em; } option { text-align: center; height: 36px; font: none 18px/36px "Microsoft YaHei UI"; color: #28a745 !important; } .test_log { background: rgba(163, 171, 189, 0.15); width: 100%; height: 50px; border-top: none; border-bottom: none; display: none; text-align: left; } .test_log td { text-align: left; height: 30px; margin: 0; padding-left: 3em; padding-right:3em; font: none 18px/24px "Microsoft YaHei UI"; color: #9e141a; } pre { margin: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; } /* 测试图表显示*/ .char { width: 90%; position: absolute; top: 450px; margin-left: 5%; color: #28a745 !important; } </style> </head> <body> <!--报告标题--> <div class="title text-success"> <div class="shadow-lg p-3 mb-5 bg-white rounded">本地调试</div> </div> <!--汇总信息--> <div class="summary"> <p class="text-left text-success">测试结果汇总</p> <div class="left"> <ul class="list-group"> <li class="list-group-item"> <button type="button" class="btn btn-success">测试人员</button> <span class="text-dark">测试组</span> </li> <li class="list-group-item"> <button type="button" class="btn btn-success">开始时间</button> <span class="text-dark">2021-09-14 17:51:58</span> </li> <li class="list-group-item"> <button type="button" class="btn btn-success">执行时间</button> <span class="text-dark">45.38 S</span> </li> <li class="list-group-item"> <button type="button" class="btn btn-success">接口总数</button> <span class="text-dark">64</span> </li> </ul> </div> <div class="right"> <ul class="list-group"> <li class="list-group-item"> <button type="button" class="btn btn-success">成功接口</button> <span class="text-success">58</span> </li> <li class="list-group-item"> <button type="button" class="btn btn-danger">失败接口</button> <span class="text-warning">5</span> </li> <li class="list-group-item"> <button type="button" class="btn btn-warning">错误接口</button> <span class="text-danger">1</span> </li> <li class="list-group-item"> <button type="button" class="btn btn-secondary">跳过接口</button> <span class="text-secondary">0</span> </li> </ul> </div> <div class="desc"> <ul class="list-group"> <li class="list-group-item"> <button type="button" class="btn btn-success">描述信息</button> <span class="text-secondary">接口自动化测试报告</span> </li> </ul> </div> </div> <!--测试图表--> <div class="char"> <p class="text-left text-success">图表展示</p> <div id="char2" style="width: 49%;height: 400px;float: left"></div> <div id="char" style="width: 49%;height: 400px ;float: left"></div> </div> <!--详细信息--> <div class="test_info"> <p class="text-left text-success">详细信息</p> <div class="table_data"> <table class="table"> <thead class="bg-success text-light"> <tr> <th scope="col" style="width: 4%;padding: 0">编号</th> <th scope="col" style="width: 20%;padding: 0"> <span>测试类</span> <select id="testClass"> <option>所有</option> <option>WebAccountAddWebUser</option> <option>WebAdditionalTemplate</option> <option>WebEmailSend</option> <option>WebOrganizationQuerySubBranch</option> <option>AppListCount</option> <option>WebAdditionalEdit</option> <option>WebAccountGetUserInfo</option> <option>AppOrderAdd</option> <option>WebAdditionalDel</option> <option>WebSpeechTemplateConditionList</option> <option>AppAuthLogin</option> <option>WebQualityAuditCanList</option> <option>WebQualityAuditSubmit</option> <option>WebEmailValidCode</option> <option>WebOrganizationGetTree</option> <option>AppOrderFace</option> <option>WebAccountUserEditState</option> <option>WebProductUpdate</option> <option>AppHomeList</option> <option>WebLogin</option> <option>WebChannelList</option> <option>WebAccountImportAppUser</option> <option>WebProductList</option> <option>AppQualityAuditRejectedDetail</option> <option>WebSpeechTemplateOperators</option> <option>AppOrderSubmit</option> <option>WebQualityAuditProportionConfigRuleModify</option> <option>WebSpeechTemplateUpdateStatus</option> <option>WebProductCreat</option> <option>AppOrderAddQuota</option> <option>AppFileList</option> <option>AppPhaseV3</option> <option>WebAccountManage</option> <option>WebQualityAuditProportionConfigList</option> <option>AppAuthSts</option> <option>WebQualityAuditDetail</option> <option>AppOrderDetail</option> <option>WebSpeechTemplateQueryList</option> <option>AppOrderQuotaDetail</option> <option>WebAccountModifyPassword</option> <option>WebOrganizationList</option> <option>WebAccountModifyUser</option> <option>WebSpeechTemplateVariables</option> <option>AppProductList</option> <option>WebQualityAuditProportionConfigDetail</option> <option>WebQualityAuditProportionConfigRuleDelete</option> <option>WebPopupFileList</option> <option>WebSpeechTemplateCopySpeech</option> <option>WebSpeechTemplateCreatRule</option> <option>WebOrganizationQueryBranch</option> <option>WebAdditionalGet</option> <option>WebSpeechTemplateGetSpeech</option> <option>WebAdditionalList</option> <option>WebSpeechTemplatePhaseCreat</option> <option>WebQualityAuditProportionConfigRuleAdd</option> <option>WebOrganizationPositingSwitcher</option> <option>AppVersionUpdate</option> <option>AppTtsV3</option> <option>WebOrderReportDown</option> <option>WebForgetPassword</option> <option>WebOrganizationQuery</option> <option>WebProductTypeList</option> <option>WebQualityAuditRecordHistory</option> <option>WebAccountAppManage</option> </select> </th> <th scope="col" style="width: 20%;padding: 0">测试方法</th> <th scope="col" style="width: 22%;padding: 0">接口描述</th> <th scope="col" style="width: 6%;padding: 0">执行时间</th> <th scope="col" style="width: 20%;padding: 0"> <span>执行结果</span> <select id="testResult"> <option>所有</option> <option class="text-success">成功</option> <option class="text-danger">失败</option> <option class="text-warning">错误</option> <option class="text-info">跳过</option> </select> </th> <th scope="col" style="width: 8%;padding: 0">详细信息</th> </tr> </thead> <tbody> <tr> <td>1</td> <td class="WebOrganizationGetTree">WebOrganizationGetTree</td> <td>testFunc</td> <td>查询机构结构</td> <td>0.564s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:51:58,068 - root - INFO - ********************【查询机构结构】接口测试开始!******************** 2021-09-14 17:51:58,459 - root - INFO - {'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': 'cs01', 'token': '7d79565a81de46acb39b3da525c06aa3', 'role': 1, 'branchId': 1, 'subBranchId': 0}} 2021-09-14 17:51:58,572 - root - INFO - 【查询机构结构】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': [{'id': 1, 'name': '河北省分公司', 'code': '8613', 'orgs': [{'id': 5, 'name': '河北省分公司本部', 'code': '861301', 'orgs': None}, {'id': 6, 'name': '邯郸中心支公司', 'code': '861304', 'orgs': None}, {'id': 7, 'name': '保定中心支公司', 'code': '861306', 'orgs': None}, {'id': 8, 'name': '沧州中心支公司', 'code': '861309', 'orgs': None}, {'id': 36, 'name': '衡水中心支公司', 'code': '8613', 'orgs': None}, {'id': 38, 'name': '郑州中支', 'code': '864101', 'orgs': None}]}, {'id': 2, 'name': '江苏省分公司', 'code': '8632', 'orgs': [{'id': 9, 'name': '江苏省分公司本部', 'code': '863201', 'orgs': None}, {'id': 10, 'name': '无锡中心支公司', 'code': '863202', 'orgs': None}, {'id': 11, 'name': '徐州中心支公司', 'code': '863203', 'orgs': None}, {'id': 12, 'name': '常州中心支公司', 'code': '863204', 'orgs': None}, {'id': 13, 'name': '苏州中心支公司', 'code': '863205', 'orgs': None}, {'id': 14, 'name': '连云港中心支公司', 'code': '863207', 'orgs': None}, {'id': 15, 'name': '盐城中心支公司', 'code': '863209', 'orgs': None}, {'id': 16, 'name': '扬州中心支公司', 'code': '863210', 'orgs': None}, {'id': 17, 'name': '镇江中心支公司', 'code': '863211', 'orgs': None}, {'id': 18, 'name': '宿迁中心支公司', 'code': '863213', 'orgs': None}]}, {'id': 3, 'name': '山东省分公司', 'code': '8637', 'orgs': [{'id': 19, 'name': '济南本部', 'code': '863701', 'orgs': None}, {'id': 20, 'name': '淄博中心支公司', 'code': '863703', 'orgs': None}, {'id': 21, 'name': '枣庄中心支公司', 'code': '863704', 'orgs': None}, {'id': 22, 'name': '东营中心支公司', 'code': '863705', 'orgs': None}, {'id': 23, 'name': '烟台中心支公司', 'code': '863706', 'orgs': None}, {'id': 24, 'name': '潍坊中心支公司', 'code': '863707', 'orgs': None}, {'id': 25, 'name': '济宁中心支公司', 'code': '863708', 'orgs': None}, {'id': 26, 'name': '泰安中心支公司', 'code': '863709', 'orgs': None}, {'id': 27, 'name': '威海中心支公司', 'code': '863710', 'orgs': None}, {'id': 28, 'name': '日照中心支公司', 'code': '863711', 'orgs': None}, {'id': 29, 'name': '莱芜中心支公司', 'code': '863712', 'orgs': None}, {'id': 30, 'name': '临沂中心支公司', 'code': '863713', 'orgs': None}, {'id': 31, 'name': '德州中心支公司', 'code': '863714', 'orgs': None}, {'id': 32, 'name': '聊城中心支公司', 'code': '863715', 'orgs': None}, {'id': 33, 'name': '滨州中心支公司', 'code': '863716', 'orgs': None}, {'id': 34, 'name': '菏泽中心支公司', 'code': '863717', 'orgs': None}]}, {'id': 4, 'name': '青岛分公司', 'code': '8666', 'orgs': [{'id': 35, 'name': '青岛分公司', 'code': '866601', 'orgs': None}]}]} testFunc (case.WebOrganizationGetTree.WebOrganizationGetTree)执行——>【通过】 </pre> </td> </tr> <tr> <td>2</td> <td class="WebAccountAddWebUser">WebAccountAddWebUser</td> <td>testFunc</td> <td>添加web账号</td> <td>0.843s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:51:58,640 - root - INFO - ********************【添加web账号_超级管理员】接口测试开始!******************** 2021-09-14 17:51:58,987 - root - INFO - {'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': 'cs01', 'token': 'fd241f5542ba45d495cf7e8bc7e3c963', 'role': 1, 'branchId': 1, 'subBranchId': 0}} 2021-09-14 17:51:58,994 - root - INFO - 【添加web账号_超级管理员】的接口入参为:{'id': '', 'username': 'apiwebuser', 'email': 'fumengqi@situdata.com', 'employeeId': 'apiwebuser', 'name': 'apiwebuser', 'roleId': '1', 'orgId': 5, 'orgIdList': [1], 'groupId': '', 'auditScopeList': [], 'staffNo': 'apiwebuser', 'role': '1'} 2021-09-14 17:51:59,414 - root - INFO - 【添加web账号_超级管理员】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebAccountAddWebUser.WebAccountAddWebUser)执行——>【通过】 </pre> </td> </tr> <tr> <td>3</td> <td class="WebAccountManage">WebAccountManage</td> <td>testFunc</td> <td>web账户信息查询</td> <td>0.347s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:51:59,545 - root - INFO - ********************【web账户信息查询】接口测试开始!******************** 2021-09-14 17:51:59,545 - root - INFO - 【web账户信息查询】的接口入参为:{'name': 'apiwebuser', 'page': 1, 'perPage': 10, 'userType': '2'} 2021-09-14 17:51:59,720 - root - INFO - 【web账户信息查询】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'accountList': [], 'totalCount': 0}} 2021-09-14 17:51:59,748 - root - INFO - select * from citic_user where username='apiwebuser'; 2021-09-14 17:51:59,760 - root - INFO - [{'id': 2188, 'username': 'apiwebuser', 'password': '$2a$10$lmQq3HvIl4jyo3.xPB4jwOGj1UX9VUlx91d2PBFqS2BKIpWG8kONC', 'name': 'apiwebuser', 'telephone': None, 'activate': 1, 'org_code': None, 'create_time': datetime.datetime(2021, 9, 14, 17, 51, 59), 'activate_time': datetime.datetime(2021, 9, 14, 17, 51, 59), 'branch_id': 1, 'branch_name': '河北省分公司', 'sub_branch_id': 5, 'sub_branch_name': '河北省分公司本部', 'marketing_channel': None, 'departed': 2, 'user_type': 2, 'last_login_time': None, 'directly_agency_id': 5, 'directly_agency_name': '河北省分公司本部', 'id_card': None, 'licensed': None, 'open_id': None, 'emp_no': None, 'extra_info': None, 'email': 'fumengqi@situdata.com', 'employee_id': 'apiwebuser', 'source': None, 'group_id': None, 'company_name': None}] testFunc (case.WebAccountManage.WebAccountManage)执行——>【通过】 </pre> </td> </tr> <tr> <td>4</td> <td class="WebAccountGetUserInfo">WebAccountGetUserInfo</td> <td>testFunc</td> <td>根据用户名获取用户信息</td> <td>2.22s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:51:59,849 - root - INFO - ********************【获取用户信息】接口测试开始!******************** 2021-09-14 17:51:59,850 - root - INFO - 【获取用户信息】的接口入参为:{'username': 'apiwebuser'} 2021-09-14 17:51:59,977 - root - INFO - 【获取用户信息】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'id': 2188, 'username': 'apiwebuser', 'name': 'apiwebuser', 'roleId': 1, 'roleName': '超级管理员', 'orgId': 5, 'orgName': '河北省分公司本部', 'employeeId': 'apiwebuser', 'email': 'fumengqi@situdata.com'}} testFunc (case.WebAccountGetUserInfo.WebAccountGetUserInfo)执行——>【通过】 </pre> </td> </tr> <tr> <td>5</td> <td class="WebAccountModifyUser">WebAccountModifyUser</td> <td>testFunc</td> <td>web端修改账号</td> <td>0.211s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:02,036 - root - INFO - ********************【可质检列表-审核结论提交】接口测试开始!******************** 2021-09-14 17:52:02,039 - root - INFO - 【可质检列表-审核结论提交】的接口入参为:{'id': 2188, 'username': 'apiwebuser', 'email': 'fumengqi@situdata.com', 'employeeId': 'apiwebuser', 'name': 'apiwebuser', 'roleId': 1, 'orgId': 5, 'orgIdList': [1], 'groupId': '', 'auditScopeList': [], 'staffNo': 'apiwebuser', 'role': 1} 2021-09-14 17:52:02,193 - root - INFO - 【可质检列表-审核结论提交】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebAccountModifyUser.WebAccountModifyUser)执行——>【通过】 </pre> </td> </tr> <tr> <td>6</td> <td class="WebAccountUserEditState">WebAccountUserEditState</td> <td>testFunc</td> <td>更新web账号启用/禁用状态</td> <td>4.34s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:02,247 - root - INFO - ********************【web账号禁用】接口测试开始!******************** 2021-09-14 17:52:02,248 - root - INFO - 【web账号禁用】的接口入参为:{'departed': 1, 'userId': 2188} 2021-09-14 17:52:02,393 - root - INFO - 【web账号禁用】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} 2021-09-14 17:52:04,398 - root - INFO - ********************【web账号启用】接口测试开始!******************** 2021-09-14 17:52:04,399 - root - INFO - 【web账号启用】的接口入参为:{'departed': 2, 'userId': 2188} 2021-09-14 17:52:04,528 - root - INFO - 【web账号启用】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebAccountUserEditState.WebAccountUserEditState)执行——>【通过】 </pre> </td> </tr> <tr> <td>7</td> <td class="WebAccountModifyPassword">WebAccountModifyPassword</td> <td>testFunc</td> <td>Web端强制修改密码</td> <td>0.832s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:06,712 - root - INFO - ********************【修改密码】接口测试开始!******************** 2021-09-14 17:52:06,713 - root - INFO - 【修改密码】的接口入参为:{'username': 'apiwebuser', 'currentPassword': '12345678', 'newPassword': 'situ1233'} 2021-09-14 17:52:07,363 - root - INFO - 【修改密码】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebAccountModifyPassword.WebAccountModifyPassword)执行——>【通过】 </pre> </td> </tr> <tr> <td>8</td> <td class="WebEmailSend">WebEmailSend</td> <td>testFunc</td> <td>发送验证码</td> <td>2.62s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:07,416 - root - INFO - ********************【发送验证码】接口测试开始!******************** 2021-09-14 17:52:07,416 - root - INFO - 【发送验证码】的接口入参为:{'bizType': '1', 'toEmail': 'fumengqi@situdata.com'} 2021-09-14 17:52:09,979 - root - INFO - 【发送验证码】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebEmailSend.WebEmailSend)执行——>【通过】 </pre> </td> </tr> <tr> <td>9</td> <td class="WebEmailValidCode">WebEmailValidCode</td> <td>testFunc</td> <td>验证邮箱验证码</td> <td>0.189s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:10,062 - root - INFO - ********************【验证邮箱验证码】接口测试开始!******************** 2021-09-14 17:52:10,063 - root - INFO - 【验证邮箱验证码】的接口入参为:{'bizType': '1', 'email': 'fumengqi@situdata.com', 'username': 'apiwebuser', 'validCode': '344504'} 2021-09-14 17:52:10,168 - root - INFO - 【验证邮箱验证码】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': '163245'} testFunc (case.WebEmailValidCode.WebEmailValidCode)执行——>【通过】 </pre> </td> </tr> <tr> <td>10</td> <td class="WebForgetPassword">WebForgetPassword</td> <td>testFunc</td> <td>web端忘记密码</td> <td>0.578s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:10,232 - root - INFO - ********************【忘记密码修改】接口测试开始!******************** 2021-09-14 17:52:10,233 - root - INFO - 【忘记密码修改】的接口入参为:{'password': 'situ1234', 'username': 'apiwebuser', 'validNum': '163245'} 2021-09-14 17:52:10,746 - root - INFO - 【忘记密码修改】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebForgetPassword.WebForgetPassword)执行——>【通过】 </pre> </td> </tr> <tr> <td>11</td> <td class="WebLogin">WebLogin</td> <td>testFunc</td> <td>web登陆</td> <td>0.574s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:10,795 - root - INFO - ********************【web登陆】接口测试开始!******************** 2021-09-14 17:52:10,795 - root - INFO - 【web登陆】的接口入参为:{'username': 'apiwebuser', 'password': 'situ1234'} 2021-09-14 17:52:11,319 - root - INFO - 【web登陆】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': 'apiwebuser', 'token': '34bbb95137264d03b252a0082ef6f742', 'role': 1, 'branchId': 1, 'subBranchId': 5}} testFunc (case.WebLogin.WebLogin)执行——>【通过】 </pre> </td> </tr> <tr> <td>12</td> <td class="WebProductTypeList">WebProductTypeList</td> <td>testFunc</td> <td>产品类型列表</td> <td>0.414s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:11,371 - root - INFO - ********************【产品类型列表】接口测试开始!******************** 2021-09-14 17:52:11,733 - root - INFO - 【产品类型列表】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': [{'productTypeId': 13, 'productTypeName': '分红险'}, {'productTypeId': 14, 'productTypeName': '传统险'}, {'productTypeId': 15, 'productTypeName': '万能险'}, {'productTypeId': 16, 'productTypeName': '健康险'}, {'productTypeId': 17, 'productTypeName': '医疗险'}, {'productTypeId': 18, 'productTypeName': '重疾险'}, {'productTypeId': 19, 'productTypeName': '投连险'}]} testFunc (case.WebProductTypeList.WebProductTypeList)执行——>【通过】 </pre> </td> </tr> <tr> <td>13</td> <td class="WebChannelList">WebChannelList</td> <td>testFunc</td> <td>查询所有的渠道</td> <td>0.837s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:11,791 - root - INFO - ********************【查询所有的渠道】接口测试开始!******************** 2021-09-14 17:52:12,570 - root - INFO - 【查询所有的渠道】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': [{'value': '个人营销', 'label': '个人营销'}, {'value': '银行保险', 'label': '银行保险'}, {'value': '个险经代', 'label': '个险经代'}, {'value': '卓越经理', 'label': '卓越经理'}, {'value': '全员营销', 'label': '全员营销'}, {'value': '团险渠道', 'label': '团险渠道'}, {'value': '职场销售', 'label': '职场销售'}, {'value': '中介业务', 'label': '中介业务'}, {'value': '财富经理人', 'label': '财富经理人'}]} testFunc (case.WebChannelList.WebChannelList)执行——>【通过】 </pre> </td> </tr> <tr> <td>14</td> <td class="WebProductCreat">WebProductCreat</td> <td>testFunc</td> <td>创建产品</td> <td>0.847s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:12,658 - root - INFO - SELECT * FROM product_library where product_code='apitest'; 2021-09-14 17:52:12,668 - root - INFO - [{'id': 433, 'product_code': 'apitest', 'product_name': 'apitest', 'product_type_id': 13, 'product_type': '分红险', 'insurance_type_id': None, 'insurance_type': '1', 'product_status': 1, 'update_time': datetime.datetime(2021, 9, 14, 14, 54, 9), 'create_time': datetime.datetime(2021, 9, 14, 14, 54, 6), 'product_channel': '个人营销@'}] 2021-09-14 17:52:12,707 - root - INFO - DELETE from product_library where product_code='apitest'; 2021-09-14 17:52:12,725 - root - INFO - ********************【创建产品_主险】接口测试开始!******************** 2021-09-14 17:52:12,727 - root - INFO - 【创建产品_主险】的接口入参为:{'productName': 'apitest', 'productTypeId': 13, 'productCode': 'apitest', 'insuranceType': '1', 'additionalAttributes': [], 'checkedChannelArr': ['个人营销']} 2021-09-14 17:52:13,127 - root - INFO - 【创建产品_主险】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} 2021-09-14 17:52:13,168 - root - INFO - SELECT * FROM product_library where product_code='apitest2'; 2021-09-14 17:52:13,178 - root - INFO - [{'id': 434, 'product_code': 'apitest2', 'product_name': 'apitest2', 'product_type_id': 13, 'product_type': '分红险', 'insurance_type_id': None, 'insurance_type': '2', 'product_status': 1, 'update_time': datetime.datetime(2021, 9, 14, 14, 54, 7), 'create_time': datetime.datetime(2021, 9, 14, 14, 54, 7), 'product_channel': '个人营销@'}] 2021-09-14 17:52:13,212 - root - INFO - DELETE from product_library where product_code='apitest2'; 2021-09-14 17:52:13,230 - root - INFO - ********************【创建产品_附加险】接口测试开始!******************** 2021-09-14 17:52:13,231 - root - INFO - 【创建产品_附加险】的接口入参为:{'productName': 'apitest2', 'productTypeId': 13, 'productCode': 'apitest2', 'insuranceType': '2', 'additionalAttributes': [], 'checkedChannelArr': ['个人营销']} 2021-09-14 17:52:13,415 - root - INFO - 【创建产品_附加险】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebProductCreat.WebProductCreat)执行——>【通过】 </pre> </td> </tr> <tr> <td>15</td> <td class="WebProductList">WebProductList</td> <td>testFunc</td> <td>查询产品库列表</td> <td>0.912s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:13,475 - root - INFO - ********************【查询产品库列表】接口测试开始!******************** 2021-09-14 17:52:13,476 - root - INFO - 【查询产品库列表】的接口入参为:{'productStatus': '', 'productTypeId': '', 'productNameCode': '', 'insuranceType': '', 'marketingChannel': '', 'page': 1, 'perPage': 10} 2021-09-14 17:52:13,860 - root - INFO - 【查询产品库列表】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'productLibraryList': [{'id': 435, 'productCode': 'apitest', 'productName': 'apitest', 'productType': '分红险', 'insuranceType': '1', 'productStatus': '2', 'marketingChannel': '个人营销', 'updateTime': 1631613133000}, {'id': 436, 'productCode': 'apitest2', 'productName': 'apitest2', 'productType': '分红险', 'insuranceType': '2', 'productStatus': '2', 'marketingChannel': '个人营销', 'updateTime': 1631613133000}, {'id': 408, 'productCode': '1310288', 'productName': '德华安顾巴纳德重大疾病保险(尊享版)', 'productType': '重疾险', 'insuranceType': '1', 'productStatus': '1', 'marketingChannel': '个人营销,银行保险,个险经代,卓越经理,全员营销,团险渠道', 'updateTime': 1631602908000}, {'id': 421, 'productCode': '0011', 'productName': 'zxh测试', 'productType': '分红险', 'insuranceType': '1', 'productStatus': '1', 'marketingChannel': '银行保险,个人营销,个险经代,卓越经理,全员营销,团险渠道,职场销售,中介业务,财富经理人', 'updateTime': 1631589675000}, {'id': 422, 'productCode': '123456', 'productName': 'zxh附加险', 'productType': '传统险', 'insuranceType': '2', 'productStatus': '1', 'marketingChannel': '个人营销,银行保险,个险经代,卓越经理,全员营销,团险渠道,职场销售,中介业务,财富经理人', 'updateTime': 1631589187000}, {'id': 355, 'productCode': '1320027', 'productName': '德华安顾附加华珍少儿住院医疗保险', 'productType': '医疗险', 'insuranceType': '2', 'productStatus': '1', 'marketingChannel': '个人营销,银行保险,个险经代,卓越经理,全员营销,团险渠道', 'updateTime': 1631518724000}, {'id': 426, 'productCode': 'rwrwe', 'productName': '投连险', 'productType': '投连险', 'insuranceType': '1', 'productStatus': '1', 'marketingChannel': '个人营销', 'updateTime': 1631516562000}, {'id': 332, 'productCode': '1120178', 'productName': '德华安顾安佑一生终身寿险(分红型)', 'productType': '分红险', 'insuranceType': '1', 'productStatus': '1', 'marketingChannel': '个人营销,银行保险,个险经代,卓越经理,全员营销,团险渠道', 'updateTime': 1631513322000}, {'id': 425, 'productCode': '特瑞特', 'productName': '王大学附属', 'productType': '传统险', 'insuranceType': '1', 'productStatus': '2', 'marketingChannel': '财富经理人', 'updateTime': 1631173926000}, {'id': 423, 'productCode': 'wdxd1', 'productName': '王大学附属1', 'productType': '健康险', 'insuranceType': '1', 'productStatus': '1', 'marketingChannel': '银行保险,个人营销', 'updateTime': 1631172847000}], 'totalCount': 93}} 2021-09-14 17:52:13,862 - root - INFO - ********************【查询产品库列表_附加险查询】接口测试开始!******************** 2021-09-14 17:52:13,862 - root - INFO - 【查询产品库列表_附加险查询】的接口入参为:{'productStatus': '', 'productTypeId': '', 'productNameCode': 'apitest2', 'insuranceType': '2', 'marketingChannel': '', 'page': 1, 'perPage': 10} 2021-09-14 17:52:14,173 - root - INFO - 【查询产品库列表_附加险查询】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'productLibraryList': [{'id': 436, 'productCode': 'apitest2', 'productName': 'apitest2', 'productType': '分红险', 'insuranceType': '2', 'productStatus': '2', 'marketingChannel': '个人营销', 'updateTime': 1631613133000}], 'totalCount': 1}} 2021-09-14 17:52:14,176 - root - INFO - ********************【查询产品库列表_主险查询】接口测试开始!******************** 2021-09-14 17:52:14,177 - root - INFO - 【查询产品库列表_主险查询】的接口入参为:{'productStatus': '', 'productTypeId': '', 'productNameCode': 'apitest', 'insuranceType': '1', 'marketingChannel': '', 'page': 1, 'perPage': 10} 2021-09-14 17:52:14,327 - root - INFO - 【查询产品库列表_主险查询】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'productLibraryList': [{'id': 435, 'productCode': 'apitest', 'productName': 'apitest', 'productType': '分红险', 'insuranceType': '1', 'productStatus': '2', 'marketingChannel': '个人营销', 'updateTime': 1631613133000}], 'totalCount': 1}} testFunc (case.WebProductList.WebProductList)执行——>【通过】 </pre> </td> </tr> <tr> <td>16</td> <td class="WebProductUpdate">WebProductUpdate</td> <td>testFunc</td> <td>更新产品上下架状态</td> <td>0.578s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:14,377 - root - INFO - ********************【产品下架】接口测试开始!******************** 2021-09-14 17:52:14,378 - root - INFO - 【产品下架】的接口入参为:{'plId': 435, 'productStatus': '2'} 2021-09-14 17:52:14,567 - root - INFO - 【产品下架】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': 1631613134462} 2021-09-14 17:52:14,568 - root - INFO - 【产品下架】的接口入参为:{'plId': 436, 'productStatus': '2'} 2021-09-14 17:52:14,681 - root - INFO - 【产品下架】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': 1631613134645} 2021-09-14 17:52:14,682 - root - INFO - ********************【产品上架】接口测试开始!******************** 2021-09-14 17:52:14,683 - root - INFO - 【产品上架】的接口入参为:{'plId': 435, 'productStatus': '1'} 2021-09-14 17:52:14,786 - root - INFO - 【产品上架】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': 1631613134750} 2021-09-14 17:52:14,787 - root - INFO - 【产品上架】的接口入参为:{'plId': 436, 'productStatus': '1'} 2021-09-14 17:52:14,907 - root - INFO - 【产品上架】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': 1631613134851} testFunc (case.WebProductUpdate.WebProductUpdate)执行——>【通过】 </pre> </td> </tr> <tr> <td>17</td> <td class="WebAdditionalTemplate">WebAdditionalTemplate</td> <td>testFunc</td> <td>创建附加属性模版</td> <td>0.475s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:15,218 - root - INFO - SELECT * FROM product_additional_attributes_key where keyword='接口自动化附加属性'; 2021-09-14 17:52:15,226 - root - INFO - () 2021-09-14 17:52:15,227 - root - INFO - ********************【创建附加属性模版】接口测试开始!******************** 2021-09-14 17:52:15,228 - root - INFO - 【创建附加属性模版】的接口入参为:{'additionalTemplates': [{'keyword': '接口自动化附加属性'}]} 2021-09-14 17:52:15,382 - root - INFO - 【创建附加属性模版】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': [{'akId': 129, 'keyword': '接口自动化附加属性'}]} testFunc (case.WebAdditionalTemplate.WebAdditionalTemplate)执行——>【通过】 </pre> </td> </tr> <tr> <td>18</td> <td class="WebAdditionalList">WebAdditionalList</td> <td>testFunc</td> <td>查询所有附加属性列表</td> <td>0.237s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:15,430 - root - INFO - ********************【查询所有附加属性列表】接口测试开始!******************** 2021-09-14 17:52:15,619 - root - INFO - 【查询所有附加属性列表】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': [{'akId': 101, 'keyword': '是否一年期'}, {'akId': 102, 'keyword': '是否双录'}, {'akId': 103, 'keyword': '是否可续保'}, {'akId': 104, 'keyword': '是否以死亡为给付'}, {'akId': 105, 'keyword': '犹豫期'}, {'akId': 106, 'keyword': '观察期'}, {'akId': 107, 'keyword': '分红说明'}, {'akId': 108, 'keyword': '万能说明'}, {'akId': 109, 'keyword': '等待期'}, {'akId': 110, 'keyword': '定点医疗机构'}, {'akId': 111, 'keyword': '续保条件'}, {'akId': 112, 'keyword': '补偿原则'}, {'akId': 113, 'keyword': '免责条款'}, {'akId': 116, 'keyword': '保险责任'}, {'akId': 118, 'keyword': 'eqeqeq'}, {'akId': 119, 'keyword': '88'}, {'akId': 129, 'keyword': '接口自动化附加属性'}]} testFunc (case.WebAdditionalList.WebAdditionalList)执行——>【通过】 </pre> </td> </tr> <tr> <td>19</td> <td class="WebAdditionalGet">WebAdditionalGet</td> <td>testFunc</td> <td>获取附加属性信息</td> <td>0.209s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:15,680 - root - INFO - ********************【获取附加属性信息】接口测试开始!******************** 2021-09-14 17:52:15,681 - root - INFO - 【获取附加属性信息】的接口入参为:{'akId': 129, 'page': 1, 'perPage': 10} 2021-09-14 17:52:15,828 - root - INFO - 【获取附加属性信息】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'productAdditionalName': '接口自动化附加属性', 'productAdditionalValue': [{'plId': 332, 'akId': 129, 'avId': 0, 'productCode': '1120178', 'productName': '德华安顾安佑一生终身寿险(分红型)', 'keyValue': None}, {'plId': 333, 'akId': 129, 'avId': 0, 'productCode': '1130146', 'productName': '德华安顾百万爱驾两全保险', 'keyValue': None}, {'plId': 334, 'akId': 129, 'avId': 0, 'productCode': '1210186', 'productName': '德华安顾优品赢家直富保年金保险(万能型)', 'keyValue': None}, {'plId': 335, 'akId': 129, 'avId': 0, 'productCode': '1210182', 'productName': '德华安顾直富保年金保险(万能型)', 'keyValue': None}, {'plId': 336, 'akId': 129, 'avId': 0, 'productCode': '2130142', 'productName': '德华安顾百万身价两全保险', 'keyValue': None}, {'plId': 337, 'akId': 129, 'avId': 0, 'productCode': '2210191', 'productName': '德华安顾稳赢金生年金保险(万能型)', 'keyValue': None}, {'plId': 338, 'akId': 129, 'avId': 0, 'productCode': '1310201', 'productName': '德华安顾安享人生多倍保重大疾病保险', 'keyValue': None}, {'plId': 339, 'akId': 129, 'avId': 0, 'productCode': '1130260', 'productName': '德华安顾护身符两全保险(少儿版)', 'keyValue': None}, {'plId': 340, 'akId': 129, 'avId': 0, 'productCode': '1210216', 'productName': '德华安顾直富保年金保险(2019版)(万能型)', 'keyValue': None}, {'plId': 341, 'akId': 129, 'avId': 0, 'productCode': '1210217', 'productName': '德华安顾优品赢家直富保年金保险(2019版)(万能型)', 'keyValue': None}], 'totalCount': 93}} testFunc (case.WebAdditionalGet.WebAdditionalGet)执行——>【通过】 </pre> </td> </tr> <tr> <td>20</td> <td class="WebAdditionalEdit">WebAdditionalEdit</td> <td>testFunc</td> <td>编辑附加属性</td> <td>0.218s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:15,878 - root - INFO - ********************【编辑附加属性】接口测试开始!******************** 2021-09-14 17:52:15,903 - root - INFO - SELECT * FROM product_library where product_code='apitest'; 2021-09-14 17:52:15,909 - root - INFO - [{'id': 435, 'product_code': 'apitest', 'product_name': 'apitest', 'product_type_id': 13, 'product_type': '分红险', 'insurance_type_id': None, 'insurance_type': '1', 'product_status': 1, 'update_time': datetime.datetime(2021, 9, 14, 17, 52, 14), 'create_time': datetime.datetime(2021, 9, 14, 17, 52, 13), 'product_channel': '个人营销@'}] 2021-09-14 17:52:15,910 - root - INFO - 【编辑附加属性】的接口入参为:{'plId': 435, 'akId': 129, 'avId': '0', 'productCode': 'apitest', 'productName': 'apitest', 'keyValue': '接口测试'} 2021-09-14 17:52:16,047 - root - INFO - 【编辑附加属性】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebAdditionalEdit.WebAdditionalEdit)执行——>【通过】 </pre> </td> </tr> <tr> <td>21</td> <td class="WebAdditionalDel">WebAdditionalDel</td> <td>testFunc</td> <td>删除附加属性模版</td> <td>0.35s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:16,091 - root - INFO - ********************【删除附加属性模版】接口测试开始!******************** 2021-09-14 17:52:16,092 - root - INFO - 【删除附加属性模版】的接口入参为:{'akId': 129} 2021-09-14 17:52:16,397 - root - INFO - 【删除附加属性模版】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebAdditionalDel.WebAdditionalDel)执行——>【通过】 </pre> </td> </tr> <tr> <td>22</td> <td class="WebOrganizationQuery">WebOrganizationQuery</td> <td>testFunc</td> <td>查询机构</td> <td>0.156s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:16,443 - root - INFO - ********************【查询机构】接口测试开始!******************** 2021-09-14 17:52:16,443 - root - INFO - 【查询机构】的接口入参为:{'verifyPermissions': 2} 2021-09-14 17:52:16,553 - root - INFO - 【查询机构】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': [{'provinceId': 1, 'provinceName': '河北省分公司', 'provinceCode': '8613', 'checked': False, 'disabled': False, 'organizationCity': [{'cityId': 5, 'cityName': '河北省分公司本部', 'cityCode': '861301', 'checked': False, 'disabled': False}, {'cityId': 6, 'cityName': '邯郸中心支公司', 'cityCode': '861304', 'checked': False, 'disabled': False}, {'cityId': 7, 'cityName': '保定中心支公司', 'cityCode': '861306', 'checked': False, 'disabled': False}, {'cityId': 8, 'cityName': '沧州中心支公司', 'cityCode': '861309', 'checked': False, 'disabled': False}, {'cityId': 36, 'cityName': '衡水中心支公司', 'cityCode': '8613', 'checked': False, 'disabled': False}, {'cityId': 38, 'cityName': '郑州中支', 'cityCode': '864101', 'checked': False, 'disabled': False}]}, {'provinceId': 2, 'provinceName': '江苏省分公司', 'provinceCode': '8632', 'checked': False, 'disabled': False, 'organizationCity': [{'cityId': 9, 'cityName': '江苏省分公司本部', 'cityCode': '863201', 'checked': False, 'disabled': False}, {'cityId': 10, 'cityName': '无锡中心支公司', 'cityCode': '863202', 'checked': False, 'disabled': False}, {'cityId': 11, 'cityName': '徐州中心支公司', 'cityCode': '863203', 'checked': False, 'disabled': False}, {'cityId': 12, 'cityName': '常州中心支公司', 'cityCode': '863204', 'checked': False, 'disabled': False}, {'cityId': 13, 'cityName': '苏州中心支公司', 'cityCode': '863205', 'checked': False, 'disabled': False}, {'cityId': 14, 'cityName': '连云港中心支公司', 'cityCode': '863207', 'checked': False, 'disabled': False}, {'cityId': 15, 'cityName': '盐城中心支公司', 'cityCode': '863209', 'checked': False, 'disabled': False}, {'cityId': 16, 'cityName': '扬州中心支公司', 'cityCode': '863210', 'checked': False, 'disabled': False}, {'cityId': 17, 'cityName': '镇江中心支公司', 'cityCode': '863211', 'checked': False, 'disabled': False}, {'cityId': 18, 'cityName': '宿迁中心支公司', 'cityCode': '863213', 'checked': False, 'disabled': False}]}, {'provinceId': 3, 'provinceName': '山东省分公司', 'provinceCode': '8637', 'checked': False, 'disabled': False, 'organizationCity': [{'cityId': 19, 'cityName': '济南本部', 'cityCode': '863701', 'checked': False, 'disabled': False}, {'cityId': 20, 'cityName': '淄博中心支公司', 'cityCode': '863703', 'checked': False, 'disabled': False}, {'cityId': 21, 'cityName': '枣庄中心支公司', 'cityCode': '863704', 'checked': False, 'disabled': False}, {'cityId': 22, 'cityName': '东营中心支公司', 'cityCode': '863705', 'checked': False, 'disabled': False}, {'cityId': 23, 'cityName': '烟台中心支公司', 'cityCode': '863706', 'checked': False, 'disabled': False}, {'cityId': 24, 'cityName': '潍坊中心支公司', 'cityCode': '863707', 'checked': False, 'disabled': False}, {'cityId': 25, 'cityName': '济宁中心支公司', 'cityCode': '863708', 'checked': False, 'disabled': False}, {'cityId': 26, 'cityName': '泰安中心支公司', 'cityCode': '863709', 'checked': False, 'disabled': False}, {'cityId': 27, 'cityName': '威海中心支公司', 'cityCode': '863710', 'checked': False, 'disabled': False}, {'cityId': 28, 'cityName': '日照中心支公司', 'cityCode': '863711', 'checked': False, 'disabled': False}, {'cityId': 29, 'cityName': '莱芜中心支公司', 'cityCode': '863712', 'checked': False, 'disabled': False}, {'cityId': 30, 'cityName': '临沂中心支公司', 'cityCode': '863713', 'checked': False, 'disabled': False}, {'cityId': 31, 'cityName': '德州中心支公司', 'cityCode': '863714', 'checked': False, 'disabled': False}, {'cityId': 32, 'cityName': '聊城中心支公司', 'cityCode': '863715', 'checked': False, 'disabled': False}, {'cityId': 33, 'cityName': '滨州中心支公司', 'cityCode': '863716', 'checked': False, 'disabled': False}, {'cityId': 34, 'cityName': '菏泽中心支公司', 'cityCode': '863717', 'checked': False, 'disabled': False}]}, {'provinceId': 4, 'provinceName': '青岛分公司', 'provinceCode': '8666', 'checked': False, 'disabled': False, 'organizationCity': [{'cityId': 35, 'cityName': '青岛分公司', 'cityCode': '866601', 'checked': False, 'disabled': False}]}]} testFunc (case.WebOrganizationQuery.WebOrganizationQuery)执行——>【通过】 </pre> </td> </tr> <tr> <td>23</td> <td class="WebOrganizationList">WebOrganizationList</td> <td>testFunc</td> <td>机构列表</td> <td>0.334s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:16,601 - root - INFO - ********************【机构列表-无参数】接口测试开始!******************** 2021-09-14 17:52:16,601 - root - INFO - 【机构列表-无参数】的接口入参为:{'branchId': '', 'subBranchId': '', 'page': 1, 'perPage': 10} 2021-09-14 17:52:16,784 - root - INFO - 【机构列表-无参数】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'totalCount': 33, 'organizationQueryList': [{'branchCompany': '河北省分公司', 'subBranchCompany': '郑州中支', 'orgCode': '864101', 'createTime': '2021-08-26 16:11:49', 'standardProductNum': 0, 'nonstandardProductNum': 0, 'needSpeech': 1, 'updateTime': '2021-09-14 15:37:32', 'operator': 'cs01', 'operatorNum': 'CS01', 'branchId': 38, 'supportRemote': 2, 'area': 0, 'range': None, 'positioning': 1}, {'branchCompany': '河北省分公司', 'subBranchCompany': '衡水中心支公司', 'orgCode': '8613', 'createTime': '2021-08-18 10:53:13', 'standardProductNum': 0, 'nonstandardProductNum': 0, 'needSpeech': 2, 'updateTime': '2021-09-09 16:15:42', 'operator': 'cs01', 'operatorNum': 'CS01', 'branchId': 36, 'supportRemote': 2, 'area': 0, 'range': None, 'positioning': 1}, {'branchCompany': '青岛分公司', 'subBranchCompany': '青岛分公司', 'orgCode': '866601', 'createTime': '2021-01-09 16:47:54', 'standardProductNum': 0, 'nonstandardProductNum': 0, 'needSpeech': 1, 'updateTime': '2021-08-18 10:53:13', 'operator': 'cs04', 'operatorNum': 'CS04', 'branchId': 35, 'supportRemote': 2, 'area': 0, 'range': None, 'positioning': 1}, {'branchCompany': '山东省分公司', 'subBranchCompany': '淄博中心支公司', 'orgCode': '863703', 'createTime': '2021-01-09 16:45:06', 'standardProductNum': 0, 'nonstandardProductNum': 0, 'needSpeech': 1, 'updateTime': '2021-09-09 17:38:01', 'operator': 'cs01', 'operatorNum': 'CS01', 'branchId': 20, 'supportRemote': 2, 'area': 0, 'range': None, 'positioning': 2}, {'branchCompany': '山东省分公司', 'subBranchCompany': '枣庄中心支公司', 'orgCode': '863704', 'createTime': '2021-01-09 16:45:06', 'standardProductNum': 0, 'nonstandardProductNum': 0, 'needSpeech': 1, 'updateTime': '2021-09-09 15:54:48', 'operator': 'cs01', 'operatorNum': 'CS01', 'branchId': 21, 'supportRemote': 2, 'area': 0, 'range': None, 'positioning': 1}, {'branchCompany': '山东省分公司', 'subBranchCompany': '东营中心支公司', 'orgCode': '863705', 'createTime': '2021-01-09 16:45:06', 'standardProductNum': 0, 'nonstandardProductNum': 0, 'needSpeech': 1, 'updateTime': '2021-08-18 10:53:16', 'operator': 'cs04', 'operatorNum': 'CS04', 'branchId': 22, 'supportRemote': 2, 'area': 0, 'range': None, 'positioning': 1}, {'branchCompany': '山东省分公司', 'subBranchCompany': '烟台中心支公司', 'orgCode': '863706', 'createTime': '2021-01-09 16:45:06', 'standardProductNum': 0, 'nonstandardProductNum': 0, 'needSpeech': 1, 'updateTime': '2021-08-18 10:53:17', 'operator': 'cs04', 'operatorNum': 'CS04', 'branchId': 23, 'supportRemote': 2, 'area': 0, 'range': None, 'positioning': 1}, {'branchCompany': '山东省分公司', 'subBranchCompany': '潍坊中心支公司', 'orgCode': '863707', 'createTime': '2021-01-09 16:45:06', 'standardProductNum': 0, 'nonstandardProductNum': 0, 'needSpeech': 1, 'updateTime': '2021-08-18 10:53:17', 'operator': 'cs04', 'operatorNum': 'CS04', 'branchId': 24, 'supportRemote': 2, 'area': 0, 'range': None, 'positioning': 1}, {'branchCompany': '山东省分公司', 'subBranchCompany': '济宁中心支公司', 'orgCode': '863708', 'createTime': '2021-01-09 16:45:06', 'standardProductNum': 0, 'nonstandardProductNum': 0, 'needSpeech': 1, 'updateTime': '2021-08-18 10:53:18', 'operator': 'cs04', 'operatorNum': 'CS04', 'branchId': 25, 'supportRemote': 2, 'area': 0, 'range': None, 'positioning': 1}, {'branchCompany': '山东省分公司', 'subBranchCompany': '泰安中心支公司', 'orgCode': '863709', 'createTime': '2021-01-09 16:45:06', 'standardProductNum': 0, 'nonstandardProductNum': 0, 'needSpeech': 1, 'updateTime': '2021-08-18 10:53:18', 'operator': 'cs04', 'operatorNum': 'CS04', 'branchId': 26, 'supportRemote': 2, 'area': 0, 'range': None, 'positioning': 1}]}} 2021-09-14 17:52:16,785 - root - INFO - ********************【机构列表-有参数】接口测试开始!******************** 2021-09-14 17:52:16,786 - root - INFO - 【机构列表-有参数】的接口入参为:{'branchId': 1, 'subBranchId': 5, 'page': 1, 'perPage': 10} 2021-09-14 17:52:16,887 - root - INFO - 【机构列表-有参数】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'totalCount': 1, 'organizationQueryList': [{'branchCompany': '河北省分公司', 'subBranchCompany': '河北省分公司本部', 'orgCode': '861301', 'createTime': '2021-01-09 16:33:15', 'standardProductNum': 0, 'nonstandardProductNum': 0, 'needSpeech': 1, 'updateTime': '2021-09-14 15:31:53', 'operator': 'cs01', 'operatorNum': 'CS01', 'branchId': 5, 'supportRemote': 2, 'area': 0, 'range': None, 'positioning': 1}]}} testFunc (case.WebOrganizationList.WebOrganizationList)执行——>【通过】 </pre> </td> </tr> <tr> <td>24</td> <td class="WebOrganizationQueryBranch">WebOrganizationQueryBranch</td> <td>testFunc</td> <td>查询全部分公司</td> <td>0.165s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:16,938 - root - INFO - ********************【查询全部分公司】接口测试开始!******************** 2021-09-14 17:52:16,939 - root - INFO - 【查询全部分公司】的接口入参为:{'type': '', 'verifyPermissions': 2} 2021-09-14 17:52:17,052 - root - INFO - 【查询全部分公司】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': [{'name': '河北省分公司', 'branchId': 1, 'orgCode': '8613'}, {'name': '江苏省分公司', 'branchId': 2, 'orgCode': '8632'}, {'name': '山东省分公司', 'branchId': 3, 'orgCode': '8637'}, {'name': '青岛分公司', 'branchId': 4, 'orgCode': '8666'}, {'name': '河南分公司', 'branchId': 37, 'orgCode': '8641'}]} testFunc (case.WebOrganizationQueryBranch.WebOrganizationQueryBranch)执行——>【通过】 </pre> </td> </tr> <tr> <td>25</td> <td class="WebOrganizationQuerySubBranch">WebOrganizationQuerySubBranch</td> <td>testFunc</td> <td>查询属于某个分公司的全部支公司</td> <td>0.405s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:17,113 - root - INFO - ********************【查询分公司的子公司】接口测试开始!******************** 2021-09-14 17:52:17,114 - root - INFO - 【查询分公司的子公司】的接口入参为:{'branchId': 1, 'type': '', 'verifyPermissions': 2} 2021-09-14 17:52:17,457 - root - INFO - 【查询分公司的子公司】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': [{'name': '河北省分公司本部', 'subBranchId': 5, 'orgCode': '861301'}, {'name': '邯郸中心支公司', 'subBranchId': 6, 'orgCode': '861304'}, {'name': '保定中心支公司', 'subBranchId': 7, 'orgCode': '861306'}, {'name': '沧州中心支公司', 'subBranchId': 8, 'orgCode': '861309'}, {'name': '衡水中心支公司', 'subBranchId': 36, 'orgCode': '8613'}, {'name': '郑州中支', 'subBranchId': 38, 'orgCode': '864101'}]} testFunc (case.WebOrganizationQuerySubBranch.WebOrganizationQuerySubBranch)执行——>【通过】 </pre> </td> </tr> <tr> <td>26</td> <td class="WebOrganizationPositingSwitcher">WebOrganizationPositingSwitcher</td> <td>testFunc</td> <td>地理位置水印开关</td> <td>0.372s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:17,506 - root - INFO - ********************【地理位置水印--关】接口测试开始!******************** 2021-09-14 17:52:17,507 - root - INFO - 【地理位置水印--关】的接口入参为:{'branchId': 1, 'positioning': '2'} 2021-09-14 17:52:17,717 - root - INFO - 【地理位置水印--关】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'updateTime': '2021-09-14 17:52:17'}} 2021-09-14 17:52:17,718 - root - INFO - ********************【地理位置水印--开】接口测试开始!******************** 2021-09-14 17:52:17,719 - root - INFO - 【地理位置水印--开】的接口入参为:{'branchId': 1, 'positioning': '1'} 2021-09-14 17:52:17,829 - root - INFO - 【地理位置水印--开】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'updateTime': '2021-09-14 17:52:17'}} testFunc (case.WebOrganizationPositingSwitcher.WebOrganizationPositingSwitcher)执行——>【通过】 </pre> </td> </tr> <tr> <td>27</td> <td class="WebPopupFileList">WebPopupFileList</td> <td>testFunc</td> <td>查询文件类型</td> <td>0.156s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:17,877 - root - INFO - ********************【查询文件类型】接口测试开始!******************** 2021-09-14 17:52:17,985 - root - INFO - 【查询文件类型】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': [{'value': 3, 'label': '产品条款'}, {'value': 4, 'label': '免责条款说明书'}, {'value': 5, 'label': '产品说明书'}, {'value': 6, 'label': '保险提示书'}]} testFunc (case.WebPopupFileList.WebPopupFileList)执行——>【通过】 </pre> </td> </tr> <tr> <td>28</td> <td class="WebAccountAppManage">WebAccountAppManage</td> <td>testFunc</td> <td>app账户信息查询</td> <td>0.385s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:18,049 - root - INFO - ********************【app账户信息查询】接口测试开始!******************** 2021-09-14 17:52:18,050 - root - INFO - 【app账户信息查询】的接口入参为:{'page': 1, 'perPage': 10, 'userType': '1', 'name': 'apiappuser'} 2021-09-14 17:52:18,370 - root - INFO - 【app账户信息查询】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'accountList': [], 'totalCount': 0}} testFunc (case.WebAccountAppManage.WebAccountAppManage)执行——>【通过】 </pre> </td> </tr> <tr> <td>29</td> <td class="WebAccountImportAppUser">WebAccountImportAppUser</td> <td>testFunc</td> <td>导入app账号</td> <td>1.47s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:18,444 - root - INFO - ********************【导入app账号】接口测试开始!******************** 2021-09-14 17:52:19,836 - root - INFO - 接口可以调通! testFunc (case.WebAccountImportAppUser.WebAccountImportAppUser)执行——>【通过】 </pre> </td> </tr> <tr> <td>30</td> <td class="WebSpeechTemplateConditionList">WebSpeechTemplateConditionList</td> <td>testFunc</td> <td>获取话术生效条件</td> <td>0.247s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:19,881 - root - INFO - ********************【获取话术生效条件】接口测试开始!******************** 2021-09-14 17:52:19,882 - root - INFO - 【获取话术生效条件】的接口入参为:{'insuranceType': 'sx', 'stlId': ''} 2021-09-14 17:52:20,083 - root - INFO - 【获取话术生效条件】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'takeEffectAge': [{'ageId': 3, 'ageDescribe': '60岁以上', 'checked': False}, {'ageId': 4, 'ageDescribe': '60岁以下', 'checked': False}], 'takeEffectChannel': [{'channelId': 9, 'value': '个人营销', 'label': '个人营销', 'checked': False}, {'channelId': 10, 'value': '银行保险', 'label': '银行保险', 'checked': False}, {'channelId': 11, 'value': '个险经代', 'label': '个险经代', 'checked': False}, {'channelId': 12, 'value': '卓越经理', 'label': '卓越经理', 'checked': False}, {'channelId': 13, 'value': '全员营销', 'label': '全员营销', 'checked': False}, {'channelId': 20, 'value': '团险渠道', 'label': '团险渠道', 'checked': False}, {'channelId': 21, 'value': '职场销售', 'label': '职场销售', 'checked': False}, {'channelId': 22, 'value': '中介业务', 'label': '中介业务', 'checked': False}, {'channelId': 23, 'value': '财富经理人', 'label': '财富经理人', 'checked': False}], 'takeEffectOrganization': [{'provinceId': 1, 'provinceName': '河北省分公司', 'provinceCode': '8613', 'checked': False, 'disabled': False, 'organizationCity': [{'cityId': 5, 'cityName': '河北省分公司本部', 'cityCode': '861301', 'checked': False, 'disabled': False}, {'cityId': 6, 'cityName': '邯郸中心支公司', 'cityCode': '861304', 'checked': False, 'disabled': False}, {'cityId': 7, 'cityName': '保定中心支公司', 'cityCode': '861306', 'checked': False, 'disabled': False}, {'cityId': 8, 'cityName': '沧州中心支公司', 'cityCode': '861309', 'checked': False, 'disabled': False}, {'cityId': 36, 'cityName': '衡水中心支公司', 'cityCode': '8613', 'checked': False, 'disabled': False}, {'cityId': 38, 'cityName': '郑州中支', 'cityCode': '864101', 'checked': False, 'disabled': False}]}, {'provinceId': 2, 'provinceName': '江苏省分公司', 'provinceCode': '8632', 'checked': False, 'disabled': False, 'organizationCity': [{'cityId': 9, 'cityName': '江苏省分公司本部', 'cityCode': '863201', 'checked': False, 'disabled': False}, {'cityId': 10, 'cityName': '无锡中心支公司', 'cityCode': '863202', 'checked': False, 'disabled': False}, {'cityId': 11, 'cityName': '徐州中心支公司', 'cityCode': '863203', 'checked': False, 'disabled': False}, {'cityId': 12, 'cityName': '常州中心支公司', 'cityCode': '863204', 'checked': False, 'disabled': False}, {'cityId': 13, 'cityName': '苏州中心支公司', 'cityCode': '863205', 'checked': False, 'disabled': False}, {'cityId': 14, 'cityName': '连云港中心支公司', 'cityCode': '863207', 'checked': False, 'disabled': False}, {'cityId': 15, 'cityName': '盐城中心支公司', 'cityCode': '863209', 'checked': False, 'disabled': False}, {'cityId': 16, 'cityName': '扬州中心支公司', 'cityCode': '863210', 'checked': False, 'disabled': False}, {'cityId': 17, 'cityName': '镇江中心支公司', 'cityCode': '863211', 'checked': False, 'disabled': False}, {'cityId': 18, 'cityName': '宿迁中心支公司', 'cityCode': '863213', 'checked': False, 'disabled': False}]}, {'provinceId': 3, 'provinceName': '山东省分公司', 'provinceCode': '8637', 'checked': False, 'disabled': False, 'organizationCity': [{'cityId': 19, 'cityName': '济南本部', 'cityCode': '863701', 'checked': False, 'disabled': False}, {'cityId': 20, 'cityName': '淄博中心支公司', 'cityCode': '863703', 'checked': False, 'disabled': False}, {'cityId': 21, 'cityName': '枣庄中心支公司', 'cityCode': '863704', 'checked': False, 'disabled': False}, {'cityId': 22, 'cityName': '东营中心支公司', 'cityCode': '863705', 'checked': False, 'disabled': False}, {'cityId': 23, 'cityName': '烟台中心支公司', 'cityCode': '863706', 'checked': False, 'disabled': False}, {'cityId': 24, 'cityName': '潍坊中心支公司', 'cityCode': '863707', 'checked': False, 'disabled': False}, {'cityId': 25, 'cityName': '济宁中心支公司', 'cityCode': '863708', 'checked': False, 'disabled': False}, {'cityId': 26, 'cityName': '泰安中心支公司', 'cityCode': '863709', 'checked': False, 'disabled': False}, {'cityId': 27, 'cityName': '威海中心支公司', 'cityCode': '863710', 'checked': False, 'disabled': False}, {'cityId': 28, 'cityName': '日照中心支公司', 'cityCode': '863711', 'checked': False, 'disabled': False}, {'cityId': 29, 'cityName': '莱芜中心支公司', 'cityCode': '863712', 'checked': False, 'disabled': False}, {'cityId': 30, 'cityName': '临沂中心支公司', 'cityCode': '863713', 'checked': False, 'disabled': False}, {'cityId': 31, 'cityName': '德州中心支公司', 'cityCode': '863714', 'checked': False, 'disabled': False}, {'cityId': 32, 'cityName': '聊城中心支公司', 'cityCode': '863715', 'checked': False, 'disabled': False}, {'cityId': 33, 'cityName': '滨州中心支公司', 'cityCode': '863716', 'checked': False, 'disabled': False}, {'cityId': 34, 'cityName': '菏泽中心支公司', 'cityCode': '863717', 'checked': False, 'disabled': False}]}, {'provinceId': 4, 'provinceName': '青岛分公司', 'provinceCode': '8666', 'checked': False, 'disabled': False, 'organizationCity': [{'cityId': 35, 'cityName': '青岛分公司', 'cityCode': '866601', 'checked': False, 'disabled': False}]}], 'speechName': '', 'recordTypes': [], 'insuranceSelf': 2, 'systemType': 1, 'stlId': None}} testFunc (case.WebSpeechTemplateConditionList.WebSpeechTemplateConditionList)执行——>【通过】 </pre> </td> </tr> <tr> <td>31</td> <td class="WebSpeechTemplateCreatRule">WebSpeechTemplateCreatRule</td> <td>testFunc</td> <td>创建话术模板</td> <td>0.406s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:20,134 - root - INFO - ********************【创建话术模板_60岁以下,非自保,现场】接口测试开始!******************** 2021-09-14 17:52:20,135 - root - INFO - 【创建话术模板_60岁以下,非自保,现场】的接口入参为:{'speechName': '接口自动化话术(勿动)', 'channelIds': [9], 'provinceIds': [1, 1], 'cityIds': [5], 'ageIds': [4], 'insuranceSelf': 2, 'insuranceType': 'sx', 'systemType': 1} 2021-09-14 17:52:20,489 - root - INFO - 【创建话术模板_60岁以下,非自保,现场】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebSpeechTemplateCreatRule.WebSpeechTemplateCreatRule)执行——>【通过】 </pre> </td> </tr> <tr> <td>32</td> <td class="WebSpeechTemplateQueryList">WebSpeechTemplateQueryList</td> <td>testFunc</td> <td>话术模版库列表</td> <td>0.159s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:20,533 - root - INFO - ********************【话术模版库列表】接口测试开始!******************** 2021-09-14 17:52:20,533 - root - INFO - 【话术模版库列表】的接口入参为:{'speechName': '接口自动化话术(勿动)', 'page': 1, 'perPage': 10} 2021-09-14 17:52:20,648 - root - INFO - 【话术模版库列表】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'speechList': [{'stlId': 85, 'speechName': '接口自动化话术(勿动)', 'insuranceSelf': 2, 'speechStatus': 2, 'systemType': 1, 'updateTime': 1631613140000, 'takeEffectAge': '60岁以下', 'takeEffectChannel': '个人营销', 'takeEffectOrg': '河北省分公司本部', 'recordType': '新契约'}], 'totalCount': 1}} testFunc (case.WebSpeechTemplateQueryList.WebSpeechTemplateQueryList)执行——>【通过】 </pre> </td> </tr> <tr> <td>33</td> <td class="WebSpeechTemplateVariables">WebSpeechTemplateVariables</td> <td>testFunc</td> <td>话术获取生效条件</td> <td>0.217s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:20,692 - root - INFO - ********************【话术获取生效条件】接口测试开始!******************** 2021-09-14 17:52:20,863 - root - INFO - 【话术获取生效条件】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': [{'id': '4', 'name': 'order', 'desc': '订单基本信息', 'available': 1, 'display': 1, 'sort': 0, 'members': [{'id': '8', 'name': 'identifier', 'desc': '订单号', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '9', 'name': 'policyType', 'desc': '保单类型', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '10', 'name': 'recordingTime', 'desc': '双录时间', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '49', 'name': 'recordType', 'desc': '双录类型', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '50', 'name': 'inputType', 'desc': '入件方式', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '55', 'name': 'selfNo', 'desc': '保全识别码', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '56', 'name': 'policyNo', 'desc': '保单号', 'available': 1, 'display': 0, 'sort': 0, 'members': None}, {'id': '57', 'name': 'quotaItem', 'desc': '保全项', 'available': 1, 'display': 1, 'sort': 0, 'members': None}]}, {'id': '5', 'name': 'insurance', 'desc': '投保基本信息', 'available': 1, 'display': 1, 'sort': 0, 'members': [{'id': '11', 'name': 'productName', 'desc': '产品名称', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '12', 'name': 'productCode', 'desc': '产品代码', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '13', 'name': 'productCategory', 'desc': '产品种类', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '14', 'name': 'payType', 'desc': '缴费方式', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '15', 'name': 'payPeriod', 'desc': '缴费期限', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '16', 'name': 'policyPeriod', 'desc': '保险期限', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '18', 'name': 'periodAmount', 'desc': '每期缴费金额', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '21', 'name': 'name', 'desc': '被保人姓名', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '22', 'name': 'gender', 'desc': '被保人性别', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '23', 'name': 'honorific', 'desc': '被保人尊称', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '24', 'name': 'birth', 'desc': '被保人出生日期', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '25', 'name': 'age', 'desc': '被保人年龄', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '27', 'name': 'certType', 'desc': '被保人证件类型', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '28', 'name': 'certNo', 'desc': '被保人证件号码', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '30', 'name': 'address', 'desc': '被保人通讯地址', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '32', 'name': 'guardian', 'desc': '被保人监护人姓名', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '47', 'name': 'productType', 'desc': '产品类型', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '53', 'name': 'cashValueOfFirstYear', 'desc': '首年现金价值', 'available': 1, 'display': 1, 'sort': 0, 'members': None}]}, {'id': '6', 'name': 'agent', 'desc': '销售人员信息', 'available': 1, 'display': 1, 'sort': 0, 'members': [{'id': '33', 'name': 'name', 'desc': '销售人员姓名', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '34', 'name': 'employeeId', 'desc': '销售人员工号', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '35', 'name': 'branchName', 'desc': '销售人员分公司名称', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '36', 'name': 'subBranchName', 'desc': '销售人员支公司名称', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '51', 'name': 'companyName', 'desc': '销售人员所属机构名称', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '52', 'name': 'identityNo', 'desc': '销售人员身份证号', 'available': 1, 'display': 1, 'sort': 0, 'members': None}]}, {'id': '7', 'name': 'applicant', 'desc': '投保人信息', 'available': 1, 'display': 1, 'sort': 0, 'members': [{'id': '37', 'name': 'name', 'desc': '投保人姓名', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '38', 'name': 'gender', 'desc': '投保人性别', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '39', 'name': 'honorific', 'desc': '投保人尊称', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '40', 'name': 'age', 'desc': '投保人年龄', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '42', 'name': 'birth', 'desc': '投保人出生日期', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '43', 'name': 'certType', 'desc': '投保人证件类型', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '44', 'name': 'certNo', 'desc': '投保人证件号码', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': '45', 'name': 'address', 'desc': '投保人通讯地址', 'available': 1, 'display': 1, 'sort': 0, 'members': None}]}, {'id': 'P-0', 'name': 'productAttrs', 'desc': '产品属性', 'available': 1, 'display': 1, 'sort': 0, 'members': [{'id': 'P-101', 'name': '101', 'desc': '是否一年期', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-102', 'name': '102', 'desc': '是否双录', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-103', 'name': '103', 'desc': '是否可续保', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-104', 'name': '104', 'desc': '是否以死亡为给付', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-105', 'name': '105', 'desc': '犹豫期', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-106', 'name': '106', 'desc': '观察期', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-107', 'name': '107', 'desc': '分红说明', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-108', 'name': '108', 'desc': '万能说明', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-109', 'name': '109', 'desc': '等待期', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-110', 'name': '110', 'desc': '定点医疗机构', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-111', 'name': '111', 'desc': '续保条件', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-112', 'name': '112', 'desc': '补偿原则', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-113', 'name': '113', 'desc': '免责条款', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-116', 'name': '116', 'desc': '保险责任', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-118', 'name': '118', 'desc': 'eqeqeq', 'available': 1, 'display': 1, 'sort': 0, 'members': None}, {'id': 'P-119', 'name': '119', 'desc': '88', 'available': 1, 'display': 1, 'sort': 0, 'members': None}]}]} testFunc (case.WebSpeechTemplateVariables.WebSpeechTemplateVariables)执行——>【通过】 </pre> </td> </tr> <tr> <td>34</td> <td class="WebSpeechTemplateOperators">WebSpeechTemplateOperators</td> <td>testFunc</td> <td>话术获取运算符</td> <td>0.16s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:20,932 - root - INFO - ********************【话术获取运算符】接口测试开始!******************** 2021-09-14 17:52:21,026 - root - INFO - 【话术获取运算符】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': [{'operator': '>', 'desc': '大于'}, {'operator': '>=', 'desc': '大于等于'}, {'operator': '<', 'desc': '小于'}, {'operator': '<=', 'desc': '小于等于'}, {'operator': '!=', 'desc': '不等于'}, {'operator': '==', 'desc': '等于'}, {'operator': "==''", 'desc': '不存在'}, {'operator': "!=''", 'desc': '存在'}]} testFunc (case.WebSpeechTemplateOperators.WebSpeechTemplateOperators)执行——>【通过】 </pre> </td> </tr> <tr> <td>35</td> <td class="WebSpeechTemplateGetSpeech">WebSpeechTemplateGetSpeech</td> <td>testFunc</td> <td>话术预览/话术编辑 (获取话术)</td> <td>0.209s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:21,092 - root - INFO - ********************【话术预览编辑】接口测试开始!******************** 2021-09-14 17:52:21,093 - root - INFO - 【话术预览编辑】的接口入参为:{'stlId': 85} 2021-09-14 17:52:21,235 - root - INFO - 【话术预览编辑】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'speechName': '接口自动化话术(勿动)', 'stlId': 85, 'phaseList': []}} testFunc (case.WebSpeechTemplateGetSpeech.WebSpeechTemplateGetSpeech)执行——>【通过】 </pre> </td> </tr> <tr> <td>36</td> <td class="WebSpeechTemplatePhaseCreat">WebSpeechTemplatePhaseCreat</td> <td>testFunc</td> <td>创建话术模板环节(话术大环节、小环节)</td> <td>0.569s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:21,312 - root - INFO - ********************【创建话术】接口测试开始!******************** 2021-09-14 17:52:21,313 - root - INFO - 【创建话术】的接口入参为:{'speechName': '接口自动化话术(勿动)', 'stlId': 85, 'phaseList': [{'phaseTitle': '大环节名称', 'phaseNum': 1, 'showPhaseTitle': '大环节名称', 'hintsList': [{'hintName': 'apitest', 'hintTitle': 'apitest', 'showHintName': '小环节名称', 'tts': '接口自动话测试', 'hintNum': 1, 'conditions': [], 'conditionType': 1, 'hintType': {'hintType': 2, 'sure': '', 'no': '', 'docType': 100, 'certificateType': '', 'ocr': '', 'docPrdCode': ''}, 'bindBefore': 0, 'bindAfter': 0, 'bindBeforeChosed': 1, 'bindUnique': 'f2f3eb26-856b-8fd1-e916-e761f8739d9d', 'classIndex': 0, 'userRole': 1}]}]} 2021-09-14 17:52:21,805 - root - INFO - 【创建话术】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': ''} testFunc (case.WebSpeechTemplatePhaseCreat.WebSpeechTemplatePhaseCreat)执行——>【通过】 </pre> </td> </tr> <tr> <td>37</td> <td class="WebSpeechTemplateUpdateStatus">WebSpeechTemplateUpdateStatus</td> <td>testFunc</td> <td>更新话术状态: 上架、下架</td> <td>0.397s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:21,855 - root - INFO - ********************【创建话术_下架】接口测试开始!******************** 2021-09-14 17:52:21,856 - root - INFO - 【创建话术_下架】的接口入参为:{'speechStatus': 2, 'stlId': 85} 2021-09-14 17:52:22,058 - root - INFO - 【创建话术_下架】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': 1631613142012} 2021-09-14 17:52:22,059 - root - INFO - ********************【创建话术_上架】接口测试开始!******************** 2021-09-14 17:52:22,060 - root - INFO - 【创建话术_上架】的接口入参为:{'speechStatus': 1, 'stlId': 85} 2021-09-14 17:52:22,201 - root - INFO - 【创建话术_上架】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': 1631613142160} testFunc (case.WebSpeechTemplateUpdateStatus.WebSpeechTemplateUpdateStatus)执行——>【通过】 </pre> </td> </tr> <tr> <td>38</td> <td class="WebSpeechTemplateCopySpeech">WebSpeechTemplateCopySpeech</td> <td>testFunc</td> <td>复制话术模版</td> <td>0.362s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:22,257 - root - INFO - ********************【复制话术模版】接口测试开始!******************** 2021-09-14 17:52:22,258 - root - INFO - 【复制话术模版】的接口入参为:{'stlId': 85} 2021-09-14 17:52:22,564 - root - INFO - 【复制话术模版】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebSpeechTemplateCopySpeech.WebSpeechTemplateCopySpeech)执行——>【通过】 </pre> </td> </tr> <tr> <td>39</td> <td class="WebQualityAuditProportionConfigRuleAdd">WebQualityAuditProportionConfigRuleAdd</td> <td>testFunc</td> <td>质检比列列表:新增规则</td> <td>1.73s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:22,655 - root - INFO - select * from quanlity_audit_proportion_conf where id=4; 2021-09-14 17:52:22,665 - root - INFO - () 2021-09-14 17:52:22,667 - root - INFO - ********************【新增质检比例】接口测试开始!******************** 2021-09-14 17:52:22,668 - root - INFO - 【新增质检比例】的接口入参为:{'ruleName': '接口自动化质检比例(勿动)', 'proportion': 100, 'checkedChannelArr': ['个人营销'], 'checkedAgeArr': [None], 'checkedProductTypeArr': [13], 'ai': [], 'reviewProportion': 100, 'checkedProvinceArr': [1], 'checkedCityArr': [5], 'checkedPeriodArr': [], 'checkedSystemTypeArr': [], 'checkedOrderTypeArr': [], 'samplingPeriod': '0', 'checkedSubCompanyArr': [5]} 2021-09-14 17:52:24,295 - root - INFO - 【新增质检比例】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebQualityAuditProportionConfigRuleAdd.WebQualityAuditProportionConfigRuleAdd)执行——>【通过】 </pre> </td> </tr> <tr> <td>40</td> <td class="WebQualityAuditProportionConfigList">WebQualityAuditProportionConfigList</td> <td>testFunc</td> <td>提供质检比例规则列表</td> <td>0.369s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:24,343 - root - INFO - ********************【提供质检比例规则列表】接口测试开始!******************** 2021-09-14 17:52:24,343 - root - INFO - 【提供质检比例规则列表】的接口入参为:{'ruleName': '接口自动化质检比例(勿动)', 'page': 1, 'perPage': 10} 2021-09-14 17:52:24,663 - root - INFO - 【提供质检比例规则列表】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'proportionList': [{'id': 7, 'ageRange': [], 'ruleName': '接口自动化质检比例(勿动)', 'productType': ['分红险'], 'proportion': 100, 'createTime': '2021-09-14 17:52:24', 'orgId': ['河北省分公司本部'], 'channel': ['个人营销'], 'extractNum': None, 'updateTime': '2021-09-14 17:52:24', 'orderType': []}], 'totalCount': 1}} testFunc (case.WebQualityAuditProportionConfigList.WebQualityAuditProportionConfigList)执行——>【通过】 </pre> </td> </tr> <tr> <td>41</td> <td class="WebQualityAuditProportionConfigDetail">WebQualityAuditProportionConfigDetail</td> <td>testFunc</td> <td>提供质检比例规则详情</td> <td>0.413s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:24,716 - root - INFO - ********************【新增质检比例】接口测试开始!******************** 2021-09-14 17:52:24,716 - root - INFO - 【新增质检比例】的接口入参为:{'id': 7} 2021-09-14 17:52:25,076 - root - INFO - 【新增质检比例】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'id': 7, 'ageRange': [], 'ruleName': '接口自动化质检比例(勿动)', 'productType': [13], 'proportion': 100, 'createTime': '2021-09-14T09:52:24.000+00:00', 'orgId': [{'provinceId': 1, 'provinceName': '河北省分公司', 'provinceCode': '8613', 'checked': True, 'disabled': False, 'organizationCity': [{'cityId': 5, 'cityName': '河北省分公司本部', 'cityCode': '861301', 'checked': True, 'disabled': False}, {'cityId': 6, 'cityName': '邯郸中心支公司', 'cityCode': '861304', 'checked': False, 'disabled': False}, {'cityId': 7, 'cityName': '保定中心支公司', 'cityCode': '861306', 'checked': False, 'disabled': False}, {'cityId': 8, 'cityName': '沧州中心支公司', 'cityCode': '861309', 'checked': False, 'disabled': False}, {'cityId': 36, 'cityName': '衡水中心支公司', 'cityCode': '8613', 'checked': False, 'disabled': False}, {'cityId': 38, 'cityName': '郑州中支', 'cityCode': '864101', 'checked': False, 'disabled': False}]}, {'provinceId': 2, 'provinceName': '江苏省分公司', 'provinceCode': '8632', 'checked': False, 'disabled': False, 'organizationCity': [{'cityId': 9, 'cityName': '江苏省分公司本部', 'cityCode': '863201', 'checked': False, 'disabled': False}, {'cityId': 10, 'cityName': '无锡中心支公司', 'cityCode': '863202', 'checked': False, 'disabled': False}, {'cityId': 11, 'cityName': '徐州中心支公司', 'cityCode': '863203', 'checked': False, 'disabled': False}, {'cityId': 12, 'cityName': '常州中心支公司', 'cityCode': '863204', 'checked': False, 'disabled': False}, {'cityId': 13, 'cityName': '苏州中心支公司', 'cityCode': '863205', 'checked': False, 'disabled': False}, {'cityId': 14, 'cityName': '连云港中心支公司', 'cityCode': '863207', 'checked': False, 'disabled': False}, {'cityId': 15, 'cityName': '盐城中心支公司', 'cityCode': '863209', 'checked': False, 'disabled': False}, {'cityId': 16, 'cityName': '扬州中心支公司', 'cityCode': '863210', 'checked': False, 'disabled': False}, {'cityId': 17, 'cityName': '镇江中心支公司', 'cityCode': '863211', 'checked': False, 'disabled': False}, {'cityId': 18, 'cityName': '宿迁中心支公司', 'cityCode': '863213', 'checked': False, 'disabled': False}]}, {'provinceId': 3, 'provinceName': '山东省分公司', 'provinceCode': '8637', 'checked': False, 'disabled': False, 'organizationCity': [{'cityId': 19, 'cityName': '济南本部', 'cityCode': '863701', 'checked': False, 'disabled': False}, {'cityId': 20, 'cityName': '淄博中心支公司', 'cityCode': '863703', 'checked': False, 'disabled': False}, {'cityId': 21, 'cityName': '枣庄中心支公司', 'cityCode': '863704', 'checked': False, 'disabled': False}, {'cityId': 22, 'cityName': '东营中心支公司', 'cityCode': '863705', 'checked': False, 'disabled': False}, {'cityId': 23, 'cityName': '烟台中心支公司', 'cityCode': '863706', 'checked': False, 'disabled': False}, {'cityId': 24, 'cityName': '潍坊中心支公司', 'cityCode': '863707', 'checked': False, 'disabled': False}, {'cityId': 25, 'cityName': '济宁中心支公司', 'cityCode': '863708', 'checked': False, 'disabled': False}, {'cityId': 26, 'cityName': '泰安中心支公司', 'cityCode': '863709', 'checked': False, 'disabled': False}, {'cityId': 27, 'cityName': '威海中心支公司', 'cityCode': '863710', 'checked': False, 'disabled': False}, {'cityId': 28, 'cityName': '日照中心支公司', 'cityCode': '863711', 'checked': False, 'disabled': False}, {'cityId': 29, 'cityName': '莱芜中心支公司', 'cityCode': '863712', 'checked': False, 'disabled': False}, {'cityId': 30, 'cityName': '临沂中心支公司', 'cityCode': '863713', 'checked': False, 'disabled': False}, {'cityId': 31, 'cityName': '德州中心支公司', 'cityCode': '863714', 'checked': False, 'disabled': False}, {'cityId': 32, 'cityName': '聊城中心支公司', 'cityCode': '863715', 'checked': False, 'disabled': False}, {'cityId': 33, 'cityName': '滨州中心支公司', 'cityCode': '863716', 'checked': False, 'disabled': False}, {'cityId': 34, 'cityName': '菏泽中心支公司', 'cityCode': '863717', 'checked': False, 'disabled': False}]}, {'provinceId': 4, 'provinceName': '青岛分公司', 'provinceCode': '8666', 'checked': False, 'disabled': False, 'organizationCity': [{'cityId': 35, 'cityName': '青岛分公司', 'cityCode': '866601', 'checked': False, 'disabled': False}]}], 'channel': ['个人营销'], 'updateTime': '2021-09-14T09:52:24.000+00:00', 'extractNum': None, 'orderType': []}} testFunc (case.WebQualityAuditProportionConfigDetail.WebQualityAuditProportionConfigDetail)执行——>【通过】 </pre> </td> </tr> <tr> <td>42</td> <td class="WebQualityAuditProportionConfigRuleModify">WebQualityAuditProportionConfigRuleModify</td> <td>testFunc</td> <td>质检比列列表:修改规则</td> <td>0.303s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:25,152 - root - INFO - select * from quanlity_audit_proportion_conf where id=4; 2021-09-14 17:52:25,161 - root - INFO - () 2021-09-14 17:52:25,162 - root - INFO - ********************【修改质检比例】接口测试开始!******************** 2021-09-14 17:52:25,163 - root - INFO - 【修改质检比例】的接口入参为:{'id': 7, 'ruleName': '接口自动化质检比例(勿动)', 'proportion': 100, 'checkedChannelArr': ['个人营销'], 'checkedAgeArr': [None], 'checkedProductTypeArr': [13], 'ai': [], 'checkedProvinceArr': [1], 'checkedCityArr': [5], 'checkedPeriodArr': [], 'checkedSystemTypeArr': [], 'checkedOrderTypeArr': [], 'samplingPeriod': '0'} 2021-09-14 17:52:25,379 - root - INFO - 【修改质检比例】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebQualityAuditProportionConfigRuleModify.WebQualityAuditProportionConfigRuleModify)执行——>【通过】 </pre> </td> </tr> <tr> <td>43</td> <td class="AppAuthLogin">AppAuthLogin</td> <td>testFunc</td> <td>app登录</td> <td>0.762s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:25,401 - root - INFO - 该case忽略 2021-09-14 17:52:25,402 - root - INFO - ********************【app登陆--统一登录】接口测试开始!******************** 2021-09-14 17:52:25,402 - root - INFO - 【app登陆--统一登录】的接口入参为:{'username': '1234325', 'password': 'Aa12345678...', 'deviceNum': '078424F3-26DE-4A76-BC66-E4CD2C55BB0A'} 2021-09-14 17:52:26,142 - root - INFO - 【app登陆--统一登录】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '王妮', 'token': 'd301462b474643f483d1a4353495b5c4', 'role': 32, 'marketingChannel': '个人营销', 'branchId': 0, 'subBranchId': 0, 'subBranchName': '济南本部', 'directlyAgencyName': '济南本部', 'directlyAgencyId': 19, 'reset': 0, 'phoneNum': ''}} testFunc (case.AppAuthLogin.AppAuthLogin)执行——>【通过】 </pre> </td> </tr> <tr> <td>44</td> <td class="AppVersionUpdate">AppVersionUpdate</td> <td>testFunc</td> <td>A端版本更新</td> <td>0.141s</td> <td class="text-danger">失败</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:26,163 - root - INFO - ********************【A端检查版本更新】接口测试开始!******************** 2021-09-14 17:52:26,164 - root - INFO - 【A端检查版本更新】的接口入参为:{'deviceType': 'ANDROID', 'deviceId': 'c4fc83d1-fba3-3593-ba84-a26ee9bcc818'} https://vdr-ergolife-staging.situdata.com/cl/app/version/update testFunc (case.AppVersionUpdate.AppVersionUpdate)执行——>【失败】 </pre> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 628, in run testMethod() </pre> <pre> File "/Users/fumengqi/Downloads/Code/workspace/Python/SITUAPIAutomation/case/AppVersionUpdate.py", line 19, in testFunc self.getTest(data_list[i]) </pre> <pre> File "/Users/fumengqi/Downloads/Code/workspace/Python/SITUAPIAutomation/case/AppVersionUpdate.py", line 42, in getTest self.assertEqual(res['code'], code, msg=str(res)) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual assertion_func(first, second, msg=msg) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual raise self.failureException(msg) </pre> <pre>AssertionError: 2909 != 0 : {'code': 2909, 'msg': '登陆超时', 'success': False} </pre> </td> </tr> <tr> <td>45</td> <td class="AppHomeList">AppHomeList</td> <td>testFunc</td> <td>app首页展示</td> <td>0.178s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:26,305 - root - INFO - ********************【app首页展示】接口测试开始!******************** 2021-09-14 17:52:26,306 - root - INFO - 【app首页展示】的接口入参为:{'wait2UploadOrderList': [0]} 2021-09-14 17:52:26,461 - root - INFO - 【app首页展示】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'wait2RecordCount': 49, 'wait2QualityAuditCount': 6, 'rejectedCount': 2, 'completedCount': 1, 'cancelledCount': 0, 'needDelList': [0]}} testFunc (case.AppHomeList.AppHomeList)执行——>【通过】 </pre> </td> </tr> <tr> <td>46</td> <td class="AppListCount">AppListCount</td> <td>testFunc</td> <td>app订单列表</td> <td>0.836s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:26,482 - root - INFO - ********************【app订单列表_待录制】接口测试开始!******************** 2021-09-14 17:52:26,483 - root - INFO - 【app订单列表_待录制】的接口入参为:{'wait2UploadOrderList': [], 'listType': 1.0, 'name': '', 'perPage': '10', 'page': '1'} 2021-09-14 17:52:26,666 - root - INFO - 【app订单列表_待录制】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'orderList': [{'orderRecordId': 165, 'customerName': 'hjj', 'productName': '德华安顾爱守护定期寿险', 'orderId': 'ghhj', 'createTime': '2021-09-14 17:31:32', 'orderNoType': 2, 'appntAge': '21', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}, {'orderRecordId': 47, 'customerName': 'www', 'productName': 'zxh测试', 'orderId': '花束', 'createTime': '2021-09-10 11:31:54', 'orderNoType': 2, 'appntAge': '21', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}, {'orderRecordId': 131, 'customerName': '哦哦哦', 'productName': '德华安顾e生无忧定期寿险(2019版)', 'orderId': 'uuuoooppp', 'createTime': '2021-09-14 11:36:54', 'orderNoType': 2, 'appntAge': '21', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}, {'orderRecordId': 132, 'customerName': '基金必须不能向你学习呢', 'productName': '德华安顾e生无忧定期寿险(2019版)', 'orderId': 'pkjhhjj', 'createTime': '2021-09-14 11:38:15', 'orderNoType': 2, 'appntAge': '21', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}, {'orderRecordId': 153, 'customerName': '斤斤计较基督教道德家的呢', 'productName': 'zxh测试', 'orderId': '你的男的女的呢', 'createTime': '2021-09-14 16:15:55', 'orderNoType': 2, 'appntAge': '60', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}, {'orderRecordId': 151, 'customerName': '韩超', 'productName': 'wwwwwwwwwq', 'orderId': '', 'createTime': '2021-09-14 16:06:46', 'orderNoType': 0, 'appntAge': '31', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 2, 'quotaType': '新增附加险', 'selfNo': '202106002448538_7', 'policyNo': '202106002448538'}, {'orderRecordId': 144, 'customerName': '问问', 'productName': '德华安顾医保通医疗保险(旗舰版)', 'orderId': '0120140200011137', 'createTime': '2021-09-14 14:59:23', 'orderNoType': 1, 'appntAge': '31', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}, {'orderRecordId': 119, 'customerName': '李中介', 'productName': 'zxh附加险', 'orderId': '', 'createTime': '2021-09-14 10:50:53', 'orderNoType': 0, 'appntAge': '51', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 2, 'quotaType': '新增附加险', 'selfNo': '531090100067961_1', 'policyNo': '531090100067961'}, {'orderRecordId': 148, 'customerName': '赵测试', 'productName': '德华安顾巴纳德重大疾病保险(尊享版)', 'orderId': '0120180100073031', 'createTime': '2021-09-14 15:02:31', 'orderNoType': 1, 'appntAge': '41', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}, {'orderRecordId': 141, 'customerName': '李召', 'productName': 'wwwwwwwwwq', 'orderId': '', 'createTime': '2021-09-14 14:45:12', 'orderNoType': 0, 'appntAge': '31', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 2, 'quotaType': '新增附加险', 'selfNo': '202106002449581_2', 'policyNo': '202106002449581'}], 'totalCount': 49}} 2021-09-14 17:52:26,667 - root - INFO - ********************【app订单列表_待审核】接口测试开始!******************** 2021-09-14 17:52:26,668 - root - INFO - 【app订单列表_待审核】的接口入参为:{'wait2UploadOrderList': [], 'listType': 2.0, 'name': '', 'perPage': '10', 'page': '1'} 2021-09-14 17:52:26,833 - root - INFO - 【app订单列表_待审核】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'orderList': [{'orderRecordId': 139, 'customerName': '汪亮亮', 'productName': '德华安顾稳健盈终身寿险(投资连结型)', 'orderId': '111223', 'createTime': '2021-09-14 14:26:34', 'orderNoType': 2, 'appntAge': '32', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}, {'orderRecordId': 138, 'customerName': '汪亮亮4', 'productName': '德华安顾安稳盈终身寿险(投资连结型)', 'orderId': '12338888', 'createTime': '2021-09-14 14:20:05', 'orderNoType': 2, 'appntAge': '29', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}, {'orderRecordId': 137, 'customerName': '汪亮亮3', 'productName': '德华安顾稳健盈终身寿险(投资连结型)', 'orderId': '1233', 'createTime': '2021-09-14 14:17:41', 'orderNoType': 2, 'appntAge': '37', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}, {'orderRecordId': 136, 'customerName': '汪亮亮2', 'productName': '德华安顾安稳盈终身寿险(投资连结型)', 'orderId': '22233', 'createTime': '2021-09-14 14:15:19', 'orderNoType': 2, 'appntAge': '42', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}, {'orderRecordId': 134, 'customerName': '汪亮亮1', 'productName': '德华安顾e生无忧定期寿险(2019版)', 'orderId': '122544', 'createTime': '2021-09-14 14:06:44', 'orderNoType': 2, 'appntAge': '33', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}, {'orderRecordId': 4, 'customerName': 'zxh', 'productName': 'zxh测试', 'orderId': 'zxh新契约', 'createTime': '2021-09-09 14:07:22', 'orderNoType': 2, 'appntAge': '21', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}], 'totalCount': 6}} 2021-09-14 17:52:26,834 - root - INFO - ********************【app订单列表_已驳回】接口测试开始!******************** 2021-09-14 17:52:26,835 - root - INFO - 【app订单列表_已驳回】的接口入参为:{'wait2UploadOrderList': [], 'listType': 3.0, 'name': '', 'perPage': '10', 'page': '1'} 2021-09-14 17:52:26,999 - root - INFO - 【app订单列表_已驳回】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'orderList': [{'orderRecordId': 3, 'customerName': '王大雪', 'productName': '德华安顾e生无忧定期寿险(2019版)', 'orderId': 'wdx0001', 'createTime': '2021-09-09 14:02:00', 'orderNoType': 2, 'appntAge': '26', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}, {'orderRecordId': 6, 'customerName': '刘小佳', 'productName': 'zxh测试', 'orderId': 'lxj-002', 'createTime': '2021-09-09 14:11:12', 'orderNoType': 2, 'appntAge': '22', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}], 'totalCount': 2}} 2021-09-14 17:52:27,000 - root - INFO - ********************【app订单列表_已完成】接口测试开始!******************** 2021-09-14 17:52:27,001 - root - INFO - 【app订单列表_已完成】的接口入参为:{'wait2UploadOrderList': [], 'listType': 4.0, 'name': '', 'perPage': '10', 'page': '1'} 2021-09-14 17:52:27,161 - root - INFO - 【app订单列表_已完成】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'orderList': [{'orderRecordId': 140, 'customerName': '汪亮亮7', 'productName': '德华安顾安稳盈终身寿险(投资连结型)', 'orderId': '99990', 'createTime': '2021-09-14 14:29:51', 'orderNoType': 2, 'appntAge': '31', 'hesitatePeriod': 0, 'supportRemote': 2, 'signWay': 0, 'positioning': 1, 'area': 0, 'range': '', 'orgId': 19, 'systemType': 1, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'orderType': 1, 'quotaType': '', 'selfNo': '', 'policyNo': ''}], 'totalCount': 1}} 2021-09-14 17:52:27,161 - root - INFO - ********************【app订单列表_已撤单】接口测试开始!******************** 2021-09-14 17:52:27,162 - root - INFO - 【app订单列表_已撤单】的接口入参为:{'wait2UploadOrderList': [], 'listType': 5.0, 'name': '', 'perPage': '10', 'page': '1'} 2021-09-14 17:52:27,297 - root - INFO - 【app订单列表_已撤单】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'orderList': [], 'totalCount': 0}} testFunc (case.AppListCount.AppListCount)执行——>【通过】 </pre> </td> </tr> <tr> <td>47</td> <td class="AppOrderQuotaDetail">AppOrderQuotaDetail</td> <td>testFunc</td> <td>查询订单在保司是否存在</td> <td>0.558s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:27,320 - root - INFO - ********************【查询保司订单】接口测试开始!******************** 2021-09-14 17:52:27,321 - root - INFO - 【查询保司订单】的接口入参为:{'businessType': 1, 'identifier': '202106002448538'} 2021-09-14 17:52:27,850 - root - INFO - 【查询保司订单】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'订单基本信息': {'保单号': '202106002448538', '保单类型': '非自保件'}, '投保人信息': {'姓名': '韩超', '证件号码': '110101199003077694', '出生日期': '1990-03-07', '证件类型': '身份证', '性别': '男', '投保人是被保人的': '父亲'}, '被保人信息': [{'姓名': '哦哦', '监护人姓名': '', '证件号码': '110101200803071616', '出生日期': '2008-03-07', '证件类型': '身份证', '性别': '男'}], '保险信息': [{'保险期限': '1年', '被保人': ['哦哦'], '附加险': [], '产品名称': '德华安顾奥特保重大疾病保险(2021版)', '每期缴费金额': 3.4, '缴费期限': '1年', '缴费方式': '年缴'}], 'taskId': 'a1956529bc9d4f60bf0af257a9076444'}} testFunc (case.AppOrderQuotaDetail.AppOrderQuotaDetail)执行——>【通过】 </pre> </td> </tr> <tr> <td>48</td> <td class="AppProductList">AppProductList</td> <td>testFunc</td> <td>产品信息</td> <td>0.344s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:27,876 - root - INFO - ********************【产品信息_主险】接口测试开始!******************** 2021-09-14 17:52:27,877 - root - INFO - 【产品信息_主险】的接口入参为:{'productType': '0', 'page': 1, 'perpage': 15, 'insureType': 2, 'riskType': 1} 2021-09-14 17:52:28,060 - root - INFO - 【产品信息_主险】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'totalCount': 64, 'productInfoList': [{'productName': '12345678', 'productCode': '234', 'productType': 13, 'productTypeName': '分红险'}, {'productName': 'apitest', 'productCode': 'apitest', 'productType': 13, 'productTypeName': '分红险'}, {'productName': 'zxh测试', 'productCode': '0011', 'productType': 13, 'productTypeName': '分红险'}, {'productName': '德华安顾e生无忧定期寿险(2019版)', 'productCode': '5110236', 'productType': 14, 'productTypeName': '传统险'}, {'productName': '德华安顾爱守护定期寿险', 'productCode': '5110270', 'productType': 14, 'productTypeName': '传统险'}, {'productName': '德华安顾安 e 盈养老年金保险(分红型)', 'productCode': '5210221', 'productType': 13, 'productTypeName': '分红险'}, {'productName': '德华安顾安健e生医疗保险', 'productCode': '1320198', 'productType': 16, 'productTypeName': '健康险'}, {'productName': '德华安顾安稳盈终身寿险(投资连结型)', 'productCode': '5120248', 'productType': 19, 'productTypeName': '投连险'}, {'productName': '德华安顾安享e生医疗保险', 'productCode': '1320166', 'productType': 16, 'productTypeName': '健康险'}, {'productName': '德华安顾安享e生医疗保险(升级版)', 'productCode': '5320272', 'productType': 16, 'productTypeName': '健康险'}, {'productName': '德华安顾安享人生多倍保(卓越版)重大疾病保险', 'productCode': '1310200', 'productType': 18, 'productTypeName': '重疾险'}, {'productName': '德华安顾安享人生多倍保重大疾病保险', 'productCode': '1310201', 'productType': 18, 'productTypeName': '重疾险'}, {'productName': '德华安顾安心无忧意外伤害保险(2019版)', 'productCode': '1410229', 'productType': 14, 'productTypeName': '传统险'}, {'productName': '德华安顾安佑一生终身寿险(分红型)', 'productCode': '1120178', 'productType': 13, 'productTypeName': '分红险'}, {'productName': '德华安顾奥特保重大疾病保险', 'productCode': '5310255', 'productType': 16, 'productTypeName': '健康险'}]}} 2021-09-14 17:52:28,061 - root - INFO - ********************【产品信息_附加险】接口测试开始!******************** 2021-09-14 17:52:28,062 - root - INFO - 【产品信息_附加险】的接口入参为:{'productType': '0', 'page': 1, 'perpage': 15, 'insureType': 2, 'riskType': 2} 2021-09-14 17:52:28,199 - root - INFO - 【产品信息_附加险】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'totalCount': 24, 'productInfoList': [{'productName': 'apitest2', 'productCode': 'apitest2', 'productType': 13, 'productTypeName': '分红险'}, {'productName': 'wwwwwwwwwq', 'productCode': 'wewee', 'productType': 14, 'productTypeName': '传统险'}, {'productName': 'zxh附加险', 'productCode': '123456', 'productType': 14, 'productTypeName': '传统险'}, {'productName': '德华安顾附加安吉星B款意外伤害医疗保险', 'productCode': '1320031', 'productType': 17, 'productTypeName': '医疗险'}, {'productName': '德华安顾附加安康住院医疗保险', 'productCode': '1320195', 'productType': 16, 'productTypeName': '健康险'}, {'productName': '德华安顾附加安泰无忧意外伤害保险(2019版)', 'productCode': '1410227', 'productType': 14, 'productTypeName': '传统险'}, {'productName': '德华安顾附加安心百分百两全保险', 'productCode': '5130283', 'productType': 14, 'productTypeName': '传统险'}, {'productName': '德华安顾附加安心无忧意外伤害费用补偿医疗保险(2019版)', 'productCode': '1320231', 'productType': 16, 'productTypeName': '健康险'}, {'productName': '德华安顾附加安心无忧意外伤害住院津贴医疗保险(2019版)', 'productCode': '1320230', 'productType': 16, 'productTypeName': '健康险'}, {'productName': '德华安顾附加巴纳德(特别关爱版)两全保险(分红型)', 'productCode': '1130262', 'productType': 13, 'productTypeName': '分红险'}, {'productName': '德华安顾附加巴纳德两全保险(分红型)', 'productCode': '1130242', 'productType': 13, 'productTypeName': '分红险'}, {'productName': '德华安顾附加百万爱驾意外伤害住院津贴医疗保险', 'productCode': '1320147', 'productType': 14, 'productTypeName': '传统险'}, {'productName': '德华安顾附加富利芒格年金保险(分红型)', 'productCode': '1210254', 'productType': 13, 'productTypeName': '分红险'}, {'productName': '德华安顾附加高原反应意外伤害保险(2019版)', 'productCode': '5410234', 'productType': 14, 'productTypeName': '传统险'}, {'productName': '德华安顾附加华珍少儿住院医疗保险', 'productCode': '1320027', 'productType': 17, 'productTypeName': '医疗险'}]}} testFunc (case.AppProductList.AppProductList)执行——>【通过】 </pre> </td> </tr> <tr> <td>49</td> <td class="AppOrderAdd">AppOrderAdd</td> <td>testFunc</td> <td>创建纸质新契约订单</td> <td>1.32s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:28,216 - root - INFO - ********************【创建订单】接口测试开始!******************** 2021-09-14 17:52:28,220 - root - INFO - 【创建订单】的接口入参为:{'订单基本信息': {'销售渠道': '个人营销', '双录创建日期': '2021-09-14', '保单类型': '非自保件', '机构名称': '济南本部', '投保单号': 'api1631613148'}, '主险信息': [{'首期缴费金额': '12343', '产品种类': '主险', '缴费期限': '1年', '产品类型': '分红险', '产品名称': 'apitest', '缴费方式': '月缴', '产品代码': 'apitest', '保险期限': '1年', '被保人': ['自动化测试']}], '被保人信息': [{'姓名': '自动化测试', '证件类型': '护照', '证件号码': '123456', '职业': '内勤人员', '居住地址': '地球', '性别': '男', '出生日期': '2000-01-01', '被保人是投保人的': '本人', '手机号码': '12345678901'}], '投保人信息': {'姓名': '自动化测试', '证件类型': '护照', '证件号码': '123456', '职业': '内勤人员', '居住地址': '地球', '性别': '男', '出生日期': '2000-01-01', '手机号码': '12345678901'}, '附加险信息': [{'首期缴费金额': '12345', '产品种类': '附加险', '缴费期限': '1年', '产品类型': '分红险', '产品名称': 'apitest', '缴费方式': '月缴', '产品代码': 'apitest', '保险期限': '1年', '被保人': ['自动化测试']}]} 2021-09-14 17:52:29,517 - root - INFO - 【创建订单】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'orderRecordId': 167, 'exist': 2, 'customerName': '自动化测试', 'productName': 'apitest', 'orderId': '', 'serialNo': '', 'createTime': '2021-09-14 17:52:28', 'orderNoType': 2, 'appntAge': '21', 'supportRemote': 2, 'systemType': 0, 'applicantRemoteFlag': 0, 'manyInsuresFlag': 0, 'samePerson': 0, 'positioning': 1, 'area': 0, 'range': '', 'policyNo': '', 'orderType': 1, 'selfNo': ''}} testFunc (case.AppOrderAdd.AppOrderAdd)执行——>【通过】 </pre> </td> </tr> <tr> <td>50</td> <td class="AppOrderAddQuota">AppOrderAddQuota</td> <td>testFunc</td> <td>创建纸质保全订单</td> <td>0.16s</td> <td class="text-danger">失败</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:29,546 - root - INFO - ********************【创建订单】接口测试开始!******************** 2021-09-14 17:52:29,547 - root - INFO - 【创建订单】的接口入参为:{'订单基本信息': {'保单号': '202106002448538', '保单类型': '非自保件', '保全项': '新增附加险', '保全日期': '2021-09-14'}, '投保人信息': {'姓名': '韩超', '证件号码': '110101199003077694', '出生日期': '1990-03-07', '证件类型': '身份证', '性别': '男', '投保人是被保人的': '父亲'}, '被保人信息': [{'姓名': '哦哦', '监护人姓名': '', '证件号码': '110101200803071616', '出生日期': '2008-03-07', '证件类型': '身份证', '性别': '男'}], '保险信息': [{'保险期限': '1年', '被保人': ['哦哦'], '附加险': [], '产品名称': '德华安顾奥特保重大疾病保险(2021版)', '每期缴费金额': 3.4, '缴费期限': '1年', '缴费方式': '年缴'}], 'taskId': 'e55b62db734747488c47f8bbf9c0a4e8', '新增附加险': [{'每期缴费金额': '5', '被保人': ['哦哦'], '产品种类': '附加险', '缴费期限': '1年', '产品类型': '分红险', '缴费方式': '趸缴', '产品代码': 'apitest', '保险期限': '1年', '监护人名称': 'apitest', '附加险名称': 'apitest2'}]} testFunc (case.AppOrderAddQuota.AppOrderAddQuota)执行——>【失败】 </pre> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 628, in run testMethod() </pre> <pre> File "/Users/fumengqi/Downloads/Code/workspace/Python/SITUAPIAutomation/case/AppOrderAddQuota.py", line 23, in testFunc self.getTest(data_list[i]) </pre> <pre> File "/Users/fumengqi/Downloads/Code/workspace/Python/SITUAPIAutomation/case/AppOrderAddQuota.py", line 65, in getTest self.assertEqual(res['code'], code, msg=str(res)) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual assertion_func(first, second, msg=msg) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual raise self.failureException(msg) </pre> <pre>AssertionError: -1 != 0 : {'code': -1, 'msg': '未知异常', 'success': False, 'result': None} </pre> </td> </tr> <tr> <td>51</td> <td class="AppOrderDetail">AppOrderDetail</td> <td>testFunc</td> <td>订单详情接口</td> <td>0.173s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:29,701 - root - INFO - ********************【订单详情】接口测试开始!******************** 2021-09-14 17:52:29,702 - root - INFO - 【订单详情】的接口入参为:{'orderRecordId': 167} 2021-09-14 17:52:29,850 - root - INFO - 【订单详情】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'taskId': 'ef52bd114c4743d9900fb630361691de', 'orderDetails': [{'title': '订单基本信息', 'content': [{'title': '保单类型', 'content': '非自保件'}, {'title': '双录创建时间', 'content': '2021-09-14'}, {'title': '机构名称', 'content': '济南本部'}, {'title': '双录类型', 'content': '新契约'}, {'title': '入件方式', 'content': '手工录入'}, {'title': '渠道来源', 'content': '个人营销'}], 'show': 0}, {'title': '投保人信息', 'content': [{'title': '投保人姓名', 'content': '自动化测试'}, {'title': '投保人性别', 'content': '男'}, {'title': '投保人尊称', 'content': '先生'}, {'title': '投保人年龄', 'content': '21'}, {'title': '投保人职业', 'content': '内勤人员'}, {'title': '投保人出生日期', 'content': '2000-01-01'}, {'title': '投保人证件类型', 'content': '护照'}, {'title': '投保人证件号码', 'content': '123456'}, {'title': '投保人通讯地址', 'content': '地球'}, {'title': '投保人电话号码', 'content': '12345678901'}], 'show': 0}, {'title': '投保基本信息1', 'content': [{'title': '产品名称', 'content': 'apitest'}, {'title': '产品代码', 'content': 'apitest'}, {'title': '产品种类', 'content': '主险'}, {'title': '缴费方式', 'content': '月缴'}, {'title': '缴费期限', 'content': '1年'}, {'title': '保险期限', 'content': '1年'}, {'title': '首期缴费金额', 'content': '12343'}, {'title': '产品类型', 'content': '分红险'}, {'title': '被保人姓名', 'content': '自动化测试'}, {'title': '被保人性别', 'content': '男'}, {'title': '被保人尊称', 'content': '先生'}, {'title': '被保人出生日期', 'content': '2000-01-01'}, {'title': '被保人年龄', 'content': '21'}, {'title': '被保人职业', 'content': '内勤人员'}, {'title': '被保人证件类型', 'content': '护照'}, {'title': '被保人证件号码', 'content': '123456'}, {'title': '被保人电话号码', 'content': '12345678901'}, {'title': '被保人通讯地址', 'content': '地球'}, {'title': '被保人与投保人关系', 'content': '本人'}], 'show': 0}, {'title': '投保基本信息2', 'content': [{'title': '产品名称', 'content': 'apitest'}, {'title': '产品代码', 'content': 'apitest'}, {'title': '产品种类', 'content': '附加险'}, {'title': '缴费方式', 'content': '月缴'}, {'title': '缴费期限', 'content': '1年'}, {'title': '保险期限', 'content': '1年'}, {'title': '首期缴费金额', 'content': '12345'}, {'title': '产品类型', 'content': '分红险'}, {'title': '被保人姓名', 'content': '自动化测试'}, {'title': '被保人性别', 'content': '男'}, {'title': '被保人尊称', 'content': '先生'}, {'title': '被保人出生日期', 'content': '2000-01-01'}, {'title': '被保人年龄', 'content': '21'}, {'title': '被保人职业', 'content': '内勤人员'}, {'title': '被保人证件类型', 'content': '护照'}, {'title': '被保人证件号码', 'content': '123456'}, {'title': '被保人电话号码', 'content': '12345678901'}, {'title': '被保人通讯地址', 'content': '地球'}, {'title': '被保人与投保人关系', 'content': '本人'}], 'show': 0}, {'title': '产品列表', 'content': [{'title': '产品1名称', 'content': 'apitest'}, {'title': '产品1代码', 'content': 'apitest'}, {'title': '产品2名称', 'content': 'apitest'}, {'title': '产品2代码', 'content': 'apitest'}], 'show': 0}, {'title': '销售人员信息', 'content': [{'title': '销售人员姓名', 'content': '王妮'}, {'title': '销售人员工号', 'content': '1234325'}, {'title': '销售人员分公司名称', 'content': '山东省分公司'}, {'title': '销售人员支公司名称', 'content': '济南本部'}, {'title': '销售人员身份证号', 'content': '370681198502220021'}], 'show': 0}]}} testFunc (case.AppOrderDetail.AppOrderDetail)执行——>【通过】 </pre> </td> </tr> <tr> <td>52</td> <td class="AppFileList">AppFileList</td> <td>testFunc</td> <td>A端文件列表</td> <td>0.228s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:29,874 - root - INFO - ********************【文件列表】接口测试开始!******************** 2021-09-14 17:52:29,875 - root - INFO - 【文件列表】的接口入参为:{'orderRecordId': 167} 2021-09-14 17:52:30,079 - root - INFO - 【文件列表】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': []} testFunc (case.AppFileList.AppFileList)执行——>【通过】 </pre> </td> </tr> <tr> <td>53</td> <td class="AppPhaseV3">AppPhaseV3</td> <td>testFunc</td> <td>话术3.0获取话术内容</td> <td>0.358s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:30,105 - root - INFO - ********************【获取话术内容】接口测试开始!******************** 2021-09-14 17:52:30,110 - root - INFO - 【获取话术内容】的接口入参为:{'orderRecordId': 167, 'recordingBeginTime': '1631613150109'} 2021-09-14 17:52:30,435 - root - INFO - 【获取话术内容】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'recordBeginTime': '', 'needTts': 1, 'orderRecordId': 167, 'recordingTime': 0, 'bigPhaseList': [{'bigPhaseBeginTime': 0, 'bigPhaseEndTime': 0, 'osbpId': 190, 'bigPhaseNum': 1, 'bigPhaseName': '111111111111111111111111111111111111', 'littlePhaseList': [{'oslpId': 544, 'osbpId': 190, 'littlePhaseMp3Name': '544', 'littlePhaseNum': 1, 'littlePhaseType': 1, 'littlePhaseFileType': 0, 'littlePhaseIdCardType': 0, 'littlePhaseIdCardOcrSwitch': 0, 'littlePhaseTitle': '111111111111111', 'littlePhaseTtsContent': '111111111111111111', 'littlePhaseAnswer': '是/否', 'littlePhaseImageNameArray': '', 'littlePhaseResultCode': 0, 'littlePhaseResultMsg': '', 'littlePhaseBeginTime': 0, 'littlePhaseEndTime': 0, 'productCode': 'apitest', 'insureSelf': 0, 'littlePhaseTTsFinishTime': 0, 'passedByMachine': 0, 'pdfFileName': '', 'docPrdCode': '', 'filePopup': 0, 'userRole': 1, 'littlePhaseFileInfo': None, 'name': '', 'idCard': '', 'idCardType': '', 'ipno': '', 'remoteSignatureMethod': 0, 'offlineSignatureMethod': 0, 'remoteSignatureType': 0, 'remoteSignaturePrompt': '', 'remoteSignatureObject': 0, 'remoteSignatureRiskPrompt': '', 'offlineSignatureType': 0, 'offlineSignaturePrompt': '', 'offlineSignatureObject': 0, 'offlineSignatureRiskPrompt': '', 'remoteVerificationMethod': 0, 'offlineVerificationMethod': 0}]}, {'bigPhaseBeginTime': 0, 'bigPhaseEndTime': 0, 'osbpId': 191, 'bigPhaseNum': 2, 'bigPhaseName': '22222222222222222222222222222222', 'littlePhaseList': [{'oslpId': 545, 'osbpId': 191, 'littlePhaseMp3Name': '545', 'littlePhaseNum': 1, 'littlePhaseType': 2, 'littlePhaseFileType': 0, 'littlePhaseIdCardType': 0, 'littlePhaseIdCardOcrSwitch': 0, 'littlePhaseTitle': '22222222222222222222', 'littlePhaseTtsContent': '2222222222222222222', 'littlePhaseAnswer': '', 'littlePhaseImageNameArray': '', 'littlePhaseResultCode': 0, 'littlePhaseResultMsg': '', 'littlePhaseBeginTime': 0, 'littlePhaseEndTime': 0, 'productCode': 'apitest', 'insureSelf': 0, 'littlePhaseTTsFinishTime': 0, 'passedByMachine': 0, 'pdfFileName': '', 'docPrdCode': '', 'filePopup': 0, 'userRole': 1, 'littlePhaseFileInfo': None, 'name': '', 'idCard': '', 'idCardType': '', 'ipno': '', 'remoteSignatureMethod': 0, 'offlineSignatureMethod': 0, 'remoteSignatureType': 0, 'remoteSignaturePrompt': '', 'remoteSignatureObject': 0, 'remoteSignatureRiskPrompt': '', 'offlineSignatureType': 0, 'offlineSignaturePrompt': '', 'offlineSignatureObject': 0, 'offlineSignatureRiskPrompt': '', 'remoteVerificationMethod': 0, 'offlineVerificationMethod': 0}]}, {'bigPhaseBeginTime': 0, 'bigPhaseEndTime': 0, 'osbpId': 192, 'bigPhaseNum': 3, 'bigPhaseName': '3333333333333333333333333333333', 'littlePhaseList': [{'oslpId': 546, 'osbpId': 192, 'littlePhaseMp3Name': '546', 'littlePhaseNum': 1, 'littlePhaseType': 3, 'littlePhaseFileType': 2, 'littlePhaseIdCardType': 0, 'littlePhaseIdCardOcrSwitch': 0, 'littlePhaseTitle': '3333333333333333333333333333333', 'littlePhaseTtsContent': '333333333333333333333', 'littlePhaseAnswer': '', 'littlePhaseImageNameArray': '', 'littlePhaseResultCode': 0, 'littlePhaseResultMsg': '', 'littlePhaseBeginTime': 0, 'littlePhaseEndTime': 0, 'productCode': 'apitest', 'insureSelf': 0, 'littlePhaseTTsFinishTime': 0, 'passedByMachine': 0, 'pdfFileName': '', 'docPrdCode': '', 'filePopup': 0, 'userRole': 1, 'littlePhaseFileInfo': None, 'name': '', 'idCard': '', 'idCardType': '', 'ipno': '', 'remoteSignatureMethod': 0, 'offlineSignatureMethod': 0, 'remoteSignatureType': 0, 'remoteSignaturePrompt': '', 'remoteSignatureObject': 0, 'remoteSignatureRiskPrompt': '', 'offlineSignatureType': 0, 'offlineSignaturePrompt': '', 'offlineSignatureObject': 0, 'offlineSignatureRiskPrompt': '', 'remoteVerificationMethod': 0, 'offlineVerificationMethod': 0}]}, {'bigPhaseBeginTime': 0, 'bigPhaseEndTime': 0, 'osbpId': 193, 'bigPhaseNum': 4, 'bigPhaseName': '4444444444444444444444', 'littlePhaseList': [{'oslpId': 547, 'osbpId': 193, 'littlePhaseMp3Name': '547', 'littlePhaseNum': 1, 'littlePhaseType': 5, 'littlePhaseFileType': 0, 'littlePhaseIdCardType': 0, 'littlePhaseIdCardOcrSwitch': 0, 'littlePhaseTitle': '4444444444444444444444444444444', 'littlePhaseTtsContent': '44444444444444444444444444444', 'littlePhaseAnswer': '', 'littlePhaseImageNameArray': '', 'littlePhaseResultCode': 0, 'littlePhaseResultMsg': '', 'littlePhaseBeginTime': 0, 'littlePhaseEndTime': 0, 'productCode': 'apitest', 'insureSelf': 0, 'littlePhaseTTsFinishTime': 0, 'passedByMachine': 0, 'pdfFileName': '', 'docPrdCode': '', 'filePopup': 0, 'userRole': 1, 'littlePhaseFileInfo': None, 'name': '', 'idCard': '', 'idCardType': '', 'ipno': '', 'remoteSignatureMethod': 0, 'offlineSignatureMethod': 0, 'remoteSignatureType': 0, 'remoteSignaturePrompt': '', 'remoteSignatureObject': 0, 'remoteSignatureRiskPrompt': '', 'offlineSignatureType': 0, 'offlineSignaturePrompt': '', 'offlineSignatureObject': 0, 'offlineSignatureRiskPrompt': '', 'remoteVerificationMethod': 0, 'offlineVerificationMethod': 0}]}, {'bigPhaseBeginTime': 0, 'bigPhaseEndTime': 0, 'osbpId': 194, 'bigPhaseNum': 5, 'bigPhaseName': '555555555555555555555555555555', 'littlePhaseList': [{'oslpId': 548, 'osbpId': 194, 'littlePhaseMp3Name': '548', 'littlePhaseNum': 1, 'littlePhaseType': 6, 'littlePhaseFileType': 0, 'littlePhaseIdCardType': 0, 'littlePhaseIdCardOcrSwitch': 0, 'littlePhaseTitle': '5555555555555555555555', 'littlePhaseTtsContent': '55555555555555555555555555', 'littlePhaseAnswer': '', 'littlePhaseImageNameArray': '', 'littlePhaseResultCode': 0, 'littlePhaseResultMsg': '', 'littlePhaseBeginTime': 0, 'littlePhaseEndTime': 0, 'productCode': 'apitest', 'insureSelf': 0, 'littlePhaseTTsFinishTime': 0, 'passedByMachine': 0, 'pdfFileName': '', 'docPrdCode': '', 'filePopup': 0, 'userRole': 1, 'littlePhaseFileInfo': None, 'name': '', 'idCard': '', 'idCardType': '', 'ipno': '', 'remoteSignatureMethod': 0, 'offlineSignatureMethod': 0, 'remoteSignatureType': 0, 'remoteSignaturePrompt': '', 'remoteSignatureObject': 0, 'remoteSignatureRiskPrompt': '', 'offlineSignatureType': 0, 'offlineSignaturePrompt': '', 'offlineSignatureObject': 0, 'offlineSignatureRiskPrompt': '', 'remoteVerificationMethod': 0, 'offlineVerificationMethod': 0}]}, {'bigPhaseBeginTime': 0, 'bigPhaseEndTime': 0, 'osbpId': 195, 'bigPhaseNum': 6, 'bigPhaseName': '6666666666666666666666666666666666666', 'littlePhaseList': [{'oslpId': 549, 'osbpId': 195, 'littlePhaseMp3Name': '549', 'littlePhaseNum': 1, 'littlePhaseType': 7, 'littlePhaseFileType': 0, 'littlePhaseIdCardType': 0, 'littlePhaseIdCardOcrSwitch': 0, 'littlePhaseTitle': '666666666666666666666666666', 'littlePhaseTtsContent': '6666666666666666666666666666666666666', 'littlePhaseAnswer': '', 'littlePhaseImageNameArray': '', 'littlePhaseResultCode': 0, 'littlePhaseResultMsg': '', 'littlePhaseBeginTime': 0, 'littlePhaseEndTime': 0, 'productCode': 'apitest', 'insureSelf': 0, 'littlePhaseTTsFinishTime': 0, 'passedByMachine': 0, 'pdfFileName': '', 'docPrdCode': '', 'filePopup': 0, 'userRole': 1, 'littlePhaseFileInfo': None, 'name': '', 'idCard': '', 'idCardType': '', 'ipno': '', 'remoteSignatureMethod': 0, 'offlineSignatureMethod': 0, 'remoteSignatureType': 0, 'remoteSignaturePrompt': '', 'remoteSignatureObject': 0, 'remoteSignatureRiskPrompt': '', 'offlineSignatureType': 0, 'offlineSignaturePrompt': '', 'offlineSignatureObject': 0, 'offlineSignatureRiskPrompt': '', 'remoteVerificationMethod': 0, 'offlineVerificationMethod': 0}]}], 'twoPersonDetectList': [], 'insureSelf': 2}} testFunc (case.AppPhaseV3.AppPhaseV3)执行——>【通过】 </pre> </td> </tr> <tr> <td>54</td> <td class="AppTtsV3">AppTtsV3</td> <td>testFunc</td> <td>话术3.0获取话术音频</td> <td>1.49s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:30,457 - root - INFO - ********************【获取话术内音频-慢速】接口测试开始!******************** 2021-09-14 17:52:30,458 - root - INFO - 【获取话术内音频-慢速】的接口入参为:{'orderRecordId': 167, 'recordingBeginTime': '1631613150458', 'rate': '75'} 2021-09-14 17:52:31,108 - root - INFO - ********************【获取话术内音频-正常】接口测试开始!******************** 2021-09-14 17:52:31,109 - root - INFO - 【获取话术内音频-正常】的接口入参为:{'orderRecordId': 167, 'recordingBeginTime': '1631613151108', 'rate': '100'} 2021-09-14 17:52:31,494 - root - INFO - ********************【获取话术内音频-快速】接口测试开始!******************** 2021-09-14 17:52:31,495 - root - INFO - 【获取话术内音频-快速】的接口入参为:{'orderRecordId': 167, 'recordingBeginTime': '1631613151495', 'rate': '125'} testFunc (case.AppTtsV3.AppTtsV3)执行——>【通过】 </pre> </td> </tr> <tr> <td>55</td> <td class="AppOrderFace">AppOrderFace</td> <td>testFunc</td> <td>人脸比对</td> <td>4.26s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:31,948 - root - INFO - ********************【人脸比对】接口测试开始!******************** 2021-09-14 17:52:36,185 - root - INFO - 【人脸比对】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'rtn': 0, 'msg': '成功!', 'globalRequestId': '7cc45066154111ecb57a00163e772861', 'similarity': 98.0, 'verifyResult': True}} testFunc (case.AppOrderFace.AppOrderFace)执行——>【通过】 </pre> </td> </tr> <tr> <td>56</td> <td class="AppAuthSts">AppAuthSts</td> <td>testFunc</td> <td>获取鉴权</td> <td>0.495s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:36,206 - root - INFO - ********************【获取鉴权】接口测试开始!******************** 2021-09-14 17:52:36,206 - root - INFO - 【获取鉴权】的接口入参为:{'videoUrlNums': '1'} 2021-09-14 17:52:36,680 - root - INFO - 【获取鉴权】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'expiration': '2021-09-14T10:52:36Z', 'accessKeyId': 'STS.NTGYLvEgBpP5mQamY2J9zSthb', 'accessKeySecret': 'Eb2XfVM8eATfTXyvPAJSMk2o8AhbKdsEyqqNPnhnwwCJ', 'securityToken': 'CAIS2QJ1q6Ft5B2yfSjIr5fyEvbCqLhjx5Leb3fQiVlnRrZWvLHDgDz2IHxNdHJhBekZsPo2nG9T6vsYlr1tR4UASFbLas9x4JkS6h+obIvHtJRyU2vzXtr3d1KIAjvXgeUgCoeQFaEhE5XAQlTAkTAJntmeXD6+XlujHISUgJp8FLo+VRW5ajw0c7U3IRB5+usbLmeTV5aqKQW4rWfMTigIvRFn21ti9ebF+K/60BfFi0DgweI4vpn4JoPeD/NhJ5BiSdy4rrIUBqPKy3xX8AMYtvU03rJI43LKpN6aB1hf7nf0OuHPoNp0N107NOpoBaJe6fXmmvp8u+Le0MbVs08SY7wKA3qDFN/4nJueRbyTW4xnJeqhCRPkycuSM5T5iQQgbE8AORlCE9hbcSMpWUd9FmiFdPH+oA+RPlr5UdWf2aQxyoF7yE/k/dOFYkOTSrqY1ykIk2fppbj/znUagAEUvNeGjiqd1aKeHpKg1AKZLMvBakxPlNyaKXpdcjhmycrRMf6JiagI0QR235qn/d1ZGwwTwoXwWYNcJ88hFomyOJqgoke3ADyusTUA78Md3RXtQPY+FwAcRZFDc+q9uYhQjzrgHHqApzc/lff3W5Q/N44MGkx36KhA7A6TtPNf3Q==', 'bucketName': 'vdr-ergolife', 'endpoint': 'http://oss-cn-beijing.aliyuncs.com', 'videoUrls': ['vdr-ergolife/video/20210914/9057df163b904e2ab1013665294f78fa.mp4']}} testFunc (case.AppAuthSts.AppAuthSts)执行——>【通过】 </pre> </td> </tr> <tr> <td>57</td> <td class="AppOrderSubmit">AppOrderSubmit</td> <td>testFunc</td> <td>订单视频提交</td> <td>0.0238s</td> <td class="text-warning">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 628, in run testMethod() </pre> <pre> File "/Users/fumengqi/Downloads/Code/workspace/Python/SITUAPIAutomation/case/AppOrderSubmit.py", line 21, in testFunc self.getTest(data_list[i]) </pre> <pre> File "/Users/fumengqi/Downloads/Code/workspace/Python/SITUAPIAutomation/case/AppOrderSubmit.py", line 51, in getTest open(order_mp4_path, 'rb'), "video/mp4")), </pre> <pre>FileNotFoundError: [Errno 2] No such file or directory: '/Users/fumengqi/Downloads/Code/workspace/Python/SITUAPIAutomation/data/order/德华安顾-mp4.json' </pre> <pre>2021-09-14 17:52:36,703 - root - INFO - ********************【视频上传】接口测试开始!******************** testFunc (case.AppOrderSubmit.AppOrderSubmit)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>58</td> <td class="WebQualityAuditCanList">WebQualityAuditCanList</td> <td>testFunc</td> <td>可质检列表</td> <td>0.224s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:36,750 - root - INFO - ********************【可质检列表】接口测试开始!******************** 2021-09-14 17:52:36,750 - root - INFO - 【可质检列表】的接口入参为:{'orderId': '', 'page': 1, 'perPage': 10} 2021-09-14 17:52:36,928 - root - INFO - 【可质检列表】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'totalCount': 15, 'qualityAuditList': [{'orderRecordId': 110, 'orderId': 'lxj003', 'serialNo': 'lxj003', 'policyNo': '', 'customerName': '刘小佳', 'createTime': 1631522093000, 'doubleRecordType': None, 'needTts': 1, 'channel': '个人营销', 'productType': '分红险', 'productName': 'zxh测试', 'subBranch': '济南本部', 'orgCode': '863701', 'updateTime': 1631609440000, 'duration': 683, 'salesmanName': '刘晶', 'salesmanJobNum': '0000666', 'qualityAuditCount': 0, 'orderStatus': 21, 'lockOrder': 2, 'uploadTime': 1631609440000, 'systemType': 1, 'mixedFlowStatus': 1, 'auditSource': 1, 'orderNoType': 2, 'branchName': '山东省分公司', 'recordType': 1, 'selfNo': '', 'quotaType': '', 'orderSource': 2}, {'orderRecordId': 139, 'orderId': '111223', 'serialNo': '111223', 'policyNo': '', 'customerName': '汪亮亮', 'createTime': 1631600794000, 'doubleRecordType': None, 'needTts': 1, 'channel': '个人营销', 'productType': '投连险', 'productName': '德华安顾稳健盈终身寿险(投资连结型)', 'subBranch': '济南本部', 'orgCode': '863701', 'updateTime': 1631601042000, 'duration': 4, 'salesmanName': '王妮', 'salesmanJobNum': '1234325', 'qualityAuditCount': 0, 'orderStatus': 21, 'lockOrder': 2, 'uploadTime': 1631601041000, 'systemType': 1, 'mixedFlowStatus': 1, 'auditSource': 1, 'orderNoType': 2, 'branchName': '山东省分公司', 'recordType': 1, 'selfNo': '', 'quotaType': '', 'orderSource': 2}, {'orderRecordId': 138, 'orderId': '12338888', 'serialNo': '12338888', 'policyNo': '', 'customerName': '汪亮亮4', 'createTime': 1631600405000, 'doubleRecordType': None, 'needTts': 1, 'channel': '个人营销', 'productType': '投连险', 'productName': '德华安顾安稳盈终身寿险(投资连结型)', 'subBranch': '济南本部', 'orgCode': '863701', 'updateTime': 1631600439000, 'duration': 4, 'salesmanName': '王妮', 'salesmanJobNum': '1234325', 'qualityAuditCount': 0, 'orderStatus': 21, 'lockOrder': 2, 'uploadTime': 1631600438000, 'systemType': 1, 'mixedFlowStatus': 1, 'auditSource': 1, 'orderNoType': 2, 'branchName': '山东省分公司', 'recordType': 1, 'selfNo': '', 'quotaType': '', 'orderSource': 2}, {'orderRecordId': 137, 'orderId': '1233', 'serialNo': '1233', 'policyNo': '', 'customerName': '汪亮亮3', 'createTime': 1631600261000, 'doubleRecordType': None, 'needTts': 1, 'channel': '个人营销', 'productType': '投连险', 'productName': '德华安顾稳健盈终身寿险(投资连结型)', 'subBranch': '济南本部', 'orgCode': '863701', 'updateTime': 1631600298000, 'duration': 6, 'salesmanName': '王妮', 'salesmanJobNum': '1234325', 'qualityAuditCount': 0, 'orderStatus': 21, 'lockOrder': 2, 'uploadTime': 1631600298000, 'systemType': 1, 'mixedFlowStatus': 1, 'auditSource': 1, 'orderNoType': 2, 'branchName': '山东省分公司', 'recordType': 1, 'selfNo': '', 'quotaType': '', 'orderSource': 2}, {'orderRecordId': 136, 'orderId': '22233', 'serialNo': '22233', 'policyNo': '', 'customerName': '汪亮亮2', 'createTime': 1631600119000, 'doubleRecordType': None, 'needTts': 1, 'channel': '个人营销', 'productType': '投连险', 'productName': '德华安顾安稳盈终身寿险(投资连结型)', 'subBranch': '济南本部', 'orgCode': '863701', 'updateTime': 1631600181000, 'duration': 5, 'salesmanName': '王妮', 'salesmanJobNum': '1234325', 'qualityAuditCount': 0, 'orderStatus': 21, 'lockOrder': 2, 'uploadTime': 1631600181000, 'systemType': 1, 'mixedFlowStatus': 1, 'auditSource': 1, 'orderNoType': 2, 'branchName': '山东省分公司', 'recordType': 1, 'selfNo': '', 'quotaType': '', 'orderSource': 2}, {'orderRecordId': 134, 'orderId': '122544', 'serialNo': '122544', 'policyNo': '', 'customerName': '汪亮亮1', 'createTime': 1631599604000, 'doubleRecordType': None, 'needTts': 1, 'channel': '个人营销', 'productType': '传统险', 'productName': '德华安顾e生无忧定期寿险(2019版)', 'subBranch': '济南本部', 'orgCode': '863701', 'updateTime': 1631599939000, 'duration': 4, 'salesmanName': '王妮', 'salesmanJobNum': '1234325', 'qualityAuditCount': 0, 'orderStatus': 21, 'lockOrder': 2, 'uploadTime': 1631599939000, 'systemType': 1, 'mixedFlowStatus': 1, 'auditSource': 1, 'orderNoType': 2, 'branchName': '山东省分公司', 'recordType': 1, 'selfNo': '', 'quotaType': '', 'orderSource': 2}, {'orderRecordId': 95, 'orderId': 'wxd000011', 'serialNo': 'wxd000011', 'policyNo': '', 'customerName': 'jdj', 'createTime': 1631516782000, 'doubleRecordType': None, 'needTts': 1, 'channel': '个人营销', 'productType': '投连险', 'productName': '投连险', 'subBranch': '济南本部', 'orgCode': '863701', 'updateTime': 1631528282000, 'duration': 4, 'salesmanName': '周静', 'salesmanJobNum': '0000525', 'qualityAuditCount': 0, 'orderStatus': 21, 'lockOrder': 2, 'uploadTime': 1631516841000, 'systemType': 1, 'mixedFlowStatus': 1, 'auditSource': 1, 'orderNoType': 2, 'branchName': '山东省分公司', 'recordType': 1, 'selfNo': '', 'quotaType': '', 'orderSource': 2}, {'orderRecordId': 80, 'orderId': 'wx0010', 'serialNo': 'wx0010', 'policyNo': '', 'customerName': '密码', 'createTime': 1631503721000, 'doubleRecordType': None, 'needTts': 1, 'channel': '个人营销', 'productType': '传统险', 'productName': '德华安顾e生无忧定期寿险(2019版)', 'subBranch': '济南本部', 'orgCode': '863701', 'updateTime': 1631525986000, 'duration': 57, 'salesmanName': '周静', 'salesmanJobNum': '0000525', 'qualityAuditCount': 2, 'orderStatus': 23, 'lockOrder': 2, 'uploadTime': 1631504723000, 'systemType': 1, 'mixedFlowStatus': 1, 'auditSource': 1, 'orderNoType': 2, 'branchName': '山东省分公司', 'recordType': 1, 'selfNo': '', 'quotaType': '', 'orderSource': 2}, {'orderRecordId': 98, 'orderId': 'isiiiiio', 'serialNo': 'isiiiiio', 'policyNo': '', 'customerName': 'odod', 'createTime': 1631516932000, 'doubleRecordType': None, 'needTts': 1, 'channel': '个人营销', 'productType': '投连险', 'productName': '投连险', 'subBranch': '济南本部', 'orgCode': '863701', 'updateTime': 1631518951000, 'duration': 5, 'salesmanName': '周静', 'salesmanJobNum': '0000525', 'qualityAuditCount': 0, 'orderStatus': 21, 'lockOrder': 2, 'uploadTime': 1631516966000, 'systemType': 1, 'mixedFlowStatus': 1, 'auditSource': 1, 'orderNoType': 2, 'branchName': '山东省分公司', 'recordType': 1, 'selfNo': '', 'quotaType': '', 'orderSource': 2}, {'orderRecordId': 96, 'orderId': '34667', 'serialNo': '34667', 'policyNo': '', 'customerName': '耳膜人', 'createTime': 1631516862000, 'doubleRecordType': None, 'needTts': 1, 'channel': '个人营销', 'productType': '投连险', 'productName': '投连险', 'subBranch': '济南本部', 'orgCode': '863701', 'updateTime': 1631516914000, 'duration': 4, 'salesmanName': '周静', 'salesmanJobNum': '0000525', 'qualityAuditCount': 0, 'orderStatus': 21, 'lockOrder': 2, 'uploadTime': 1631516913000, 'systemType': 1, 'mixedFlowStatus': 1, 'auditSource': 1, 'orderNoType': 2, 'branchName': '山东省分公司', 'recordType': 1, 'selfNo': '', 'quotaType': '', 'orderSource': 2}]}} testFunc (case.WebQualityAuditCanList.WebQualityAuditCanList)执行——>【通过】 </pre> </td> </tr> <tr> <td>59</td> <td class="WebQualityAuditDetail">WebQualityAuditDetail</td> <td>testFunc</td> <td>订单详情</td> <td>0.655s</td> <td class="text-danger">失败</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:36,981 - root - INFO - ********************【可质检列表-订单详情】接口测试开始!******************** 2021-09-14 17:52:36,983 - root - INFO - 【可质检列表-订单详情】的接口入参为:{'orderRecordId': 167, 'orderSource': 2} testFunc (case.WebQualityAuditDetail.WebQualityAuditDetail)执行——>【失败】 </pre> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 628, in run testMethod() </pre> <pre> File "/Users/fumengqi/Downloads/Code/workspace/Python/SITUAPIAutomation/case/WebQualityAuditDetail.py", line 22, in testFunc self.getTest(data_list[i]) </pre> <pre> File "/Users/fumengqi/Downloads/Code/workspace/Python/SITUAPIAutomation/case/WebQualityAuditDetail.py", line 49, in getTest self.assertEqual(res['code'], code, msg=str(res)) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual assertion_func(first, second, msg=msg) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual raise self.failureException(msg) </pre> <pre>AssertionError: -1 != 0 : {'code': -1, 'msg': '未知异常', 'success': False, 'result': None} </pre> </td> </tr> <tr> <td>60</td> <td class="WebQualityAuditSubmit">WebQualityAuditSubmit</td> <td>testFunc</td> <td>审核结论提交</td> <td>0.199s</td> <td class="text-danger">失败</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:37,628 - root - INFO - ********************【可质检列表-审核结论提交】接口测试开始!******************** 2021-09-14 17:52:37,629 - root - INFO - 【可质检列表-审核结论提交】的接口入参为:{'qualityAuditAdvice': 3, 'orderRecordId': 167, 'submitRecordId': 7914, 'submitDetailId': '', 'auditResult': [{'phaseId': 184605, 'phaseNum': 1, 'hint': [{'manualConclusion': '问题点测试', 'auditConclusion': [{'label': '客户离席', 'value': '0.1', 'checked': 1}], 'hintId': 368568, 'hintNum': 1}]}], 'changed': 0, 'remark': '', 'orderSource': 2, 'tag': '', 'modifyTag': '', 'comparisonResult': 2, 'rerecord': ''} testFunc (case.WebQualityAuditSubmit.WebQualityAuditSubmit)执行——>【失败】 </pre> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 628, in run testMethod() </pre> <pre> File "/Users/fumengqi/Downloads/Code/workspace/Python/SITUAPIAutomation/case/WebQualityAuditSubmit.py", line 21, in testFunc self.getTest(data_list[i]) </pre> <pre> File "/Users/fumengqi/Downloads/Code/workspace/Python/SITUAPIAutomation/case/WebQualityAuditSubmit.py", line 83, in getTest self.assertEqual(res['code'], code, msg=str(res)) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual assertion_func(first, second, msg=msg) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual raise self.failureException(msg) </pre> <pre>AssertionError: -1 != 0 : {'code': -1, 'msg': '已超时,请重新进入', 'success': False, 'result': None} </pre> </td> </tr> <tr> <td>61</td> <td class="WebQualityAuditRecordHistory">WebQualityAuditRecordHistory</td> <td>testFunc</td> <td>审核历史记录</td> <td>0.404s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:37,841 - root - INFO - ********************【审核历史记录】接口测试开始!******************** 2021-09-14 17:52:37,842 - root - INFO - 【审核历史记录】的接口入参为:{'orderRecordId': 167, 'page': 1, 'perPage': 10000} 2021-09-14 17:52:38,187 - root - INFO - 【审核历史记录】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'totalCount': 0, 'qualityAuditRecordList': [], 'qualityModifyRecordList': []}} testFunc (case.WebQualityAuditRecordHistory.WebQualityAuditRecordHistory)执行——>【通过】 </pre> </td> </tr> <tr> <td>62</td> <td class="AppQualityAuditRejectedDetail">AppQualityAuditRejectedDetail</td> <td>testFunc</td> <td>app的拒绝详情</td> <td>0.279s</td> <td class="text-danger">失败</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:38,207 - root - INFO - ********************【app的拒绝详情】接口测试开始!******************** 2021-09-14 17:52:38,208 - root - INFO - 【app的拒绝详情】的接口入参为:{'orderRecordId': 167} testFunc (case.AppQualityAuditRejectedDetail.AppQualityAuditRejectedDetail)执行——>【失败】 </pre> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 628, in run testMethod() </pre> <pre> File "/Users/fumengqi/Downloads/Code/workspace/Python/SITUAPIAutomation/case/AppQualityAuditRejectedDetail.py", line 20, in testFunc self.getTest(data_list[i]) </pre> <pre> File "/Users/fumengqi/Downloads/Code/workspace/Python/SITUAPIAutomation/case/AppQualityAuditRejectedDetail.py", line 43, in getTest self.assertEqual(res['code'], code, msg=str(res)) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual assertion_func(first, second, msg=msg) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual raise self.failureException(msg) </pre> <pre>AssertionError: -1 != 0 : {'code': -1, 'msg': '未知异常', 'success': False, 'result': None} </pre> </td> </tr> <tr> <td>63</td> <td class="WebOrderReportDown">WebOrderReportDown</td> <td>testFunc</td> <td>报表下载</td> <td>4.68s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:38,522 - root - INFO - ********************【报表下载】接口测试开始!******************** 2021-09-14 17:52:38,523 - root - INFO - 【报表下载】的接口入参为:{'beginTime': '2021-09-14', 'endTime': '2021-09-14'} 2021-09-14 17:52:43,148 - root - INFO - 报表下载成功 testFunc (case.WebOrderReportDown.WebOrderReportDown)执行——>【通过】 </pre> </td> </tr> <tr> <td>64</td> <td class="WebQualityAuditProportionConfigRuleDelete">WebQualityAuditProportionConfigRuleDelete</td> <td>testFunc</td> <td>质检比列列表:删除规则</td> <td>0.243s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>2021-09-14 17:52:43,199 - root - INFO - ********************【删除质检比例】接口测试开始!******************** 2021-09-14 17:52:43,199 - root - INFO - 【删除质检比例】的接口入参为:{'id': 7} 2021-09-14 17:52:43,391 - root - INFO - 【删除质检比例】的接口返回参数为:{'code': 0, 'msg': 'OK', 'success': True, 'result': None} testFunc (case.WebQualityAuditProportionConfigRuleDelete.WebQualityAuditProportionConfigRuleDelete)执行——>【通过】 </pre> </td> </tr> </tbody> </table> </div> <div style="height: 200px"></div> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script> <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts/dist/echarts.min.js"></script> <script> var tbodyTr = $('tbody tr'); var testResult = $("#testResult"); var testClass = $("#testClass"); <!-- 接口执行详细信息显示切换--> $(".btn_info").click(function () { $(this).parent().parent().next().toggle(); }); // 当选择接口类之后触发 testClass.change(function () { var cls = $(this).val(); var res = testResult.val(); elementDisplay(cls, res); sort() }); testResult.change(function () { var res = $(this).val(); var cls = testClass.val(); elementDisplay(cls, res); sort() }); function elementDisplay(cls, res) { // 接口数据的显示 if (cls === "所有") { if (res === "所有") { tbodyTr.has('button').show(); } else if (res === '成功') { tbodyTr.hide(); tbodyTr.has('button').has('.text-success').show() } else if (res === '失败') { tbodyTr.hide(); tbodyTr.has('button').has('.text-danger').show() } else if (res === '错误') { tbodyTr.hide(); tbodyTr.has('button').has('.text-warning').show() } else if (res === '跳过') { tbodyTr.hide(); tbodyTr.has('button').has('.text-info').show() } } else { if (res === "所有") { tbodyTr.hide(); tbodyTr.has('button').has('.' + cls + '').show() } else if (res === '成功') { tbodyTr.hide(); tbodyTr.has('button').has('.' + cls + '').has('.text-success').show() } else if (res === '失败') { tbodyTr.hide(); tbodyTr.has('button').has('.' + cls + '').has('.text-danger').show() } else if (res === '错误') { tbodyTr.hide(); tbodyTr.has('button').has('.' + cls + '').has('.text-warning').show() } else if (res === '跳过') { tbodyTr.hide(); tbodyTr.has('button').has('.' + cls + '').has('.text-info').show() } } } function sort() { //重新排列显示序号 // 选择所有可以见的tr var visibleTr = tbodyTr.filter(":visible"); visibleTr.each(function (index, element) { element.firstElementChild.innerHTML = index + 1; }) } </script> <script type="text/javascript"> // 基于准备好的dom,初始化echarts实例 var myChart = echarts.init(document.getElementById('char')); var myChart2 = echarts.init(document.getElementById('char2')); // 指定图表的配置项和数据 option = { color: ['#00a10a', '#ddb518', 'rgba(204,46,41,0.73)', '#85898c'], tooltip: { trigger: 'item', formatter: '{a} <br/>{b}: {c} ({d}%)' }, legend: { orient: 'vertical', left: 10, data: ['通过', '失败', '错误', '跳过'] }, series: [ { name: '测试结果', type: 'pie', radius: ['50%', '70%'], avoidLabelOverlap: false, label: { show: false, position: 'center' }, emphasis: { label: { show: true, fontSize: '30', fontWeight: 'bold' } }, labelLine: { show: false }, data: [ {value: 58, name: '通过'}, {value: 5, name: '失败'}, {value: 1, name: '错误'}, {value: 0, name: '跳过'} ] } ] }; option2 = { tooltip: { formatter: '{a} <br/>{b} : {c}%' }, toolbox: { feature: { restore: {}, saveAsImage: {} } }, series: [ { name: '测试结果', type: 'gauge', detail: {formatter: '90.62%'}, data: [{value: '90.62', name: '接口通过率'}], axisLine: { lineStyle: { color: [ [0.2, '#c20000'], [0.8, '#ddb518'], [1, '#00a10a']] } } } ] }; myChart2.setOption(option2); // 使用刚指定的配置项和数据显示图表。 myChart.setOption(option); </script> </body> </html>