Commit b1dc4d7017d987c6fbce6a5eb86bc88663837213

Authored by 175930106
Committed by liujiqiang
1 parent 1f32f1a3

加入了数据库连接检测的代码

src/commons/ConfigDB.py
1 1 #!/usr/bin/python
2 2 # -*- coding: UTF-8 -*-
3 3 import MySQLdb
  4 +import time
4 5 import commons.common as ca
5 6 import json
6 7 from commons.Logging import Logger
... ... @@ -15,6 +16,33 @@ dbuser=ca.get_global_config('global_data','Database','dbuser')
15 16 dbpassword=ca.get_global_config('global_data','Database','dbpassword')
16 17 #dbcharset=get_global_config('Database','dbcharset')
17 18  
  19 +def mysql_conn_test():
  20 + # 数据库连接重试功能和连接超时功能的DB连接
  21 + _conn_status = True
  22 + _max_retries_count = 3 # 设置最大重试次数
  23 + _conn_retries_count = 0 # 初始重试次数
  24 + _conn_timeout = 3 # 连接超时时间为3秒
  25 + while _conn_status and _conn_retries_count < _max_retries_count:
  26 + try:
  27 + print('连接数据库中..')
  28 + db = MySQLdb.connect(dbhost,
  29 + dbuser,
  30 + dbpassword,
  31 + dbname,
  32 + charset='utf8',
  33 + connect_timeout=_conn_timeout)
  34 + _conn_status = False # 如果conn成功则_status为设置为False则退出循环,返回db连接对象
  35 + print("连接结果 ",db)
  36 + return db
  37 + except:
  38 + _conn_retries_count += 1
  39 + print(_conn_retries_count)
  40 + print('connect db is error!!')
  41 + time.sleep(3) # 此为测试看效果
  42 + continue
  43 + raise Exception("pls check your mysql config!")
  44 +
  45 +
18 46 def mysql_selectOne(select_action):
19 47 action=select_action
20 48 db = MySQLdb.connect(dbhost, dbuser, dbpassword, dbname, charset='utf8' )
... ... @@ -148,19 +176,6 @@ def mysql_check_insert(api,section,check_sql,delete_sql,insert_sql):
148 176 # 关闭数据库连接
149 177 db.close()
150 178  
151   -def mysql_select_order(orderNum):
152   - return mysql_selectOne("SELECT * FROM `order`.orders WHERE code = '%s';"%orderNum)
153   -
154   -def mysql_delete_order(orderNum):
155   - mysql_delete("DELETE FROM `order`.orders WHERE code = '%s';"%orderNum)
156   -
157   -def mysql_select_coupon(couponNum):
158   - return mysql_selectOne("SELECT * FROM `customer`.customer_coupon WHERE id = '%s';"%couponNum)
159   -
160   -def mysql_delete_coupon(couponNum):
161   - mysql_delete("DELETE FROM `customer`.customer_coupon WHERE id = '%s';"%couponNum)
162   -
163   -
164 179 def Check_in_Mysql(in_data,sql_spm):
165 180 log.info(u"======从数据库中查询传入数据======")
166 181 result=mysql_selectAll(sql_spm)
... ... @@ -202,7 +217,7 @@ def Check_in_Mysql(in_data,sql_spm):
202 217 assert False
203 218  
204 219 def Check_in_Response(check_data,src_data):
205   - #check_data必须为列表形式,src_data必须为r.json()的数据类型
  220 + "check_data必须为列表形式,src_data必须为r.json()的数据类型"
206 221 log.info(u"======从响应Body中查询传入数据======")
207 222 src_data=json.dumps(src_data)
208 223 src_data=src_data.replace(" ","")
... ...
src/commons/MySession.py
... ... @@ -31,7 +31,7 @@ class mysession():
31 31 self.url=mysession.url.replace("http://test.",com.get_global_config("global_data", "environment", "en") )
32 32 self.header=mysession.header
33 33 self.body=mysession.body
34   - self.timeout = 60
  34 + self.timeout = (5,5)
35 35 self.max_retries = 3
36 36 self.keep_alive = False
37 37 self.ssl_verify=False
... ...
src/commons/__pycache__/ConfigDB.cpython-36.pyc
No preview for this file type
src/commons/__pycache__/MySession.cpython-36.pyc
No preview for this file type
src/main.py
... ... @@ -5,10 +5,12 @@ import sys
5 5 import unittest
6 6 import re
7 7 import HTMLTestRunner_cn
  8 +import commons.ConfigDB as db
8 9 from discover import DiscoveringTestLoader
9 10 from commons import SendEmail as em
10 11 from commons import common as com
11 12  
  13 +
