b385c356-d2c9-4f87-9ed0-04690a6bdde4-attachment.txt 6.4 KB

123456789101112
  1. INFO log:log_util.py:102 --------接口测试开始--------
  2. INFO log:log_util.py:102 yaml框架检查基本通过
  3. INFO log:log_util.py:102 请求名称:个人中心-活动中心-区域查询
  4. INFO log:log_util.py:102 请求方式:get
  5. INFO log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-sysmgr/auth/PropertyController/listActivityZone
  6. INFO log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
  7. INFO log:log_util.py:102 实际结果: <Response [200]>
  8. WARNING log:log_util.py:95 接口实际请求时间66.06毫秒,请求时间大于1毫秒,请关注
  9. INFO log:log_util.py:102 预期结果:[{'contains': True}]
  10. INFO log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': [{'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '0', 'valueCode': '2', 'valueName': '区级', 'children': [{'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500103', 'valueName': '渝中区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500105', 'valueName': '江北区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500106', 'valueName': '沙坪坝区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500107', 'valueName': '九龙坡区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500108', 'valueName': '南岸区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500104', 'valueName': '大渡口区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500109', 'valueName': '北碚区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500113', 'valueName': '巴南区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500112', 'valueName': '渝北区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500101', 'valueName': '万州区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500102', 'valueName': '涪陵区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500171', 'valueName': '万盛经开区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500114', 'valueName': '黔江区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500115', 'valueName': '长寿区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500116', 'valueName': '江津区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500117', 'valueName': '合川区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500118', 'valueName': '永川区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500119', 'valueName': '南川区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500110', 'valueName': '綦江区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500152', 'valueName': '潼南区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500151', 'valueName': '铜梁区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500111', 'valueName': '大足区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500153', 'valueName': '荣昌区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500120', 'valueName': '璧山区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500155', 'valueName': '梁平区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500229', 'valueName': '城口县', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500230', 'valueName': '丰都县', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500231', 'valueName': '垫江县', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500156', 'valueName': '武隆区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500233', 'valueName': '忠县', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500154', 'valueName': '开州区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500235', 'valueName': '云阳县', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500236', 'valueName': '奉节县', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500237', 'valueName': '巫山县', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500238', 'valueName': '巫溪县', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500240', 'valueName': '石柱土家族自治县', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500241', 'valueName': '秀山土家族苗族自治县', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500242', 'valueName': '酉阳土家族苗族自治县', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500243', 'valueName': '彭水苗族土家族自治县', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500400', 'valueName': '两江新区', 'children': []}, {'id': None, 'activityId': None, 'zoneType': 2, 'parentCode': '2', 'valueCode': '500172', 'valueName': '高新区', 'children': []}]}]}
  11. INFO log:log_util.py:102 接口测试成功
  12. INFO log:log_util.py:102 ------接口测试结束————————