2022-10-31.log 427 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077
2022-10-31 14:34:53,813 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:34:53,815 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:34:54,294 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:34:54,294 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:34:54,295 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:34:54,295 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:34:54,698 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:34:54,708 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:34:54,709 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:34:54,710 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:34:54,710 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:34:54,713 - root - INFO - 可变参数的信息为:{'#1.md5': '3ac6f138ccd7b855b371b2b705d0a877'}
2022-10-31 14:34:54,714 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:34:54,716 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:34:54,883 - root - INFO - 接口测试结果为:{'code': 10001, 'msg': '表单验证未通过', 'success': False, 'result': {'formId': 1, 'list': [{'backgroundUrl': '', 'componetId': 2967, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'left_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2968, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'right_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2969, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '忘记密码', 'type': 'reset_pwd', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 2970, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '账号激活', 'type': 'active_account', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 4, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'username', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的工号', 'regex': '', 'required': 1, 'showValue': None, 'title': '工号/账号', 'type': 'text_01', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 5, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'password', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的密码', 'regex': '', 'required': 1, 'showValue': None, 'title': '密码', 'type': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'value': ''}], 'md5': 'a5b0613accd1d63710ad2042bd3238ad'}}
2022-10-31 14:34:54,890 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:34:54,890 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:34:54,892 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:34:54,894 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请联系管理员检查'}
2022-10-31 14:34:54,897 - root - INFO - 订单类型是一主一附
2022-10-31 14:34:54,901 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:34:54,902 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:36:11,536 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:36:11,536 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:36:11,803 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:36:11,804 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:36:11,805 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:36:11,806 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:36:12,070 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:36:12,074 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:36:12,076 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:36:12,077 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:36:12,078 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:36:12,080 - root - INFO - 可变参数的信息为:{'#1.md5': '3ac6f138ccd7b855b371b2b705d0a877'}
2022-10-31 14:36:12,081 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:36:12,083 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:36:12,185 - root - INFO - 接口测试结果为:{'code': 10001, 'msg': '表单验证未通过', 'success': False, 'result': {'formId': 1, 'list': [{'backgroundUrl': '', 'componetId': 2967, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'left_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2968, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'right_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2969, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '忘记密码', 'type': 'reset_pwd', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 2970, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '账号激活', 'type': 'active_account', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 4, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'username', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的工号', 'regex': '', 'required': 1, 'showValue': None, 'title': '工号/账号', 'type': 'text_01', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 5, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'password', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的密码', 'regex': '', 'required': 1, 'showValue': None, 'title': '密码', 'type': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'value': ''}], 'md5': 'a5b0613accd1d63710ad2042bd3238ad'}}
2022-10-31 14:36:12,187 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:36:12,188 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:36:12,188 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:36:12,189 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请联系管理员检查'}
2022-10-31 14:36:12,191 - root - INFO - 订单类型是一主一附
2022-10-31 14:36:12,197 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:36:12,200 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:39:34,003 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:39:34,003 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:39:34,290 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:39:34,290 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:39:34,291 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:39:34,292 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:39:34,511 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:39:34,517 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:39:34,518 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:39:34,519 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:39:34,520 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:39:34,522 - root - INFO - 可变参数的信息为:{'#1.md5': '3ac6f138ccd7b855b371b2b705d0a877'}
2022-10-31 14:39:34,524 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:39:34,525 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:39:34,629 - root - INFO - 接口测试结果为:{'code': 10001, 'msg': '表单验证未通过', 'success': False, 'result': {'formId': 1, 'list': [{'backgroundUrl': '', 'componetId': 2967, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'left_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2968, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'right_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2969, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '忘记密码', 'type': 'reset_pwd', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 2970, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '账号激活', 'type': 'active_account', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 4, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'username', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的工号', 'regex': '', 'required': 1, 'showValue': None, 'title': '工号/账号', 'type': 'text_01', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 5, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'password', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的密码', 'regex': '', 'required': 1, 'showValue': None, 'title': '密码', 'type': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'value': ''}], 'md5': 'a5b0613accd1d63710ad2042bd3238ad'}}
2022-10-31 14:39:34,632 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:39:34,632 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:39:34,633 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:39:34,634 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请联系管理员检查'}
2022-10-31 14:39:34,637 - root - INFO - 订单类型是一主一附
2022-10-31 14:39:34,640 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:39:34,641 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:42:12,612 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:42:12,612 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:42:12,900 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:42:12,901 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:42:12,902 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:42:12,903 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:42:13,211 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:42:13,217 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:42:13,218 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:42:13,218 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:42:13,219 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:42:13,220 - root - INFO - 可变参数的信息为:{'#1.md5': '3ac6f138ccd7b855b371b2b705d0a877'}
2022-10-31 14:42:13,221 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:42:13,222 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:42:13,339 - root - INFO - 接口测试结果为:{'code': 10001, 'msg': '表单验证未通过', 'success': False, 'result': {'formId': 1, 'list': [{'backgroundUrl': '', 'componetId': 2967, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'left_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2968, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'right_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2969, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '忘记密码', 'type': 'reset_pwd', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 2970, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '账号激活', 'type': 'active_account', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 4, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'username', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的工号', 'regex': '', 'required': 1, 'showValue': None, 'title': '工号/账号', 'type': 'text_01', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 5, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'password', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的密码', 'regex': '', 'required': 1, 'showValue': None, 'title': '密码', 'type': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'value': ''}], 'md5': 'a5b0613accd1d63710ad2042bd3238ad'}}
2022-10-31 14:42:13,341 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:42:13,341 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:42:13,342 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:42:13,342 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请联系管理员检查'}
2022-10-31 14:42:13,344 - root - INFO - 订单类型是一主一附
2022-10-31 14:42:13,347 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:42:13,350 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:42:41,267 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:42:41,268 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:42:41,561 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:42:41,562 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:42:41,563 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:42:41,563 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:42:41,712 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:42:41,717 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:42:41,718 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:42:41,720 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:42:41,721 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:42:41,723 - root - INFO - 可变参数的信息为:{'#1.md5': '3ac6f138ccd7b855b371b2b705d0a877'}
2022-10-31 14:42:41,724 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:42:41,725 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:42:41,942 - root - INFO - 接口测试结果为:{'code': 10001, 'msg': '表单验证未通过', 'success': False, 'result': {'formId': 1, 'list': [{'backgroundUrl': '', 'componetId': 2967, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'left_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2968, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'right_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2969, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '忘记密码', 'type': 'reset_pwd', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 2970, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '账号激活', 'type': 'active_account', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 4, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'username', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的工号', 'regex': '', 'required': 1, 'showValue': None, 'title': '工号/账号', 'type': 'text_01', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 5, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'password', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的密码', 'regex': '', 'required': 1, 'showValue': None, 'title': '密码', 'type': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'value': ''}], 'md5': 'a5b0613accd1d63710ad2042bd3238ad'}}
2022-10-31 14:42:41,948 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:42:41,948 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:42:41,949 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:42:41,950 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请联系管理员检查'}
2022-10-31 14:42:41,954 - root - INFO - 订单类型是一主一附
2022-10-31 14:42:41,957 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:42:41,960 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:44:04,152 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:44:04,153 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:44:04,450 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:44:04,451 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:44:04,452 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:44:04,452 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:44:04,620 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:44:04,626 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:44:04,627 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:44:04,629 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:44:04,630 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:44:04,632 - root - INFO - 可变参数的信息为:{'#1.md5': '3ac6f138ccd7b855b371b2b705d0a877'}
2022-10-31 14:44:04,634 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:44:04,634 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:44:04,762 - root - INFO - 接口测试结果为:{'code': 10001, 'msg': '表单验证未通过', 'success': False, 'result': {'formId': 1, 'list': [{'backgroundUrl': '', 'componetId': 2967, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'left_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2968, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'right_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2969, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '忘记密码', 'type': 'reset_pwd', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 2970, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '账号激活', 'type': 'active_account', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 4, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'username', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的工号', 'regex': '', 'required': 1, 'showValue': None, 'title': '工号/账号', 'type': 'text_01', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 5, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'password', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的密码', 'regex': '', 'required': 1, 'showValue': None, 'title': '密码', 'type': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'value': ''}], 'md5': 'a5b0613accd1d63710ad2042bd3238ad'}}
2022-10-31 14:44:04,766 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:44:04,767 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:44:04,768 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:44:04,769 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请联系管理员检查'}
2022-10-31 14:44:04,773 - root - INFO - 订单类型是一主一附
2022-10-31 14:44:04,777 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:44:04,779 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:44:51,308 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:44:51,310 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:44:52,299 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:44:52,301 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:44:52,303 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:44:52,304 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:44:52,474 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:45:35,166 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:45:35,167 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:45:35,444 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:45:35,444 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:45:35,445 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:45:35,446 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:45:35,588 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:45:35,592 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:45:35,593 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:45:35,594 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:45:35,596 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:45:35,597 - root - INFO - 可变参数的信息为:{'#1.md5': '3ac6f138ccd7b855b371b2b705d0a877'}
2022-10-31 14:45:35,598 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:45:35,599 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:45:35,681 - root - INFO - 接口测试结果为:{'code': 10001, 'msg': '表单验证未通过', 'success': False, 'result': {'formId': 1, 'list': [{'backgroundUrl': '', 'componetId': 2967, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'left_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2968, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'right_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2969, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '忘记密码', 'type': 'reset_pwd', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 2970, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '账号激活', 'type': 'active_account', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 4, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'username', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的工号', 'regex': '', 'required': 1, 'showValue': None, 'title': '工号/账号', 'type': 'text_01', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 5, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'password', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的密码', 'regex': '', 'required': 1, 'showValue': None, 'title': '密码', 'type': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'value': ''}], 'md5': 'a5b0613accd1d63710ad2042bd3238ad'}}
2022-10-31 14:45:35,684 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:45:35,685 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:45:35,686 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:45:35,688 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请联系管理员检查'}
2022-10-31 14:45:35,691 - root - INFO - 订单类型是一主一附
2022-10-31 14:45:35,694 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:45:35,696 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:47:08,657 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:47:08,658 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:47:08,954 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:47:08,954 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:47:08,955 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:47:08,955 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:47:09,135 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:47:09,140 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:47:09,141 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:47:09,143 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:47:09,144 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:47:09,145 - root - INFO - 可变参数的信息为:{'#1.md5': '3ac6f138ccd7b855b371b2b705d0a877'}
2022-10-31 14:47:09,147 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:47:09,149 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:47:09,326 - root - INFO - 接口测试结果为:{'code': 10001, 'msg': '表单验证未通过', 'success': False, 'result': {'formId': 1, 'list': [{'backgroundUrl': '', 'componetId': 2967, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'left_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2968, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'right_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2969, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '忘记密码', 'type': 'reset_pwd', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 2970, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '账号激活', 'type': 'active_account', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 4, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'username', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的工号', 'regex': '', 'required': 1, 'showValue': None, 'title': '工号/账号', 'type': 'text_01', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 5, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'password', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的密码', 'regex': '', 'required': 1, 'showValue': None, 'title': '密码', 'type': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'value': ''}], 'md5': 'a5b0613accd1d63710ad2042bd3238ad'}}
2022-10-31 14:47:09,331 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:47:09,332 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:47:09,333 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:47:09,335 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请联系管理员检查'}
2022-10-31 14:47:09,340 - root - INFO - 订单类型是一主一附
2022-10-31 14:47:09,344 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:47:09,346 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:48:07,645 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:48:07,646 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:48:07,920 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:48:07,920 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:48:07,921 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:48:07,922 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:48:08,081 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:48:08,088 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:48:08,089 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:48:08,091 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:48:08,093 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:48:08,094 - root - INFO - 可变参数的信息为:{'#1.md5': '3ac6f138ccd7b855b371b2b705d0a877'}
2022-10-31 14:48:08,096 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:48:08,097 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:48:08,185 - root - INFO - 接口测试结果为:{'code': 10001, 'msg': '表单验证未通过', 'success': False, 'result': {'formId': 1, 'list': [{'backgroundUrl': '', 'componetId': 2967, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'left_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2968, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'right_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2969, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '忘记密码', 'type': 'reset_pwd', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 2970, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '账号激活', 'type': 'active_account', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 4, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'username', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的工号', 'regex': '', 'required': 1, 'showValue': None, 'title': '工号/账号', 'type': 'text_01', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 5, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'password', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的密码', 'regex': '', 'required': 1, 'showValue': None, 'title': '密码', 'type': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'value': ''}], 'md5': 'a5b0613accd1d63710ad2042bd3238ad'}}
2022-10-31 14:48:08,190 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:48:08,191 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:48:08,192 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:48:08,193 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请联系管理员检查'}
2022-10-31 14:48:08,198 - root - INFO - 订单类型是一主一附
2022-10-31 14:48:08,202 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:48:08,204 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:48:35,139 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:48:35,140 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:48:35,429 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:48:35,430 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:48:35,430 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:48:35,431 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:48:36,017 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:48:36,023 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:48:36,024 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:48:36,025 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:48:36,026 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:48:36,027 - root - INFO - 可变参数的信息为:{'#1.md5': '3ac6f138ccd7b855b371b2b705d0a877'}
2022-10-31 14:48:36,028 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:48:36,029 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:48:36,123 - root - INFO - 接口测试结果为:{'code': 10001, 'msg': '表单验证未通过', 'success': False, 'result': {'formId': 1, 'list': [{'backgroundUrl': '', 'componetId': 2967, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'left_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2968, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'right_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2969, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '忘记密码', 'type': 'reset_pwd', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 2970, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '账号激活', 'type': 'active_account', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 4, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'username', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的工号', 'regex': '', 'required': 1, 'showValue': None, 'title': '工号/账号', 'type': 'text_01', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 5, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'password', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的密码', 'regex': '', 'required': 1, 'showValue': None, 'title': '密码', 'type': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'value': ''}], 'md5': 'a5b0613accd1d63710ad2042bd3238ad'}}
2022-10-31 14:48:36,127 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:48:36,127 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:48:36,128 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:48:36,129 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请联系管理员检查'}
2022-10-31 14:48:36,133 - root - INFO - 订单类型是一主一附
2022-10-31 14:48:36,137 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:48:36,139 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:48:54,153 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:48:54,154 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:48:54,413 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:48:54,413 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:48:54,414 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:48:54,414 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:48:54,554 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:48:54,559 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:48:54,560 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:48:54,561 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:48:54,562 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:48:54,564 - root - INFO - 可变参数的信息为:{'#1.md5': '3ac6f138ccd7b855b371b2b705d0a877'}
2022-10-31 14:48:54,566 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:48:54,567 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': '3ac6f138ccd7b855b371b2b705d0a877', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:48:54,672 - root - INFO - 接口测试结果为:{'code': 10001, 'msg': '表单验证未通过', 'success': False, 'result': {'formId': 1, 'list': [{'backgroundUrl': '', 'componetId': 2967, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'left_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2968, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'right_deck', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '', 'type': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 2969, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '忘记密码', 'type': 'reset_pwd', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 2970, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': '', 'length': 0, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '', 'regex': '', 'required': 0, 'showValue': None, 'title': '账号激活', 'type': 'active_account', 'url': '', 'value': ''}, {'backgroundUrl': '', 'componetId': 4, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'username', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的工号', 'regex': '', 'required': 1, 'showValue': None, 'title': '工号/账号', 'type': 'text_01', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'value': ''}, {'backgroundUrl': '', 'componetId': 5, 'data': None, 'hideComponetId': 0, 'hintMsg': '', 'key': 'password', 'length': 30, 'lengthHintMsg': '', 'minLength': 0, 'nonHintMsg': '', 'placeholder': '请输入您的密码', 'regex': '', 'required': 1, 'showValue': None, 'title': '密码', 'type': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'value': ''}], 'md5': 'a5b0613accd1d63710ad2042bd3238ad'}}
2022-10-31 14:48:54,676 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:48:54,676 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:48:54,677 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:48:54,679 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请联系管理员检查'}
2022-10-31 14:48:54,683 - root - INFO - 订单类型是一主一附
2022-10-31 14:48:54,687 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:48:54,689 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:49:34,516 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:49:34,517 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:49:34,793 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:49:34,794 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:49:34,795 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:49:34,796 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:49:34,890 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:49:34,892 - root - INFO - 断言处理结束!!!
2022-10-31 14:49:34,898 - root - INFO - 响应信息存储完毕!!!
2022-10-31 14:49:34,899 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 14:49:34,901 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:49:34,902 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:49:34,903 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:49:34,904 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:49:34,905 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 14:49:34,906 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:49:34,907 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:49:35,405 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': 'b99358602ea747649c83e2402c2cdbbd', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 14:49:35,406 - root - INFO - 断言处理结束!!!
2022-10-31 14:49:35,408 - root - INFO - 响应信息存储完毕!!!
2022-10-31 14:49:35,409 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 14:49:35,411 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:49:35,411 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:49:35,412 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:49:35,413 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请联系管理员检查'}
2022-10-31 14:49:35,417 - root - INFO - 订单类型是一主一附
2022-10-31 14:49:35,420 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:49:35,422 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:50:13,444 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:50:13,446 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:50:13,854 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:50:13,855 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:50:13,856 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:50:13,856 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:50:14,041 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:50:14,042 - root - INFO - 断言处理结束!!!
2022-10-31 14:50:14,046 - root - INFO - 响应信息存储完毕!!!
2022-10-31 14:50:14,046 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 14:50:14,047 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:50:14,048 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:50:14,048 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:50:14,049 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:50:14,050 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 14:50:14,051 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:50:14,052 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:50:14,463 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': 'b43cabb3790b46838d3b3f43ace44f37', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 14:50:14,464 - root - INFO - 断言处理结束!!!
2022-10-31 14:50:14,466 - root - INFO - 响应信息存储完毕!!!
2022-10-31 14:50:14,466 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 14:50:14,467 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:50:14,468 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:50:14,468 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:50:14,469 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请检查参数'}
2022-10-31 14:50:14,472 - root - INFO - 订单类型是一主一附
2022-10-31 14:50:14,476 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:50:14,479 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:53:55,707 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:53:55,709 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:54:05,550 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:54:05,551 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:54:05,929 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:54:05,929 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:54:05,930 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:54:05,930 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:54:06,151 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:54:06,153 - root - INFO - 断言处理结束!!!
2022-10-31 14:54:06,156 - root - INFO - 响应信息存储完毕!!!
2022-10-31 14:54:06,156 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 14:54:06,158 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:54:06,158 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:54:06,159 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:54:06,160 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:54:06,161 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 14:54:06,162 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:54:06,163 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:54:06,686 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': 'c61d5090b6684c4bb943cc98e4bdf3e0', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 14:54:06,687 - root - INFO - 断言处理结束!!!
2022-10-31 14:54:06,690 - root - INFO - 响应信息存储完毕!!!
2022-10-31 14:54:06,691 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 14:54:06,692 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:54:06,694 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:54:06,697 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:54:06,699 - root - INFO - 请求头为:{'code': 1, 'result': '参数替换异常,请检查参数'}
2022-10-31 14:54:06,702 - root - INFO - 订单类型是一主一附
2022-10-31 14:54:06,705 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:54:06,707 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:54:55,513 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:54:55,515 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:54:55,850 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:54:55,850 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:54:55,850 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:54:55,851 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:54:56,019 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:54:56,020 - root - INFO - 断言处理结束!!!
2022-10-31 14:54:56,023 - root - INFO - 响应信息存储完毕!!!
2022-10-31 14:54:56,023 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 14:54:56,024 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:54:56,025 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:54:56,026 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:54:56,027 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:54:56,028 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 14:54:56,029 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:54:56,029 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:54:56,458 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': 'bcf16243b9bf4cdd9b9c5c27abf8ee39', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 14:54:56,459 - root - INFO - 断言处理结束!!!
2022-10-31 14:54:56,461 - root - INFO - 响应信息存储完毕!!!
2022-10-31 14:54:56,463 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 14:54:56,464 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:54:56,465 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:54:56,466 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:54:56,467 - root - INFO - 请求头为:{'code': 1, 'result': '参数错误,请检查替换信息是否争正确'}
2022-10-31 14:54:56,470 - root - INFO - 订单类型是一主一附
2022-10-31 14:54:56,474 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"经营者(不到现场者);内勤","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:54:56,476 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 14:58:06,755 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 14:58:06,758 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 14:58:07,131 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 14:58:07,132 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 14:58:07,133 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 14:58:07,133 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 14:58:07,403 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 14:58:07,405 - root - INFO - 断言处理结束!!!
2022-10-31 14:58:07,409 - root - INFO - 响应信息存储完毕!!!
2022-10-31 14:58:07,410 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 14:58:07,412 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 14:58:07,412 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 14:58:07,413 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 14:58:07,413 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 14:58:07,414 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 14:58:07,415 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:58:07,415 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 14:58:07,944 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '5ca3280fb5e04740983119bf413e0322', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 14:58:07,945 - root - INFO - 断言处理结束!!!
2022-10-31 14:58:07,947 - root - INFO - 响应信息存储完毕!!!
2022-10-31 14:58:07,948 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 14:58:07,950 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 14:58:07,950 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#1.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 14:58:07,951 - root - INFO - 需要替换的变量信息为:['#1.token']
2022-10-31 14:58:07,953 - root - INFO - 请求头为:{'code': 1, 'result': '参数错误,请检查替换信息是否争正确'}
2022-10-31 14:58:07,956 - root - INFO - 订单类型是一主一附
2022-10-31 14:58:07,961 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"经营者(不到现场者);内勤","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 14:58:07,963 - root - INFO - 接口测试结果为:{'code': 1, 'result': "请求异常:Header part (1) from {'code': 1} must be of type str or bytes, not <class 'int'>"}
2022-10-31 15:00:25,214 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 15:00:25,216 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 15:00:25,546 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 15:00:25,547 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK","formId":1}', 'save_args': 'md5'}
2022-10-31 15:00:25,548 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 15:00:25,549 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 15:00:25,747 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 15:00:25,749 - root - INFO - 断言处理结束!!!
2022-10-31 15:00:25,752 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:00:25,754 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 15:00:25,755 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 15:00:25,756 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 15:00:25,757 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 15:00:25,757 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 15:00:25,758 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 15:00:25,758 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:00:25,759 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:00:26,286 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '9dfc0b06e2d24ad69505c31aed3f1199', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 15:00:26,287 - root - INFO - 断言处理结束!!!
2022-10-31 15:00:26,288 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:00:26,289 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 15:00:26,290 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 15:00:26,291 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 15:00:26,292 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 15:00:26,294 - root - INFO - 可变参数的信息为:{'#2.token': '9dfc0b06e2d24ad69505c31aed3f1199'}
2022-10-31 15:00:26,295 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '9dfc0b06e2d24ad69505c31aed3f1199'}
2022-10-31 15:00:26,296 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '9dfc0b06e2d24ad69505c31aed3f1199'}
2022-10-31 15:00:26,298 - root - INFO - 订单类型是一主一附
2022-10-31 15:00:26,301 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"经营者(不到现场者);内勤","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 15:00:26,430 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 15:16:58,968 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 15:16:58,970 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 15:16:59,345 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 15:16:59,345 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 15:16:59,346 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 15:16:59,346 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 15:16:59,859 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 15:16:59,861 - root - INFO - 断言处理结束!!!
2022-10-31 15:16:59,868 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:16:59,868 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 15:16:59,869 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 15:16:59,870 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 15:16:59,871 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 15:16:59,871 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 15:16:59,873 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 15:16:59,873 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:16:59,875 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:17:00,400 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '1ca18e3d076f4c65bebe1f50cefba6bb', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 15:17:00,401 - root - INFO - 断言处理结束!!!
2022-10-31 15:17:00,401 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:17:00,402 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 15:17:00,402 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 15:17:00,403 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 15:17:00,403 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 15:17:00,403 - root - INFO - 可变参数的信息为:{'#2.token': '1ca18e3d076f4c65bebe1f50cefba6bb'}
2022-10-31 15:17:00,404 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '1ca18e3d076f4c65bebe1f50cefba6bb'}
2022-10-31 15:17:00,404 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '1ca18e3d076f4c65bebe1f50cefba6bb'}
2022-10-31 15:17:00,406 - root - INFO - 订单类型是一主一附
2022-10-31 15:17:00,408 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":" ","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 15:17:01,082 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 15:20:06,171 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 15:20:06,171 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 15:20:06,423 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 15:20:06,423 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 15:20:06,424 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 15:20:06,424 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 15:20:06,606 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 15:20:06,608 - root - INFO - 断言处理结束!!!
2022-10-31 15:20:06,612 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:20:06,614 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 15:20:06,617 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 15:20:06,619 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 15:20:06,620 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 15:20:06,621 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 15:20:06,622 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 15:20:06,623 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:20:06,624 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:20:07,153 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '2b6970ebd48f40df9e6a22a2938c6ea4', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 15:20:07,155 - root - INFO - 断言处理结束!!!
2022-10-31 15:20:07,157 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:20:07,159 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 15:20:07,160 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 15:20:07,161 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 15:20:07,162 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 15:20:07,163 - root - INFO - 可变参数的信息为:{'#2.token': '2b6970ebd48f40df9e6a22a2938c6ea4'}
2022-10-31 15:20:07,164 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '2b6970ebd48f40df9e6a22a2938c6ea4'}
2022-10-31 15:20:07,164 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '2b6970ebd48f40df9e6a22a2938c6ea4'}
2022-10-31 15:20:07,167 - root - INFO - 订单类型是一主一附
2022-10-31 15:20:07,172 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":" ","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 15:20:07,333 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 15:31:33,047 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 15:31:33,050 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 15:31:33,422 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 15:31:33,422 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 15:31:33,423 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 15:31:33,424 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 15:31:33,605 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 15:31:33,607 - root - INFO - 断言处理结束!!!
2022-10-31 15:31:33,612 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:31:33,614 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 15:31:33,616 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 15:31:33,618 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 15:31:33,620 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 15:31:33,620 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 15:31:33,622 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 15:31:33,623 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:31:33,624 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:31:34,132 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '14caf15fabff43bfb63040ec60d67693', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 15:31:34,134 - root - INFO - 断言处理结束!!!
2022-10-31 15:31:34,135 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:31:34,136 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 15:31:34,137 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 15:31:34,138 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 15:31:34,139 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 15:31:34,140 - root - INFO - 可变参数的信息为:{'#2.token': '14caf15fabff43bfb63040ec60d67693'}
2022-10-31 15:31:34,142 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '14caf15fabff43bfb63040ec60d67693'}
2022-10-31 15:31:34,143 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '14caf15fabff43bfb63040ec60d67693'}
2022-10-31 15:31:34,146 - root - INFO - 订单类型是一主一附
2022-10-31 15:31:34,150 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":" ","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 15:31:34,256 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 15:31:54,867 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 15:31:54,868 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 15:31:55,188 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 15:31:55,189 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 15:31:55,190 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 15:31:55,191 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 15:31:55,289 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 15:31:55,290 - root - INFO - 断言处理结束!!!
2022-10-31 15:31:55,291 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:31:55,292 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 15:31:55,293 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 15:31:55,293 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 15:31:55,294 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 15:31:55,294 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 15:31:55,295 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 15:31:55,295 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:31:55,296 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:31:55,740 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '30a43f3154654e1a9ca516ddd797ed84', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 15:31:55,741 - root - INFO - 断言处理结束!!!
2022-10-31 15:31:55,742 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:31:55,743 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 15:31:55,745 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 15:31:55,745 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 15:31:55,746 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 15:31:55,747 - root - INFO - 可变参数的信息为:{'#2.token': '30a43f3154654e1a9ca516ddd797ed84'}
2022-10-31 15:31:55,748 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '30a43f3154654e1a9ca516ddd797ed84'}
2022-10-31 15:31:55,749 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '30a43f3154654e1a9ca516ddd797ed84'}
2022-10-31 15:31:55,752 - root - INFO - 订单类型是一主一附
2022-10-31 15:31:55,756 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":" ","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 15:31:55,856 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 15:33:27,704 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 15:33:27,706 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 15:33:28,047 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 15:33:28,049 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 15:33:28,049 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 15:33:28,050 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 15:33:28,255 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 15:33:28,257 - root - INFO - 断言处理结束!!!
2022-10-31 15:33:28,262 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:33:28,263 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 15:33:28,264 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 15:33:28,265 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 15:33:28,266 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 15:33:28,268 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 15:33:28,268 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 15:33:28,270 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:33:28,271 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:33:28,837 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '9c60e9c958fb402cbef0ae94438282c4', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 15:33:28,838 - root - INFO - 断言处理结束!!!
2022-10-31 15:33:28,839 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:33:28,841 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 15:33:28,843 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 15:33:28,844 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 15:33:28,844 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 15:33:28,845 - root - INFO - 可变参数的信息为:{'#2.token': '9c60e9c958fb402cbef0ae94438282c4'}
2022-10-31 15:33:28,846 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '9c60e9c958fb402cbef0ae94438282c4'}
2022-10-31 15:33:28,847 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '9c60e9c958fb402cbef0ae94438282c4'}
2022-10-31 15:33:28,850 - root - INFO - 订单类型是一主一附
2022-10-31 15:33:28,854 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 15:33:29,196 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 15:35:05,679 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 15:35:05,680 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 15:35:06,050 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 15:35:06,050 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 15:35:06,051 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 15:35:06,052 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 15:35:06,224 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 15:35:06,226 - root - INFO - 断言处理结束!!!
2022-10-31 15:35:06,230 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:35:06,232 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 15:35:06,233 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 15:35:06,234 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 15:35:06,234 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 15:35:06,235 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 15:35:06,236 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 15:35:06,237 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:35:06,237 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:35:06,710 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '134785c5bbf54ff08746dd2aa8d011a1', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 15:35:06,712 - root - INFO - 断言处理结束!!!
2022-10-31 15:35:06,714 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:35:06,716 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 15:35:06,718 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 15:35:06,718 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 15:35:06,720 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 15:35:06,722 - root - INFO - 可变参数的信息为:{'#2.token': '134785c5bbf54ff08746dd2aa8d011a1'}
2022-10-31 15:35:06,723 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Auth-Token': '134785c5bbf54ff08746dd2aa8d011a1'}
2022-10-31 15:35:06,724 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Auth-Token': '134785c5bbf54ff08746dd2aa8d011a1'}
2022-10-31 15:35:06,727 - root - INFO - 订单类型是一主一附
2022-10-31 15:35:06,731 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 15:35:06,866 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 15:35:24,271 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 15:35:24,272 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 15:35:24,528 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 15:35:24,529 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 15:35:24,530 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 15:35:24,530 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 15:35:24,634 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 15:35:24,636 - root - INFO - 断言处理结束!!!
2022-10-31 15:35:24,640 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:35:24,642 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 15:35:24,645 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 15:35:24,646 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 15:35:24,646 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 15:35:24,647 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 15:35:24,649 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 15:35:24,649 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:35:24,650 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:35:25,074 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '5b0d2ca279674d87ab49d317275865bd', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 15:35:25,075 - root - INFO - 断言处理结束!!!
2022-10-31 15:35:25,077 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:35:25,078 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 15:35:25,079 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 15:35:25,079 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 15:35:25,081 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 15:35:25,082 - root - INFO - 可变参数的信息为:{'#2.token': '5b0d2ca279674d87ab49d317275865bd'}
2022-10-31 15:35:25,083 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Auth-Token': '5b0d2ca279674d87ab49d317275865bd'}
2022-10-31 15:35:25,084 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Auth-Token': '5b0d2ca279674d87ab49d317275865bd'}
2022-10-31 15:35:25,086 - root - INFO - 订单类型是一主一附
2022-10-31 15:35:25,090 - root - INFO - 请求参数为:{"order":{"identifier":"test1111111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 15:35:25,192 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 15:37:36,063 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 15:37:36,064 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 15:37:36,290 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 15:37:36,290 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 15:37:36,291 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 15:37:36,292 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 15:37:36,542 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 15:37:36,543 - root - INFO - 断言处理结束!!!
2022-10-31 15:37:36,546 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:37:36,547 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 15:37:36,548 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 15:37:36,548 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 15:37:36,549 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 15:37:36,549 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 15:37:36,550 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 15:37:36,550 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:37:36,550 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:37:37,054 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': 'b0dac768154c43ffae4d852c102b96dc', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 15:37:37,056 - root - INFO - 断言处理结束!!!
2022-10-31 15:37:37,058 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:37:37,059 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 15:37:37,060 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 15:37:37,061 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 15:37:37,062 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 15:37:37,063 - root - INFO - 可变参数的信息为:{'#2.token': 'b0dac768154c43ffae4d852c102b96dc'}
2022-10-31 15:37:37,063 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': 'b0dac768154c43ffae4d852c102b96dc'}
2022-10-31 15:37:37,064 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': 'b0dac768154c43ffae4d852c102b96dc'}
2022-10-31 15:37:37,067 - root - INFO - 订单类型是一主一附
2022-10-31 15:37:37,071 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 15:37:37,239 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 15:52:46,060 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 15:52:46,063 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 15:52:46,318 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 15:52:46,318 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 15:52:46,319 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 15:52:46,319 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 15:52:46,912 - root - INFO - {'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 15:52:46,914 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 15:52:46,915 - root - INFO - 断言处理结束!!!
2022-10-31 15:52:46,916 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:52:46,917 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 15:52:46,918 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 15:52:46,918 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 15:52:46,918 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 15:52:46,919 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 15:52:46,919 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 15:52:46,920 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:52:46,921 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:52:47,391 - root - INFO - {'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': 'b0fc73bde0e14a6eb43f02330d961685', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 15:52:47,392 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': 'b0fc73bde0e14a6eb43f02330d961685', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 15:52:47,394 - root - INFO - 断言处理结束!!!
2022-10-31 15:52:47,395 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:52:47,396 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 15:52:47,397 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 15:52:47,398 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 15:52:47,398 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 15:52:47,399 - root - INFO - 可变参数的信息为:{'#2.token': 'b0fc73bde0e14a6eb43f02330d961685'}
2022-10-31 15:52:47,400 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': 'b0fc73bde0e14a6eb43f02330d961685'}
2022-10-31 15:52:47,402 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': 'b0fc73bde0e14a6eb43f02330d961685'}
2022-10-31 15:52:47,511 - root - INFO - 订单类型是一主一附
2022-10-31 15:52:47,514 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 15:52:47,864 - root - INFO - {'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 15:52:47,866 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 15:53:36,345 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 15:53:36,347 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 15:53:36,579 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 15:53:36,579 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 15:53:36,580 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 15:53:36,581 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 15:53:36,761 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 15:53:36,763 - root - INFO - 断言处理结束!!!
2022-10-31 15:53:36,767 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:53:36,768 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 15:53:36,769 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 15:53:36,770 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 15:53:36,771 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 15:53:36,772 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 15:53:36,773 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 15:53:36,774 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:53:36,775 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:53:37,355 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': 'c184e4aeae2141eb80bab8a0a874b3d6', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 15:53:37,356 - root - INFO - 断言处理结束!!!
2022-10-31 15:53:37,357 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:53:37,358 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 15:53:37,359 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 15:53:37,360 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 15:53:37,362 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 15:53:37,363 - root - INFO - 可变参数的信息为:{'#2.token': 'c184e4aeae2141eb80bab8a0a874b3d6'}
2022-10-31 15:53:37,364 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': 'c184e4aeae2141eb80bab8a0a874b3d6'}
2022-10-31 15:53:37,365 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': 'c184e4aeae2141eb80bab8a0a874b3d6'}
2022-10-31 15:53:37,475 - root - INFO - 订单类型是一主一附
2022-10-31 15:53:37,478 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 15:53:37,576 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 15:55:33,713 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 15:55:33,715 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 15:55:33,960 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 15:55:33,960 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 15:55:33,961 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 15:55:33,962 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 15:55:34,237 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 15:55:34,239 - root - INFO - 断言处理结束!!!
2022-10-31 15:55:34,241 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:55:34,242 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 15:55:34,243 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 15:55:34,244 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 15:55:34,244 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 15:55:34,245 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 15:55:34,245 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 15:55:34,246 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:55:34,246 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 15:55:34,723 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '0155eac0b1cb47ac9db9b716cea79528', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 15:55:34,725 - root - INFO - 断言处理结束!!!
2022-10-31 15:55:34,727 - root - INFO - 响应信息存储完毕!!!
2022-10-31 15:55:34,728 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 15:55:34,730 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 15:55:34,731 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 15:55:34,732 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 15:55:34,733 - root - INFO - 可变参数的信息为:{'#2.token': '0155eac0b1cb47ac9db9b716cea79528'}
2022-10-31 15:55:34,733 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '0155eac0b1cb47ac9db9b716cea79528'}
2022-10-31 15:55:34,734 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '0155eac0b1cb47ac9db9b716cea79528'}
2022-10-31 15:55:34,832 - root - INFO - 订单类型是一主一附
2022-10-31 15:55:34,834 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 15:55:34,984 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 16:00:48,334 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 16:00:48,336 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 16:00:48,564 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 16:00:48,565 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 16:00:48,566 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 16:00:48,567 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 16:00:48,883 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 16:00:48,885 - root - INFO - 断言处理结束!!!
2022-10-31 16:00:48,888 - root - INFO - 响应信息存储完毕!!!
2022-10-31 16:00:48,889 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 16:00:48,890 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 16:00:48,891 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 16:00:48,892 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 16:00:48,893 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 16:00:48,894 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 16:00:48,894 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:00:48,895 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:00:49,336 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': 'af3d130650314276b39e2277a6fa7a0a', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 16:00:49,337 - root - INFO - 断言处理结束!!!
2022-10-31 16:00:49,339 - root - INFO - 响应信息存储完毕!!!
2022-10-31 16:00:49,339 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 16:00:49,341 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 16:00:49,341 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 16:00:49,342 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 16:00:49,343 - root - INFO - 可变参数的信息为:{'#2.token': 'af3d130650314276b39e2277a6fa7a0a'}
2022-10-31 16:00:49,344 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': 'af3d130650314276b39e2277a6fa7a0a'}
2022-10-31 16:00:49,346 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': 'af3d130650314276b39e2277a6fa7a0a'}
2022-10-31 16:00:49,455 - root - INFO - 订单类型是一主一附
2022-10-31 16:00:49,458 - root - INFO - 话术变量参数自动生成成功!
2022-10-31 16:00:49,458 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 16:00:49,782 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 16:04:49,132 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 16:04:49,133 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 16:04:49,355 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 16:04:49,356 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 16:04:49,356 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 16:04:49,358 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 16:04:49,519 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 16:04:49,521 - root - INFO - 断言处理结束!!!
2022-10-31 16:04:49,524 - root - INFO - 响应信息存储完毕!!!
2022-10-31 16:04:49,525 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 16:04:49,527 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 16:04:49,527 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 16:04:49,528 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 16:04:49,529 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 16:04:49,530 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 16:04:49,530 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:04:49,531 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:04:49,972 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '4f271950a788484db88037ab540f39a9', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 16:04:49,974 - root - INFO - 断言处理结束!!!
2022-10-31 16:04:49,975 - root - INFO - 响应信息存储完毕!!!
2022-10-31 16:04:49,976 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 16:04:49,978 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 16:04:49,979 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 16:04:49,980 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 16:04:49,981 - root - INFO - 可变参数的信息为:{'#2.token': '4f271950a788484db88037ab540f39a9'}
2022-10-31 16:04:49,981 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '4f271950a788484db88037ab540f39a9'}
2022-10-31 16:04:49,982 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '4f271950a788484db88037ab540f39a9'}
2022-10-31 16:04:50,091 - root - INFO - 订单类型是一主一附
2022-10-31 16:04:50,094 - root - INFO - 话术变量参数自动生成成功!
2022-10-31 16:04:50,095 - root - INFO - 请求参数为:{"order":{"identifier":"test11111","policyType":"1","recordingTime":"","recordType":"新契约","inputType":"手工入件","createTime":"","selfNo":"","policyNo":"123","quotaItem":"1","marketingChannel":"","organizationName":"","systemType":"","insuranceCompany":"","insuranceComPolicyNo":"","firstYearPrem":"","firstYearValue":"","firstYearValuePercent":"","firstYearPrem":"","firstYearCashValue":"","secondYearCashValue":"","thirdYearCashValue":"","isAlternateGeneration":"","yaoWuYouType":"","hasStraightThirty":"","hasHealthBank":"","hasXiaoWuYou":"","hasYiWuYou":"","isTogetherPolicy":"","selfRelation":"","abLicense":"","systemSource":"","applicantRemote":"","supportRemote":"","relation":"","recordingPrescription":""},"agent":{"name":"测试销售人员姓名","employeeId":"","branchName":"","subBranchName":"","identityNo":"","marketingChannel":"","licensed":"","certType":"","secondAgentName":"","secondAgentComName":"","secondAgentComCode":"","centralBranch":"","directlyAgencyName":"","certType":"","companyCode":"","directlyAgencyCode":"","companyName":"","branchCode":"","subBranchCode":"","gender":"0","status":"","channelCode":"","subCode":""},"applicant":{"name":"测试投保人","gender":"0","honorific":"","age":"27","profession":"","birth":"","certType":"身份证","certNo":"410821199504142014","address":"","mobile":"","relation":"","riskScore":""},"insurance":[{"mainInsurance":{"productName":"光大永明意外伤害保险","productCode":"AAT055","productCategory":"主险","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"1","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人1","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"120118199003073035","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]},"additionalInsurances":[{"productName":"光大永明无忧住院医疗保险","productCode":"HMT008","productCategory":"附加险1","payType":"","payPeriod":"","policyPeriod":"","periodAmount":"","periodAmount":"","sumAmount":"","surrenderAmount":"","productType":"2","totalAmountOfFirstYear":"","cashValueOfFirstYear":"","planCode":"","isRenewal":"","renewalYear":"","firstYearInsurance":"","secondYearSurAmount":"","hesitatePeriod":"","disposableInitialCost":"","initialCost":"","minInterestRate":"","isRangeProducts":"","newEffectivedDate":"","waitingPeriod":"","cashValueOfsecondYear":"","secondYearSurAmountPercent":"","secondYearSurPercent":"","payFrequency":"","totalAmountOfFirst":"","firstYearPrem":"","insureds":[{"name":"被保人2","gender":"0","honorific":"","birth":"","age":"","profession":"","certType":"身份证","certNo":"110105199005052832","mobile":"","address":"","relation":"","guardian":"","guardianNo":"","guardianCertType":"","guardianGender":"","guardianHonorific":""}]}]}]}
2022-10-31 16:04:50,195 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '未知异常', 'success': False, 'result': None}
2022-10-31 16:05:30,585 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 16:05:30,586 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 16:05:30,744 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 16:05:30,744 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 16:05:30,746 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 16:05:30,746 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 16:05:31,357 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 16:05:31,359 - root - INFO - 断言处理结束!!!
2022-10-31 16:05:31,361 - root - INFO - 响应信息存储完毕!!!
2022-10-31 16:05:31,362 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 16:05:31,363 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 16:05:31,365 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 16:05:31,366 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 16:05:31,368 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 16:05:31,368 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 16:05:31,369 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:05:31,370 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:05:31,832 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '4e8c3419d8ae452a8429c9b5368a2b10', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 16:05:31,834 - root - INFO - 断言处理结束!!!
2022-10-31 16:05:31,835 - root - INFO - 响应信息存储完毕!!!
2022-10-31 16:05:31,836 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 16:05:31,837 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 16:05:31,837 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 16:05:31,838 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 16:05:31,838 - root - INFO - 可变参数的信息为:{'#2.token': '4e8c3419d8ae452a8429c9b5368a2b10'}
2022-10-31 16:05:31,839 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '4e8c3419d8ae452a8429c9b5368a2b10'}
2022-10-31 16:05:31,840 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '4e8c3419d8ae452a8429c9b5368a2b10'}
2022-10-31 16:05:31,947 - root - INFO - 订单类型是一主一附
2022-10-31 16:05:31,949 - root - INFO - 话术变量参数自动生成成功!
2022-10-31 16:05:31,950 - root - INFO - 请求参数为:{'order': {'identifier': 'test11111', 'policyType': '1', 'recordingTime': '', 'recordType': '新契约', 'inputType': '手工入件', 'createTime': '', 'selfNo': '', 'policyNo': '123', 'quotaItem': '1', 'marketingChannel': '', 'organizationName': '', 'systemType': '', 'insuranceCompany': '', 'insuranceComPolicyNo': '', 'firstYearPrem': '', 'firstYearValue': '', 'firstYearValuePercent': '', 'firstYearCashValue': '', 'secondYearCashValue': '', 'thirdYearCashValue': '', 'isAlternateGeneration': '', 'yaoWuYouType': '', 'hasStraightThirty': '', 'hasHealthBank': '', 'hasXiaoWuYou': '', 'hasYiWuYou': '', 'isTogetherPolicy': '', 'selfRelation': '', 'abLicense': '', 'systemSource': '', 'applicantRemote': '', 'supportRemote': '', 'relation': '', 'recordingPrescription': ''}, 'agent': {'name': '测试销售人员姓名', 'employeeId': '', 'branchName': '', 'subBranchName': '', 'identityNo': '', 'marketingChannel': '', 'licensed': '', 'certType': '', 'secondAgentName': '', 'secondAgentComName': '', 'secondAgentComCode': '', 'centralBranch': '', 'directlyAgencyName': '', 'companyCode': '', 'directlyAgencyCode': '', 'companyName': '', 'branchCode': '', 'subBranchCode': '', 'gender': '0', 'status': '', 'channelCode': '', 'subCode': ''}, 'applicant': {'name': '测试投保人', 'gender': '0', 'honorific': '', 'age': '27', 'profession': '', 'birth': '', 'certType': '身份证', 'certNo': '410821199504142014', 'address': '', 'mobile': '', 'relation': '', 'riskScore': ''}, 'insurance': [{'mainInsurance': {'productName': '光大永明意外伤害保险', 'productCode': 'AAT055', 'productCategory': '主险', 'payType': '', 'payPeriod': '', 'policyPeriod': '', 'periodAmount': '', 'sumAmount': '', 'surrenderAmount': '', 'productType': '1', 'totalAmountOfFirstYear': '', 'cashValueOfFirstYear': '', 'planCode': '', 'isRenewal': '', 'renewalYear': '', 'firstYearInsurance': '', 'secondYearSurAmount': '', 'hesitatePeriod': '', 'disposableInitialCost': '', 'initialCost': '', 'minInterestRate': '', 'isRangeProducts': '', 'newEffectivedDate': '', 'waitingPeriod': '', 'cashValueOfsecondYear': '', 'secondYearSurAmountPercent': '', 'secondYearSurPercent': '', 'payFrequency': '', 'totalAmountOfFirst': '', 'firstYearPrem': '', 'insureds': [{'name': '被保人1', 'gender': '0', 'honorific': '', 'birth': '', 'age': '', 'profession': '', 'certType': '身份证', 'certNo': '120118199003073035', 'mobile': '', 'address': '', 'relation': '', 'guardian': '', 'guardianNo': '', 'guardianCertType': '', 'guardianGender': '', 'guardianHonorific': ''}]}, 'additionalInsurances': [{'productName': '光大永明无忧住院医疗保险', 'productCode': 'HMT008', 'productCategory': '附加险1', 'payType': '', 'payPeriod': '', 'policyPeriod': '', 'periodAmount': '', 'sumAmount': '', 'surrenderAmount': '', 'productType': '2', 'totalAmountOfFirstYear': '', 'cashValueOfFirstYear': '', 'planCode': '', 'isRenewal': '', 'renewalYear': '', 'firstYearInsurance': '', 'secondYearSurAmount': '', 'hesitatePeriod': '', 'disposableInitialCost': '', 'initialCost': '', 'minInterestRate': '', 'isRangeProducts': '', 'newEffectivedDate': '', 'waitingPeriod': '', 'cashValueOfsecondYear': '', 'secondYearSurAmountPercent': '', 'secondYearSurPercent': '', 'payFrequency': '', 'totalAmountOfFirst': '', 'firstYearPrem': '', 'insureds': [{'name': '被保人2', 'gender': '0', 'honorific': '', 'birth': '', 'age': '', 'profession': '', 'certType': '身份证', 'certNo': '110105199005052832', 'mobile': '', 'address': '', 'relation': '', 'guardian': '', 'guardianNo': '', 'guardianCertType': '', 'guardianGender': '', 'guardianHonorific': ''}]}]}]}
2022-10-31 16:05:33,656 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'orderRecordId': 17743, 'exist': 1, 'customerName': '测试投保人', 'productName': '光大永明意外伤害保险', 'orderId': 'test11111', 'serialNo': 'test11111', 'createTime': '2022-10-31 16:05:32', 'orderNoType': 2, 'appntAge': '27', 'supportRemote': 1, 'systemType': 2147483647, 'applicantRemoteFlag': 2147483647, 'manyInsuresFlag': 1, 'samePerson': 2, 'samePersonForInsured': 2, 'samePersonForAppnt': 2, 'sameCameraCount': 3, 'positioning': 1, 'area': 2, 'range': '天津市-天津市', 'policyNo': '123', 'orderType': 1, 'selfNo': '', 'systemSource': '', 'orderSource': 2, 'quotaType': '', 'confirmReplaceOrder': True, 'orderMetaChanged': 0}}
2022-10-31 16:20:42,771 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 16:20:42,773 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 16:20:43,042 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 16:20:43,043 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 16:20:43,044 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 16:20:43,044 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 16:20:43,151 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 16:20:43,154 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 16:20:43,155 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 16:20:43,156 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 16:20:43,157 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 16:20:43,157 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 16:20:43,158 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:20:43,159 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:20:43,616 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '164b65be3edc44a09b995809430219ea', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 16:20:43,618 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 16:20:43,619 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 16:20:43,620 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 16:20:43,622 - root - INFO - 可变参数的信息为:{'#2.token': '4e8c3419d8ae452a8429c9b5368a2b10'}
2022-10-31 16:20:43,623 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '4e8c3419d8ae452a8429c9b5368a2b10'}
2022-10-31 16:20:43,625 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '4e8c3419d8ae452a8429c9b5368a2b10'}
2022-10-31 16:20:43,628 - root - INFO - 订单类型是一主一附
2022-10-31 16:20:43,633 - root - INFO - 话术变量参数自动生成成功!
2022-10-31 16:20:43,634 - root - INFO - 请求参数为:{'order': {'identifier': 'test11111', 'policyType': '1', 'recordingTime': '', 'recordType': '新契约', 'inputType': '手工入件', 'createTime': '', 'selfNo': '', 'policyNo': '123', 'quotaItem': '1', 'marketingChannel': '', 'organizationName': '', 'systemType': '', 'insuranceCompany': '', 'insuranceComPolicyNo': '', 'firstYearPrem': '', 'firstYearValue': '', 'firstYearValuePercent': '', 'firstYearCashValue': '', 'secondYearCashValue': '', 'thirdYearCashValue': '', 'isAlternateGeneration': '', 'yaoWuYouType': '', 'hasStraightThirty': '', 'hasHealthBank': '', 'hasXiaoWuYou': '', 'hasYiWuYou': '', 'isTogetherPolicy': '', 'selfRelation': '', 'abLicense': '', 'systemSource': '', 'applicantRemote': '', 'supportRemote': '', 'relation': '', 'recordingPrescription': ''}, 'agent': {'name': '测试销售人员姓名', 'employeeId': '', 'branchName': '', 'subBranchName': '', 'identityNo': '', 'marketingChannel': '', 'licensed': '', 'certType': '', 'secondAgentName': '', 'secondAgentComName': '', 'secondAgentComCode': '', 'centralBranch': '', 'directlyAgencyName': '', 'companyCode': '', 'directlyAgencyCode': '', 'companyName': '', 'branchCode': '', 'subBranchCode': '', 'gender': '0', 'status': '', 'channelCode': '', 'subCode': ''}, 'applicant': {'name': '测试投保人', 'gender': '0', 'honorific': '', 'age': '27', 'profession': '', 'birth': '', 'certType': '身份证', 'certNo': '410821199504142014', 'address': '', 'mobile': '', 'relation': '', 'riskScore': ''}, 'insurance': [{'mainInsurance': {'productName': '光大永明意外伤害保险', 'productCode': 'AAT055', 'productCategory': '主险', 'payType': '', 'payPeriod': '', 'policyPeriod': '', 'periodAmount': '', 'sumAmount': '', 'surrenderAmount': '', 'productType': '1', 'totalAmountOfFirstYear': '', 'cashValueOfFirstYear': '', 'planCode': '', 'isRenewal': '', 'renewalYear': '', 'firstYearInsurance': '', 'secondYearSurAmount': '', 'hesitatePeriod': '', 'disposableInitialCost': '', 'initialCost': '', 'minInterestRate': '', 'isRangeProducts': '', 'newEffectivedDate': '', 'waitingPeriod': '', 'cashValueOfsecondYear': '', 'secondYearSurAmountPercent': '', 'secondYearSurPercent': '', 'payFrequency': '', 'totalAmountOfFirst': '', 'firstYearPrem': '', 'insureds': [{'name': '被保人1', 'gender': '0', 'honorific': '', 'birth': '', 'age': '', 'profession': '', 'certType': '身份证', 'certNo': '120118199003073035', 'mobile': '', 'address': '', 'relation': '', 'guardian': '', 'guardianNo': '', 'guardianCertType': '', 'guardianGender': '', 'guardianHonorific': ''}]}, 'additionalInsurances': [{'productName': '光大永明无忧住院医疗保险', 'productCode': 'HMT008', 'productCategory': '附加险1', 'payType': '', 'payPeriod': '', 'policyPeriod': '', 'periodAmount': '', 'sumAmount': '', 'surrenderAmount': '', 'productType': '2', 'totalAmountOfFirstYear': '', 'cashValueOfFirstYear': '', 'planCode': '', 'isRenewal': '', 'renewalYear': '', 'firstYearInsurance': '', 'secondYearSurAmount': '', 'hesitatePeriod': '', 'disposableInitialCost': '', 'initialCost': '', 'minInterestRate': '', 'isRangeProducts': '', 'newEffectivedDate': '', 'waitingPeriod': '', 'cashValueOfsecondYear': '', 'secondYearSurAmountPercent': '', 'secondYearSurPercent': '', 'payFrequency': '', 'totalAmountOfFirst': '', 'firstYearPrem': '', 'insureds': [{'name': '被保人2', 'gender': '0', 'honorific': '', 'birth': '', 'age': '', 'profession': '', 'certType': '身份证', 'certNo': '110105199005052832', 'mobile': '', 'address': '', 'relation': '', 'guardian': '', 'guardianNo': '', 'guardianCertType': '', 'guardianGender': '', 'guardianHonorific': ''}]}]}]}
2022-10-31 16:20:44,540 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'orderRecordId': 17744, 'exist': 1, 'customerName': '测试投保人', 'productName': '光大永明意外伤害保险', 'orderId': 'test11111', 'serialNo': 'test11111', 'createTime': '2022-10-31 16:20:44', 'orderNoType': 2, 'appntAge': '27', 'supportRemote': 1, 'systemType': 2147483647, 'applicantRemoteFlag': 2147483647, 'manyInsuresFlag': 1, 'samePerson': 2, 'samePersonForInsured': 2, 'samePersonForAppnt': 2, 'sameCameraCount': 3, 'positioning': 1, 'area': 2, 'range': '天津市-天津市', 'policyNo': '123', 'orderType': 1, 'selfNo': '', 'systemSource': '', 'orderSource': 2, 'quotaType': '', 'confirmReplaceOrder': True, 'orderMetaChanged': 0}}
2022-10-31 16:20:44,543 - root - INFO - 断言处理结束!!!
2022-10-31 16:20:44,543 - root - INFO - ***************【纸质入件】接口测试结束***************
2022-10-31 16:21:01,456 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 16:21:01,457 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 16:21:01,720 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 16:21:01,720 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 16:21:01,722 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 16:21:01,723 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 16:21:01,811 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 16:21:01,814 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 16:21:01,815 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 16:21:01,815 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 16:21:01,816 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 16:21:01,818 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 16:21:01,819 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:21:01,820 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:21:02,253 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '3961f8e0f5de40868d7a326143b2e68b', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 16:21:02,255 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 16:21:02,255 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 16:21:02,256 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 16:21:02,256 - root - INFO - 可变参数的信息为:{'#2.token': '4e8c3419d8ae452a8429c9b5368a2b10'}
2022-10-31 16:21:02,257 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '4e8c3419d8ae452a8429c9b5368a2b10'}
2022-10-31 16:21:02,257 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '4e8c3419d8ae452a8429c9b5368a2b10'}
2022-10-31 16:21:02,261 - root - INFO - 订单类型是一主一附
2022-10-31 16:21:02,264 - root - INFO - 话术变量参数自动生成成功!
2022-10-31 16:21:02,265 - root - INFO - 请求参数为:{'order': {'identifier': 'test11111', 'policyType': '1', 'recordingTime': '', 'recordType': '新契约', 'inputType': '手工入件', 'createTime': '', 'selfNo': '', 'policyNo': '123', 'quotaItem': '1', 'marketingChannel': '', 'organizationName': '', 'systemType': '', 'insuranceCompany': '', 'insuranceComPolicyNo': '', 'firstYearPrem': '', 'firstYearValue': '', 'firstYearValuePercent': '', 'firstYearCashValue': '', 'secondYearCashValue': '', 'thirdYearCashValue': '', 'isAlternateGeneration': '', 'yaoWuYouType': '', 'hasStraightThirty': '', 'hasHealthBank': '', 'hasXiaoWuYou': '', 'hasYiWuYou': '', 'isTogetherPolicy': '', 'selfRelation': '', 'abLicense': '', 'systemSource': '', 'applicantRemote': '', 'supportRemote': '', 'relation': '', 'recordingPrescription': ''}, 'agent': {'name': '测试销售人员姓名', 'employeeId': '', 'branchName': '', 'subBranchName': '', 'identityNo': '', 'marketingChannel': '', 'licensed': '', 'certType': '', 'secondAgentName': '', 'secondAgentComName': '', 'secondAgentComCode': '', 'centralBranch': '', 'directlyAgencyName': '', 'companyCode': '', 'directlyAgencyCode': '', 'companyName': '', 'branchCode': '', 'subBranchCode': '', 'gender': '0', 'status': '', 'channelCode': '', 'subCode': ''}, 'applicant': {'name': '测试投保人', 'gender': '0', 'honorific': '', 'age': '27', 'profession': '', 'birth': '', 'certType': '身份证', 'certNo': '410821199504142014', 'address': '', 'mobile': '', 'relation': '', 'riskScore': ''}, 'insurance': [{'mainInsurance': {'productName': '光大永明意外伤害保险', 'productCode': 'AAT055', 'productCategory': '主险', 'payType': '', 'payPeriod': '', 'policyPeriod': '', 'periodAmount': '', 'sumAmount': '', 'surrenderAmount': '', 'productType': '1', 'totalAmountOfFirstYear': '', 'cashValueOfFirstYear': '', 'planCode': '', 'isRenewal': '', 'renewalYear': '', 'firstYearInsurance': '', 'secondYearSurAmount': '', 'hesitatePeriod': '', 'disposableInitialCost': '', 'initialCost': '', 'minInterestRate': '', 'isRangeProducts': '', 'newEffectivedDate': '', 'waitingPeriod': '', 'cashValueOfsecondYear': '', 'secondYearSurAmountPercent': '', 'secondYearSurPercent': '', 'payFrequency': '', 'totalAmountOfFirst': '', 'firstYearPrem': '', 'insureds': [{'name': '被保人1', 'gender': '0', 'honorific': '', 'birth': '', 'age': '', 'profession': '', 'certType': '身份证', 'certNo': '120118199003073035', 'mobile': '', 'address': '', 'relation': '', 'guardian': '', 'guardianNo': '', 'guardianCertType': '', 'guardianGender': '', 'guardianHonorific': ''}]}, 'additionalInsurances': [{'productName': '光大永明无忧住院医疗保险', 'productCode': 'HMT008', 'productCategory': '附加险1', 'payType': '', 'payPeriod': '', 'policyPeriod': '', 'periodAmount': '', 'sumAmount': '', 'surrenderAmount': '', 'productType': '2', 'totalAmountOfFirstYear': '', 'cashValueOfFirstYear': '', 'planCode': '', 'isRenewal': '', 'renewalYear': '', 'firstYearInsurance': '', 'secondYearSurAmount': '', 'hesitatePeriod': '', 'disposableInitialCost': '', 'initialCost': '', 'minInterestRate': '', 'isRangeProducts': '', 'newEffectivedDate': '', 'waitingPeriod': '', 'cashValueOfsecondYear': '', 'secondYearSurAmountPercent': '', 'secondYearSurPercent': '', 'payFrequency': '', 'totalAmountOfFirst': '', 'firstYearPrem': '', 'insureds': [{'name': '被保人2', 'gender': '0', 'honorific': '', 'birth': '', 'age': '', 'profession': '', 'certType': '身份证', 'certNo': '110105199005052832', 'mobile': '', 'address': '', 'relation': '', 'guardian': '', 'guardianNo': '', 'guardianCertType': '', 'guardianGender': '', 'guardianHonorific': ''}]}]}]}
2022-10-31 16:21:03,065 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'orderRecordId': 17745, 'exist': 1, 'customerName': '测试投保人', 'productName': '光大永明意外伤害保险', 'orderId': 'test11111', 'serialNo': 'test11111', 'createTime': '2022-10-31 16:21:02', 'orderNoType': 2, 'appntAge': '27', 'supportRemote': 1, 'systemType': 2147483647, 'applicantRemoteFlag': 2147483647, 'manyInsuresFlag': 1, 'samePerson': 2, 'samePersonForInsured': 2, 'samePersonForAppnt': 2, 'sameCameraCount': 3, 'positioning': 1, 'area': 2, 'range': '天津市-天津市', 'policyNo': '123', 'orderType': 1, 'selfNo': '', 'systemSource': '', 'orderSource': 2, 'quotaType': '', 'confirmReplaceOrder': True, 'orderMetaChanged': 0}}
2022-10-31 16:21:03,067 - root - INFO - 断言处理结束!!!
2022-10-31 16:21:03,067 - root - INFO - ***************【纸质入件】接口测试结束***************
2022-10-31 16:23:11,929 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 16:23:11,930 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 16:23:12,180 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 16:23:12,180 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 16:23:12,181 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 16:23:12,182 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 16:23:12,345 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 16:23:12,347 - root - INFO - 断言处理结束!!!
2022-10-31 16:23:12,350 - root - INFO - 响应信息存储完毕!!!
2022-10-31 16:23:12,351 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 16:23:12,353 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 16:23:12,353 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 16:23:12,354 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 16:23:12,355 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 16:23:12,356 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 16:23:12,357 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:23:12,358 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:23:12,776 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '1bc77b790c304e83a3f72d2b4a25d652', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 16:23:12,777 - root - INFO - 断言处理结束!!!
2022-10-31 16:23:12,779 - root - INFO - 响应信息存储完毕!!!
2022-10-31 16:23:12,781 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 16:23:12,783 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 16:23:12,784 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 16:23:12,786 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 16:23:12,788 - root - INFO - 可变参数的信息为:{'#2.token': '1bc77b790c304e83a3f72d2b4a25d652'}
2022-10-31 16:23:12,789 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '1bc77b790c304e83a3f72d2b4a25d652'}
2022-10-31 16:23:12,790 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '1bc77b790c304e83a3f72d2b4a25d652'}
2022-10-31 16:23:12,792 - root - INFO - 订单类型是一主一附
2022-10-31 16:23:12,796 - root - INFO - 话术变量参数自动生成成功!
2022-10-31 16:23:12,797 - root - INFO - 请求参数为:{'order': {'identifier': 'test11111', 'policyType': '1', 'recordingTime': '', 'recordType': '新契约', 'inputType': '手工入件', 'createTime': '', 'selfNo': '', 'policyNo': '123', 'quotaItem': '1', 'marketingChannel': '', 'organizationName': '', 'systemType': '', 'insuranceCompany': '', 'insuranceComPolicyNo': '', 'firstYearPrem': '', 'firstYearValue': '', 'firstYearValuePercent': '', 'firstYearCashValue': '', 'secondYearCashValue': '', 'thirdYearCashValue': '', 'isAlternateGeneration': '', 'yaoWuYouType': '', 'hasStraightThirty': '', 'hasHealthBank': '', 'hasXiaoWuYou': '', 'hasYiWuYou': '', 'isTogetherPolicy': '', 'selfRelation': '', 'abLicense': '', 'systemSource': '', 'applicantRemote': '', 'supportRemote': '', 'relation': '', 'recordingPrescription': ''}, 'agent': {'name': '测试销售人员姓名', 'employeeId': '', 'branchName': '', 'subBranchName': '', 'identityNo': '', 'marketingChannel': '', 'licensed': '', 'certType': '', 'secondAgentName': '', 'secondAgentComName': '', 'secondAgentComCode': '', 'centralBranch': '', 'directlyAgencyName': '', 'companyCode': '', 'directlyAgencyCode': '', 'companyName': '', 'branchCode': '', 'subBranchCode': '', 'gender': '0', 'status': '', 'channelCode': '', 'subCode': ''}, 'applicant': {'name': '测试投保人', 'gender': '0', 'honorific': '', 'age': '27', 'profession': '', 'birth': '', 'certType': '身份证', 'certNo': '410821199504142014', 'address': '', 'mobile': '', 'relation': '', 'riskScore': ''}, 'insurance': [{'mainInsurance': {'productName': '光大永明意外伤害保险', 'productCode': 'AAT055', 'productCategory': '主险', 'payType': '', 'payPeriod': '', 'policyPeriod': '', 'periodAmount': '', 'sumAmount': '', 'surrenderAmount': '', 'productType': '1', 'totalAmountOfFirstYear': '', 'cashValueOfFirstYear': '', 'planCode': '', 'isRenewal': '', 'renewalYear': '', 'firstYearInsurance': '', 'secondYearSurAmount': '', 'hesitatePeriod': '', 'disposableInitialCost': '', 'initialCost': '', 'minInterestRate': '', 'isRangeProducts': '', 'newEffectivedDate': '', 'waitingPeriod': '', 'cashValueOfsecondYear': '', 'secondYearSurAmountPercent': '', 'secondYearSurPercent': '', 'payFrequency': '', 'totalAmountOfFirst': '', 'firstYearPrem': '', 'insureds': [{'name': '被保人1', 'gender': '0', 'honorific': '', 'birth': '', 'age': '', 'profession': '', 'certType': '身份证', 'certNo': '120118199003073035', 'mobile': '', 'address': '', 'relation': '', 'guardian': '', 'guardianNo': '', 'guardianCertType': '', 'guardianGender': '', 'guardianHonorific': ''}]}, 'additionalInsurances': [{'productName': '光大永明无忧住院医疗保险', 'productCode': 'HMT008', 'productCategory': '附加险1', 'payType': '', 'payPeriod': '', 'policyPeriod': '', 'periodAmount': '', 'sumAmount': '', 'surrenderAmount': '', 'productType': '2', 'totalAmountOfFirstYear': '', 'cashValueOfFirstYear': '', 'planCode': '', 'isRenewal': '', 'renewalYear': '', 'firstYearInsurance': '', 'secondYearSurAmount': '', 'hesitatePeriod': '', 'disposableInitialCost': '', 'initialCost': '', 'minInterestRate': '', 'isRangeProducts': '', 'newEffectivedDate': '', 'waitingPeriod': '', 'cashValueOfsecondYear': '', 'secondYearSurAmountPercent': '', 'secondYearSurPercent': '', 'payFrequency': '', 'totalAmountOfFirst': '', 'firstYearPrem': '', 'insureds': [{'name': '被保人2', 'gender': '0', 'honorific': '', 'birth': '', 'age': '', 'profession': '', 'certType': '身份证', 'certNo': '110105199005052832', 'mobile': '', 'address': '', 'relation': '', 'guardian': '', 'guardianNo': '', 'guardianCertType': '', 'guardianGender': '', 'guardianHonorific': ''}]}]}]}
2022-10-31 16:23:13,641 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'orderRecordId': 17746, 'exist': 1, 'customerName': '测试投保人', 'productName': '光大永明意外伤害保险', 'orderId': 'test11111', 'serialNo': 'test11111', 'createTime': '2022-10-31 16:23:13', 'orderNoType': 2, 'appntAge': '27', 'supportRemote': 1, 'systemType': 2147483647, 'applicantRemoteFlag': 2147483647, 'manyInsuresFlag': 1, 'samePerson': 2, 'samePersonForInsured': 2, 'samePersonForAppnt': 2, 'sameCameraCount': 3, 'positioning': 1, 'area': 2, 'range': '天津市-天津市', 'policyNo': '123', 'orderType': 1, 'selfNo': '', 'systemSource': '', 'orderSource': 2, 'quotaType': '', 'confirmReplaceOrder': True, 'orderMetaChanged': 0}}
2022-10-31 16:23:13,645 - root - INFO - 断言处理结束!!!
2022-10-31 16:23:13,646 - root - INFO - ***************【纸质入件】接口测试结束***************
2022-10-31 16:32:30,831 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 16:32:30,833 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 16:32:31,157 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 16:32:31,157 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 16:32:31,158 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 16:32:31,159 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 16:32:31,328 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 16:32:31,330 - root - INFO - 断言处理结束!!!
2022-10-31 16:32:31,333 - root - INFO - 响应信息存储完毕!!!
2022-10-31 16:32:31,334 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 16:32:31,336 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 16:32:31,336 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 16:32:31,338 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 16:32:31,339 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 16:32:31,339 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 16:32:31,340 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:32:31,342 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:32:31,906 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': 'f0ed705fbdf245108ed9d5c8bb32a6a1', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 16:32:31,906 - root - INFO - 断言处理结束!!!
2022-10-31 16:32:31,908 - root - INFO - 响应信息存储完毕!!!
2022-10-31 16:32:31,908 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 16:32:31,910 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 16:32:31,911 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 16:32:31,912 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 16:32:31,913 - root - INFO - 可变参数的信息为:{'#2.token': 'f0ed705fbdf245108ed9d5c8bb32a6a1'}
2022-10-31 16:32:31,914 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': 'f0ed705fbdf245108ed9d5c8bb32a6a1'}
2022-10-31 16:32:31,914 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': 'f0ed705fbdf245108ed9d5c8bb32a6a1'}
2022-10-31 16:32:31,917 - root - INFO - 订单类型是一主一附
2022-10-31 16:32:31,920 - root - INFO - 话术变量参数自动生成成功!
2022-10-31 16:32:31,920 - root - INFO - 请求参数为:{'order': {'identifier': 'test11111', 'policyType': '1', 'recordingTime': '', 'recordType': '新契约', 'inputType': '手工入件', 'createTime': '', 'selfNo': '', 'policyNo': '123', 'quotaItem': '1', 'marketingChannel': '', 'organizationName': '', 'systemType': '', 'insuranceCompany': '', 'insuranceComPolicyNo': '', 'firstYearPrem': '', 'firstYearValue': '', 'firstYearValuePercent': '', 'firstYearCashValue': '', 'secondYearCashValue': '', 'thirdYearCashValue': '', 'isAlternateGeneration': '', 'yaoWuYouType': '', 'hasStraightThirty': '', 'hasHealthBank': '', 'hasXiaoWuYou': '', 'hasYiWuYou': '', 'isTogetherPolicy': '', 'selfRelation': '', 'abLicense': '', 'systemSource': '', 'applicantRemote': '', 'supportRemote': '', 'relation': '', 'recordingPrescription': ''}, 'agent': {'name': '测试销售人员姓名', 'employeeId': '', 'branchName': '', 'subBranchName': '', 'identityNo': '', 'marketingChannel': '', 'licensed': '', 'certType': '', 'secondAgentName': '', 'secondAgentComName': '', 'secondAgentComCode': '', 'centralBranch': '', 'directlyAgencyName': '', 'companyCode': '', 'directlyAgencyCode': '', 'companyName': '', 'branchCode': '', 'subBranchCode': '', 'gender': '0', 'status': '', 'channelCode': '', 'subCode': ''}, 'applicant': {'name': '测试投保人', 'gender': '0', 'honorific': '', 'age': '27', 'profession': '', 'birth': '', 'certType': '身份证', 'certNo': '410821199504142014', 'address': '', 'mobile': '', 'relation': '', 'riskScore': ''}, 'insurance': [{'mainInsurance': {'productName': '光大永明意外伤害保险', 'productCode': 'AAT055', 'productCategory': '主险', 'payType': '', 'payPeriod': '', 'policyPeriod': '', 'periodAmount': '', 'sumAmount': '', 'surrenderAmount': '', 'productType': '1', 'totalAmountOfFirstYear': '', 'cashValueOfFirstYear': '', 'planCode': '', 'isRenewal': '', 'renewalYear': '', 'firstYearInsurance': '', 'secondYearSurAmount': '', 'hesitatePeriod': '', 'disposableInitialCost': '', 'initialCost': '', 'minInterestRate': '', 'isRangeProducts': '', 'newEffectivedDate': '', 'waitingPeriod': '', 'cashValueOfsecondYear': '', 'secondYearSurAmountPercent': '', 'secondYearSurPercent': '', 'payFrequency': '', 'totalAmountOfFirst': '', 'firstYearPrem': '', 'insureds': [{'name': '被保人1', 'gender': '0', 'honorific': '', 'birth': '', 'age': '', 'profession': '', 'certType': '身份证', 'certNo': '120118199003073035', 'mobile': '', 'address': '', 'relation': '', 'guardian': '', 'guardianNo': '', 'guardianCertType': '', 'guardianGender': '', 'guardianHonorific': ''}]}, 'additionalInsurances': [{'productName': '光大永明无忧住院医疗保险', 'productCode': 'HMT008', 'productCategory': '附加险1', 'payType': '', 'payPeriod': '', 'policyPeriod': '', 'periodAmount': '', 'sumAmount': '', 'surrenderAmount': '', 'productType': '2', 'totalAmountOfFirstYear': '', 'cashValueOfFirstYear': '', 'planCode': '', 'isRenewal': '', 'renewalYear': '', 'firstYearInsurance': '', 'secondYearSurAmount': '', 'hesitatePeriod': '', 'disposableInitialCost': '', 'initialCost': '', 'minInterestRate': '', 'isRangeProducts': '', 'newEffectivedDate': '', 'waitingPeriod': '', 'cashValueOfsecondYear': '', 'secondYearSurAmountPercent': '', 'secondYearSurPercent': '', 'payFrequency': '', 'totalAmountOfFirst': '', 'firstYearPrem': '', 'insureds': [{'name': '被保人2', 'gender': '0', 'honorific': '', 'birth': '', 'age': '', 'profession': '', 'certType': '身份证', 'certNo': '110105199005052832', 'mobile': '', 'address': '', 'relation': '', 'guardian': '', 'guardianNo': '', 'guardianCertType': '', 'guardianGender': '', 'guardianHonorific': ''}]}]}]}
2022-10-31 16:32:32,920 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'orderRecordId': 17747, 'exist': 1, 'customerName': '测试投保人', 'productName': '光大永明意外伤害保险', 'orderId': 'test11111', 'serialNo': 'test11111', 'createTime': '2022-10-31 16:32:32', 'orderNoType': 2, 'appntAge': '27', 'supportRemote': 1, 'systemType': 2147483647, 'applicantRemoteFlag': 2147483647, 'manyInsuresFlag': 1, 'samePerson': 2, 'samePersonForInsured': 2, 'samePersonForAppnt': 2, 'sameCameraCount': 3, 'positioning': 1, 'area': 2, 'range': '天津市-天津市', 'policyNo': '123', 'orderType': 1, 'selfNo': '', 'systemSource': '', 'orderSource': 2, 'quotaType': '', 'confirmReplaceOrder': True, 'orderMetaChanged': 0}}
2022-10-31 16:32:32,921 - root - INFO - 断言处理结束!!!
2022-10-31 16:32:32,922 - root - INFO - ***************【纸质入件】接口测试结束***************
2022-10-31 16:35:31,191 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 16:35:31,192 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 16:35:31,517 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 16:35:31,518 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 16:35:31,518 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 16:35:31,519 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 16:35:31,691 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/874084e40b2548dc864bf5146fe70f8c.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/7e8d76b696b8437a87eb33a7e855c8d4.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/70c6e11257674f29aa88fa5af7eaf7a2.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://al-s-slapp-01-oss.oss-cn-shanghai.aliyuncs.com/al-s-slapp-01-oss/image/appimage/c056494d9a284685a5ff635a9973fde1.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 16:35:31,693 - root - INFO - 断言处理结束!!!
2022-10-31 16:35:31,698 - root - INFO - 响应信息存储完毕!!!
2022-10-31 16:35:31,699 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 16:35:31,701 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 16:35:31,702 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 16:35:31,703 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 16:35:31,704 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 16:35:31,706 - root - INFO - 可变参数的信息为:{'#1.md5': 'a5b0613accd1d63710ad2042bd3238ad'}
2022-10-31 16:35:31,706 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:35:31,707 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'a5b0613accd1d63710ad2042bd3238ad', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:35:32,325 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '天津测试', 'token': '6d3a36526ca64f23a477477f56f15374', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 14, 'branchName': '天津分公司', 'subBranchId': 83, 'subBranchName': '天津', 'directlyAgencyName': '天津', 'directlyAgencyId': 83, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': '', 'licensed': ''}}
2022-10-31 16:35:32,326 - root - INFO - 断言处理结束!!!
2022-10-31 16:35:32,329 - root - INFO - 响应信息存储完毕!!!
2022-10-31 16:35:32,331 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 16:35:32,332 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 16:35:32,333 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 16:35:32,334 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 16:35:32,336 - root - INFO - 可变参数的信息为:{'#2.token': '6d3a36526ca64f23a477477f56f15374'}
2022-10-31 16:35:32,337 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '6d3a36526ca64f23a477477f56f15374'}
2022-10-31 16:35:32,338 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '6d3a36526ca64f23a477477f56f15374'}
2022-10-31 16:35:32,341 - root - INFO - 订单类型是一主一附
2022-10-31 16:35:32,344 - root - INFO - 话术变量参数自动生成成功!
2022-10-31 16:35:32,345 - root - INFO - 请求参数为:{'order': {'identifier': 'test11111', 'policyType': '1', 'recordingTime': 'test_recordingTime', 'recordType': '新契约', 'inputType': '手工入件', 'createTime': 'test_createTime', 'selfNo': 'test_selfNo', 'policyNo': '123', 'quotaItem': '1', 'marketingChannel': 'test_marketingChannel', 'organizationName': 'test_organizationName', 'systemType': 'test_systemType', 'insuranceCompany': 'test_insuranceCompany', 'insuranceComPolicyNo': 'test_insuranceComPolicyNo', 'firstYearPrem': 'test_firstYearPrem', 'firstYearValue': 'test_firstYearValue', 'firstYearValuePercent': 'test_firstYearValuePercent', 'firstYearCashValue': 'test_firstYearCashValue', 'secondYearCashValue': 'test_secondYearCashValue', 'thirdYearCashValue': 'test_thirdYearCashValue', 'isAlternateGeneration': 'test_isAlternateGeneration', 'yaoWuYouType': 'test_yaoWuYouType', 'hasStraightThirty': 'test_hasStraightThirty', 'hasHealthBank': 'test_hasHealthBank', 'hasXiaoWuYou': 'test_hasXiaoWuYou', 'hasYiWuYou': 'test_hasYiWuYou', 'isTogetherPolicy': 'test_isTogetherPolicy', 'selfRelation': 'test_selfRelation', 'abLicense': 'test_abLicense', 'systemSource': 'test_systemSource', 'applicantRemote': 'test_applicantRemote', 'supportRemote': 'test_supportRemote', 'relation': 'test_relation', 'recordingPrescription': 'test_recordingPrescription'}, 'agent': {'name': '测试销售人员姓名', 'employeeId': 'test_employeeId', 'branchName': 'test_branchName', 'subBranchName': 'test_subBranchName', 'identityNo': 'test_identityNo', 'marketingChannel': 'test_marketingChannel', 'licensed': 'test_licensed', 'certType': 'test_certType', 'secondAgentName': 'test_secondAgentName', 'secondAgentComName': 'test_secondAgentComName', 'secondAgentComCode': 'test_secondAgentComCode', 'centralBranch': 'test_centralBranch', 'directlyAgencyName': 'test_directlyAgencyName', 'companyCode': 'test_companyCode', 'directlyAgencyCode': 'test_directlyAgencyCode', 'companyName': 'test_companyName', 'branchCode': 'test_branchCode', 'subBranchCode': 'test_subBranchCode', 'gender': '0', 'status': 'test_status', 'channelCode': 'test_channelCode', 'subCode': 'test_subCode'}, 'applicant': {'name': '测试投保人', 'gender': '0', 'honorific': 'test_honorific', 'age': '27', 'profession': 'test_profession', 'birth': 'test_birth', 'certType': '身份证', 'certNo': '410821199504142014', 'address': 'test_address', 'mobile': 'test_mobile', 'relation': 'test_relation', 'riskScore': 'test_riskScore'}, 'insurance': [{'mainInsurance': {'productName': '光大永明意外伤害保险', 'productCode': 'AAT055', 'productCategory': '主险', 'payType': 'test_payType', 'payPeriod': 'test_payPeriod', 'policyPeriod': 'test_policyPeriod', 'periodAmount': 'test_periodAmount', 'sumAmount': 'test_sumAmount', 'surrenderAmount': 'test_surrenderAmount', 'productType': '1', 'totalAmountOfFirstYear': 'test_totalAmountOfFirstYear', 'cashValueOfFirstYear': 'test_cashValueOfFirstYear', 'planCode': 'test_planCode', 'isRenewal': 'test_isRenewal', 'renewalYear': 'test_renewalYear', 'firstYearInsurance': 'test_firstYearInsurance', 'secondYearSurAmount': 'test_secondYearSurAmount', 'hesitatePeriod': 'test_hesitatePeriod', 'disposableInitialCost': 'test_disposableInitialCost', 'initialCost': 'test_initialCost', 'minInterestRate': 'test_minInterestRate', 'isRangeProducts': 'test_isRangeProducts', 'newEffectivedDate': 'test_newEffectivedDate', 'waitingPeriod': 'test_waitingPeriod', 'cashValueOfsecondYear': 'test_cashValueOfsecondYear', 'secondYearSurAmountPercent': 'test_secondYearSurAmountPercent', 'secondYearSurPercent': 'test_secondYearSurPercent', 'payFrequency': 'test_payFrequency', 'totalAmountOfFirst': 'test_totalAmountOfFirst', 'firstYearPrem': 'test_firstYearPrem', 'insureds': [{'name': '被保人1', 'gender': '0', 'honorific': 'test_honorific', 'birth': 'test_birth', 'age': 'test_age', 'profession': 'test_profession', 'certType': '身份证', 'certNo': '120118199003073035', 'mobile': 'test_mobile', 'address': 'test_address', 'relation': 'test_relation', 'guardian': 'test_guardian', 'guardianNo': 'test_guardianNo', 'guardianCertType': 'test_guardianCertType', 'guardianGender': 'test_guardianGender', 'guardianHonorific': 'test_guardianHonorific'}]}, 'additionalInsurances': [{'productName': '光大永明无忧住院医疗保险', 'productCode': 'HMT008', 'productCategory': '附加险1', 'payType': 'test_payType', 'payPeriod': 'test_payPeriod', 'policyPeriod': 'test_policyPeriod', 'periodAmount': 'test_periodAmount', 'sumAmount': 'test_sumAmount', 'surrenderAmount': 'test_surrenderAmount', 'productType': '2', 'totalAmountOfFirstYear': 'test_totalAmountOfFirstYear', 'cashValueOfFirstYear': 'test_cashValueOfFirstYear', 'planCode': 'test_planCode', 'isRenewal': 'test_isRenewal', 'renewalYear': 'test_renewalYear', 'firstYearInsurance': 'test_firstYearInsurance', 'secondYearSurAmount': 'test_secondYearSurAmount', 'hesitatePeriod': 'test_hesitatePeriod', 'disposableInitialCost': 'test_disposableInitialCost', 'initialCost': 'test_initialCost', 'minInterestRate': 'test_minInterestRate', 'isRangeProducts': 'test_isRangeProducts', 'newEffectivedDate': 'test_newEffectivedDate', 'waitingPeriod': 'test_waitingPeriod', 'cashValueOfsecondYear': 'test_cashValueOfsecondYear', 'secondYearSurAmountPercent': 'test_secondYearSurAmountPercent', 'secondYearSurPercent': 'test_secondYearSurPercent', 'payFrequency': 'test_payFrequency', 'totalAmountOfFirst': 'test_totalAmountOfFirst', 'firstYearPrem': 'test_firstYearPrem', 'insureds': [{'name': '被保人2', 'gender': '0', 'honorific': 'test_honorific', 'birth': 'test_birth', 'age': 'test_age', 'profession': 'test_profession', 'certType': '身份证', 'certNo': '110105199005052832', 'mobile': 'test_mobile', 'address': 'test_address', 'relation': 'test_relation', 'guardian': 'test_guardian', 'guardianNo': 'test_guardianNo', 'guardianCertType': 'test_guardianCertType', 'guardianGender': 'test_guardianGender', 'guardianHonorific': 'test_guardianHonorific'}]}]}]}
2022-10-31 16:35:33,760 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'orderRecordId': 17748, 'exist': 1, 'customerName': '测试投保人', 'productName': '光大永明意外伤害保险', 'orderId': 'test11111', 'serialNo': 'test11111', 'createTime': '2022-10-31 16:35:32', 'orderNoType': 2, 'appntAge': '27', 'supportRemote': 1, 'systemType': 2147483647, 'applicantRemoteFlag': 2147483647, 'manyInsuresFlag': 1, 'samePerson': 2, 'samePersonForInsured': 2, 'samePersonForAppnt': 2, 'sameCameraCount': 3, 'positioning': 1, 'area': 2, 'range': '天津市-天津市', 'policyNo': '123', 'orderType': 1, 'selfNo': '', 'systemSource': '', 'orderSource': 2, 'quotaType': '', 'confirmReplaceOrder': True, 'orderMetaChanged': 0}}
2022-10-31 16:35:33,764 - root - INFO - 断言处理结束!!!
2022-10-31 16:35:33,766 - root - INFO - ***************【纸质入件】接口测试结束***************
2022-10-31 16:45:09,005 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 16:45:09,008 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 16:45:09,348 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 16:45:09,349 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 16:45:09,349 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 16:45:09,350 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 16:45:09,528 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'd003784d3e6dbc116efcb6d550440465', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://sanheyi-staging.oss-cn-beijing.aliyuncs.com//sanheyi-staging/image/appimage/72c1c56ff9b44cf29356a94b88784447.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://sanheyi-staging.oss-cn-beijing.aliyuncs.com//sanheyi-staging/image/appimage/85d9858f621c4b458408336a52f7d2f9.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://sanheyi-staging.oss-cn-beijing.aliyuncs.com//sanheyi-staging/image/appimage/d0501da2493a471c930203a60ccc2f70.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://sanheyi-staging.oss-cn-beijing.aliyuncs.com//sanheyi-staging/image/appimage/c88de2ca99ec42e4a91fea76102184bd.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2948, 'type': 'privacy_agreement', 'title': '公司隐私准则声明', 'key': 'privacy_agreement', 'url': 'https://sanheyi-staging.oss-cn-beijing.aliyuncs.com//sanheyi-staging/image/appimage/fba82c2094434655832ee94979b4805a.html', 'backgroundUrl': 'https://sanheyi-staging.oss-cn-beijing.aliyuncs.com//sanheyi-staging/image/appimage/9eee174fd53547eeb331d2dda678789b.png', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 100, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 16:45:09,530 - root - INFO - 断言处理结束!!!
2022-10-31 16:45:09,534 - root - INFO - 响应信息存储完毕!!!
2022-10-31 16:45:09,535 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 16:45:09,537 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 16:45:09,538 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "1200002681",\n"password": "12345678"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 16:45:09,539 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 16:45:09,541 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 16:45:09,541 - root - INFO - 可变参数的信息为:{'#1.md5': 'd003784d3e6dbc116efcb6d550440465'}
2022-10-31 16:45:09,542 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'd003784d3e6dbc116efcb6d550440465', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:45:09,543 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'd003784d3e6dbc116efcb6d550440465', 'username': '1200002681', 'password': '12345678'}
2022-10-31 16:45:10,103 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '请核对您输入的用户名或密码是否有误!', 'success': False, 'result': None}
2022-10-31 16:45:10,111 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 16:45:10,112 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 16:45:10,113 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 16:45:10,115 - root - INFO - 可变参数的信息为:{'#2.token': '6d3a36526ca64f23a477477f56f15374'}
2022-10-31 16:45:10,116 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '6d3a36526ca64f23a477477f56f15374'}
2022-10-31 16:45:10,117 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': '6d3a36526ca64f23a477477f56f15374'}
2022-10-31 16:45:10,122 - root - INFO - 订单类型是一主一附
2022-10-31 16:45:10,125 - root - INFO - 话术变量参数自动生成成功!
2022-10-31 16:45:10,126 - root - INFO - 请求参数为:{'order': {'identifier': 'test11111', 'policyType': '1', 'recordingTime': 'test_recordingTime', 'recordType': '新契约', 'inputType': '手工入件', 'createTime': 'test_createTime', 'selfNo': 'test_selfNo', 'policyNo': '123', 'quotaItem': '1', 'marketingChannel': 'test_marketingChannel', 'organizationName': 'test_organizationName', 'systemType': 'test_systemType', 'insuranceCompany': 'test_insuranceCompany', 'insuranceComPolicyNo': 'test_insuranceComPolicyNo', 'firstYearPrem': 'test_firstYearPrem', 'firstYearValue': 'test_firstYearValue', 'firstYearValuePercent': 'test_firstYearValuePercent', 'firstYearCashValue': 'test_firstYearCashValue', 'secondYearCashValue': 'test_secondYearCashValue', 'thirdYearCashValue': 'test_thirdYearCashValue', 'isAlternateGeneration': 'test_isAlternateGeneration', 'yaoWuYouType': 'test_yaoWuYouType', 'hasStraightThirty': 'test_hasStraightThirty', 'hasHealthBank': 'test_hasHealthBank', 'hasXiaoWuYou': 'test_hasXiaoWuYou', 'hasYiWuYou': 'test_hasYiWuYou', 'isTogetherPolicy': 'test_isTogetherPolicy', 'selfRelation': 'test_selfRelation', 'abLicense': 'test_abLicense', 'systemSource': 'test_systemSource', 'applicantRemote': 'test_applicantRemote', 'supportRemote': 'test_supportRemote', 'relation': 'test_relation', 'recordingPrescription': 'test_recordingPrescription'}, 'agent': {'name': '测试销售人员姓名', 'employeeId': 'test_employeeId', 'branchName': 'test_branchName', 'subBranchName': 'test_subBranchName', 'identityNo': 'test_identityNo', 'marketingChannel': 'test_marketingChannel', 'licensed': 'test_licensed', 'certType': 'test_certType', 'secondAgentName': 'test_secondAgentName', 'secondAgentComName': 'test_secondAgentComName', 'secondAgentComCode': 'test_secondAgentComCode', 'centralBranch': 'test_centralBranch', 'directlyAgencyName': 'test_directlyAgencyName', 'companyCode': 'test_companyCode', 'directlyAgencyCode': 'test_directlyAgencyCode', 'companyName': 'test_companyName', 'branchCode': 'test_branchCode', 'subBranchCode': 'test_subBranchCode', 'gender': '0', 'status': 'test_status', 'channelCode': 'test_channelCode', 'subCode': 'test_subCode'}, 'applicant': {'name': '测试投保人', 'gender': '0', 'honorific': 'test_honorific', 'age': '27', 'profession': 'test_profession', 'birth': 'test_birth', 'certType': '身份证', 'certNo': '410821199504142014', 'address': 'test_address', 'mobile': 'test_mobile', 'relation': 'test_relation', 'riskScore': 'test_riskScore'}, 'insurance': [{'mainInsurance': {'productName': '光大永明意外伤害保险', 'productCode': 'AAT055', 'productCategory': '主险', 'payType': 'test_payType', 'payPeriod': 'test_payPeriod', 'policyPeriod': 'test_policyPeriod', 'periodAmount': 'test_periodAmount', 'sumAmount': 'test_sumAmount', 'surrenderAmount': 'test_surrenderAmount', 'productType': '1', 'totalAmountOfFirstYear': 'test_totalAmountOfFirstYear', 'cashValueOfFirstYear': 'test_cashValueOfFirstYear', 'planCode': 'test_planCode', 'isRenewal': 'test_isRenewal', 'renewalYear': 'test_renewalYear', 'firstYearInsurance': 'test_firstYearInsurance', 'secondYearSurAmount': 'test_secondYearSurAmount', 'hesitatePeriod': 'test_hesitatePeriod', 'disposableInitialCost': 'test_disposableInitialCost', 'initialCost': 'test_initialCost', 'minInterestRate': 'test_minInterestRate', 'isRangeProducts': 'test_isRangeProducts', 'newEffectivedDate': 'test_newEffectivedDate', 'waitingPeriod': 'test_waitingPeriod', 'cashValueOfsecondYear': 'test_cashValueOfsecondYear', 'secondYearSurAmountPercent': 'test_secondYearSurAmountPercent', 'secondYearSurPercent': 'test_secondYearSurPercent', 'payFrequency': 'test_payFrequency', 'totalAmountOfFirst': 'test_totalAmountOfFirst', 'firstYearPrem': 'test_firstYearPrem', 'insureds': [{'name': '被保人1', 'gender': '0', 'honorific': 'test_honorific', 'birth': 'test_birth', 'age': 'test_age', 'profession': 'test_profession', 'certType': '身份证', 'certNo': '120118199003073035', 'mobile': 'test_mobile', 'address': 'test_address', 'relation': 'test_relation', 'guardian': 'test_guardian', 'guardianNo': 'test_guardianNo', 'guardianCertType': 'test_guardianCertType', 'guardianGender': 'test_guardianGender', 'guardianHonorific': 'test_guardianHonorific'}]}, 'additionalInsurances': [{'productName': '光大永明无忧住院医疗保险', 'productCode': 'HMT008', 'productCategory': '附加险1', 'payType': 'test_payType', 'payPeriod': 'test_payPeriod', 'policyPeriod': 'test_policyPeriod', 'periodAmount': 'test_periodAmount', 'sumAmount': 'test_sumAmount', 'surrenderAmount': 'test_surrenderAmount', 'productType': '2', 'totalAmountOfFirstYear': 'test_totalAmountOfFirstYear', 'cashValueOfFirstYear': 'test_cashValueOfFirstYear', 'planCode': 'test_planCode', 'isRenewal': 'test_isRenewal', 'renewalYear': 'test_renewalYear', 'firstYearInsurance': 'test_firstYearInsurance', 'secondYearSurAmount': 'test_secondYearSurAmount', 'hesitatePeriod': 'test_hesitatePeriod', 'disposableInitialCost': 'test_disposableInitialCost', 'initialCost': 'test_initialCost', 'minInterestRate': 'test_minInterestRate', 'isRangeProducts': 'test_isRangeProducts', 'newEffectivedDate': 'test_newEffectivedDate', 'waitingPeriod': 'test_waitingPeriod', 'cashValueOfsecondYear': 'test_cashValueOfsecondYear', 'secondYearSurAmountPercent': 'test_secondYearSurAmountPercent', 'secondYearSurPercent': 'test_secondYearSurPercent', 'payFrequency': 'test_payFrequency', 'totalAmountOfFirst': 'test_totalAmountOfFirst', 'firstYearPrem': 'test_firstYearPrem', 'insureds': [{'name': '被保人2', 'gender': '0', 'honorific': 'test_honorific', 'birth': 'test_birth', 'age': 'test_age', 'profession': 'test_profession', 'certType': '身份证', 'certNo': '110105199005052832', 'mobile': 'test_mobile', 'address': 'test_address', 'relation': 'test_relation', 'guardian': 'test_guardian', 'guardianNo': 'test_guardianNo', 'guardianCertType': 'test_guardianCertType', 'guardianGender': 'test_guardianGender', 'guardianHonorific': 'test_guardianHonorific'}]}]}]}
2022-10-31 16:45:10,256 - root - INFO - 接口测试结果为:{'code': 2909, 'msg': '登陆超时', 'success': False}
2022-10-31 16:45:10,257 - root - INFO - 断言处理结束!!!
2022-10-31 16:45:10,258 - root - INFO - ***************【纸质入件】接口测试结束***************
2022-10-31 17:59:45,280 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 17:59:45,282 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 17:59:45,654 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 17:59:45,654 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 17:59:45,656 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 17:59:45,656 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 17:59:46,244 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'formId': 1, 'md5': 'd003784d3e6dbc116efcb6d550440465', 'list': [{'componetId': 2967, 'type': 'left_deck', 'title': '', 'key': 'left_deck', 'url': 'https://sanheyi-staging.oss-cn-beijing.aliyuncs.com//sanheyi-staging/image/appimage/72c1c56ff9b44cf29356a94b88784447.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2968, 'type': 'right_deck', 'title': '', 'key': 'right_deck', 'url': 'https://sanheyi-staging.oss-cn-beijing.aliyuncs.com//sanheyi-staging/image/appimage/85d9858f621c4b458408336a52f7d2f9.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2969, 'type': 'reset_pwd', 'title': '忘记密码', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2970, 'type': 'active_account', 'title': '账号激活', 'key': '', 'url': '', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 0, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 4, 'type': 'text_01', 'title': '工号/账号', 'key': 'username', 'url': 'https://sanheyi-staging.oss-cn-beijing.aliyuncs.com//sanheyi-staging/image/appimage/d0501da2493a471c930203a60ccc2f70.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的工号', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 5, 'type': 'password', 'title': '密码', 'key': 'password', 'url': 'https://sanheyi-staging.oss-cn-beijing.aliyuncs.com//sanheyi-staging/image/appimage/c88de2ca99ec42e4a91fea76102184bd.png', 'backgroundUrl': '', 'data': None, 'value': '', 'placeholder': '请输入您的密码', 'required': 1, 'minLength': 0, 'length': 30, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}, {'componetId': 2948, 'type': 'privacy_agreement', 'title': '公司隐私准则声明', 'key': 'privacy_agreement', 'url': 'https://sanheyi-staging.oss-cn-beijing.aliyuncs.com//sanheyi-staging/image/appimage/fba82c2094434655832ee94979b4805a.html', 'backgroundUrl': 'https://sanheyi-staging.oss-cn-beijing.aliyuncs.com//sanheyi-staging/image/appimage/9eee174fd53547eeb331d2dda678789b.png', 'data': None, 'value': '', 'placeholder': '', 'required': 0, 'minLength': 0, 'length': 100, 'hideComponetId': 0, 'showValue': None, 'regex': '', 'hintMsg': '', 'lengthHintMsg': '', 'nonHintMsg': ''}]}}
2022-10-31 17:59:46,246 - root - INFO - 断言处理结束!!!
2022-10-31 17:59:46,249 - root - INFO - 响应信息存储完毕!!!
2022-10-31 17:59:46,251 - root - INFO - ***************【查询表单配置】接口测试结束***************
2022-10-31 17:59:46,252 - root - INFO - ***************【APP登录】接口测试开始***************
2022-10-31 17:59:46,253 - root - INFO - 接口测试用例为:{'id': 2.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': 'APP登录', 'uri': '/cl/auth/login', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592"\n}', 'params': '{\n"type": 1,\n"platformType": "1",\n"md5": "#1.md5",\n"username": "NB60351",\n"password": "zhbx!MSL"\n}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'token'}
2022-10-31 17:59:46,253 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592'}
2022-10-31 17:59:46,255 - root - INFO - 需要替换的变量信息为:['#1.md5']
2022-10-31 17:59:46,256 - root - INFO - 可变参数的信息为:{'#1.md5': 'd003784d3e6dbc116efcb6d550440465'}
2022-10-31 17:59:46,257 - root - INFO - 可变参数替换完毕:{'type': 1, 'platformType': '1', 'md5': 'd003784d3e6dbc116efcb6d550440465', 'username': 'NB60351', 'password': 'zhbx!MSL'}
2022-10-31 17:59:46,258 - root - INFO - 请求参数为:{'type': 1, 'platformType': '1', 'md5': 'd003784d3e6dbc116efcb6d550440465', 'username': 'NB60351', 'password': 'zhbx!MSL'}
2022-10-31 17:59:47,596 - root - INFO - 接口测试结果为:{'code': 0, 'msg': 'OK', 'success': True, 'result': {'name': '徐营销员', 'token': 'd0911b7512184892bfb0e27d1c5bd3ee', 'role': 32, 'marketingChannel': '个险渠道', 'branchId': 0, 'branchName': '宁波分公司', 'subBranchId': 51, 'subBranchName': '宁波', 'directlyAgencyName': '宁波', 'directlyAgencyId': 51, 'reset': 0, 'phoneNum': '', 'idCardType': 0, 'idCardNo': '', 'employeeId': 'NB60351', 'licensed': '2005113020090000136'}}
2022-10-31 17:59:47,597 - root - INFO - 断言处理结束!!!
2022-10-31 17:59:47,599 - root - INFO - 响应信息存储完毕!!!
2022-10-31 17:59:47,600 - root - INFO - ***************【APP登录】接口测试结束***************
2022-10-31 17:59:47,601 - root - INFO - ***************【纸质入件】接口测试开始***************
2022-10-31 17:59:47,601 - root - INFO - 接口测试用例为:{'id': 3.0, 'depend_id': 2.0, 'positive_case': '正向', 'desc': '纸质入件', 'uri': '/cl/order/hand/add', 'method': 'POST', 'headers': '{\n"Content-Type": "application/json",\n"X-Device-Num": "5f647684-f1f9-41ef-8775-921afe231592",\n"X-Auth-Token": "#2.token"\n}', 'params': '话术变量验证-test_case1', 'response_assert': '话术变量验证-test_case1', 'save_args': ''}
2022-10-31 17:59:47,602 - root - INFO - 需要替换的变量信息为:['#2.token']
2022-10-31 17:59:47,604 - root - INFO - 可变参数的信息为:{'#2.token': 'd0911b7512184892bfb0e27d1c5bd3ee'}
2022-10-31 17:59:47,605 - root - INFO - 可变参数替换完毕:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': 'd0911b7512184892bfb0e27d1c5bd3ee'}
2022-10-31 17:59:47,605 - root - INFO - 请求头为:{'Content-Type': 'application/json', 'X-Device-Num': '5f647684-f1f9-41ef-8775-921afe231592', 'X-Auth-Token': 'd0911b7512184892bfb0e27d1c5bd3ee'}
2022-10-31 17:59:47,608 - root - INFO - 订单类型是一主一附
2022-10-31 17:59:47,613 - root - INFO - 话术变量参数自动生成成功!
2022-10-31 17:59:47,614 - root - INFO - 请求参数为:{'order': {'identifier': 'test11111', 'policyType': '1', 'recordingTime': 'test_recordingTime', 'recordType': '新契约', 'inputType': '手工入件', 'createTime': 'test_createTime', 'selfNo': 'test_selfNo', 'policyNo': '123', 'quotaItem': '1', 'marketingChannel': 'test_marketingChannel', 'organizationName': 'test_organizationName', 'systemType': 'test_systemType', 'insuranceCompany': 'test_insuranceCompany', 'insuranceComPolicyNo': 'test_insuranceComPolicyNo', 'firstYearPrem': 'test_firstYearPrem', 'firstYearValue': 'test_firstYearValue', 'firstYearValuePercent': 'test_firstYearValuePercent', 'firstYearCashValue': 'test_firstYearCashValue', 'secondYearCashValue': 'test_secondYearCashValue', 'thirdYearCashValue': 'test_thirdYearCashValue', 'isAlternateGeneration': 'test_isAlternateGeneration', 'yaoWuYouType': 'test_yaoWuYouType', 'hasStraightThirty': 'test_hasStraightThirty', 'hasHealthBank': 'test_hasHealthBank', 'hasXiaoWuYou': 'test_hasXiaoWuYou', 'hasYiWuYou': 'test_hasYiWuYou', 'isTogetherPolicy': 'test_isTogetherPolicy', 'selfRelation': 'test_selfRelation', 'abLicense': 'test_abLicense', 'systemSource': 'test_systemSource', 'applicantRemote': 'test_applicantRemote', 'supportRemote': 'test_supportRemote', 'relation': 'test_relation', 'recordingPrescription': 'test_recordingPrescription'}, 'agent': {'name': '测试销售人员姓名', 'employeeId': 'test_employeeId', 'branchName': 'test_branchName', 'subBranchName': 'test_subBranchName', 'identityNo': 'test_identityNo', 'marketingChannel': 'test_marketingChannel', 'licensed': 'test_licensed', 'certType': 'test_certType', 'secondAgentName': 'test_secondAgentName', 'secondAgentComName': 'test_secondAgentComName', 'secondAgentComCode': 'test_secondAgentComCode', 'centralBranch': 'test_centralBranch', 'directlyAgencyName': 'test_directlyAgencyName', 'companyCode': 'test_companyCode', 'directlyAgencyCode': 'test_directlyAgencyCode', 'companyName': 'test_companyName', 'branchCode': 'test_branchCode', 'subBranchCode': 'test_subBranchCode', 'gender': '0', 'status': 'test_status', 'channelCode': 'test_channelCode', 'subCode': 'test_subCode'}, 'applicant': {'name': '测试投保人', 'gender': '0', 'honorific': 'test_honorific', 'age': '27', 'profession': 'test_profession', 'birth': 'test_birth', 'certType': '身份证', 'certNo': '410821199504142014', 'address': 'test_address', 'mobile': 'test_mobile', 'relation': 'test_relation', 'riskScore': 'test_riskScore'}, 'insurance': [{'mainInsurance': {'productName': '光大永明意外伤害保险', 'productCode': 'AAT055', 'productCategory': '主险', 'payType': 'test_payType', 'payPeriod': 'test_payPeriod', 'policyPeriod': 'test_policyPeriod', 'periodAmount': 'test_periodAmount', 'sumAmount': 'test_sumAmount', 'surrenderAmount': 'test_surrenderAmount', 'productType': '1', 'totalAmountOfFirstYear': 'test_totalAmountOfFirstYear', 'cashValueOfFirstYear': 'test_cashValueOfFirstYear', 'planCode': 'test_planCode', 'isRenewal': 'test_isRenewal', 'renewalYear': 'test_renewalYear', 'firstYearInsurance': 'test_firstYearInsurance', 'secondYearSurAmount': 'test_secondYearSurAmount', 'hesitatePeriod': 'test_hesitatePeriod', 'disposableInitialCost': 'test_disposableInitialCost', 'initialCost': 'test_initialCost', 'minInterestRate': 'test_minInterestRate', 'isRangeProducts': 'test_isRangeProducts', 'newEffectivedDate': 'test_newEffectivedDate', 'waitingPeriod': 'test_waitingPeriod', 'cashValueOfsecondYear': 'test_cashValueOfsecondYear', 'secondYearSurAmountPercent': 'test_secondYearSurAmountPercent', 'secondYearSurPercent': 'test_secondYearSurPercent', 'payFrequency': 'test_payFrequency', 'totalAmountOfFirst': 'test_totalAmountOfFirst', 'firstYearPrem': 'test_firstYearPrem', 'insureds': [{'name': '被保人1', 'gender': '0', 'honorific': 'test_honorific', 'birth': 'test_birth', 'age': 'test_age', 'profession': 'test_profession', 'certType': '身份证', 'certNo': '120118199003073035', 'mobile': 'test_mobile', 'address': 'test_address', 'relation': 'test_relation', 'guardian': 'test_guardian', 'guardianNo': 'test_guardianNo', 'guardianCertType': 'test_guardianCertType', 'guardianGender': 'test_guardianGender', 'guardianHonorific': 'test_guardianHonorific'}]}, 'additionalInsurances': [{'productName': '光大永明无忧住院医疗保险', 'productCode': 'HMT008', 'productCategory': '附加险1', 'payType': 'test_payType', 'payPeriod': 'test_payPeriod', 'policyPeriod': 'test_policyPeriod', 'periodAmount': 'test_periodAmount', 'sumAmount': 'test_sumAmount', 'surrenderAmount': 'test_surrenderAmount', 'productType': '2', 'totalAmountOfFirstYear': 'test_totalAmountOfFirstYear', 'cashValueOfFirstYear': 'test_cashValueOfFirstYear', 'planCode': 'test_planCode', 'isRenewal': 'test_isRenewal', 'renewalYear': 'test_renewalYear', 'firstYearInsurance': 'test_firstYearInsurance', 'secondYearSurAmount': 'test_secondYearSurAmount', 'hesitatePeriod': 'test_hesitatePeriod', 'disposableInitialCost': 'test_disposableInitialCost', 'initialCost': 'test_initialCost', 'minInterestRate': 'test_minInterestRate', 'isRangeProducts': 'test_isRangeProducts', 'newEffectivedDate': 'test_newEffectivedDate', 'waitingPeriod': 'test_waitingPeriod', 'cashValueOfsecondYear': 'test_cashValueOfsecondYear', 'secondYearSurAmountPercent': 'test_secondYearSurAmountPercent', 'secondYearSurPercent': 'test_secondYearSurPercent', 'payFrequency': 'test_payFrequency', 'totalAmountOfFirst': 'test_totalAmountOfFirst', 'firstYearPrem': 'test_firstYearPrem', 'insureds': [{'name': '被保人2', 'gender': '0', 'honorific': 'test_honorific', 'birth': 'test_birth', 'age': 'test_age', 'profession': 'test_profession', 'certType': '身份证', 'certNo': '110105199005052832', 'mobile': 'test_mobile', 'address': 'test_address', 'relation': 'test_relation', 'guardian': 'test_guardian', 'guardianNo': 'test_guardianNo', 'guardianCertType': 'test_guardianCertType', 'guardianGender': 'test_guardianGender', 'guardianHonorific': 'test_guardianHonorific'}]}]}]}
2022-10-31 17:59:47,975 - root - INFO - 接口测试结果为:{'code': -1, 'msg': '不存在产品代码{AAT055}', 'success': False, 'result': None}
2022-10-31 17:59:47,977 - root - INFO - 断言处理结束!!!
2022-10-31 17:59:47,978 - root - INFO - ***************【纸质入件】接口测试结束***************
2022-10-31 23:51:26,672 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 23:51:26,675 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 23:51:36,210 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 23:51:36,211 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 23:51:42,763 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 23:51:42,763 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 23:52:26,993 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 23:52:26,994 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......
2022-10-31 23:52:27,342 - root - INFO - ***************【查询表单配置】接口测试开始***************
2022-10-31 23:52:27,343 - root - INFO - 接口测试用例为:{'id': 1.0, 'depend_id': 0.0, 'positive_case': '正向', 'desc': '查询表单配置', 'uri': '/cl/formconf/form', 'method': 'GET', 'headers': '{\n"Content-Type": "application/json"\n}', 'params': '{"type": 1,"platformType": 1}', 'response_assert': '{"code":0,"msg":"OK"}', 'save_args': 'md5'}
2022-10-31 23:52:27,344 - root - INFO - 请求头为:{'Content-Type': 'application/json'}
2022-10-31 23:52:27,344 - root - INFO - 请求参数为:{'type': 1, 'platformType': 1}
2022-10-31 23:55:25,802 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载中......
2022-10-31 23:55:25,803 - root - INFO - /Users/jingyuxiang/Desktop/code/python/SituApiSupport/config/db.ini 文件加载成功......