Commit 561cb3f8fcaa964a56690b538700193999a930e5

Authored by lixi
1 parent 89d53828

优化配置文件的使用说明

commons/MySession.py
@@ -79,8 +79,6 @@ class mysession(): @@ -79,8 +79,6 @@ class mysession():
79 #获取关键信息供其他接口header使用 79 #获取关键信息供其他接口header使用
80 self.UAP_accessToken=self.se.cookies["UAP_accessToken"] 80 self.UAP_accessToken=self.se.cookies["UAP_accessToken"]
81 self.UAP_refreshToken=self.se.cookies["UAP_refreshToken"] 81 self.UAP_refreshToken=self.se.cookies["UAP_refreshToken"]
82 - print(self.UAP_accessToken)  
83 - print(self.UAP_refreshToken)  
84 # 返回session对象,供其他接口使用 82 # 返回session对象,供其他接口使用
85 return self.se 83 return self.se
86 84
@@ -287,7 +285,7 @@ my = mysession() @@ -287,7 +285,7 @@ my = mysession()
287 my.set_mark() 285 my.set_mark()
288 my.cliLogin() 286 my.cliLogin()
289 s1 = my.get_session_client("sg_user01") 287 s1 = my.get_session_client("sg_user01")
290 -s2 = my.get_session_client("sg_user02") 288 +# s2 = my.get_session_client("sg_user02")
291 # s3 = my.get_session("sg_user01") 289 # s3 = my.get_session("sg_user01")
292 # s3= my.get_session_client("sg_user02") 290 # s3= my.get_session_client("sg_user02")
293 # sg=my.get_session_client("sg_user01") 291 # sg=my.get_session_client("sg_user01")
config/global_data.conf
@@ -12,12 +12,14 @@ user02=87 @@ -12,12 +12,14 @@ user02=87
12 user03=256 12 user03=256
13 13
14 [email] 14 [email]
  15 +#为空时[]不发邮件,若要发邮件,参考demo
15 list=["lixi@diligrp.com","175930106@qq.com"] 16 list=["lixi@diligrp.com","175930106@qq.com"]
16 -list11=["tg@diligrp.com","175930106@qq.com"] 17 +demo=["tg@diligrp.com","175930106@qq.com"]
17 18
18 [mark] 19 [mark]
  20 +#为空时[]运行所有用例,若要运行指定用例,参考demo