12 14 def Create_Testcase_suite():
13 15 '''创建测试套件'''
14 16 testunit=unittest.TestSuite()
... ... @@ -62,7 +64,9 @@ def Send_email(filename):
62 64  
63 65  
64 66 if __name__ == "__main__":
65   -# #创建测试套,运行测试用例,生成报告
  67 + #检测数据库连接
  68 + db.mysql_conn_test()
  69 + #创建测试套,运行测试用例,生成报告
66 70 report=Run_Testcase(Create_Testcase_suite())
67 71 #发送邮件
68 72 Send_email(report)
... ...
src/report/test.log
1   -[2021-06-23 17:05:51] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action
  1 +[2021-06-23 18:08:48] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action
2 2 None
3 3 {'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']}]}
4 4 {'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'}}
5   -[2021-06-23 17:05:52] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  5 +[2021-06-23 18:08:48] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
6 6 None
7 7 {'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'}
8 8 {'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'}}
9   -[2021-06-23 17:05:53] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  9 +[2021-06-23 18:08:49] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
10 10 None
11 11 {'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '666', 'weightUnit': 1, 'productName': '鲜花生', 'productId': '3496', 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'}
12 12 {'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'}}
13   -[2021-06-23 17:05:54] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  13 +[2021-06-23 18:08:50] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
14 14 None
15 15 {'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'}
16 16 {'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'}}
17   -[2021-06-23 17:05:54] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action
  17 +[2021-06-23 18:08:50] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action
18 18 None
19 19 {'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']}]}
20 20 {'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'}}
21   -[2021-06-23 17:05:54] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  21 +[2021-06-23 18:08:50] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
22 22 None
23 23 {'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'}
24 24 {'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'}}
25   -[2021-06-23 17:05:55] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=6468&verifyStatus=20
  25 +[2021-06-23 18:08:51] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=6480&verifyStatus=20
26 26 {'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'}}
27   -[2021-06-23 17:05:56] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  27 +[2021-06-23 18:08:52] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
28 28 None
29 29 {'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'}
30 30 {'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'}}
31   -[2021-06-23 17:05:57] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=6469&verifyStatus=30
  31 +[2021-06-23 18:08:53] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=6481&verifyStatus=30
32 32 {'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'}}
33   -[2021-06-23 17:05:57] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  33 +[2021-06-23 18:08:53] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
34 34 None
35 35 {'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'}
36 36 {'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'}}
37   -[2021-06-23 17:05:58] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=6470&verifyStatus=10
  37 +[2021-06-23 18:08:54] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=6482&verifyStatus=10
38 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'}}
39   -[2021-06-23 17:05:58] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
  39 +[2021-06-23 18:08:54] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
40 40 None
41 41 {'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'}
42 42 {'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'}}
43   -[2021-06-23 17:05:59] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=5888&verifyStatus=20
  43 +[2021-06-23 18:08:55] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=5888&verifyStatus=20
44 44 {'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'}}
45   -[2021-06-23 17:06:00] [INFO] : http://test.trace.diligrp.com:8393/upStream/listPage.action
  45 +[2021-06-23 18:08:56] [INFO] : http://test.trace.diligrp.com:8393/upStream/listPage.action
46 46 None
47 47 {'rows': 10, 'page': 1, 'sort': 'id', 'order': 'desc', 'metadata': {'created': '{"provider":"datetimeProvider","index":10,"field":"created"}', 'upORdown': '{"provider":"userFlagProvider","index":20,"field":"upORdown"}', 'upstreamType': '{"provider":"upStreamTypeProvider","index":30,"field":"upstreamType"}'}}
48 48 {'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', '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/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/upStream/index.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
49   -[2021-06-23 17:06:00] [INFO] : http://test.trace.diligrp.com:8393/upStream/listPage.action
  49 +[2021-06-23 18:08:56] [INFO] : http://test.trace.diligrp.com:8393/upStream/listPage.action
50 50 None
51 51 {'rows': 10, 'page': 1, 'sort': 'id', 'order': 'desc', 'metadata': {'created': '{"provider":"datetimeProvider","index":10,"field":"created"}', 'upORdown': '{"provider":"userFlagProvider","index":20,"field":"upORdown"}', 'upstreamType': '{"provider":"upStreamTypeProvider","index":30,"field":"upstreamType"}'}, 'likeName': '111'}
52 52 {'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', '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/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/upStream/index.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}}
... ...
src/testcase/doAudit/__pycache__/test_doAudit.cpython-36.pyc
No preview for this file type
src/testcase/fieldConfig/__pycache__/test_fieldConfig.cpython-36.pyc
No preview for this file type