Commit 3c7f88e343471a32fee116e34fd2919ecb027b07
1 parent
a9725e18
优化代码
Showing
2 changed files
with
71 additions
and
1 deletions
main.py
... | ... | @@ -22,7 +22,7 @@ def Create_Testcase_suite(path=""): |
22 | 22 | testunit=unittest.TestSuite() |
23 | 23 | test_Loader = DiscoveringTestLoader() |
24 | 24 | discover=test_Loader.discover("./testcase/{}".format(path),pattern='test_*.py',top_level_dir=None) |
25 | - print(discover) | |
25 | + # print(discover) | |
26 | 26 | for test_suite in discover: |
27 | 27 | testunit.addTests(test_suite) |
28 | 28 | # print(testunit) | ... | ... |
report/test.log
1 | +[2021-08-25 14:39:39] [INFO] : ====================================================================================== | |
2 | +[2021-08-25 14:39:39] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb | |
3 | +{'data': None, 'json': {'userName': 'sy_chen', 'password': 'EIaxG+f1VUEQibQpzyz0YSlez2QPmPYEMaJthVoYDLPcQQMDwXAMfThLBd2T1+G6Nm++yHofziwZmwfDy/ltUC2SB30GqMyhkjW2/JaPB/a+mCzvF9oC1NMMaYCBRTwqS6YzRq13adQqa75XEsNSaUurdQ9Z4kBfeArHVZdPBU4='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}} | |
4 | + | |
5 | +[2021-08-25 14:39:39] [INFO] : ====================================================================================== | |
6 | +[2021-08-25 14:39:39] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb | |
7 | +{'data': None, 'json': {'userName': '哈尔滨田太子', 'password': 'c9eliLrD+s2ST1qqUiIE/TcAn2JpSpzWdlAQwj7le1Bc5TR5INlfU3+mxM2dRQZEYOpQW+jyo8gCeTuXhvgdNHhEG4XVpGb9FYgCGephox8rDV3lRtjSDVoUGqNxTKBaVLh14FUPYRmTLske7UGevRQyKCz/BO61t46yA1OXRdQ='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}} | |
8 | + | |
9 | +[2021-08-25 14:39:40] [INFO] : ====================================================================================== | |
10 | +[2021-08-25 14:39:40] [INFO] : http://test.uap.diligrp.com/login/login.action | |
11 | +{'data': b'userName=sy_chen&password=123456', 'json': None, 'headers': {'Host': 'test.uap.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '33', 'Cache-Control': 'max-age=0', 'Upgrade-Insecure-Requests': '1', 'Origin': 'http://test.uap.diligrp.com', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', 'Referer': 'http://test.uap.diligrp.com/login/index.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7', 'Cookie': 'UAP_accessToken=;UAP_refreshToken=;UAP_loginPath='}, 'allow_redirects': False} | |
12 | + | |
13 | +[2021-08-25 14:39:40] [INFO] : ====================================================================================== | |
14 | +[2021-08-25 14:39:40] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/appCommon/duplicateToken.action | |
15 | +{'headers': {'UAP_accessToken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLCJuYmYiOjE2Mjk4NzM1NzksImRhdGEiOiJ7XCJjYXJkTnVtYmVyXCI6XCI4ODg4MTAwODQ0NThcIixcImNlbGxwaG9uZVwiOlwiMTUwMDI4Mzg4ODhcIixcImNyZWF0ZWRcIjoxNTkzNDg3NTcxMDAwLFwiZGVwYXJ0bWVudElkXCI6MTM5LFwiZW1haWxcIjpcImNoZW56aGl3ZWlAZGlsaWdycC5jb21cIixcImZpcm1Db2RlXCI6XCJzeVwiLFwiZmlybUlkXCI6OSxcImZpcm1OYW1lXCI6XCLmsojpmLPlnLDliKnlhpzmibnluILlnLrlrqLmiLfnlLXlrZDnu5PnrpfkuK3lv4NcIixcImlkXCI6NzYsXCJsYXN0TG9naW5UaW1lXCI6MTYyOTg3MzU3OTczMixcIm1ldGFkYXRhXCI6e30sXCJtb2RpZmllZFwiOjE2MjYxNjMwMDQwMDAsXCJwYXNzd29yZFwiOlwiMzk0OUJBNTlBQkJFNTZFMDU3XCIsXCJwb3NpdGlvbklkXCI6NyxcInJlYWxOYW1lXCI6XCLmsojpmLPpmYjlv5fkvJ9cIixcInNlcmlhbE51bWJlclwiOlwiMDAwXCIsXCJzdGF0ZVwiOjEsXCJzeXN0ZW1UeXBlXCI6MSxcInVzZXJOYW1lXCI6XCJzeV9jaGVuXCJ9IiwiaXNzIjoiVUFQX0FVVEgwIiwiZXhwIjoxNjI5ODc1Mzc5LCJpYXQiOjE2Mjk4NzM1NzksImp0aSI6IjRhMDJiMDRlLWM4ZGEtNDI3Mi1hYTVlLTY4OTRhMWUxZTA2OSJ9.dmOz_RrgUIoEDKQdKun_9Gi8SH6tYaXGx4fTBP5sWqeq1PvNrzgMwbw6ASn82ArK_g85MTQmXl4bI60ORHwilkPWRxagk343CdagMZuJm8s7o-C0qsI18VjuSnGugL7zc94XLZ-e5lAWwR_UU1VNUyO0-BZc8Jf8lVTczXvGz1s', 'UAP_refreshToken': 'c9f0c62d-6bca-4328-a81c-70ad9f25c58c', 'UAP_firmId': '9', 'Host': 'test.gateway.diligrp.com:8285', 'Connection': 'Keep-Alive'}, 'allow_redirects': True} | |
16 | + | |
17 | +[2021-08-25 14:39:40] [INFO] : ====================================================================================== | |
18 | +[2021-08-25 14:39:40] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCarType | |
19 | +{'data': None, 'json': {'businessCode': 'jmsf'}, 'headers': {'UAP_accessToken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLC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Type': 'application/json', 'Host': 'test.gateway.diligrp.com:8285', 'Content-Length': '23'}} | |
20 | + | |
21 | +[2021-08-25 14:39:41] [INFO] : ====================================================================================== | |
22 | +[2021-08-25 14:39:41] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/entrace/weighingServiceSave | |
23 | +{'data': None, 'json': {'carTypeId': 53, 'carTypeName': '板车', 'carTypeCode': '003', 'driverTel': '16111111111', 'fee': '18.00', 'greeterId': 0, 'greeterName': None, 'plate': '京A666666', 'remark': 'test_称重服务接口测试', 'weighImgs': [], 'weight': 10.0, 'weightDate': '2021-07-29 15:50:26', 'pathAddress': '40-5B-D8-DF-CA-C7', 'entryPlateInputType': 1, 'customerType': 0, 'carryStatus': 0, 'customerName': None, 'pwd': '', 'totalPrice': 18.0, 'ic': '', 'customerId': 0, 'accountId': 0, 'protocolId': None}, 'headers': {'jmsf_duplicate_commit_token': '229bf1bca2474ab8b471a5c74927d199', 'UAP_accessToken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLCJuYmYiOjE2Mjk4NzM1NzksImRhdGEiOiJ7XCJjYXJkTnVtYmVyXCI6XCI4ODg4MTAwODQ0NThcIixcImNlbGxwaG9uZVwiOlwiMTUwMDI4Mzg4ODhcIixcImNyZWF0ZWRcIjoxNTkzNDg3NTcxMDAwLFwiZGVwYXJ0bWVudElkXCI6MTM5LFwiZW1haWxcIjpcImNoZW56aGl3ZWlAZGlsaWdycC5jb21cIixcImZpcm1Db2RlXCI6XCJzeVwiLFwiZmlybUlkXCI6OSxcImZpcm1OYW1lXCI6XCLmsojpmLPlnLDliKnlhpzmibnluILlnLrlrqLmiLfnlLXlrZDnu5PnrpfkuK3lv4NcIixcImlkXCI6NzYsXCJsYXN0TG9naW5UaW1lXCI6MTYyOTg3MzU3OTczMixcIm1ldGFkYXRhXCI6e30sXCJtb2RpZmllZFwiOjE2MjYxNjMwMDQwMDAsXCJwYXNzd29yZFwiOlwiMzk0OUJBNTlBQkJFNTZFMDU3XCIsXCJwb3NpdGlvbklkXCI6NyxcInJlYWxOYW1lXCI6XCLmsojpmLPpmYjlv5fkvJ9cIixcInNlcmlhbE51bWJlclwiOlwiMDAwXCIsXCJzdGF0ZVwiOjEsXCJzeXN0ZW1UeXBlXCI6MSxcInVzZXJOYW1lXCI6XCJzeV9jaGVuXCJ9IiwiaXNzIjoiVUFQX0FVVEgwIiwiZXhwIjoxNjI5ODc1Mzc5LCJpYXQiOjE2Mjk4NzM1NzksImp0aSI6IjRhMDJiMDRlLWM4ZGEtNDI3Mi1hYTVlLTY4OTRhMWUxZTA2OSJ9.dmOz_RrgUIoEDKQdKun_9Gi8SH6tYaXGx4fTBP5sWqeq1PvNrzgMwbw6ASn82ArK_g85MTQmXl4bI60ORHwilkPWRxagk343CdagMZuJm8s7o-C0qsI18VjuSnGugL7zc94XLZ-e5lAWwR_UU1VNUyO0-BZc8Jf8lVTczXvGz1s', 'UAP_refreshToken': 'c9f0c62d-6bca-4328-a81c-70ad9f25c58c', 'UAP_firmId': '9', 'Content-Type': 'application/json', 'Host': 'test.gateway.diligrp.com:8285', 'Content-Length': '453'}} | |
24 | + | |
25 | +[2021-08-25 14:39:42] [INFO] : ====================================================================================== | |
26 | +[2021-08-25 14:39:42] [INFO] : http://test.jmsf.diligrp.com:8385/weightBizBill/doRefund.action | |
27 | +{'data': b'id=665&reason=\xe9\x80\x80\xe6\xac\xbe\xe5\x8e\x9f\xe5\x9b\xa0_test_123', 'json': None, 'headers': {'Connection': 'keep-alive', 'Accept': 'application/json, text/javascript, */*; q=0.01', 'X-Requested-With': 'XMLHttpRequest', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Accept-Language': 'zh-CN,zh;q=0.9', 'Accept-Encoding': 'gzip, deflate'}} | |
28 | + | |
29 | +[2021-08-25 14:39:42] [INFO] : ====================================================================================== | |
30 | +[2021-08-25 14:39:42] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/appCommon/duplicateToken.action | |
31 | +{'headers': {'UAP_accessToken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLCJuYmYiOjE2Mjk4NzM1NzksImRhdGEiOiJ7XCJjYXJkTnVtYmVyXCI6XCI4ODg4MTAwODQ0NThcIixcImNlbGxwaG9uZVwiOlwiMTUwMDI4Mzg4ODhcIixcImNyZWF0ZWRcIjoxNTkzNDg3NTcxMDAwLFwiZGVwYXJ0bWVudElkXCI6MTM5LFwiZW1haWxcIjpcImNoZW56aGl3ZWlAZGlsaWdycC5jb21cIixcImZpcm1Db2RlXCI6XCJzeVwiLFwiZmlybUlkXCI6OSxcImZpcm1OYW1lXCI6XCLmsojpmLPlnLDliKnlhpzmibnluILlnLrlrqLmiLfnlLXlrZDnu5PnrpfkuK3lv4NcIixcImlkXCI6NzYsXCJsYXN0TG9naW5UaW1lXCI6MTYyOTg3MzU3OTczMixcIm1ldGFkYXRhXCI6e30sXCJtb2RpZmllZFwiOjE2MjYxNjMwMDQwMDAsXCJwYXNzd29yZFwiOlwiMzk0OUJBNTlBQkJFNTZFMDU3XCIsXCJwb3NpdGlvbklkXCI6NyxcInJlYWxOYW1lXCI6XCLmsojpmLPpmYjlv5fkvJ9cIixcInNlcmlhbE51bWJlclwiOlwiMDAwXCIsXCJzdGF0ZVwiOjEsXCJzeXN0ZW1UeXBlXCI6MSxcInVzZXJOYW1lXCI6XCJzeV9jaGVuXCJ9IiwiaXNzIjoiVUFQX0FVVEgwIiwiZXhwIjoxNjI5ODc1Mzc5LCJpYXQiOjE2Mjk4NzM1NzksImp0aSI6IjRhMDJiMDRlLWM4ZGEtNDI3Mi1hYTVlLTY4OTRhMWUxZTA2OSJ9.dmOz_RrgUIoEDKQdKun_9Gi8SH6tYaXGx4fTBP5sWqeq1PvNrzgMwbw6ASn82ArK_g85MTQmXl4bI60ORHwilkPWRxagk343CdagMZuJm8s7o-C0qsI18VjuSnGugL7zc94XLZ-e5lAWwR_UU1VNUyO0-BZc8Jf8lVTczXvGz1s', 'UAP_refreshToken': 'c9f0c62d-6bca-4328-a81c-70ad9f25c58c', 'UAP_firmId': '9', 'Host': 'test.gateway.diligrp.com:8285', 'Connection': 'Keep-Alive'}, 'allow_redirects': True} | |
32 | + | |
33 | +[2021-08-25 14:39:43] [INFO] : ====================================================================================== | |
34 | +[2021-08-25 14:39:43] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCarType | |
35 | +{'data': None, 'json': {'businessCode': 'jmsf'}, 'headers': {'UAP_accessToken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLCJuYmYiOjE2Mjk4NzM1NzksImRhdGEiOiJ7XCJjYXJkTnVtYmVyXCI6XCI4ODg4MTAwODQ0NThcIixcImNlbGxwaG9uZVwiOlwiMTUwMDI4Mzg4ODhcIixcImNyZWF0ZWRcIjoxNTkzNDg3NTcxMDAwLFwiZGVwYXJ0bWVudElkXCI6MTM5LFwiZW1haWxcIjpcImNoZW56aGl3ZWlAZGlsaWdycC5jb21cIixcImZpcm1Db2RlXCI6XCJzeVwiLFwiZmlybUlkXCI6OSxcImZpcm1OYW1lXCI6XCLmsojpmLPlnLDliKnlhpzmibnluILlnLrlrqLmiLfnlLXlrZDnu5PnrpfkuK3lv4NcIixcImlkXCI6NzYsXCJsYXN0TG9naW5UaW1lXCI6MTYyOTg3MzU3OTczMixcIm1ldGFkYXRhXCI6e30sXCJtb2RpZmllZFwiOjE2MjYxNjMwMDQwMDAsXCJwYXNzd29yZFwiOlwiMzk0OUJBNTlBQkJFNTZFMDU3XCIsXCJwb3NpdGlvbklkXCI6NyxcInJlYWxOYW1lXCI6XCLmsojpmLPpmYjlv5fkvJ9cIixcInNlcmlhbE51bWJlclwiOlwiMDAwXCIsXCJzdGF0ZVwiOjEsXCJzeXN0ZW1UeXBlXCI6MSxcInVzZXJOYW1lXCI6XCJzeV9jaGVuXCJ9IiwiaXNzIjoiVUFQX0FVVEgwIiwiZXhwIjoxNjI5ODc1Mzc5LCJpYXQiOjE2Mjk4NzM1NzksImp0aSI6IjRhMDJiMDRlLWM4ZGEtNDI3Mi1hYTVlLTY4OTRhMWUxZTA2OSJ9.dmOz_RrgUIoEDKQdKun_9Gi8SH6tYaXGx4fTBP5sWqeq1PvNrzgMwbw6ASn82ArK_g85MTQmXl4bI60ORHwilkPWRxagk343CdagMZuJm8s7o-C0qsI18VjuSnGugL7zc94XLZ-e5lAWwR_UU1VNUyO0-BZc8Jf8lVTczXvGz1s', 'UAP_refreshToken': 'c9f0c62d-6bca-4328-a81c-70ad9f25c58c', 'UAP_firmId': '9', 'Content-Type': 'application/json', 'Host': 'test.gateway.diligrp.com:8285', 'Content-Length': '23'}} | |
36 | + | |
37 | +[2021-08-25 14:39:43] [INFO] : ====================================================================================== | |
38 | +[2021-08-25 14:39:43] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/entrace/weighingServiceSave | |
39 | +{'data': None, 'json': {'carTypeId': 53, 'carTypeName': '板车', 'carTypeCode': '003', 'driverTel': '16111111111', 'fee': '18.00', 'greeterId': 0, 'greeterName': None, 'plate': '京A666666', 'remark': 'test_称重服务接口测试', 'weighImgs': [], 'weight': 10.0, 'weightDate': '2021-07-29 15:50:26', 'pathAddress': '40-5B-D8-DF-CA-C7', 'entryPlateInputType': 1, 'customerType': 0, 'carryStatus': 0, 'customerName': None, 'pwd': '', 'totalPrice': 18.0, 'ic': '', 'customerId': 0, 'accountId': 0, 'protocolId': None}, 'headers': {'jmsf_duplicate_commit_token': '4e481680fc9746ebb8612bd8a4584218', 'UAP_accessToken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLCJuYmYiOjE2Mjk4NzM1NzksImRhdGEiOiJ7XCJjYXJkTnVtYmVyXCI6XCI4ODg4MTAwODQ0NThcIixcImNlbGxwaG9uZVwiOlwiMTUwMDI4Mzg4ODhcIixcImNyZWF0ZWRcIjoxNTkzNDg3NTcxMDAwLFwiZGVwYXJ0bWVudElkXCI6MTM5LFwiZW1haWxcIjpcImNoZW56aGl3ZWlAZGlsaWdycC5jb21cIixcImZpcm1Db2RlXCI6XCJzeVwiLFwiZmlybUlkXCI6OSxcImZpcm1OYW1lXCI6XCLmsojpmLPlnLDliKnlhpzmibnluILlnLrlrqLmiLfnlLXlrZDnu5PnrpfkuK3lv4NcIixcImlkXCI6NzYsXCJsYXN0TG9naW5UaW1lXCI6MTYyOTg3MzU3OTczMixcIm1ldGFkYXRhXCI6e30sXCJtb2RpZmllZFwiOjE2MjYxNjMwMDQwMDAsXCJwYXNzd29yZFwiOlwiMzk0OUJBNTlBQkJFNTZFMDU3XCIsXCJwb3NpdGlvbklkXCI6NyxcInJlYWxOYW1lXCI6XCLmsojpmLPpmYjlv5fkvJ9cIixcInNlcmlhbE51bWJlclwiOlwiMDAwXCIsXCJzdGF0ZVwiOjEsXCJzeXN0ZW1UeXBlXCI6MSxcInVzZXJOYW1lXCI6XCJzeV9jaGVuXCJ9IiwiaXNzIjoiVUFQX0FVVEgwIiwiZXhwIjoxNjI5ODc1Mzc5LCJpYXQiOjE2Mjk4NzM1NzksImp0aSI6IjRhMDJiMDRlLWM4ZGEtNDI3Mi1hYTVlLTY4OTRhMWUxZTA2OSJ9.dmOz_RrgUIoEDKQdKun_9Gi8SH6tYaXGx4fTBP5sWqeq1PvNrzgMwbw6ASn82ArK_g85MTQmXl4bI60ORHwilkPWRxagk343CdagMZuJm8s7o-C0qsI18VjuSnGugL7zc94XLZ-e5lAWwR_UU1VNUyO0-BZc8Jf8lVTczXvGz1s', 'UAP_refreshToken': 'c9f0c62d-6bca-4328-a81c-70ad9f25c58c', 'UAP_firmId': '9', 'Content-Type': 'application/json', 'Host': 'test.gateway.diligrp.com:8285', 'Content-Length': '453'}} | |
40 | + | |
41 | +[2021-08-25 14:39:44] [INFO] : ====================================================================================== | |
42 | +[2021-08-25 14:39:44] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCarType | |
43 | +{'data': None, 'json': {'businessCode': 'jmsf'}, 'headers': {'UAP_accessToken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLCJuYmYiOjE2Mjk4NzM1NzksImRhdGEiOiJ7XCJjYXJkTnVtYmVyXCI6XCI4ODg4MTAwODQ0NThcIixcImNlbGxwaG9uZVwiOlwiMTUwMDI4Mzg4ODhcIixcImNyZWF0ZWRcIjoxNTkzNDg3NTcxMDAwLFwiZGVwYXJ0bWVudElkXCI6MTM5LFwiZW1haWxcIjpcImNoZW56aGl3ZWlAZGlsaWdycC5jb21cIixcImZpcm1Db2RlXCI6XCJzeVwiLFwiZmlybUlkXCI6OSxcImZpcm1OYW1lXCI6XCLmsojpmLPlnLDliKnlhpzmibnluILlnLrlrqLmiLfnlLXlrZDnu5PnrpfkuK3lv4NcIixcImlkXCI6NzYsXCJsYXN0TG9naW5UaW1lXCI6MTYyOTg3MzU3OTczMixcIm1ldGFkYXRhXCI6e30sXCJtb2RpZmllZFwiOjE2MjYxNjMwMDQwMDAsXCJwYXNzd29yZFwiOlwiMzk0OUJBNTlBQkJFNTZFMDU3XCIsXCJwb3NpdGlvbklkXCI6NyxcInJlYWxOYW1lXCI6XCLmsojpmLPpmYjlv5fkvJ9cIixcInNlcmlhbE51bWJlclwiOlwiMDAwXCIsXCJzdGF0ZVwiOjEsXCJzeXN0ZW1UeXBlXCI6MSxcInVzZXJOYW1lXCI6XCJzeV9jaGVuXCJ9IiwiaXNzIjoiVUFQX0FVVEgwIiwiZXhwIjoxNjI5ODc1Mzc5LCJpYXQiOjE2Mjk4NzM1NzksImp0aSI6IjRhMDJiMDRlLWM4ZGEtNDI3Mi1hYTVlLTY4OTRhMWUxZTA2OSJ9.dmOz_RrgUIoEDKQdKun_9Gi8SH6tYaXGx4fTBP5sWqeq1PvNrzgMwbw6ASn82ArK_g85MTQmXl4bI60ORHwilkPWRxagk343CdagMZuJm8s7o-C0qsI18VjuSnGugL7zc94XLZ-e5lAWwR_UU1VNUyO0-BZc8Jf8lVTczXvGz1s', 'UAP_refreshToken': 'c9f0c62d-6bca-4328-a81c-70ad9f25c58c', 'UAP_firmId': '9', 'Content-Type': 'application/json', 'Host': 'test.gateway.diligrp.com:8285', 'Content-Length': '23'}} | |
44 | + | |
45 | +[2021-08-25 14:39:44] [INFO] : ====================================================================================== | |
46 | +[2021-08-25 14:39:44] [INFO] : http://test.jmsf.diligrp.com:8385/weightBizBill/listPage.action | |
47 | +{'data': 'rows=10&page=1&sort=id&order=desc&metadata[fee]={"provider":"moneyProvider","index":10,"field": "fee"}&metadata[created]={"provider":"datetimeProvider","index":20,"field": "created"}&metadata[payTime]={"provider":"datetimeProvider","index":30,"field":"payTime"} &metadata[status]={"provider":"weightPayStateProvider","index":40,"field":"status"} &metadata[refundTime]={"provider":"datetimeProvider","index":50,"field":"refundTime"} &metadata[payType]={"provider":"weightPayTypeProvider","index":60,"field":"payType"} &attr=number&attrValue=202108250900025&carTypeId=53&depId=139&status=2 &startCreateDate=2020-08-03 00:00:00&endCreateDate=2029-08-03 23:59:59 &startPayTime=2020-08-03 00:00:00&endPayTime=2029-08-03 23:59:59', 'json': None, 'headers': {'Connection': 'keep-alive', 'Accept': 'application/json, text/javascript, */*; q=0.01', 'X-Requested-With': 'XMLHttpRequest', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36', 'Content-Type': 'application/x-www-form-urlencoded', 'Accept-Language': 'zh-CN,zh;q=0.9', 'Accept-Encoding': 'gzip, deflate'}} | |
48 | + | |
49 | +[2021-08-25 14:39:44] [INFO] : ====================================================================================== | |
50 | +[2021-08-25 14:39:44] [INFO] : http://test.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VjuSnGugL7zc94XLZ-e5lAWwR_UU1VNUyO0-BZc8Jf8lVTczXvGz1s', 'UAP_refreshToken': 'c9f0c62d-6bca-4328-a81c-70ad9f25c58c', 'UAP_firmId': '9', 'Host': 'test.gateway.diligrp.com:8285', 'Connection': 'Keep-Alive'}, 'allow_redirects': True} | |
52 | + | |
53 | +[2021-08-25 14:39:44] [INFO] : ====================================================================================== | |
54 | +[2021-08-25 14:39:44] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCarType | |
55 | +{'data': None, 'json': {'businessCode': 'jmsf'}, 'headers': {'UAP_accessToken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLCJuYmYiOjE2Mjk4NzM1NzksImRhdGEiOiJ7XCJjYXJkTnVtYmVyXCI6XCI4ODg4MTAwODQ0NThcIixcImNlbGxwaG9uZVwiOlwiMTUwMDI4Mzg4ODhcIixcImNyZWF0ZWRcIjoxNTkzNDg3NTcxMDAwLFwiZGVwYXJ0bWVudElkXCI6MTM5LFwiZW1haWxcIjpcImNoZW56aGl3ZWlAZGlsaWdycC5jb21cIixcImZpcm1Db2RlXCI6XCJzeVwiLFwiZmlybUlkXCI6OSxcImZpcm1OYW1lXCI6XCLmsojpmLPlnLDliKnlhpzmibnluILlnLrlrqLmiLfnlLXlrZDnu5PnrpfkuK3lv4NcIixcImlkXCI6NzYsXCJsYXN0TG9naW5UaW1lXCI6MTYyOTg3MzU3OTczMixcIm1ldGFkYXRhXCI6e30sXCJtb2RpZmllZFwiOjE2MjYxNjMwMDQwMDAsXCJwYXNzd29yZFwiOlwiMzk0OUJBNTlBQkJFNTZFMDU3XCIsXCJwb3NpdGlvbklkXCI6NyxcInJlYWxOYW1lXCI6XCLmsojpmLPpmYjlv5fkvJ9cIixcInNlcmlhbE51bWJlclwiOlwiMDAwXCIsXCJzdGF0ZVwiOjEsXCJzeXN0ZW1UeXBlXCI6MSxcInVzZXJOYW1lXCI6XCJzeV9jaGVuXCJ9IiwiaXNzIjoiVUFQX0FVVEgwIiwiZXhwIjoxNjI5ODc1Mzc5LCJpYXQiOjE2Mjk4NzM1NzksImp0aSI6IjRhMDJiMDRlLWM4ZGEtNDI3Mi1hYTVlLTY4OTRhMWUxZTA2OSJ9.dmOz_RrgUIoEDKQdKun_9Gi8SH6tYaXGx4fTBP5sWqeq1PvNrzgMwbw6ASn82ArK_g85MTQmXl4bI60ORHwilkPWRxagk343CdagMZuJm8s7o-C0qsI18VjuSnGugL7zc94XLZ-e5lAWwR_UU1VNUyO0-BZc8Jf8lVTczXvGz1s', 'UAP_refreshToken': 'c9f0c62d-6bca-4328-a81c-70ad9f25c58c', 'UAP_firmId': '9', 'Content-Type': 'application/json', 'Host': 'test.gateway.diligrp.com:8285', 'Content-Length': '23'}} | |
56 | + | |
57 | +[2021-08-25 14:39:45] [INFO] : ====================================================================================== | |
58 | +[2021-08-25 14:39:45] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/entrace/weighingServiceSave | |
59 | +{'data': None, 'json': {'carTypeId': 53, 'carTypeName': '板车', 'carTypeCode': '003', 'driverTel': '16111111111', 'fee': '18.00', 'greeterId': 0, 'greeterName': None, 'plate': '京A666666', 'remark': 'test_称重服务接口测试', 'weighImgs': [], 'weight': 10.0, 'weightDate': '2021-07-29 15:50:26', 'pathAddress': '40-5B-D8-DF-CA-C7', 'entryPlateInputType': 1, 'customerType': 0, 'carryStatus': 0, 'customerName': None, 'pwd': '', 'totalPrice': 18.0, 'ic': '', 'customerId': 0, 'accountId': 0, 'protocolId': None}, 'headers': {'jmsf_duplicate_commit_token': '6adf62d1147f44a09ebf1b49207b122e', 'UAP_accessToken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLCJuYmYiOjE2Mjk4NzM1NzksImRhdGEiOiJ7XCJjYXJkTnVtYmVyXCI6XCI4ODg4MTAwODQ0NThcIixcImNlbGxwaG9uZVwiOlwiMTUwMDI4Mzg4ODhcIixcImNyZWF0ZWRcIjoxNTkzNDg3NTcxMDAwLFwiZGVwYXJ0bWVudElkXCI6MTM5LFwiZW1haWxcIjpcImNoZW56aGl3ZWlAZGlsaWdycC5jb21cIixcImZpcm1Db2RlXCI6XCJzeVwiLFwiZmlybUlkXCI6OSxcImZpcm1OYW1lXCI6XCLmsojpmLPlnLDliKnlhpzmibnluILlnLrlrqLmiLfnlLXlrZDnu5PnrpfkuK3lv4NcIixcImlkXCI6NzYsXCJsYXN0TG9naW5UaW1lXCI6MTYyOTg3MzU3OTczMixcIm1ldGFkYXRhXCI6e30sXCJtb2RpZmllZFwiOjE2MjYxNjMwMDQwMDAsXCJwYXNzd29yZFwiOlwiMzk0OUJBNTlBQkJFNTZFMDU3XCIsXCJwb3NpdGlvbklkXCI6NyxcInJlYWxOYW1lXCI6XCLmsojpmLPpmYjlv5fkvJ9cIixcInNlcmlhbE51bWJlclwiOlwiMDAwXCIsXCJzdGF0ZVwiOjEsXCJzeXN0ZW1UeXBlXCI6MSxcInVzZXJOYW1lXCI6XCJzeV9jaGVuXCJ9IiwiaXNzIjoiVUFQX0FVVEgwIiwiZXhwIjoxNjI5ODc1Mzc5LCJpYXQiOjE2Mjk4NzM1NzksImp0aSI6IjRhMDJiMDRlLWM4ZGEtNDI3Mi1hYTVlLTY4OTRhMWUxZTA2OSJ9.dmOz_RrgUIoEDKQdKun_9Gi8SH6tYaXGx4fTBP5sWqeq1PvNrzgMwbw6ASn82ArK_g85MTQmXl4bI60ORHwilkPWRxagk343CdagMZuJm8s7o-C0qsI18VjuSnGugL7zc94XLZ-e5lAWwR_UU1VNUyO0-BZc8Jf8lVTczXvGz1s', 'UAP_refreshToken': 'c9f0c62d-6bca-4328-a81c-70ad9f25c58c', 'UAP_firmId': '9', 'Content-Type': 'application/json', 'Host': 'test.gateway.diligrp.com:8285', 'Content-Length': '453'}} | |
60 | + | |
61 | +[2021-08-25 14:39:46] [INFO] : ====================================================================================== | |
62 | +[2021-08-25 14:39:46] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCarType | |
63 | +{'data': None, 'json': {'businessCode': 'jmsf'}, 'headers': {'UAP_accessToken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLCJuYmYiOjE2Mjk4NzM1NzksImRhdGEiOiJ7XCJjYXJkTnVtYmVyXCI6XCI4ODg4MTAwODQ0NThcIixcImNlbGxwaG9uZVwiOlwiMTUwMDI4Mzg4ODhcIixcImNyZWF0ZWRcIjoxNTkzNDg3NTcxMDAwLFwiZGVwYXJ0bWVudElkXCI6MTM5LFwiZW1haWxcIjpcImNoZW56aGl3ZWlAZGlsaWdycC5jb21cIixcImZpcm1Db2RlXCI6XCJzeVwiLFwiZmlybUlkXCI6OSxcImZpcm1OYW1lXCI6XCLmsojpmLPlnLDliKnlhpzmibnluILlnLrlrqLmiLfnlLXlrZDnu5PnrpfkuK3lv4NcIixcImlkXCI6NzYsXCJsYXN0TG9naW5UaW1lXCI6MTYyOTg3MzU3OTczMixcIm1ldGFkYXRhXCI6e30sXCJtb2RpZmllZFwiOjE2MjYxNjMwMDQwMDAsXCJwYXNzd29yZFwiOlwiMzk0OUJBNTlBQkJFNTZFMDU3XCIsXCJwb3NpdGlvbklkXCI6NyxcInJlYWxOYW1lXCI6XCLmsojpmLPpmYjlv5fkvJ9cIixcInNlcmlhbE51bWJlclwiOlwiMDAwXCIsXCJzdGF0ZVwiOjEsXCJzeXN0ZW1UeXBlXCI6MSxcInVzZXJOYW1lXCI6XCJzeV9jaGVuXCJ9IiwiaXNzIjoiVUFQX0FVVEgwIiwiZXhwIjoxNjI5ODc1Mzc5LCJpYXQiOjE2Mjk4NzM1NzksImp0aSI6IjRhMDJiMDRlLWM4ZGEtNDI3Mi1hYTVlLTY4OTRhMWUxZTA2OSJ9.dmOz_RrgUIoEDKQdKun_9Gi8SH6tYaXGx4fTBP5sWqeq1PvNrzgMwbw6ASn82ArK_g85MTQmXl4bI60ORHwilkPWRxagk343CdagMZuJm8s7o-C0qsI18VjuSnGugL7zc94XLZ-e5lAWwR_UU1VNUyO0-BZc8Jf8lVTczXvGz1s', 'UAP_refreshToken': 'c9f0c62d-6bca-4328-a81c-70ad9f25c58c', 'UAP_firmId': '9', 'Content-Type': 'application/json', 'Host': 'test.gateway.diligrp.com:8285', 'Content-Length': '23'}} | |
64 | + | |
65 | +[2021-08-25 14:39:46] [INFO] : ====================================================================================== | |
66 | +[2021-08-25 14:39:46] [INFO] : http://test.jmsf.diligrp.com:8385/weightBizBill/listPage.action | |
67 | +{'data': b'rows=10&page=1&sort=id&order=desc&metadata[fee]={"provider":"moneyProvider","index":10,"field": "fee"}&metadata[created]={"provider":"datetimeProvider","index":20,"field": "created"}&metadata[payTime]={"provider":"datetimeProvider","index":30,"field":"payTime"} &metadata[status]={"provider":"weightPayStateProvider","index":40,"field":"status"} &metadata[refundTime]={"provider":"datetimeProvider","index":50,"field":"refundTime"} &metadata[payType]={"provider":"weightPayTypeProvider","index":60,"field":"payType"} &attr=plate&attrValue=\xe4\xba\xacA666666&carTypeId=53&depId=139&status=2 &startCreateDate=2021-08-25 14:39:44&endCreateDate=2029-08-03 23:59:59 &startPayTime=2021-08-25 14:39:44&endPayTime=2029-08-03 23:59:59', 'json': None, 'headers': {'Connection': 'keep-alive', 'Accept': 'application/json, text/javascript, */*; q=0.01', 'X-Requested-With': 'XMLHttpRequest', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36', 'Content-Type': 'application/x-www-form-urlencoded', 'Accept-Language': 'zh-CN,zh;q=0.9', 'Accept-Encoding': 'gzip, deflate'}} | |
68 | + | |
69 | +[2021-08-25 14:39:46] [INFO] : 发送邮件 | |
70 | +[2021-08-25 14:39:49] [INFO] : 邮件发送完毕 | ... | ... |