19 list=[] 21 list=[]
20 -list1=["p1","P2",1,"test"] 22 +demo=["p1","P2",1,"test"]
21 23
22 [Database] 24 [Database]
23 dbhost=10.35.100.34 25 dbhost=10.35.100.34
report/test.log
1 -[2021-07-22 17:11:13] [INFO] : ======================================================================================  
2 -[2021-07-22 17:11:13] [INFO] : http://test.card.diligrp.com:8386/accountQuery/page.action  
3 -{'headers': {'Host': 'test.card.diligrp.com:8386', 'Connection': 'keep-alive', 'Content-Length': '47', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'Origin': 'http://test.card.diligrp.com:8386', 'X-Requested-With': 'XMLHttpRequest', 'User-Agent': 'Mozilla/5.0(WindowsNT6.2;WOW64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/84.0.4147.105Safari/537.36', 'Content-Type': 'application/x-www-form-urlencoded', 'Accept-Language': 'zh-CN,zh;q=0.9', 'Referer': 'http://test.card.diligrp.com:8386/accountQuery/list.html', 'Accept-Encoding': 'gzip,deflate'}, 'data': 'rows=10&page=1&sort=card_create_time&order=desc'} 1 +[2021-07-22 17:30:26] [INFO] : ======================================================================================
  2 +[2021-07-22 17:30:26] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action
  3 +None
  4 +{'moduleType': '1', 'marketId': '8', 'fieldConfigDetailList': [{'fieldName': 'unitPrice', 'jsonPath': '$.unitPrice', 'defaultId': '3', 'displayed': '1', 'required': '0'}, {'fieldName': 'arrivalTallynos', 'jsonPath': '$.arrivalTallynos', 'defaultId': '10', 'displayed': '1', 'required': '0'}, {'fieldName': 'brandName', 'jsonPath': '$.brandName', 'defaultId': '5', 'displayed': '1', 'required': '0'}, {'fieldName': 'truckTareWeight', 'jsonPath': '$.truckTareWeight', 'defaultId': '1', 'displayed': '1', 'required': '0'}, {'fieldName': 'originId', 'jsonPath': '$.originId', 'defaultId': '7', 'displayed': '1', 'required': '0'}, {'fieldName': 'specName', 'jsonPath': '$.specName', 'defaultId': '4', 'displayed': '1', 'required': '0'}, {'fieldName': 'truckType', 'jsonPath': '$.truckType', 'defaultId': '2', 'displayed': '1', 'required': '1', 'availableValueList': ['10', '20']}, {'fieldName': 'imageCertList', 'jsonPath': '$.imageCertList[*]certType', 'defaultId': '11', 'displayed': '1', 'required': '0', 'availableValueList': ['2', '3']}, {'fieldName': 'arrivalDatetime', 'jsonPath': '$.arrivalDatetime', 'defaultId': '9', 'displayed': '1', 'required': '0'}, {'fieldName': 'remark', 'jsonPath': '$.remark', 'defaultId': '8', 'displayed': '1', 'required': '0'}, {'fieldName': 'remark', 'jsonPath': '$.remark', 'defaultId': '6', 'displayed': '1', 'required': '0'}, {'fieldName': 'measureType', 'jsonPath': '$.measureType', 'defaultId': '12', 'displayed': '1', 'required': '1', 'availableValueList': ['10', '20']}]}
  5 +{'headers': {'Host': 'test.trace.diligrp.com:8393', 'Connection': 'keep-alive', 'Content-Length': '1378', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'X-Requested-With': 'XMLHttpRequest', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/91.0.4472.77Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/fieldConfig/bill.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  6 +[2021-07-22 17:30:26] [INFO] : ======================================================================================
  7 +[2021-07-22 17:30:26] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  8 +None
  9 +{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'}
  10 +{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  11 +[2021-07-22 17:30:27] [INFO] : ======================================================================================
  12 +[2021-07-22 17:30:27] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  13 +None
  14 +{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '鲜花生', 'productId': '3496', 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'}
  15 +{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  16 +[2021-07-22 17:30:28] [INFO] : ======================================================================================
  17 +[2021-07-22 17:30:28] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  18 +None
  19 +{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': '516111', 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'}
  20 +{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  21 +[2021-07-22 17:30:28] [INFO] : ======================================================================================
  22 +[2021-07-22 17:30:28] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  23 +None
  24 +{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '666', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'}
  25 +{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  26 +[2021-07-22 17:30:29] [INFO] : ======================================================================================
  27 +[2021-07-22 17:30:29] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action
  28 +None
  29 +{'moduleType': '1', 'marketId': '8', 'fieldConfigDetailList': [{'fieldName': 'unitPrice', 'jsonPath': '$.unitPrice', 'defaultId': '3', 'displayed': '1', 'required': '0'}, {'fieldName': 'arrivalTallynos', 'jsonPath': '$.arrivalTallynos', 'defaultId': '10', 'displayed': '1', 'required': '0'}, {'fieldName': 'brandName', 'jsonPath': '$.brandName', 'defaultId': '5', 'displayed': '1', 'required': '0'}, {'fieldName': 'truckTareWeight', 'jsonPath': '$.truckTareWeight', 'defaultId': '1', 'displayed': '1', 'required': '0'}, {'fieldName': 'originId', 'jsonPath': '$.originId', 'defaultId': '7', 'displayed': '1', 'required': '0'}, {'fieldName': 'specName', 'jsonPath': '$.specName', 'defaultId': '4', 'displayed': '1', 'required': '0'}, {'fieldName': 'truckType', 'jsonPath': '$.truckType', 'defaultId': '2', 'displayed': '1', 'required': '1', 'availableValueList': ['10', '20']}, {'fieldName': 'imageCertList', 'jsonPath': '$.imageCertList[*]certType', 'defaultId': '11', 'displayed': '1', 'required': '0', 'availableValueList': ['2', '3']}, {'fieldName': 'arrivalDatetime', 'jsonPath': '$.arrivalDatetime', 'defaultId': '9', 'displayed': '1', 'required': '0'}, {'fieldName': 'remark', 'jsonPath': '$.remark', 'defaultId': '8', 'displayed': '1', 'required': '0'}, {'fieldName': 'remark', 'jsonPath': '$.remark', 'defaultId': '6', 'displayed': '1', 'required': '0'}, {'fieldName': 'measureType', 'jsonPath': '$.measureType', 'defaultId': '12', 'displayed': '1', 'required': '1', 'availableValueList': ['10', '20']}]}
  30 +{'headers': {'Host': 'test.trace.diligrp.com:8393', 'Connection': 'keep-alive', 'Content-Length': '1378', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'X-Requested-With': 'XMLHttpRequest', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/91.0.4472.77Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/fieldConfig/bill.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  31 +[2021-07-22 17:30:29] [INFO] : ======================================================================================
  32 +[2021-07-22 17:30:29] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  33 +None
  34 +{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'}
  35 +{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  36 +[2021-07-22 17:30:30] [INFO] : ======================================================================================
  37 +[2021-07-22 17:30:30] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=6912&verifyStatus=20
  38 +{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'X-Requested-With': 'XMLHttpRequest', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
4 39
  40 +[2021-07-22 17:30:31] [INFO] : ======================================================================================
  41 +[2021-07-22 17:30:31] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  42 +None
  43 +{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'}
  44 +{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  45 +[2021-07-22 17:30:32] [INFO] : ======================================================================================
  46 +[2021-07-22 17:30:32] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=6913&verifyStatus=30
  47 +{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'X-Requested-With': 'XMLHttpRequest', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  48 +
  49 +[2021-07-22 17:30:32] [INFO] : ======================================================================================
  50 +[2021-07-22 17:30:32] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  51 +None
  52 +{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'}
  53 +{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  54 +[2021-07-22 17:30:33] [INFO] : ======================================================================================
  55 +[2021-07-22 17:30:33] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=6914&verifyStatus=10
  56 +{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'X-Requested-With': 'XMLHttpRequest', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  57 +
  58 +[2021-07-22 17:30:33] [INFO] : ======================================================================================
  59 +[2021-07-22 17:30:33] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  60 +None
  61 +{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'}
  62 +{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  63 +[2021-07-22 17:30:34] [INFO] : ======================================================================================
  64 +[2021-07-22 17:30:34] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=5888&verifyStatus=20
  65 +{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'X-Requested-With': 'XMLHttpRequest', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  66 +
  67 +[2021-07-22 17:30:34] [INFO] : ======================================================================================
  68 +[2021-07-22 17:30:34] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action
  69 +None
  70 +{'moduleType': '1', 'marketId': '8', 'fieldConfigDetailList': [{'fieldName': 'unitPrice', 'jsonPath': '$.unitPrice', 'defaultId': '3', 'displayed': '1', 'required': '0'}, {'fieldName': 'arrivalTallynos', 'jsonPath': '$.arrivalTallynos', 'defaultId': '10', 'displayed': '1', 'required': '0'}, {'fieldName': 'brandName', 'jsonPath': '$.brandName', 'defaultId': '5', 'displayed': '1', 'required': '0'}, {'fieldName': 'truckTareWeight', 'jsonPath': '$.truckTareWeight', 'defaultId': '1', 'displayed': '1', 'required': '0'}, {'fieldName': 'originId', 'jsonPath': '$.originId', 'defaultId': '7', 'displayed': '1', 'required': '0'}, {'fieldName': 'specName', 'jsonPath': '$.specName', 'defaultId': '4', 'displayed': '1', 'required': '0'}, {'fieldName': 'truckType', 'jsonPath': '$.truckType', 'defaultId': '2', 'displayed': '1', 'required': '1', 'availableValueList': ['10', '20']}, {'fieldName': 'imageCertList', 'jsonPath': '$.imageCertList[*]certType', 'defaultId': '11', 'displayed': '1', 'required': '0', 'availableValueList': ['2', '3']}, {'fieldName': 'arrivalDatetime', 'jsonPath': '$.arrivalDatetime', 'defaultId': '9', 'displayed': '1', 'required': '0'}, {'fieldName': 'remark', 'jsonPath': '$.remark', 'defaultId': '8', 'displayed': '1', 'required': '0'}, {'fieldName': 'remark', 'jsonPath': '$.remark', 'defaultId': '6', 'displayed': '1', 'required': '0'}, {'fieldName': 'measureType', 'jsonPath': '$.measureType', 'defaultId': '12', 'displayed': '1', 'required': '1', 'availableValueList': ['10', '20']}]}
  71 +{'headers': {'Host': 'test.trace.diligrp.com:8393', 'Connection': 'keep-alive', 'Content-Length': '1378', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'X-Requested-With': 'XMLHttpRequest', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/91.0.4472.77Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/fieldConfig/bill.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  72 +[2021-07-22 17:30:34] [INFO] : ======================================================================================
  73 +[2021-07-22 17:30:34] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  74 +None
  75 +{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'}
  76 +{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  77 +[2021-07-22 17:30:35] [INFO] : ======================================================================================
  78 +[2021-07-22 17:30:35] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doUndo.action?id=6916
  79 +{'headers': {'Host': 'test.trace.diligrp.com:8393', 'Connection': 'keep-alive', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/91.0.4472.124Safari/537.36', 'X-Requested-With': 'XMLHttpRequest', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/index.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
  80 +
  81 +[2021-07-22 17:30:36] [INFO] : 发送邮件
  82 +[2021-07-22 17:30:40] [INFO] : 邮件发送完毕