Commit 35b3317e6a1daa63bb3995a9a6a497717c12bd08

Authored by liujiqiang
1 parent fa3e2fbe

mysession更新

Showing 53 changed files with 119 additions and 3078 deletions
commons/MySession.py
@@ -8,67 +8,95 @@ log=Logger() @@ -8,67 +8,95 @@ log=Logger()
8 8
9 class mysession(): 9 class mysession():
10 "封装了requests的基类,以供后期统一使用" 10 "封装了requests的基类,以供后期统一使用"
11 -  
12 - url="http://test.uap.diligrp.com/login/login.action"  
13 - header={  
14 - "Host": "test.uap.diligrp.com",  
15 - "Connection": "keep-alive",  
16 - "Content-Length": "33",  
17 - "Cache-Control": "max-age=0",  
18 - "Upgrade-Insecure-Requests": "1",  
19 - "Origin": "http://test.uap.diligrp.com",  
20 - "Content-Type": "application/x-www-form-urlencoded",  
21 - "User-Agent": "Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36",  
22 - "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",  
23 - "Referer": "http://test.uap.diligrp.com/login/index.html",  
24 - "Accept-Encoding": "gzip,deflate",  
25 - "Accept-Language": "zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7",  
26 - "Cookie": "UAP_accessToken=;UAP_refreshToken=;UAP_loginPath="}  
27 - body="userName=sg_wenze&password=111111"  
28 - 11 +
  12 + url = "http://test.uap.diligrp.com/login/login.action"
  13 + header = {
  14 + "Host": "test.uap.diligrp.com",
  15 + "Connection": "keep-alive",
  16 + "Content-Length": "33",
  17 + "Cache-Control": "max-age=0",
  18 + "Upgrade-Insecure-Requests": "1",
  19 + "Origin": "http://test.uap.diligrp.com",
  20 + "Content-Type": "application/x-www-form-urlencoded",
  21 + "User-Agent": "Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36",
  22 + "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",
  23 + "Referer": "http://test.uap.diligrp.com/login/index.html",
  24 + "Accept-Encoding": "gzip,deflate",
  25 + "Accept-Language": "zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7",
  26 + "Cookie": "UAP_accessToken=;UAP_refreshToken=;UAP_loginPath="}
  27 + body = "userName=sg_wenze&password=111111"
  28 +
29 def __init__(self): 29 def __init__(self):
30 "如下代码,可以通过配置文件来控制测试环境和灰度环境,http和https" 30 "如下代码,可以通过配置文件来控制测试环境和灰度环境,http和https"
31 - self.url=mysession.url.replace("http://test.",com.get_global_config("global_data", "environment", "en") )  
32 - self.header=mysession.header  
33 - self.body=mysession.body  
34 - self.timeout = (5,5) 31 + self.url = mysession.url.replace("http://test.", com.get_global_config("global_data", "environment", "en"))
  32 + self.header = mysession.header
  33 + self.body = mysession.body
  34 + self.timeout = (5, 5)
35 self.max_retries = 3 35 self.max_retries = 3
36 self.keep_alive = False 36 self.keep_alive = False
37 - self.ssl_verify=False  
38 - self.proxies=None  
39 - self.allow_redirects=False  
40 -# self.proxies={'http': 'http://localhost:8888', 'https': 'http://localhost:8888'} 37 + self.ssl_verify = False
  38 + self.proxies = None
  39 + self.allow_redirects = False
41 40
42 - def get_session(self,account,**kwargs): 41 + # self.proxies={'http': 'http://localhost:8888', 'https': 'http://localhost:8888'}
  42 + def cliLogin(self):
  43 + self.webHeaders, self.clientHeaders, self.userInfo = cliSession().loginUser()
  44 +
  45 + def get_session(self, account, **kwargs):
  46 + print("get_session")
43 "如下代码,可以通过配置文件来控制登录的账户session" 47 "如下代码,可以通过配置文件来控制登录的账户session"
44 - self.body=self.body.replace("sg_wenze", com.get_global_config("global_data", "account", account).split("&")[0])  
45 - self.body=self.body.replace("111111", com.get_global_config("global_data", "account", account).split("&")[1])  
46 - #requests.session()会话保持,比如使用session成功的登录了某个网站,  
47 - #则在再次使用该session对象求求该网站的其他网页都会默认使用该session之前使用的cookie等参数  
48 - self.se=requests.session()  
49 - #使用session对象的方法POST/GET等  
50 - re=self.se.post(url=self.url, headers=self.header,data=self.body,proxies=self.proxies,**kwargs)  
51 - #返回session对象,供其他接口使用  
52 - return self.se 48 + self.body = self.body.replace("sg_wenze",
  49 + com.get_global_config("global_data", "account", account).split("&")[0])
  50 + self.body = self.body.replace("111111", com.get_global_config("global_data", "account", account).split("&")[1])
  51 + # requests.session()会话保持,比如使用session成功的登录了某个网站,
  52 + # 则在再次使用该session对象求求该网站的其他网页都会默认使用该session之前使用的cookie等参数
  53 + self.se = requests.session()
  54 + # 使用session对象的方法POST/GET等
  55 + re = self.se.post(url=self.url, headers=self.header, data=self.body, proxies=self.proxies, **kwargs)
  56 + # 返回session对象,供其他接口使用
  57 + print(self.se.cookies)
  58 + return self.se
53 59
54 def close_session(self): 60 def close_session(self):
55 "关闭session" 61 "关闭session"
56 self.se.close() 62 self.se.close()
57 63
58 -  
59 - def check_login(self,account,**kwargs): 64 + def check_login(self, account, **kwargs):
60 "验证登录接口" 65 "验证登录接口"
61 - self.body=self.body.replace("sg_wenze", com.get_global_config("global_data", "account", account).split("&")[0])  
62 - self.body=self.body.replace("111111", com.get_global_config("global_data", "account", account).split("&")[1])  
63 - #POST请求,  
64 - re=self.se.post(url=self.url, headers=self.header,data=self.body,proxies=self.proxies,allow_redirects=False,**kwargs)  
65 - #判断请求 66 + self.body = self.body.replace("sg_wenze",
  67 + com.get_global_config("global_data", "account", account).split("&")[0])
  68 + self.body = self.body.replace("111111", com.get_global_config("global_data", "account", account).split("&")[1])
  69 + # POST请求,
  70 + re = self.se.post(url=self.url, headers=self.header, data=self.body, proxies=self.proxies,
  71 + allow_redirects=False, **kwargs)
  72 + # 判断请求
66 assert "UAP_accessToken" in re.headers["Set-Cookie"] 73 assert "UAP_accessToken" in re.headers["Set-Cookie"]
67 assert "UAP_refreshToken" in re.headers["Set-Cookie"] 74 assert "UAP_refreshToken" in re.headers["Set-Cookie"]
68 assert "UAP_loginPath" in re.headers["Set-Cookie"] 75 assert "UAP_loginPath" in re.headers["Set-Cookie"]
69 print("登录接口验证成功") 76 print("登录接口验证成功")
70 return re 77 return re
71 78
  79 + def useHeadersRequests(self, method=None, url=None, headers=None, data=None, **kwargs):
  80 + """
  81 + 模拟客户端接口操作,使用headers进行cookies传递,调用requests库进行接口访问
  82 + :param method:接口请求方式,POST,GET等
  83 + :param url:接口路径
  84 + :param data:接口数据
  85 + :kwargs:其他requests.request()支持参数可以直接传递
  86 + """
  87 + print(url)
  88 + # print(headers)
  89 + print(data)
  90 + log.info("{0:=^86}".format(''))
  91 + log.info("{}\n{}\n{}\n".format(url, data, kwargs))
  92 + if "gateway" in url:
  93 + # 判断接口路径,通过接口路径钟是否包含gateway来判定接口是否是由客户端进行访问,来判定headers使用
  94 + self.clientHeaders = dict(self.clientHeaders, **headers)
  95 + res = requests.request(method=method, url=url, data=data, headers=self.clientHeaders, **kwargs)
  96 + else:
  97 + self.webHeaders = dict(self.webHeaders, **headers)
  98 + res = requests.request(method=method, url=url, data=data, headers=self.webHeaders, **kwargs)
  99 + return res
72 100
73 def get(self, url, **kwargs): 101 def get(self, url, **kwargs):
74 """Sends a GET request. Returns :class:`Response` object. 102 """Sends a GET request. Returns :class:`Response` object.
@@ -77,13 +105,13 @@ class mysession(): @@ -77,13 +105,13 @@ class mysession():
77 :param \*\*kwargs: Optional arguments that ``request`` takes. 105 :param \*\*kwargs: Optional arguments that ``request`` takes.
78 :rtype: requests.Response 106 :rtype: requests.Response
79 """ 107 """
80 - #记录日志 108 + # 记录日志
81 log.info("{0:=^86}".format('')) 109 log.info("{0:=^86}".format(''))
82 - log.info("{}\n{}\n".format(url,kwargs))  
83 - #进行请求  
84 - re=self.se.get(url,**kwargs,proxies=self.proxies,timeout=self.timeout) 110 + log.info("{}\n{}\n".format(url, kwargs))
  111 + # 进行请求
  112 + re = self.se.get(url, **kwargs, proxies=self.proxies, timeout=self.timeout)
85 return re 113 return re
86 - 114 +
87 def post(self, url, data=None, json=None, **kwargs): 115 def post(self, url, data=None, json=None, **kwargs):
88 """Sends a POST request. Returns :class:`Response` object. 116 """Sends a POST request. Returns :class:`Response` object.
89 :param url: URL for the new :class:`Request` object. 117 :param url: URL for the new :class:`Request` object.
@@ -93,11 +121,11 @@ class mysession(): @@ -93,11 +121,11 @@ class mysession():
93 :param \*\*kwargs: Optional arguments that ``request`` takes. 121 :param \*\*kwargs: Optional arguments that ``request`` takes.
94 :rtype: requests.Response 122 :rtype: requests.Response
95 """ 123 """
96 - #记录日志 124 + # 记录日志
97 log.info("{0:=^86}".format('')) 125 log.info("{0:=^86}".format(''))
98 - log.info("{}\n{}\n{}\n{}".format(url,data,json,kwargs))  
99 - #进行请求  
100 - re=self.se.post(url, data=data, json=json,proxies=self.proxies, **kwargs,timeout=self.timeout) 126 + log.info("{}\n{}\n{}\n{}".format(url, data, json, kwargs))
  127 + # 进行请求
  128 + re = self.se.post(url, data=data, json=json, proxies=self.proxies, **kwargs, timeout=self.timeout)
101 return re 129 return re
102 130
103 def options(self, url, **kwargs): 131 def options(self, url, **kwargs):
@@ -106,10 +134,10 @@ class mysession(): @@ -106,10 +134,10 @@ class mysession():
106 :param \*\*kwargs: Optional arguments that ``request`` takes. 134 :param \*\*kwargs: Optional arguments that ``request`` takes.
107 :rtype: requests.Response 135 :rtype: requests.Response
108 """ 136 """
109 - #记录日志  
110 - log.info(url,kwargs)  
111 - #进行请求  
112 - re=self.se.options(url,**kwargs) 137 + # 记录日志
  138 + log.info(url, kwargs)
  139 + # 进行请求
  140 + re = self.se.options(url, **kwargs)
113 return re 141 return re
114 142
115 def head(self, url, **kwargs): 143 def head(self, url, **kwargs):
@@ -119,12 +147,12 @@ class mysession(): @@ -119,12 +147,12 @@ class mysession():
119 :param \*\*kwargs: Optional arguments that ``request`` takes. 147 :param \*\*kwargs: Optional arguments that ``request`` takes.
120 :rtype: requests.Response 148 :rtype: requests.Response
121 """ 149 """
122 - #记录日志  
123 - log.info(url,kwargs)  
124 - #进行请求  
125 - re=self.se.head(url,**kwargs) 150 + # 记录日志
  151 + log.info(url, kwargs)
  152 + # 进行请求
  153 + re = self.se.head(url, **kwargs)
126 return re 154 return re
127 - 155 +
128 def put(self, url, data=None, **kwargs): 156 def put(self, url, data=None, **kwargs):
129 """Sends a PUT request. Returns :class:`Response` object. 157 """Sends a PUT request. Returns :class:`Response` object.
130 :param url: URL for the new :class:`Request` object. 158 :param url: URL for the new :class:`Request` object.
@@ -133,54 +161,54 @@ class mysession(): @@ -133,54 +161,54 @@ class mysession():
133 :param \*\*kwargs: Optional arguments that ``request`` takes. 161 :param \*\*kwargs: Optional arguments that ``request`` takes.
134 :rtype: requests.Response 162 :rtype: requests.Response
135 """ 163 """
136 - #记录日志  
137 - log.info(url,data,kwargs)  
138 - #进行请求  
139 - re=self.se.put(url, data,**kwargs) 164 + # 记录日志
  165 + log.info(url, data, kwargs)
  166 + # 进行请求
  167 + re = self.se.put(url, data, **kwargs)
140 return re 168 return re
141 - 169 +
142 def delete(self, url, **kwargs): 170 def delete(self, url, **kwargs):
143 """Sends a DELETE request. Returns :class:`Response` object. 171 """Sends a DELETE request. Returns :class:`Response` object.
144 :param url: URL for the new :class:`Request` object. 172 :param url: URL for the new :class:`Request` object.
145 :param \*\*kwargs: Optional arguments that ``request`` takes. 173 :param \*\*kwargs: Optional arguments that ``request`` takes.
146 :rtype: requests.Response 174 :rtype: requests.Response
147 """ 175 """
148 - #记录日志  
149 - log.info(url,kwargs)  
150 - #进行请求  
151 - re=self.se.delete(url,**kwargs) 176 + # 记录日志
  177 + log.info(url, kwargs)
  178 + # 进行请求
  179 + re = self.se.delete(url, **kwargs)
152 return re 180 return re
153 - 181 +
154 def set_mark(self): 182 def set_mark(self):
155 "用户自定义优先级方法" 183 "用户自定义优先级方法"
156 - mark_list=eval(com.get_global_config("global_data","mark","list"))  
157 - print("预设运行标记:",mark_list) 184 + mark_list = eval(com.get_global_config("global_data", "mark", "list"))
  185 + print("预设运行标记:", mark_list)
158 global _global_mark 186 global _global_mark
159 - if type(mark_list)==type([]) and len(mark_list)!=0 :  
160 - _global_mark=mark_list 187 + if type(mark_list) == type([]) and len(mark_list) != 0:
  188 + _global_mark = mark_list
161 return _global_mark 189 return _global_mark
162 - elif type(mark_list)==type([]) and len(mark_list)==0:  
163 - _global_mark=False 190 + elif type(mark_list) == type([]) and len(mark_list) == 0:
  191 + _global_mark = False
164 return _global_mark 192 return _global_mark
165 else: 193 else:
166 raise Exception("error,pls check mark data") 194 raise Exception("error,pls check mark data")
167 195
168 - def mark(self,m=None): 196 + def mark(self, m=None):
169 try: 197 try:
170 - #没有输入任何预设值,默认跑全部  
171 - if _global_mark == False : 198 + # 没有输入任何预设值,默认跑全部
  199 + if _global_mark == False:
172 return True 200 return True
173 - #输入预设值且未标记用例,默认跑全部 201 + # 输入预设值且未标记用例,默认跑全部
174 elif _global_mark != False and (m in _global_mark): 202 elif _global_mark != False and (m in _global_mark):
175 - return True 203 + return True
176 else: 204 else:
177 return False 205 return False
178 except Exception as e: 206 except Exception as e:
179 return False 207 return False
180 208
181 209
182 -  
183 -my=mysession() 210 +my = mysession()
184 my.set_mark() 211 my.set_mark()
185 -s1=my.get_session("user01") 212 +s1 = my.get_session("user01")
186 # s2=my.get_session("user02") 213 # s2=my.get_session("user02")
  214 +my.cliLogin()
report/test.log
1 -[2021-07-19 17:33:21] [INFO] : ======================================================================================  
2 -[2021-07-19 17:33:21] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action 1 +[2021-07-19 17:40:17] [INFO] : ======================================================================================
  2 +[2021-07-19 17:40:17] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action
3 None 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']}]} 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'}} 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-19 17:33:22] [INFO] : ======================================================================================  
7 -[2021-07-19 17:33:22] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action 6 +[2021-07-19 17:40:18] [INFO] : ======================================================================================
  7 +[2021-07-19 17:40:18] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action
8 None 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'} 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'}} 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-19 17:33:22] [INFO] : ======================================================================================  
12 -[2021-07-19 17:33:22] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action  
13 -None  
14 -{'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']}]}  
15 -{'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'}}  
16 -[2021-07-19 17:33:23] [INFO] : ======================================================================================  
17 -[2021-07-19 17:33:23] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action  
18 -None  
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 -{'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-07-19 17:33:24] [INFO] : 发送邮件  
22 -[2021-07-19 17:33:26] [INFO] : 邮件发送完毕  
src/commons/.gitignore deleted 100644 → 0
1 -/Logging.pyc  
2 -/SendEmail.pyc  
3 -/__init__.pyc  
4 -/common.pyc  
src/commons/ConfigDB.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import pymysql  
4 -import time  
5 -import commons.common as ca  
6 -import json  
7 -from commons.Logging import Logger  
8 -# import chardet  
9 -log=Logger()  
10 -  
11 -  
12 -dbhost=ca.get_global_config('global_data','Database','dbhost')  
13 -dbport=int(ca.get_global_config('global_data','Database','dbport'))  
14 -dbname=ca.get_global_config('global_data','Database','dbname')  
15 -dbuser=ca.get_global_config('global_data','Database','dbuser')  
16 -dbpassword=ca.get_global_config('global_data','Database','dbpassword')  
17 -#dbcharset=get_global_config('Database','dbcharset')  
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 = pymysql.connect(host=dbhost,  
29 - port=dbport,  
30 - user=dbuser,  
31 - passwd=dbpassword,  
32 - database=dbname,  
33 - charset='utf8',  
34 - connect_timeout=_conn_timeout)  
35 - _conn_status = False # 如果conn成功则_status为设置为False则退出循环,返回db连接对象  
36 - print("连接结果 ",db)  
37 - return db  
38 - except:  
39 - _conn_retries_count += 1  
40 - print(_conn_retries_count)  
41 - print('connect db is error!!')  
42 - time.sleep(3) # 此为测试看效果  
43 - continue  
44 - raise Exception("pls check your mysql config!")  
45 -  
46 -  
47 -def mysql_selectOne(select_action):  
48 - action=select_action  
49 - db = pymysql.connect(host=dbhost,  
50 - port=dbport,  
51 - user=dbuser,  
52 - passwd=dbpassword,  
53 - database=dbname,  
54 - charset='utf8',  
55 - connect_timeout=3)  
56 - cursor = db.cursor()  
57 - try:  
58 - # 使用execute方法执行SQL语句  
59 - cursor.execute(action)  
60 - data = cursor.fetchone()  
61 - return data  
62 - except Exception as e:  
63 - print("数据库操作异常:%s" % str(e))  
64 - log.error("数据库操作异常:%s" % str(e))  
65 - assert False  
66 - finally:  
67 - # 关闭数据库连接  
68 - db.close()  
69 -  
70 -def mysql_selectAll(select_action):  
71 - action=select_action  
72 - db = pymysql.connect(host=dbhost,  
73 - port=dbport,  
74 - user=dbuser,  
75 - passwd=dbpassword,  
76 - database=dbname,  
77 - charset='utf8',  
78 - connect_timeout=3)  
79 - cursor = db.cursor()  
80 - try:  
81 - # 使用execute方法执行SQL语句  
82 - cursor.execute(action)  
83 - # 使用 fetchall() 方法获取所有数据  
84 - data = cursor.fetchall()  
85 -# print data  
86 - return data  
87 - except Exception as e:  
88 - print("数据库操作异常:%s" % str(e))  
89 - log.error("数据库操作异常:%s" % str(e))  
90 - assert False  
91 - finally:  
92 - # 关闭数据库连接  
93 - db.close()  
94 -  
95 -def mysql_delete(delete_action):  
96 - action=delete_action  
97 - db = pymysql.connect(host=dbhost,  
98 - port=dbport,  
99 - user=dbuser,  
100 - passwd=dbpassword,  
101 - database=dbname,  
102 - charset='utf8',  
103 - connect_timeout=3)  
104 - cursor = db.cursor()  
105 - try:  
106 - # 使用execute方法执行SQL语句  
107 - cursor.execute(action)  
108 - # 提交  
109 - db.commit()  
110 - except Exception as e:  
111 - print("数据库操作异常:%s" % str(e))  
112 - log.error("数据库操作异常:%s" % str(e))  
113 - # 错误回滚  
114 - db.rollback()  
115 - finally:  
116 - # 关闭数据库连接  
117 - db.close()  
118 -  
119 -def mysql_update(update_action):  
120 - action=update_action  
121 - db = pymysql.connect(host=dbhost,  
122 - port=dbport,  
123 - user=dbuser,  
124 - passwd=dbpassword,  
125 - database=dbname,  
126 - charset='utf8',  
127 - connect_timeout=3)  
128 - cursor = db.cursor()  
129 - try:  
130 - # 使用execute方法执行SQL语句  
131 - cursor.execute(action)  
132 - # 提交  
133 - db.commit()  
134 - except Exception as e:  
135 - print("数据库操作异常:%s" % str(e))  
136 - log.error("数据库操作异常:%s" % str(e))  
137 - # 错误回滚  
138 - db.rollback()  
139 - finally:  
140 - # 关闭数据库连接  
141 - db.close()  
142 -  
143 -def mysql_insert(insert_action):  
144 - action=insert_action  
145 - db = pymysql.connect(host=dbhost,  
146 - port=dbport,  
147 - user=dbuser,  
148 - passwd=dbpassword,  
149 - database=dbname,  
150 - charset='utf8',  
151 - connect_timeout=3)  
152 - cursor = db.cursor()  
153 - try:  
154 - # 使用execute方法执行SQL语句  
155 - cursor.execute(action)  
156 - # 提交  
157 - db.commit()  
158 - except Exception as e:  
159 - print("数据库操作异常:%s" % str(e))  
160 - log.error("数据库操作异常:%s" % str(e))  
161 - # 错误回滚  
162 - db.rollback()  
163 - finally:  
164 - # 关闭数据库连接  
165 - db.close()  
166 -  
167 -def mysql_check_insert(api,section,check_sql,delete_sql,insert_sql):  
168 - log.info(u"======测试数据准备======")  
169 - check=ca.get_api_config(api, section, check_sql)  
170 - delete=ca.get_api_config(api, section, delete_sql)  
171 - insert=ca.get_api_config(api, section, insert_sql)  
172 -  
173 - try:  
174 - db = pymysql.connect(dbhost, dbuser, dbpassword, dbname, charset='utf8' )  
175 - cursor = db.cursor()  
176 - # 使用execute方法执行SQL语句  
177 - cursor.execute(check)  
178 - result=cursor.fetchall()  
179 - # 提交  
180 - db.commit()  
181 - if result:  
182 - log.info(u"检查到数据库有重复数据%r"%str(result))  
183 - log.info(u"删除查询到的重复数据%r"%str(delete))  
184 - cursor.execute(delete)  
185 - log.info(u"删除数据完成")  
186 - log.info(u"向数据库中插入测试数据%r"%str(insert))  
187 - cursor.execute(insert)  
188 - log.info(u"插入数据完成")  
189 - result=cursor.fetchall()  
190 - db.commit()  
191 - return result  
192 - else:  
193 - log.info(u"数据库没有重复数据直接插入自定义数据%r"%str(insert))  
194 - result=cursor.execute(insert)  
195 - log.info(u"插入数据完成,返回结果为为%r"%str(result))  
196 -# cursor.fetchall()  
197 - db.commit()  
198 - return result  
199 -  
200 - except Exception as e:  
201 - print(u"数据库操作异常:%r" % str(e))  
202 - log.error(u"数据库操作异常:%r" % str(e))  
203 - # 错误回滚  
204 - db.rollback()  
205 - assert False  
206 - finally:  
207 - # 关闭数据库连接  
208 - db.close()  
209 -  
210 -def Check_in_Mysql(in_data,sql_spm):  
211 - log.info(u"======从数据库中查询传入数据======")  
212 - result=mysql_selectAll(sql_spm)  
213 - log.info(u"传入in_data为: %s"%in_data)  
214 - log.info(u"数据库查询到的结果为 %s"%result)  
215 -  
216 - result=str(result)  
217 - if len(str(in_data)) == 0 and len(result)!=0:  
218 - log.error(u"传入数据为空!!\n")  
219 - assert False  
220 - return  
221 - elif len(str(in_data)) == 0 and len(result)==0:  
222 - log.error(u"传入数据与数据库查询结果都为空!!\n")  
223 - assert False  
224 - return  
225 - elif len(str(in_data)) != 0 and len(result)==0:  
226 - log.error(u"数据库查询结果为空\n")  
227 - assert False  
228 - return  
229 - elif isinstance(in_data,(list)):  
230 - log.info(u'检查的数据格式 为list类型')  
231 - for i in range(0,len(in_data)):  
232 - in_data[i]=str(in_data[i]).decode("utf-8").encode("unicode-escape")  
233 -  
234 - if in_data[i] in result:  
235 - assert True  
236 - log.info(u"遍历list第%d次,插入数据%r与数据库查询结果一致"%(i,in_data[i]))  
237 - else:  
238 - log.error(u"#########ERROR#########:\n in_data与数据库查询结果不一致%r"%in_data[i])  
239 - assert False  
240 - return True  
241 -  
242 - elif str(in_data).decode("utf-8").encode("unicode-escape") in result:  
243 - assert True  
244 - log.info(u"in_data与数据库查询结果一致!!%r"%in_data)  
245 - return True  
246 - else:  
247 - log.info(u"#########ERROR#########:\n in_data与数据库查询结果不一致!!%r"%in_data)  
248 - assert False  
249 -  
250 -def Check_in_Response(check_data,src_data):  
251 - "check_data必须为列表形式,src_data必须为r.json()的数据类型"  
252 - log.info(u"======从响应Body中查询传入数据======")  
253 - src_data=json.dumps(src_data)  
254 - src_data=src_data.replace(" ","")  
255 - log.info(u"传入check_data为: %s"%check_data)  
256 - log.info(u"对比的响应数据为 %s"%src_data)  
257 - if len(check_data) == 0 or len(src_data)==0:  
258 - log.error(u"传入数据为空!!\n")  
259 - assert False  
260 - return  
261 - elif isinstance (check_data,str) :  
262 - check_data=check_data.replace(" ","").replace("[","").replace("]","").decode("utf-8").split(",")  
263 - for i in range(0,len(check_data)):  
264 - #由于数据库查询的数据中,中文的格式为unicode-escape,所以传入的数据需要进行encode  
265 - check_data[i]=check_data[i].decode("utf-8").encode("unicode-escape")  
266 -# print type(check_data),check_data[i]  
267 - if check_data[i] in src_data:  
268 - assert True  
269 - log.info(u"遍历list第%d次,字段%s在请求响应结果中"%((i+1),check_data[i].decode("unicode-escape")))  
270 - else:  
271 - log.error(u"#########ERROR#########:\n check_data不在请求响应结果中%s"%check_data[i].decode("unicode-escape"))  
272 - assert False  
273 - return True  
274 - elif isinstance (check_data,list) and len(check_data) > 0:  
275 - for i in range(0,len(check_data)):  
276 - check_data[i]=check_data[i].decode("utf-8").encode("unicode-escape")  
277 - print(type(check_data),check_data[i],str(check_data[i]))  
278 - print(type(src_data),src_data)  
279 - if check_data[i] in src_data:  
280 - assert True  
281 - log.info(u"遍历list第%d次,插入数据%r与数据库查询结果一致"%(i,check_data[i]))  
282 - else:  
283 - log.error(u"#########ERROR#########:\n check_data数据库查询结果不一致%r"%check_data[i])  
284 - assert False  
285 - return True  
286 - else:  
287 - log.info(u"#########ERROR#########:\n 检查数据有问题,请检查!!!!!%r")  
288 - assert False  
src/commons/Faker.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import random  
4 -from faker import Factory  
5 -  
6 -class random_data():  
7 -  
8 - def __init__(self, type='zh_CN'):  
9 - self.type = type  
10 - self.fake = Factory().create(self.type)  
11 -  
12 - def date(self):  
13 - "随机时间"  
14 - return self.fake.date(pattern="%Y-%m-%d")  
15 -  
16 - def name(self):  
17 - "随机姓名"  
18 - return self.fake.name()  
19 -  
20 - def identity_card(self):  
21 - "随机姓名"  
22 - return self.fake.ssn(min_age=18, max_age=90)  
23 -  
24 - def plate(self):  
25 - "随机车牌号"  
26 - return self.fake.license_plate()  
27 -  
28 - def plate_cn(self,plate_len=6):  
29 - char0='京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽赣粤青藏川宁琼'  
30 - char1='ABCDEFGHJKLMNPQRSTUVWXYZ'#车牌号中没有I和O,可自行百度  
31 - char2='1234567890'  
32 - len0=len(char0)-1  
33 - len1 = len(char1) - 1  
34 - len2 = len(char2) - 1  
35 - ########  
36 - code = ''  
37 - index0 = random.randint(0,len0 )  
38 - index1 = random.randint(0,len1)  
39 - code += char0[index0]  
40 - code += char1[index1]  
41 - for i in range(0, plate_len-1):  
42 - index2 = random.randint(1, len2)  
43 - code += char2[index2]  
44 - return(code)  
45 -  
46 - def country(self):  
47 - "随机国家代码"  
48 - return self.fake.country()  
49 -  
50 - def province(self):  
51 - "随机省份"  
52 - return self.fake.province()  
53 -  
54 - def city(self):  
55 - "随机城市"  
56 - return self.fake.city_suffix()  
57 -  
58 - def district(self):  
59 - "随机街道"  
60 - return self.fake.district()  
61 -  
62 - def address(self):  
63 - "随机地址全称"  
64 - return self.fake.address()  
65 -  
66 - def phone_number(self):  
67 - "随机手机号"  
68 - return self.fake.phone_number()  
69 -  
70 - def email(self):  
71 - "随机邮件"  
72 - return self.fake.email()  
73 -  
74 - def longitude(self):  
75 - "随机经度"  
76 - return self.fake.longitude()  
77 -  
78 - def latitude (self):  
79 - "随机维度"  
80 - return self.fake.latitude ()  
81 -  
82 - def credit_card_number (self):  
83 - "随机卡号"  
84 - return self.fake.credit_card_number ()  
85 -  
86 -  
87 -  
88 -a=random_data()  
89 -print(a.date())  
90 -print(a.name())  
91 -print(a.identity_card())  
92 -print(a.plate())  
93 -print(a.plate_cn(6))  
94 -print(a.country())  
95 -print(a.province())  
96 -print(a.city())  
97 -print(a.district())  
98 -print(a.address())  
99 -print(a.phone_number())  
100 -print(a.email())  
101 -print(a.longitude())  
102 -print(a.latitude())  
103 -print(a.credit_card_number())  
104 -  
src/commons/Logging.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import logging,os  
4 -  
5 -class Logger():  
6 -  
7 - def __init__(self, path=__name__,clevel = logging.ERROR,Flevel = logging.DEBUG,test = 'w'):  
8 - current_path=os.path.dirname(os.path.dirname(__file__))  
9 - path=current_path+"/report"+"/test.log"  
10 -  
11 - self.logger = logging.getLogger(path)  
12 -  
13 - self.logger.setLevel(logging.DEBUG)  
14 -  
15 - fmt = logging.Formatter('[%(asctime)s] [%(levelname)s] : %(message)s', '%Y-%m-%d %H:%M:%S')  
16 -  
17 - sh = logging.StreamHandler()  
18 -  
19 - sh.setFormatter(fmt)  
20 -  
21 - sh.setLevel(clevel)  
22 -  
23 - #设置文件日志  
24 -  
25 - fh = logging.FileHandler(path,mode=test,encoding="utf-8")  
26 -  
27 - fh.setFormatter(fmt)  
28 -  
29 - fh.setLevel(Flevel)  
30 -  
31 - self.logger.addHandler(sh)  
32 -  
33 - self.logger.addHandler(fh)  
34 -  
35 -  
36 - def debug(self,message):  
37 -  
38 - self.logger.debug(message)  
39 -  
40 - def info(self,message):  
41 -  
42 - self.logger.info(message)  
43 -  
44 -  
45 - def warn(self,message):  
46 -  
47 - self.logger.warn(message)  
48 -  
49 -  
50 - def error(self,message):  
51 -  
52 - self.logger.error(message)  
53 -  
54 -  
55 - def critical(self,message):  
56 -  
57 - self.logger.critical(message)  
src/commons/MySession.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import requests  
4 -import json  
5 -from commons import common as com  
6 -from commons.Logging import Logger  
7 -log=Logger()  
8 -  
9 -class mysession():  
10 - "封装了requests的基类,以供后期统一使用"  
11 -  
12 - url="http://test.uap.diligrp.com/login/login.action"  
13 - header={  
14 - "Host": "test.uap.diligrp.com",  
15 - "Connection": "keep-alive",  
16 - "Content-Length": "33",  
17 - "Cache-Control": "max-age=0",  
18 - "Upgrade-Insecure-Requests": "1",  
19 - "Origin": "http://test.uap.diligrp.com",  
20 - "Content-Type": "application/x-www-form-urlencoded",  
21 - "User-Agent": "Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36",  
22 - "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",  
23 - "Referer": "http://test.uap.diligrp.com/login/index.html",  
24 - "Accept-Encoding": "gzip,deflate",  
25 - "Accept-Language": "zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7",  
26 - "Cookie": "UAP_accessToken=;UAP_refreshToken=;UAP_loginPath="}  
27 - body="userName=sg_wenze&password=111111"  
28 -  
29 - def __init__(self):  
30 - "如下代码,可以通过配置文件来控制测试环境和灰度环境,http和https"  
31 - self.url=mysession.url.replace("http://test.",com.get_global_config("global_data", "environment", "en") )  
32 - self.header=mysession.header  
33 - self.body=mysession.body  
34 - self.timeout = (5,5)  
35 - self.max_retries = 3  
36 - self.keep_alive = False  
37 - self.ssl_verify=False  
38 - self.proxies=None  
39 - self.allow_redirects=False  
40 -# self.proxies={'http': 'http://localhost:8888', 'https': 'http://localhost:8888'}  
41 -  
42 - def get_session(self,account,**kwargs):  
43 - "如下代码,可以通过配置文件来控制登录的账户session"  
44 - self.body=self.body.replace("sg_wenze", com.get_global_config("global_data", "account", account).split("&")[0])  
45 - self.body=self.body.replace("111111", com.get_global_config("global_data", "account", account).split("&")[1])  
46 - #requests.session()会话保持,比如使用session成功的登录了某个网站,  
47 - #则在再次使用该session对象求求该网站的其他网页都会默认使用该session之前使用的cookie等参数  
48 - self.se=requests.session()  
49 - #使用session对象的方法POST/GET等  
50 - re=self.se.post(url=self.url, headers=self.header,data=self.body,proxies=self.proxies,**kwargs)  
51 - #返回session对象,供其他接口使用  
52 - return self.se  
53 -  
54 - def close_session(self):  
55 - "关闭session"  
56 - self.se.close()  
57 -  
58 -  
59 - def check_login(self,account,**kwargs):  
60 - "验证登录接口"  
61 - self.body=self.body.replace("sg_wenze", com.get_global_config("global_data", "account", account).split("&")[0])  
62 - self.body=self.body.replace("111111", com.get_global_config("global_data", "account", account).split("&")[1])  
63 - #POST请求,  
64 - re=self.se.post(url=self.url, headers=self.header,data=self.body,proxies=self.proxies,allow_redirects=False,**kwargs)  
65 - #判断请求  
66 - assert "UAP_accessToken" in re.headers["Set-Cookie"]  
67 - assert "UAP_refreshToken" in re.headers["Set-Cookie"]  
68 - assert "UAP_loginPath" in re.headers["Set-Cookie"]  
69 - print("登录接口验证成功")  
70 - return re  
71 -  
72 -  
73 - def get(self, url, **kwargs):  
74 - """Sends a GET request. Returns :class:`Response` object.  
75 -  
76 - :param url: URL for the new :class:`Request` object.  
77 - :param \*\*kwargs: Optional arguments that ``request`` takes.  
78 - :rtype: requests.Response  
79 - """  
80 - #记录日志  
81 - log.info("{0:=^86}".format(''))  
82 - log.info("{}\n{}\n".format(url,kwargs))  
83 - #进行请求  
84 - re=self.se.get(url,**kwargs,proxies=self.proxies,timeout=self.timeout)  
85 - return re  
86 -  
87 - def post(self, url, data=None, json=None, **kwargs):  
88 - """Sends a POST request. Returns :class:`Response` object.  
89 - :param url: URL for the new :class:`Request` object.  
90 - :param data: (optional) Dictionary, list of tuples, bytes, or file-like  
91 - object to send in the body of the :class:`Request`.  
92 - :param json: (optional) json to send in the body of the :class:`Request`.  
93 - :param \*\*kwargs: Optional arguments that ``request`` takes.  
94 - :rtype: requests.Response  
95 - """  
96 - #记录日志  
97 - log.info("{0:=^86}".format(''))  
98 - log.info("{}\n{}\n{}\n{}".format(url,data,json,kwargs))  
99 - #进行请求  
100 - re=self.se.post(url, data=data, json=json,proxies=self.proxies, **kwargs,timeout=self.timeout)  
101 - return re  
102 -  
103 - def options(self, url, **kwargs):  
104 - """Sends a OPTIONS request. Returns :class:`Response` object.  
105 - :param url: URL for the new :class:`Request` object.  
106 - :param \*\*kwargs: Optional arguments that ``request`` takes.  
107 - :rtype: requests.Response  
108 - """  
109 - #记录日志  
110 - log.info(url,kwargs)  
111 - #进行请求  
112 - re=self.se.options(url,**kwargs)  
113 - return re  
114 -  
115 - def head(self, url, **kwargs):  
116 - """Sends a HEAD request. Returns :class:`Response` object.  
117 -  
118 - :param url: URL for the new :class:`Request` object.  
119 - :param \*\*kwargs: Optional arguments that ``request`` takes.  
120 - :rtype: requests.Response  
121 - """  
122 - #记录日志  
123 - log.info(url,kwargs)  
124 - #进行请求  
125 - re=self.se.head(url,**kwargs)  
126 - return re  
127 -  
128 - def put(self, url, data=None, **kwargs):  
129 - """Sends a PUT request. Returns :class:`Response` object.  
130 - :param url: URL for the new :class:`Request` object.  
131 - :param data: (optional) Dictionary, list of tuples, bytes, or file-like  
132 - object to send in the body of the :class:`Request`.  
133 - :param \*\*kwargs: Optional arguments that ``request`` takes.  
134 - :rtype: requests.Response  
135 - """  
136 - #记录日志  
137 - log.info(url,data,kwargs)  
138 - #进行请求  
139 - re=self.se.put(url, data,**kwargs)  
140 - return re  
141 -  
142 - def delete(self, url, **kwargs):  
143 - """Sends a DELETE request. Returns :class:`Response` object.  
144 - :param url: URL for the new :class:`Request` object.  
145 - :param \*\*kwargs: Optional arguments that ``request`` takes.  
146 - :rtype: requests.Response  
147 - """  
148 - #记录日志  
149 - log.info(url,kwargs)  
150 - #进行请求  
151 - re=self.se.delete(url,**kwargs)  
152 - return re  
153 -  
154 - def set_mark(self):  
155 - "用户自定义优先级方法"  
156 - mark_list=eval(com.get_global_config("global_data","mark","list"))  
157 - print("预设运行标记:",mark_list)  
158 - global _global_mark  
159 - if type(mark_list)==type([]) and len(mark_list)!=0 :  
160 - _global_mark=mark_list  
161 - return _global_mark  
162 - elif type(mark_list)==type([]) and len(mark_list)==0:  
163 - _global_mark=False  
164 - return _global_mark  
165 - else:  
166 - raise Exception("error,pls check mark data")  
167 -  
168 - def mark(self,m=None):  
169 - try:  
170 - #没有输入任何预设值,默认跑全部  
171 - if _global_mark == False :  
172 - return True  
173 - #输入预设值且未标记用例,默认跑全部  
174 - elif _global_mark != False and (m in _global_mark):  
175 - return True  
176 - else:  
177 - return False  
178 - except Exception as e:  
179 - return False  
180 -  
181 -  
182 -  
183 -my=mysession()  
184 -my.set_mark()  
185 -s1=my.get_session("user01")  
186 -# s2=my.get_session("user02")  
src/commons/SendEmail.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import os  
4 -import smtplib  
5 -from email.mime.multipart import MIMEMultipart  
6 -from email.header import Header  
7 -from email.mime.text import MIMEText  
8 -from email.mime.image import MIMEImage  
9 -from email.mime.application import MIMEApplication  
10 -from commons.Logging import Logger  
11 -log=Logger()  
12 -  
13 -def send_email_text():  
14 - # 1. 编写邮件内容(Email邮件需要专门的MIME格式)  
15 - msg = MIMEText('this is a test email', 'plain', 'utf-8')  
16 -  
17 - # 2. 组装Email头(发件人,收件人,主题)  
18 - msg['From'] = 'autotest@diligrp.com' # 发件人  
19 - msg['To'] = 'lixi@diligrp.com' # 收件人  
20 - msg['Subject'] = 'Api Test Report' # 邮件主题  
21 -  
22 - # 3. 连接smtp服务器并发送邮件  
23 - smtp = smtplib.SMTP_SSL('smtp.exmail.qq.com')  
24 - smtp.login('autotest@diligrp.com', 'MvkuGGCfMtAdbJvE')  
25 - smtp.sendmail("autotest@diligrp.com", "lixi@diligrp.com", msg.as_string())  
26 - smtp.quit()  
27 -  
28 -  
29 -def send_email(send_file,send_to=["lixi@diligrp.com"]):  
30 -  
31 - log_path=os.path.dirname(os.path.dirname(__file__))  
32 - log_path=log_path+"/report/test.log"  
33 - send_msg=(",".join(str(i) for i in send_to))  
34 - msg = MIMEMultipart() # 混合MIME格式  
35 - msg['From'] = 'autotest@diligrp.com' # 发件人  
36 - msg['To'] = send_msg # 收件人  
37 - msg['Subject'] = Header('接口测试报告', 'utf-8') # 中文邮件主题,指定utf-8编码  
38 -  
39 - text = MIMEText('this is a test email', 'plain', 'utf-8')  
40 - msg.attach(MIMEText(open(send_file,'rb' ).read(), 'html', 'utf-8'))  
41 -  
42 - att1 = MIMEText(open(send_file, 'rb').read(), 'base64', 'utf-8')  
43 - att1["Content-Disposition"] = 'attachment; filename="report.html"'  
44 -  
45 - att2 = MIMEText(open(log_path, 'rb').read(), 'base64', 'utf-8')  
46 - att2["Content-Type"] = 'application/octet-stream'  
47 - att2["Content-Disposition"] = 'attachment; filename="test.log"'  
48 - msg.attach(text)  
49 - msg.attach(att1)  
50 - msg.attach(att2)  
51 -  
52 - #一下发送日志不会在test.log上,因为提前msg.attach了  
53 - log.info("发送邮件")  
54 - try:  
55 - smtp = smtplib.SMTP_SSL('smtp.exmail.qq.com') # smtp服务器地址 使用SSL模式  
56 - re=smtp.login('autotest@diligrp.com', 'MvkuGGCfMtAdbJvE') # 用户名和密码  
57 - smtp.sendmail("autotest@diligrp.com", send_to, msg.as_string())  
58 - print(re)  
59 - except Exception as e:  
60 - log.error(str(e))  
61 - print(e)  
62 - finally:  
63 - smtp.quit()  
64 - log.info("邮件发送完毕")  
src/commons/__init__.py deleted 100644 → 0
1 -# -*- coding:utf-8 -*-  
2 -# import rsa  
3 -# import binascii  
4 -# import base64  
5 -# import requests,json  
6 -# import time  
7 -# import sys  
8 -# reload(sys)  
9 -# sys.setdefaultencoding('utf8')  
10 \ No newline at end of file 0 \ No newline at end of file
src/commons/api/__init__.py deleted 100644 → 0
1 -# -*- coding:utf-8 -*-  
2 -import rsa  
3 -import binascii  
4 -import base64  
5 -import requests,json  
6 -import time  
7 -# import sys  
8 -# reload(sys)  
9 -# sys.setdefaultencoding('utf8')  
10 \ No newline at end of file 0 \ No newline at end of file
src/commons/api/doAdd.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import requests  
4 -import json  
5 -import urllib3  
6 -from commons import common as com  
7 -from commons.MySession import my,s1  
8 -urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)  
9 -  
10 -  
11 -class doAdd():  
12 -  
13 - url="http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action"  
14 - header={  
15 - "Host": "test.trace.diligrp.com",  
16 - "Connection": "keep-alive",  
17 - "Content-Length": "325",  
18 - "Accept": "application/json,text/javascript,*/*;q=0.01",  
19 - "User-Agent": "Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36",  
20 - "Content-Type": "application/json",  
21 - "Origin": "http://test.trace.diligrp.com:8393",  
22 - "Referer": "http://test.trace.diligrp.com:8393/newRegisterBill/add.html",  
23 - "Accept-Encoding": "gzip,deflate",  
24 - "Accept-Language": "zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7"}  
25 - body={"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"}  
26 -  
27 -  
28 - def __init__(self):  
29 - self.url=doAdd.url.replace("http://test.",com.get_global_config("global_data", "environment", "en") )  
30 - self.header=doAdd.header  
31 - self.body=doAdd.body  
32 -  
33 -  
34 -# tt=doAdd()  
35 -# re=my.post(url=tt.url,headers=tt.header,json=tt.body2)  
36 -# print(re.json())  
37 -# print(re.headers)  
38 \ No newline at end of file 0 \ No newline at end of file
src/commons/api/doAudit.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import requests  
4 -import json  
5 -import urllib3  
6 -from commons import common as com  
7 -from commons.MySession import my  
8 -urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)  
9 -  
10 -class doAudit():  
11 -  
12 - url="http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=5888&verifyStatus=20"  
13 - header={  
14 - "Host": "test.trace.diligrp.com",  
15 - "Connection": "keep-alive",  
16 - "Accept": "application/json,text/javascript,*/*;q=0.01",  
17 - "User-Agent": "Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36",  
18 - "X-Requested-With": "XMLHttpRequest",  
19 - "Referer": "http://test.trace.diligrp.com:8393/newRegisterBill/add.html",  
20 - "Accept-Encoding": "gzip,deflate",  
21 - "Accept-Language": "zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7"}  
22 -  
23 -  
24 - def __init__(self):  
25 - self.url=doAudit.url.replace("http://test.",com.get_global_config("global_data", "environment", "en") )  
26 - self.header=doAudit.header  
27 -  
28 -  
29 -  
30 -  
31 -# tt=doAudit()  
32 -# re=my.get(url=tt.url,headers=tt.header)  
33 -# print(re.json())  
34 \ No newline at end of file 0 \ No newline at end of file
src/commons/api/doUndo.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import requests  
4 -import json  
5 -import urllib3  
6 -from commons import common as com  
7 -from commons.MySession import my,s1  
8 -urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)  
9 -  
10 -  
11 -class doUndo():  
12 -  
13 - url="http://test.trace.diligrp.com:8393/newRegisterBill/doUndo.action?id=6668"  
14 - header={  
15 - "Host": "test.trace.diligrp.com:8393",  
16 - "Connection": "keep-alive",  
17 - "Accept": "application/json,text/javascript,*/*;q=0.01",  
18 - "User-Agent": "Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/91.0.4472.124Safari/537.36",  
19 - "X-Requested-With": "XMLHttpRequest",  
20 - "Referer": "http://test.trace.diligrp.com:8393/newRegisterBill/index.html",  
21 - "Accept-Encoding": "gzip,deflate",  
22 - "Accept-Language": "zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7"}  
23 -  
24 -  
25 - def __init__(self):  
26 - self.url=doUndo.url.replace("http://test.",com.get_global_config("global_data", "environment", "en") )  
27 - self.header=doUndo.header  
28 -  
29 -  
30 -  
31 -# tt=doUndo()  
32 -# re=my.get(url=tt.url,headers=tt.header)  
33 -# print(re.json())  
src/commons/api/fieldConfig.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import requests  
4 -import json  
5 -import urllib3  
6 -from commons import common as com  
7 -from commons.MySession import my  
8 -urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)  
9 -  
10 -class fieldConfig():  
11 -  
12 - url="http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action"  
13 - header={  
14 - "Host": "test.trace.diligrp.com:8393",  
15 - "Connection": "keep-alive",  
16 - "Content-Length": "1378",  
17 - "Accept": "application/json,text/javascript,*/*;q=0.01",  
18 - "X-Requested-With": "XMLHttpRequest",  
19 - "User-Agent": "Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/91.0.4472.77Safari/537.36",  
20 - "Content-Type": "application/json",  
21 - "Origin": "http://test.trace.diligrp.com:8393",  
22 - "Referer": "http://test.trace.diligrp.com:8393/fieldConfig/bill.html",  
23 - "Accept-Encoding": "gzip,deflate",  
24 - "Accept-Language": "zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7"}  
25 -  
26 - body={"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"]}]}  
27 -  
28 - def __init__(self):  
29 - self.url=fieldConfig.url.replace("http://test.",com.get_global_config("global_data", "environment", "en") )  
30 - self.header=fieldConfig.header  
31 - self.body=fieldConfig.body  
32 -  
33 -  
34 -  
35 -  
36 -# tt=fieldConfig()  
37 -# re=my.post(url=tt.url,headers=tt.header,json=tt.body)  
38 -# print(re.json())  
39 \ No newline at end of file 0 \ No newline at end of file
src/commons/api/login.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import requests  
4 -import json  
5 -from commons import common as com  
6 -  
7 -class login():  
8 - url="http://test.uap.diligrp.com/login/login.action"  
9 - header={  
10 - "Host": "test.uap.diligrp.com",  
11 - "Connection": "keep-alive",  
12 - "Content-Length": "33",  
13 - "Cache-Control": "max-age=0",  
14 - "Upgrade-Insecure-Requests": "1",  
15 - "Origin": "http://test.uap.diligrp.com",  
16 - "Content-Type": "application/x-www-form-urlencoded",  
17 - "User-Agent": "Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36",  
18 - "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",  
19 - "Referer": "http://test.uap.diligrp.com/login/index.html",  
20 - "Accept-Encoding": "gzip,deflate",  
21 - "Accept-Language": "zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7",  
22 - "Cookie": "UAP_accessToken=;UAP_refreshToken=;UAP_loginPath="}  
23 - body="userName=sg_wenze&password=111111"  
24 -  
25 - def __init__(self):  
26 - "如下代码,可以通过配置文件来控制测试环境和灰度环境,http和https"  
27 - self.url=login.url.replace("http://test.",com.get_global_config("global_data", "environment", "en") )  
28 - self.header=login.header  
29 - self.body=login.body  
30 -  
31 - def post(self,name,password,**kwargs):  
32 - """为登录接口单独写的一个POST请求方法;  
33 - #参数话账户和密码,通过再业务代码中传递不同的账户和密码,实现测试的不同场景"""  
34 - self.body=self.body.replace("sg_wenze", name)  
35 - self.body=self.body.replace("111111", password)  
36 - re=requests.post(url=self.url, headers=self.header,data=self.body,allow_redirects=False,**kwargs)  
37 - #返回请求对象,供断言使用  
38 - return re  
39 -  
40 - def login_session(self,name,password,**kwargs):  
41 - "对外提供的方法"  
42 - self.body=self.body.replace("sg_wenze", name)  
43 - self.body=self.body.replace("111111", password)  
44 - self.se=requests.session()  
45 - self.se.post(url=self.url, headers=self.header,data=self.body,**kwargs)  
46 - #返回请求对象,供断言使用  
47 - return self.se  
48 -  
49 -  
50 -  
51 -# t=login()  
52 -# re=t.post("sg_wenze", "111111")  
53 -# print(re.headers)  
54 \ No newline at end of file 0 \ No newline at end of file
src/commons/api/logout.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import requests  
4 -import json  
5 -from commons import common as com  
6 -  
7 -  
8 -class logout():  
9 - url="http://test.uap.diligrp.com/login/logout.action"  
10 - header={  
11 - "Host": "test.uap.diligrp.com",  
12 - "Connection": "keep-alive",  
13 - "Content-Length": "33",  
14 - "X-Requested-With": "XMLHttpRequest",  
15 - "Origin": "http://test.uap.diligrp.com",  
16 - "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",  
17 - "User-Agent": "Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36",  
18 - "Accept": "*/*",  
19 - "Referer": "http://test.uap.diligrp.com/login/index.html",  
20 - "Accept-Encoding": "gzip,deflate",  
21 - "Accept-Language": "zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7",  
22 - "Cookie": "UAP_accessToken=;UAP_refreshToken=;UAP_loginPath="}  
23 - body="systemCode=UAP&userId=210"  
24 -  
25 - def __init__(self):  
26 - #如下代码,可以通过配置文件来控制测试环境和灰度环境,http和https  
27 - self.url=logout.url.replace("http://test.",com.get_global_config("global_data", "environment", "en") )  
28 - self.header=logout.header  
29 - self.body=logout.body  
30 -  
31 - def post(self,session,account,**kwargs):  
32 - #需要用专用的测试账户来测试,否则会影响其他用例  
33 - self.body=self.body.replace("210", com.get_global_config("global_data", "userId", account))  
34 - re=session.post(url=self.url, headers=self.header,data=self.body,**kwargs)  
35 - return re  
36 -  
37 -  
38 -  
39 -  
40 -# t=logout()  
41 -# re=t.post("user01",proxies={'http': 'http://localhost:8888'})  
42 -# print(re.json())  
43 \ No newline at end of file 0 \ No newline at end of file
src/commons/api/upStream.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import requests  
4 -import json  
5 -import urllib3  
6 -from commons import common as com  
7 -from commons.MySession import my  
8 -urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)  
9 -  
10 -class upStream():  
11 -  
12 - url="http://test.trace.diligrp.com:8393/upStream/listPage.action"  
13 - header={  
14 - "Host": "test.trace.diligrp.com",  
15 - "Connection": "keep-alive",  
16 - "Content-Length": "325",  
17 - "Accept": "application/json,text/javascript,*/*;q=0.01",  
18 - "X-Requested-With": "XMLHttpRequest",  
19 - "User-Agent": "Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36",  
20 - "Content-Type": "application/json",  
21 - "Origin": "http://test.trace.diligrp.com:8393",  
22 - "Referer": "http://test.trace.diligrp.com:8393/upStream/index.html",  
23 - "Accept-Encoding": "gzip,deflate",  
24 - "Accept-Language": "zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7"}  
25 - body={"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\"}"}}  
26 -  
27 -  
28 - def __init__(self):  
29 - self.url=upStream.url.replace("http://test.",com.get_global_config("global_data", "environment", "en") )  
30 - self.header=upStream.header  
31 - self.body=upStream.body  
32 -  
33 -  
34 -  
35 -# uu=upStream()  
36 -# re=my.post(url=uu.url,headers=uu.header,json=uu.body)  
37 -# print(re.json())  
38 -#=========================================================  
39 -# body=uu.body.copy()  
40 -# body["likeName"]="111"  
41 -# re=my.post(url=uu.url,headers=uu.header,json=body)  
42 -# print(re.json())  
43 \ No newline at end of file 0 \ No newline at end of file
src/commons/common.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import os  
4 -import configparser  
5 -import unittest  
6 -from discover import DiscoveringTestLoader  
7 -from commons.Logging import Logger  
8 -log=Logger()  
9 -  
10 -  
11 -def get_global_config(file,section, key):  
12 - "object file is *src/config/global_data.conf"  
13 - current_path=os.path.dirname(__file__)  
14 - src_path=os.path.dirname(current_path)  
15 -# global_setting_path=src_path+'/config/global_data.conf'  
16 - global_setting_path=src_path+'/config/'+file+".conf"  
17 - #验证文件是否存在  
18 - file_path = os.path.exists(global_setting_path)  
19 - if file_path:  
20 - #获取文件的数据  
21 - if isinstance(key,int):  
22 - log.error("key of section cannot be int Type :<%r> "%str(key))  
23 - raise Exception("key of section cannot be int Type :<%r> "%str(key))  
24 - else:  
25 - config = configparser.ConfigParser()  
26 - config.read(global_setting_path,encoding="utf-8")  
27 - return config.get(section, key)  
28 - else:  
29 - log.error("File Not Exist :<%r> "%str(global_setting_path))  
30 - raise Exception("File Not Exist :<%r> "%str(global_setting_path))  
31 -  
32 -  
33 -def get_api_config(api,section,key):  
34 - "object file is *src/config/api/*.conf"  
35 - current_path=os.path.dirname(__file__)  
36 - src_path=os.path.dirname(current_path)  
37 - api_path=src_path+"/config/api/"  
38 - api_config_path=api_path+api+".conf"  
39 - #验证文件是否存在  
40 - file_path = os.path.exists(api_config_path)  
41 - if file_path:  
42 - #获取文件的数据  
43 - if isinstance(key,int):  
44 - log.error("key of section cannot be int Type :<%r> "%str(key))  
45 - raise Exception("key of section cannot be int Type :<%r> "%str(key))  
46 - else:  
47 - config = configparser.ConfigParser()  
48 - config.read(api_config_path,encoding="utf-8")  
49 - return config.get(section, key)  
50 - else:  
51 - log.error("File Not Exist :<%r> "%str(api_config_path))  
52 - raise Exception("File Not Exist :<%r> "%str(api_config_path))  
53 -  
54 -  
55 -def run_one(name):  
56 - test_suite = unittest.TestSuite()  
57 - #创建测试套  
58 - test_suite.addTest(name)  
59 - #显示运行用例  
60 - print("运行用例为{}".format(test_suite))  
61 - runner = unittest.TextTestRunner()  
62 - runner.run(test_suite)  
63 -  
64 -def run_list(name):  
65 - test_suite = unittest.TestSuite()  
66 - test_suite.addTests(name)  
67 - #显示运行用例  
68 - print("运行用例为{}".format(test_suite))  
69 - runner = unittest.TextTestRunner()  
70 - runner.run(test_suite)  
71 -  
72 -def run_class(name):  
73 - test_cases = unittest.TestLoader().loadTestsFromTestCase(name)  
74 - #显示运行用例  
75 - print("运行用例为{}".format(test_cases))  
76 - runner = unittest.TextTestRunner()  
77 - runner.run(test_cases)  
78 -  
79 -def run_Module(name):  
80 - test_cases = unittest.TestLoader().loadTestsFromModule(name)  
81 - #显示运行用例  
82 - print("运行用例为{}".format(test_cases))  
83 - runner = unittest.TextTestRunner()  
84 - runner.run(test_cases)  
85 -  
86 -def run_Name(name):  
87 - test_cases = unittest.TestLoader().loadTestsFromName(name)  
88 - #显示运行用例  
89 - print("运行用例为{}".format(test_cases))  
90 - runner = unittest.TextTestRunner()  
91 - runner.run(test_cases)  
src/config/__init__.py deleted 100644 → 0
src/config/api/customer.conf deleted 100644 → 0
1 -# -*- coding: UTF-8 -*-  
2 -[fieldConfig]  
3 -method=post  
4 -url=http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action  
5 -body_format=JSON  
6 -  
7 -header={  
8 - "Host": "test.trace.diligrp.com",  
9 - "Connection": "keep-alive",  
10 - "Content-Length": "325",  
11 - "Accept": "application/json,text/javascript,*/*;q=0.01",  
12 - "X-Requested-With": "XMLHttpRequest",  
13 - "User-Agent": "Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36",  
14 - "Content-Type": "application/json",  
15 - "Origin": "http://test.trace.diligrp.com:8393",  
16 - "Referer": "http://test.trace.diligrp.com:8393/upStream/index.html",  
17 - "Accept-Encoding": "gzip,deflate",  
18 - "Accept-Language": "zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7"}  
19 -  
20 -[fieldConfig01]  
21 -body={"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\"}"}}  
22 -  
23 -  
24 -[fieldConfig02]  
25 -body={"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\"}"}}  
26 -  
27 -  
28 -[fieldConfig03]  
29 -body={"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\"}"}}  
30 -  
31 -  
32 -  
33 -  
34 -  
src/config/api/login.conf deleted 100644 → 0
src/config/api/upStream.conf deleted 100644 → 0
1 -# -*- coding: UTF-8 -*-  
2 -[upStream]  
3 -method=post  
4 -url=http://test.trace.diligrp.com:8393/upStream/listPage.action  
5 -body_format=JSON  
6 -header={  
7 - "Host": "test.trace.diligrp.com",  
8 - "Connection": "keep-alive",  
9 - "Content-Length": "325",  
10 - "Accept": "application/json,text/javascript,*/*;q=0.01",  
11 - "X-Requested-With": "XMLHttpRequest",  
12 - "User-Agent": "Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36",  
13 - "Content-Type": "application/json",  
14 - "Origin": "http://test.trace.diligrp.com:8393",  
15 - "Referer": "http://test.trace.diligrp.com:8393/upStream/index.html",  
16 - "Accept-Encoding": "gzip,deflate",  
17 - "Accept-Language": "zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7"}  
18 -  
19 -[upStream01]  
20 -body={"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\"}"}}  
21 -  
22 -  
23 -[upStream02]  
24 -body={"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\"}"}}  
25 -  
26 -  
27 -[upStream03]  
28 -body={"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\"}"}}  
29 -  
30 -  
31 -[upStream04]  
32 -body={"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\"}"}}  
33 -  
34 -  
35 -[upStream05]  
36 -body={"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\"}"}}  
37 -  
38 -  
39 -[upStream06]  
40 -body={"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\"}"}}  
41 -  
42 -  
43 -[upStream07]  
44 -body={"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\"}"}}  
45 -  
46 -expect_response={"code":"200","data":951,"message":"创建客户订单成功","result":"创建客户订单成功","success":true}  
47 -  
48 -  
49 -  
50 -  
51 -  
src/config/global_data.conf deleted 100644 → 0
1 -# -*- coding: UTF-8 -*-  
2 -  
3 -[account]  
4 -user01=sg_wenze&111111  
5 -user02=sgwanggang&111111  
6 -user03=hz_wenze&111111  
7 -  
8 -[userId]  
9 -user01=210  
10 -user02=87  
11 -user03=256  
12 -  
13 -[email]  
14 -list=["lixi@diligrp.com","175930106@qq.com"]  
15 -list11=["tg@diligrp.com","175930106@qq.com"]  
16 -  
17 -[mark]  
18 -list=["test"]  
19 -list1=["p1","P2",1,"test"]  
20 -  
21 -[Database]  
22 -dbhost=10.35.100.34  
23 -dbport=3306  
24 -dbname=dili_trace  
25 -dbuser=root  
26 -dbpassword=123456  
27 -dbcharset=utf8  
28 -  
29 -[environment]  
30 -en=http://test.  
31 -  
32 -  
33 -  
34 -  
35 -  
36 -  
src/config/global_data_backup.backup deleted 100644 → 0
1 -# -*- coding: UTF-8 -*-  
2 -  
3 -[account]  
4 -user01=sg_wenze&111111  
5 -user02=sgwanggang&111111  
6 -user03=hz_wenze&111111  
7 -  
8 -[userId]  
9 -user01=210  
10 -user02=87  
11 -user03=256  
12 -  
13 -[environment]  
14 -en=http://test.  
15 -  
16 -[mark]  
17 -list=["test"]  
18 -list1=["p1","P2",1,"test"]  
19 -  
20 -[Database]  
21 -dbhost=10.35.100.34  
22 -dbport=3306  
23 -dbname=dili_trace  
24 -dbuser=root  
25 -dbpassword=123456  
26 -dbcharset=utf8  
27 -  
28 -[email]  
29 -list=[]  
30 -list1=["lixi@diligrp.com","LI@diligrp.com"]  
31 -  
32 -  
33 -  
34 -  
35 -  
36 -  
src/main.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import os,time  
4 -import sys  
5 -import unittest  
6 -import re  
7 -import HTMLTestRunner_cn  
8 -import commons.ConfigDB as db  
9 -from discover import DiscoveringTestLoader  
10 -from commons import SendEmail as em  
11 -from commons import common as com  
12 -from commons.MySession import my  
13 -  
14 -def Create_Testcase_suite():  
15 - '''创建测试套件'''  
16 - testunit=unittest.TestSuite()  
17 - test_Loader = DiscoveringTestLoader()  
18 - discover=test_Loader.discover("./testcase/",pattern='test_*.py',top_level_dir=None)  
19 - print(discover)  
20 - for test_suite in discover:  
21 - testunit.addTests(test_suite)  
22 -# print(testunit)  
23 - return testunit  
24 -  
25 -  
26 -def Run_Testcase(testsuit):  
27 - '''运行测试用例并生成报告'''  
28 - now = time.strftime("%Y-%m-%d %H_%M_%S",time.localtime())  
29 - path=os.path.dirname(os.path.abspath(sys.argv[0]))  
30 - report_file=path+"/report/"+now+"_result.html"  
31 - #创建报告文件  
32 - fp=open(report_file,'wb')  
33 -  
34 - runner=HTMLTestRunner_cn.HTMLTestRunner(  
35 - stream=fp,  
36 - title=u'重构项目接口测试报告',  
37 - description=u'用例简要执行情况如下:(注:报告详细信息需要下载report.html并用浏览器打开)',  
38 - verbosity = 2)  
39 - #执行用例  
40 - runner.run(testsuit)  
41 - #关闭文件  
42 - fp.close()  
43 - return report_file  
44 -  
45 -def Send_email(filename):  
46 - '''判断邮件发送逻辑'''  
47 - l=eval(com.get_global_config("global_data", "email","list").lower())  
48 - if type(l)!=type([]):  
49 - raise Exception("error,pls input list type send-email address")  
50 - elif len(l)==0:  
51 - print("\n list of send-email is null,won't send email!")  
52 - elif len(l)!=0:  
53 - for i in l:  
54 - print("\n check send-email format : {}".format(i))  
55 - if re.match(r'^[0-9a-zA-Z_]{1,19}@[0-9a-zA-Z]{1,13}\.[com,cn,net]{1,3}$',i):  
56 - pass  
57 - else:  
58 - raise Exception("error,pls check your send-email format")  
59 - #发送邮件  
60 - em.send_email(filename, l)  
61 - else:  
62 - print("\n Haven't sent the email,pls check send-email address!")  
63 -  
64 -  
65 -  
66 -if __name__ == "__main__":  
67 - #检测数据库  
68 - db.mysql_conn_test()  
69 - #检测登录接口  
70 - my.check_login("user01")  
71 - #创建测试套,运行测试用例,生成报告  
72 - report=Run_Testcase(Create_Testcase_suite())  
73 - #发送邮件  
74 - Send_email(report)  
src/report/123.jpg deleted 100644 → 0

3.49 KB

src/report/2021-07-13 17_43_09_result.html deleted 100644 → 0
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  
3 -<html xmlns="http://www.w3.org/1999/xhtml">  
4 -<head>  
5 - <title>重构项目接口测试报告</title>  
6 - <meta name="generator" content="HTMLTestRunner 0.8.3"/>  
7 - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>  
8 -  
9 -<style type="text/css" media="screen">  
10 -body { font-family: verdana, arial, helvetica, sans-serif; font-size: 80%; }  
11 -table { font-size: 100%; }  
12 -pre {  
13 - white-space: pre-wrap;  
14 - word-wrap: break-word;  
15 -}  
16 -  
17 -/* -- heading ---------------------------------------------------------------------- */  
18 -h1 {  
19 - font-size: 16pt;  
20 - color: gray;  
21 -}  
22 -.heading {  
23 - float:left;  
24 - width:30%;  
25 - margin-top: 0ex;  
26 - margin-bottom: 1ex;  
27 -}  
28 -  
29 -.heading .attribute {  
30 - margin-top: 1ex;  
31 - margin-bottom: 0;  
32 -}  
33 -  
34 -.heading .description {  
35 - margin-top: 4ex;  
36 - margin-bottom: 6ex;  
37 -}  
38 -  
39 -/* -- css div popup ------------------------------------------------------------------------ */  
40 -a.popup_link {  
41 -}  
42 -  
43 -a.popup_link:hover {  
44 - color: red;  
45 -}  
46 -.img{  
47 - height: 100%;  
48 - border-collapse: collapse;  
49 - border: 2px solid #777;  
50 -}  
51 -  
52 -.screenshots {  
53 - z-index: 100;  
54 - position:fixed;  
55 - height: 80%;  
56 - left: 50%;  
57 - top: 50%;  
58 - transform: translate(-50%,-50%);  
59 - display: none;  
60 -}  
61 -  
62 -.imgyuan{  
63 - height: 20px;  
64 - border-radius: 12px;  
65 - background-color: red;  
66 - padding-left: 13px;  
67 - margin: 0 auto;  
68 - position: relative;  
69 - top: -40px;  
70 - background-color: rgba(1, 150, 0, 0.3);  
71 -}  
72 -.imgyuan font{  
73 - border:1px solid white;  
74 - width:11px;  
75 - height:11px;  
76 - border-radius:50%;  
77 - margin-right: 9px;  
78 - margin-top: 4px;  
79 - display: block;  
80 - float: left;  
81 - background-color: white;  
82 -}  
83 -.close_shots {  
84 - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDI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4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDAwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpFeGlmVmVyc2lvbj4wMjIxPC9leGlmOkV4aWZWZXJzaW9uPgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjE1MDwvZXhpZjpQaXhlbFhEaW1lbnNpb24+CiAgICAgICAgIDxleGlmOlBpeGVsWURpbWVuc2lvbj4xNTA8L2V4aWY6UGl4ZWxZRGltZW5zaW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pu2egpoAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAATH9JREFUeNrsvXecHNd1Jvqde2+lDtMTMYNBBgEQgQBIkARJgDkomrJkW1a2ZdkKKwet465lv5Vl++3bfSu9nzd4HVfRFJUlizYVKAYxZ4JEznmQJvd0qKob3h+3qrtnpgeBwCDQKP7qR0zq7rr33BO+c8536E9/93mc64to4nc4IjkAZYrwnBZwngEZH+XqETiOA8HaoDWBsQiAg0gOwhGtKFePIOPPQKlyBBm/F1INwxHtkHoEgloBqsDoDBjXiOQQHNYBYgpRPATBukDMQJsiimPH0Jq7EqCYNIUUhoOI4pi3BAtbtYm7ifQMUNwjVaW3Go30Vioj7WFYCkqV4Xy1UsrEsuooHXMlJQNAXLjSdfzY9zLVIMiXspn2kUym7YTrBCOCZQ8TOYMw/Jg2dIhI9MfyeOS6GTDyjdHcGEMAK4HBh9YcYXwYgd8FrR3E6jg8pwNaMYBVAOMjVoMQrBVj5f1obVkEJTUYVzDKgaEqYlWEKzpgdAVEORCLUY1OQEmDXHYOtB5DNRoEmQCe2wlDCgwm2Swg/acxdM5kQOCNfREABoBprVoM4lWa4qXamNnVcKh3646/W/3qlh9eAyPguh5c14UQApw7kFLCGAPOOTjnICJorUHJqTHGQCkFrTW01gAAxghhRUIrA8flCAKOVct//uGZ3cs3CO7uMBQfNEbvIHKOElAFoOvb+sa6xBtP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IFgThcwAiBjxAyScQ6SDH83pucN/3ztvmcFIL1Zm7KpydWBR37Ety1545Ru3V6uWuS4IcrbhI7Z1TmkRoue543AnQCfFh6IGRShl66MMgNJYCCktKs64wcrlb3t6zsxVm3LZrp2c5bcYzXcTiROahkcFdzQM1839tcuCdTFfOgn7S5w5exnpfUbznzoix5Yu+IXMlfPv7SHSPSDVo3W1uxIXe6uV4a4wHMuOlYcLI6MnCqXSSCaOQ6EhGYmYu64be64fAyDXzUSZTGul0NIxVMh3H/e8/LDn5A9z5g3COIeNYQeIxPFyeLDCmNCcO8YQN+eDVfpCX///AJZI8x1p7Qe4AAAAAElFTkSuQmCC);  
85 - background-size: 22px 22px;  
86 - -moz-background-size: 22px 22px;  
87 - background-repeat: no-repeat;  
88 - position: absolute;  
89 - top: 5px;  
90 - right: 5px;  
91 - height: 22px;  
92 - z-index: 99;  
93 - width: 22px;  
94 -}  
95 -.popup_window {  
96 - display: none;  
97 - position: relative;  
98 - left: 0px;  
99 - top: 0px;  
100 - padding: 10px;  
101 - background-color: #E6E6D6;  
102 - font-family: "Lucida Console", "Courier New", Courier, monospace;  
103 - text-align: left;  
104 - font-size: 8pt;  
105 -}  
106 -  
107 -}  
108 -/* -- report ------------------------------------------------------------------------ */  
109 -#show_detail_line {  
110 - float:left;  
111 - width:100%;  
112 - margin-top: 3ex;  
113 - margin-bottom: 1ex;  
114 -}  
115 -  
116 -#result_table {  
117 - margin: 1em 0;  
118 - width: 100%;  
119 - overflow: hidden;  
120 - background: #FFF;  
121 - color: #024457;  
122 - border-radius: 10px;  
123 - border: 1px solid #167F92;  
124 -}  
125 -#result_table th {  
126 - border: 1px solid #FFFFFF;  
127 - background-color: #167F92;  
128 - color: #FFF;  
129 - padding: 0.5em;  
130 - &:first-child {  
131 - display: table-cell;  
132 - text-align: center;  
133 - }  
134 - &:nth-child(2) {  
135 - display: table-cell;  
136 - span {display:none;}  
137 - &:after {content:attr(data-th);}  
138 - }  
139 - @media (min-width: 480px) {  
140 - &:nth-child(2) {  
141 - span {display: block;}  
142 - &:after {display: none;}  
143 - }  
144 - }  
145 - }  
146 -#result_table td {  
147 - word-wrap: break-word;  
148 - max-width: 7em;  
149 - padding: 0.3em;  
150 - &:first-child {  
151 - display: table-cell;  
152 - text-align: center;  
153 - }  
154 - @media (min-width: 400px) {  
155 - border: 1px solid #D9E4E6;  
156 - }  
157 - }  
158 -  
159 -#result_table th, td {  
160 - margin: .5em 1em;  
161 - @media (min-width: 400px) {  
162 - display: table-cell;  
163 - padding: 1em;  
164 - }  
165 - }  
166 -  
167 -#total_row { font-weight: bold; }  
168 -.passClass { background-color: #6c6; !important ;}  
169 -.failClass { background-color: #c60; !important ;}  
170 -.errorClass { background-color: #c00; !important ; }  
171 -.passCase { color: #6c6; }  
172 -.failCase { color: #c60; font-weight: bold; }  
173 -.errorCase { color: #c00; font-weight: bold; }  
174 -.skipCase { color:#908e8e; font-weight: bold; }  
175 -tr[id^=pt] td { background-color: rgba(73,204,144,.3) !important ; }  
176 -tr[id^=ft] td { background-color: rgba(252,161,48,.3) !important; }  
177 -tr[id^=et] td { background-color: rgba(249,62,62,.3) !important ; }  
178 -tr[id^=st] td { background-color: #6f6f6fa1 !important ; }  
179 -.hiddenRow { display: none; }  
180 -.testcase { margin-left: 2em; }  
181 -  
182 -/* -- ending ---------------------------------------------------------------------- */  
183 -#ending {  
184 -}  
185 -  
186 -.detail_button {  
187 - width: 130px;  
188 - text-decoration: none;  
189 - line-height: 38px;  
190 - text-align: center;  
191 - font-weight: bold;  
192 - color: #ffff;  
193 - border-radius: 6px;  
194 - padding: 5px 10px 5px 10px;  
195 - position: relative;  
196 - overflow: hidden;  
197 -}  
198 -.detail_button.abstract{background-color: #4dbee8;}  
199 -.detail_button.passed{ background-color: #66cc66;}  
200 -.detail_button.failed{ background-color: #cc6600;}  
201 -.detail_button.errored{ background-color: #f54f4f;}  
202 -.detail_button.skiped{ background-color: gray;}  
203 -.detail_button.all{ background-color: blue;}  
204 -.piechart{  
205 - width: 200px;  
206 - float: left;  
207 - display: inline;  
208 -}  
209 -  
210 -  
211 -</style>  
212 -  
213 -</head>  
214 -<body>  
215 -<script language="javascript" type="text/javascript">  
216 -output_list = Array();  
217 -  
218 -/* level - 0:Summary; 1:Passed; 2:Failed; 3:Errored; 4:Skiped; 5:All */  
219 -function showCase(level,channel) {  
220 - trs = document.getElementsByTagName("tr");  
221 - for (var i = 0; i < trs.length; i++) {  
222 - tr = trs[i];  
223 - id = tr.id;  
224 - if (["ft","pt","et","st"].indexOf(id.substr(0,2))!=-1){  
225 - if ( level ==0 && id.substr(2,1)==channel ) {  
226 - tr.className = 'hiddenRow';  
227 - }  
228 - }  
229 -  
230 - if (id.substr(0,3) == 'pt'+channel) {  
231 - if ( level==1){  
232 - tr.className = '';  
233 - }  
234 - else if (level>4 && id.substr(2,1)==channel ){  
235 - tr.className = '';  
236 - }  
237 - else {  
238 - tr.className = 'hiddenRow';  
239 - }  
240 - }  
241 - if (id.substr(0,3) == 'ft'+channel) {  
242 - if (level ==2) {  
243 - tr.className = '';  
244 - }  
245 - else if (level>4 && id.substr(2,1)==channel ){  
246 - tr.className = '';  
247 - }  
248 - else {  
249 - tr.className = 'hiddenRow';  
250 - }  
251 - }  
252 - if (id.substr(0,3) == 'et'+channel) {  
253 - if (level ==3) {  
254 - tr.className = '';  
255 - }  
256 - else if (level>4 && id.substr(2,1)==channel ){  
257 - tr.className = '';  
258 - }  
259 - else {  
260 - tr.className = 'hiddenRow';  
261 - }  
262 - }  
263 - if (id.substr(0,3) == 'st'+channel) {  
264 - if (level ==4) {  
265 - tr.className = '';  
266 - }  
267 - else if (level>4 && id.substr(2,1)==channel ){  
268 - tr.className = '';  
269 - }  
270 - else {  
271 - tr.className = 'hiddenRow';  
272 - }  
273 - }  
274 -  
275 - }  
276 -}  
277 -  
278 -  
279 -function showClassDetail(cid, count) {  
280 - var id_list = Array(count);  
281 - var toHide = 1;  
282 - for (var i = 0; i < count; i++) {  
283 - tid0 = 't' + cid.substr(1) + '.' + (i+1);  
284 - tid = 'f' + tid0;  
285 - tr = document.getElementById(tid);  
286 - if (!tr) {  
287 - tid = 'p' + tid0;  
288 - tr = document.getElementById(tid);  
289 - }  
290 - if (!tr) {  
291 - tid = 'e' + tid0;  
292 - tr = document.getElementById(tid);  
293 - }  
294 - if (!tr) {  
295 - tid = 's' + tid0;  
296 - tr = document.getElementById(tid);  
297 - }  
298 - id_list[i] = tid;  
299 - if (tr.className) {  
300 - toHide = 0;  
301 - }  
302 - }  
303 - for (var i = 0; i < count; i++) {  
304 - tid = id_list[i];  
305 - if (toHide) {  
306 - document.getElementById(tid).className = 'hiddenRow';  
307 - }  
308 - else {  
309 - document.getElementById(tid).className = '';  
310 - }  
311 - }  
312 -}  
313 -  
314 -  
315 -function showTestDetail(div_id){  
316 - var details_div = document.getElementById(div_id)  
317 - var displayState = details_div.style.display  
318 - // alert(displayState)  
319 - if (displayState != 'block' ) {  
320 - displayState = 'block'  
321 - details_div.style.display = 'block'  
322 - }  
323 - else {  
324 - details_div.style.display = 'none'  
325 - }  
326 -}  
327 -  
328 -  
329 -function html_escape(s) {  
330 - s = s.replace(/&/g,'&amp;');  
331 - s = s.replace(/</g,'&lt;');  
332 - s = s.replace(/>/g,'&gt;');  
333 - return s;  
334 -}  
335 -  
336 -function drawCircle(circle,pass, fail, error){  
337 - var color = ["#6c6","#c60","#c00"];  
338 - var data = [pass,fail,error];  
339 - var text_arr = ["Pass", "Fail", "Error"];  
340 -  
341 - var canvas = document.getElementById(circle);  
342 - var ctx = canvas.getContext("2d");  
343 - var startPoint=0;  
344 - var width = 20, height = 10;  
345 - var posX = 112 * 2 + 20, posY = 30;  
346 - var textX = posX + width + 5, textY = posY + 10;  
347 - for(var i=0;i<data.length;i++){  
348 - ctx.fillStyle = color[i];  
349 - ctx.beginPath();  
350 - ctx.moveTo(112,84);  
351 - ctx.arc(112,84,84,startPoint,startPoint+Math.PI*2*(data[i]/(data[0]+data[1]+data[2])),false);  
352 - ctx.fill();  
353 - startPoint += Math.PI*2*(data[i]/(data[0]+data[1]+data[2]));  
354 - ctx.fillStyle = color[i];  
355 - ctx.fillRect(posX, posY + 20 * i, width, height);  
356 - ctx.moveTo(posX, posY + 20 * i);  
357 - ctx.font = 'bold 14px';  
358 - ctx.fillStyle = color[i];  
359 - var percent = text_arr[i] + ":"+data[i];  
360 - ctx.fillText(percent, textX, textY + 20 * i);  
361 -  
362 - }  
363 -}  
364 -  
365 -  
366 -function show_img(obj) {  
367 - var obj1 = obj.nextElementSibling  
368 - obj1.style.display='block'  
369 - var index = 0;//每张图片的下标,  
370 - var len = obj1.getElementsByTagName('img').length;  
371 - var imgyuan = obj1.getElementsByClassName('imgyuan')[0]  
372 - //var start=setInterval(autoPlay,500);  
373 - obj1.onmouseover=function(){//当鼠标光标停在图片上,则停止轮播  
374 - clearInterval(start);  
375 - }  
376 - obj1.onmouseout=function(){//当鼠标光标停在图片上,则开始轮播  
377 - start=setInterval(autoPlay,1000);  
378 - }  
379 - for (var i = 0; i < len; i++) {  
380 - var font = document.createElement('font')  
381 - imgyuan.appendChild(font)  
382 - }  
383 - var lis = obj1.getElementsByTagName('font');//得到所有圆圈  
384 - changeImg(0)  
385 - var funny = function (i) {  
386 - lis[i].onmouseover = function () {  
387 - index=i  
388 - changeImg(i)  
389 - }  
390 - }  
391 - for (var i = 0; i < lis.length; i++) {  
392 - funny(i);  
393 - }  
394 -  
395 - function autoPlay(){  
396 - if(index>len-1){  
397 - index=0;  
398 - clearInterval(start); //运行一轮后停止  
399 - }  
400 - changeImg(index++);  
401 - }  
402 - imgyuan.style.width= 25*len +"px";  
403 - //对应圆圈和图片同步  
404 - function changeImg(index) {  
405 - var list = obj1.getElementsByTagName('img');  
406 - var list1 = obj1.getElementsByTagName('font');  
407 - for (i = 0; i < list.length; i++) {  
408 - list[i].style.display = 'none';  
409 - list1[i].style.backgroundColor = 'white';  
410 - }  
411 - list[index].style.display = 'block';  
412 - list1[index].style.backgroundColor = 'blue';  
413 - }  
414 -  
415 -}  
416 -function hide_img(obj){  
417 - obj.parentElement.style.display = "none";  
418 - obj.parentElement.getElementsByClassName('imgyuan')[0].innerHTML = "";  
419 -}  
420 -</script>  
421 -<div class='heading'>  
422 -<h1>重构项目接口测试报告</h1>  
423 -<p class='attribute'><strong>开始时间:</strong> 2021-07-13 17:43:09</p>  
424 -<p class='attribute'><strong>耗时:</strong> 0:00:07.141812</p>  
425 -<p class='attribute'><strong>状态:</strong> <span class="tj errorCase">Error</span>:1 <span class="tj skipCase">Skip</span>:19 <span class="tj">通过率</span>:0.0%</p>  
426 -  
427 -<p class='description'>用例简要执行情况如下:(注:报告详细信息需要下载report.html并用浏览器打开)</p>  
428 -</div>  
429 -  
430 -  
431 -<div class="piechart">  
432 - <div>  
433 - <canvas id="circle1" width="350" height="168" </canvas>  
434 - </div>  
435 -</div>  
436 -  
437 -<div id='show_detail_line' style=" float: left; width: 100%;">  
438 -<a class="abstract detail_button" href='javascript:showCase(0,1)'>概要[0.00%]</a>  
439 -<a class="passed detail_button" href='javascript:showCase(1,1)'>通过[0]</a>  
440 -<a class="failed detail_button" href='javascript:showCase(2,1)'>失败[0]</a>  
441 -<a class="errored detail_button" href='javascript:showCase(3,1)'>错误[1]</a>  
442 -<a class="skiped detail_button" href='javascript:showCase(4,1)'>跳过[19]</a>  
443 -<a class="all detail_button" href='javascript:showCase(5,1)'>所有[1]</a>  
444 -</div>  
445 -  
446 -<table id='result_table'>  
447 -<colgroup>  
448 -<col align='left' />  
449 -<col align='right' />  
450 -<col align='right' />  
451 -<col align='right' />  
452 -<col align='right' />  
453 -<col align='right' />  
454 -<col align='right' />  
455 -</colgroup>  
456 -<tr id='header_row'>  
457 - <th>测试组/测试用例</th>  
458 - <th>总数</th>  
459 - <th>通过</th>  
460 - <th>失败</th>  
461 - <th>错误</th>  
462 - <th>视图</th>  
463 - <th>错误截图</th>  
464 -</tr>  
465 -  
466 -<tr class='errorClass'>  
467 - <td>doAdd.test_doAdd.test_doAdd: 新增登记接口</td>  
468 - <td>1</td>  
469 - <td>0</td>  
470 - <td>0</td>  
471 - <td>1</td>  
472 - <td><a href="javascript:showClassDetail('c1.1',1)">详情</a></td>  
473 - <td>&nbsp;</td>  
474 -</tr>  
475 -  
476 -<tr id='et1.1.1' class='none'>  
477 - <td ><div class='testcase'>test_doAdd_01: 成功新增一个商品为大白菜的报备单,重量为111</div></td>  
478 - <td colspan='5' align='center'>  
479 -  
480 - <!--css div popup start-->  
481 - <span class='status errorCase'>  
482 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_et1.1.1')" >  
483 - 错误</a></span>  
484 -  
485 - <div id='div_et1.1.1' class="popup_window">  
486 - <div style='text-align: right; color:red;cursor:pointer'>  
487 - <a onfocus='this.blur();' onclick="document.getElementById('div_et1.1.1').style.display = 'none' " >  
488 - [x]</a>  
489 - </div>  
490 - <pre>  
491 -  
492 -et1.1.1: Traceback (most recent call last):  
493 - File "C:\Python367\lib\site-packages\urllib3\connectionpool.py", line 421, in _make_request  
494 - six.raise_from(e, None)  
495 - File "&lt;string&gt;", line 3, in raise_from  
496 - File "C:\Python367\lib\site-packages\urllib3\connectionpool.py", line 416, in _make_request  
497 - httplib_response = conn.getresponse()  
498 - File "C:\Python367\lib\http\client.py", line 1331, in getresponse  
499 - response.begin()  
500 - File "C:\Python367\lib\http\client.py", line 297, in begin  
501 - version, status, reason = self._read_status()  
502 - File "C:\Python367\lib\http\client.py", line 258, in _read_status  
503 - line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")  
504 - File "C:\Python367\lib\socket.py", line 586, in readinto  
505 - return self._sock.recv_into(b)  
506 -socket.timeout: timed out  
507 -  
508 -During handling of the above exception, another exception occurred:  
509 -  
510 -Traceback (most recent call last):  
511 - File "C:\Python367\lib\site-packages\requests\adapters.py", line 449, in send  
512 - timeout=timeout  
513 - File "C:\Python367\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen  
514 - method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]  
515 - File "C:\Python367\lib\site-packages\urllib3\util\retry.py", line 400, in increment  
516 - raise six.reraise(type(error), error, _stacktrace)  
517 - File "C:\Python367\lib\site-packages\urllib3\packages\six.py", line 735, in reraise  
518 - raise value  
519 - File "C:\Python367\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen  
520 - chunked=chunked,  
521 - File "C:\Python367\lib\site-packages\urllib3\connectionpool.py", line 423, in _make_request  
522 - self._raise_timeout(err=e, url=url, timeout_value=read_timeout)  
523 - File "C:\Python367\lib\site-packages\urllib3\connectionpool.py", line 331, in _raise_timeout  
524 - self, url, "Read timed out. (read timeout=%s)" % timeout_value  
525 -urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='test.trace.diligrp.com', port=8393): Read timed out. (read timeout=5)  
526 -  
527 -During handling of the above exception, another exception occurred:  
528 -  
529 -Traceback (most recent call last):  
530 - File "E:\EclipseWorkspace\WorksapceDemo\Request-demo-dili\src\testcase\doAdd\test_doAdd.py", line 26, in test_doAdd_01  
531 - re=my.post(url=do.url,headers=do.header,json=do.body)  
532 - File "E:\EclipseWorkspace\WorksapceDemo\Request-demo-dili\src\commons\MySession.py", line 100, in post  
533 - re=self.se.post(url, data=data, json=json,proxies=self.proxies, **kwargs,timeout=self.timeout)  
534 - File "C:\Python367\lib\site-packages\requests\sessions.py", line 590, in post  
535 - return self.request('POST', url, data=data, json=json, **kwargs)  
536 - File "C:\Python367\lib\site-packages\requests\sessions.py", line 542, in request  
537 - resp = self.send(prep, **send_kwargs)  
538 - File "C:\Python367\lib\site-packages\requests\sessions.py", line 655, in send  
539 - r = adapter.send(request, **kwargs)  
540 - File "C:\Python367\lib\site-packages\requests\adapters.py", line 529, in send  
541 - raise ReadTimeout(e, request=request)  
542 -requests.exceptions.ReadTimeout: HTTPConnectionPool(host='test.trace.diligrp.com', port=8393): Read timed out. (read timeout=5)  
543 -  
544 -  
545 - </pre>  
546 - </div>  
547 - <!--css div popup end-->  
548 -  
549 - </td>  
550 - <td>无截图</td>  
551 -</tr>  
552 -  
553 -<tr id='st1.1.2' class='none'>  
554 - <td ><div class='testcase'>test_doAdd_02: 成功新增一个商品为鲜花生的报备单,重量为111</div></td>  
555 - <td colspan='5' align='center'>  
556 -  
557 - <!--css div popup start-->  
558 - <span class='status passCase'>  
559 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.1.2')" >  
560 - 跳过</a></span>  
561 -  
562 - <div id='div_st1.1.2' class="popup_window">  
563 - <div style='text-align: right; color:red;cursor:pointer'>  
564 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.1.2').style.display = 'none' " >  
565 - [x]</a>  
566 - </div>  
567 - <pre>  
568 -  
569 -st1.1.2: mark_skip  
570 -  
571 - </pre>  
572 - </div>  
573 - <!--css div popup end-->  
574 -  
575 - </td>  
576 - <td>无截图</td>  
577 -</tr>  
578 -  
579 -<tr id='st1.1.3' class='none'>  
580 - <td ><div class='testcase'>test_doAdd_03: 用错误的用户来新增,无法新增</div></td>  
581 - <td colspan='5' align='center'>  
582 -  
583 - <!--css div popup start-->  
584 - <span class='status passCase'>  
585 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.1.3')" >  
586 - 跳过</a></span>  
587 -  
588 - <div id='div_st1.1.3' class="popup_window">  
589 - <div style='text-align: right; color:red;cursor:pointer'>  
590 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.1.3').style.display = 'none' " >  
591 - [x]</a>  
592 - </div>  
593 - <pre>  
594 -  
595 -st1.1.3: mark_skip  
596 -  
597 - </pre>  
598 - </div>  
599 - <!--css div popup end-->  
600 -  
601 - </td>  
602 - <td>无截图</td>  
603 -</tr>  
604 -  
605 -<tr id='st1.1.4' class='none'>  
606 - <td ><div class='testcase'>test_doAdd_04: 成功新增一个商品为大白菜的报备单,重量为666</div></td>  
607 - <td colspan='5' align='center'>  
608 -  
609 - <!--css div popup start-->  
610 - <span class='status passCase'>  
611 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.1.4')" >  
612 - 跳过</a></span>  
613 -  
614 - <div id='div_st1.1.4' class="popup_window">  
615 - <div style='text-align: right; color:red;cursor:pointer'>  
616 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.1.4').style.display = 'none' " >  
617 - [x]</a>  
618 - </div>  
619 - <pre>  
620 -  
621 -st1.1.4: mark_skip  
622 -  
623 - </pre>  
624 - </div>  
625 - <!--css div popup end-->  
626 -  
627 - </td>  
628 - <td>无截图</td>  
629 -</tr>  
630 -  
631 -<tr class='passClass'>  
632 - <td>doAudit.test_doAudit.test_doAudit: 登记单审核接口</td>  
633 - <td>0</td>  
634 - <td>0</td>  
635 - <td>0</td>  
636 - <td>0</td>  
637 - <td><a href="javascript:showClassDetail('c1.2',0)">详情</a></td>  
638 - <td>&nbsp;</td>  
639 -</tr>  
640 -  
641 -<tr id='st1.2.1' class='none'>  
642 - <td ><div class='testcase'>test_doAudit_01: 审核通过</div></td>  
643 - <td colspan='5' align='center'>  
644 -  
645 - <!--css div popup start-->  
646 - <span class='status passCase'>  
647 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.1')" >  
648 - 跳过</a></span>  
649 -  
650 - <div id='div_st1.2.1' class="popup_window">  
651 - <div style='text-align: right; color:red;cursor:pointer'>  
652 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.1').style.display = 'none' " >  
653 - [x]</a>  
654 - </div>  
655 - <pre>  
656 -  
657 -st1.2.1: mark_skip  
658 -  
659 - </pre>  
660 - </div>  
661 - <!--css div popup end-->  
662 -  
663 - </td>  
664 - <td>无截图</td>  
665 -</tr>  
666 -  
667 -<tr id='st1.2.2' class='none'>  
668 - <td ><div class='testcase'>test_doAudit_02: 审核不通过</div></td>  
669 - <td colspan='5' align='center'>  
670 -  
671 - <!--css div popup start-->  
672 - <span class='status passCase'>  
673 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.2')" >  
674 - 跳过</a></span>  
675 -  
676 - <div id='div_st1.2.2' class="popup_window">  
677 - <div style='text-align: right; color:red;cursor:pointer'>  
678 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.2').style.display = 'none' " >  
679 - [x]</a>  
680 - </div>  
681 - <pre>  
682 -  
683 -st1.2.2: mark_skip  
684 -  
685 - </pre>  
686 - </div>  
687 - <!--css div popup end-->  
688 -  
689 - </td>  
690 - <td>无截图</td>  
691 -</tr>  
692 -  
693 -<tr id='st1.2.3' class='none'>  
694 - <td ><div class='testcase'>test_doAudit_03: 审核不通过</div></td>  
695 - <td colspan='5' align='center'>  
696 -  
697 - <!--css div popup start-->  
698 - <span class='status passCase'>  
699 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.3')" >  
700 - 跳过</a></span>  
701 -  
702 - <div id='div_st1.2.3' class="popup_window">  
703 - <div style='text-align: right; color:red;cursor:pointer'>  
704 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.3').style.display = 'none' " >  
705 - [x]</a>  
706 - </div>  
707 - <pre>  
708 -  
709 -st1.2.3: mark_skip  
710 -  
711 - </pre>  
712 - </div>  
713 - <!--css div popup end-->  
714 -  
715 - </td>  
716 - <td>无截图</td>  
717 -</tr>  
718 -  
719 -<tr id='st1.2.4' class='none'>  
720 - <td ><div class='testcase'>test_doAudit_04: 审核一个已经完成审核的登记单</div></td>  
721 - <td colspan='5' align='center'>  
722 -  
723 - <!--css div popup start-->  
724 - <span class='status passCase'>  
725 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.4')" >  
726 - 跳过</a></span>  
727 -  
728 - <div id='div_st1.2.4' class="popup_window">  
729 - <div style='text-align: right; color:red;cursor:pointer'>  
730 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.4').style.display = 'none' " >  
731 - [x]</a>  
732 - </div>  
733 - <pre>  
734 -  
735 -st1.2.4: mark_skip  
736 -  
737 - </pre>  
738 - </div>  
739 - <!--css div popup end-->  
740 -  
741 - </td>  
742 - <td>无截图</td>  
743 -</tr>  
744 -  
745 -<tr class='passClass'>  
746 - <td>doUndo.test_doUndo.test_doUndo: 登记单撤销接口</td>  
747 - <td>0</td>  
748 - <td>0</td>  
749 - <td>0</td>  
750 - <td>0</td>  
751 - <td><a href="javascript:showClassDetail('c1.3',0)">详情</a></td>  
752 - <td>&nbsp;</td>  
753 -</tr>  
754 -  
755 -<tr id='st1.3.1' class='none'>  
756 - <td ><div class='testcase'>test_doUndo_01: 成功删除新增的一个报备单</div></td>  
757 - <td colspan='5' align='center'>  
758 -  
759 - <!--css div popup start-->  
760 - <span class='status passCase'>  
761 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.3.1')" >  
762 - 跳过</a></span>  
763 -  
764 - <div id='div_st1.3.1' class="popup_window">  
765 - <div style='text-align: right; color:red;cursor:pointer'>  
766 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.3.1').style.display = 'none' " >  
767 - [x]</a>  
768 - </div>  
769 - <pre>  
770 -  
771 -st1.3.1: mark_skip  
772 -  
773 - </pre>  
774 - </div>  
775 - <!--css div popup end-->  
776 -  
777 - </td>  
778 - <td>无截图</td>  
779 -</tr>  
780 -  
781 -<tr class='passClass'>  
782 - <td>fieldConfig.test_fieldConfig.test_fieldConfig: Unittest用例结构的简单的认识</td>  
783 - <td>0</td>  
784 - <td>0</td>  
785 - <td>0</td>  
786 - <td>0</td>  
787 - <td><a href="javascript:showClassDetail('c1.4',0)">详情</a></td>  
788 - <td>&nbsp;</td>  
789 -</tr>  
790 -  
791 -<tr id='st1.4.1' class='none'>  
792 - <td ><div class='testcase'>test_fieldConfig_01: demo</div></td>  
793 - <td colspan='5' align='center'>  
794 -  
795 - <!--css div popup start-->  
796 - <span class='status passCase'>  
797 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.4.1')" >  
798 - 跳过</a></span>  
799 -  
800 - <div id='div_st1.4.1' class="popup_window">  
801 - <div style='text-align: right; color:red;cursor:pointer'>  
802 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.4.1').style.display = 'none' " >  
803 - [x]</a>  
804 - </div>  
805 - <pre>  
806 -  
807 -st1.4.1: mark_skip  
808 -  
809 - </pre>  
810 - </div>  
811 - <!--css div popup end-->  
812 -  
813 - </td>  
814 - <td>无截图</td>  
815 -</tr>  
816 -  
817 -<tr id='st1.4.2' class='none'>  
818 - <td ><div class='testcase'>test_fieldConfig_02: demo</div></td>  
819 - <td colspan='5' align='center'>  
820 -  
821 - <!--css div popup start-->  
822 - <span class='status passCase'>  
823 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.4.2')" >  
824 - 跳过</a></span>  
825 -  
826 - <div id='div_st1.4.2' class="popup_window">  
827 - <div style='text-align: right; color:red;cursor:pointer'>  
828 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.4.2').style.display = 'none' " >  
829 - [x]</a>  
830 - </div>  
831 - <pre>  
832 -  
833 -st1.4.2: mark_skip  
834 -  
835 - </pre>  
836 - </div>  
837 - <!--css div popup end-->  
838 -  
839 - </td>  
840 - <td>无截图</td>  
841 -</tr>  
842 -  
843 -<tr id='st1.4.3' class='none'>  
844 - <td ><div class='testcase'>test_fieldConfig_03: demo</div></td>  
845 - <td colspan='5' align='center'>  
846 -  
847 - <!--css div popup start-->  
848 - <span class='status passCase'>  
849 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.4.3')" >  
850 - 跳过</a></span>  
851 -  
852 - <div id='div_st1.4.3' class="popup_window">  
853 - <div style='text-align: right; color:red;cursor:pointer'>  
854 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.4.3').style.display = 'none' " >  
855 - [x]</a>  
856 - </div>  
857 - <pre>  
858 -  
859 -st1.4.3: mark_skip  
860 -  
861 - </pre>  
862 - </div>  
863 - <!--css div popup end-->  
864 -  
865 - </td>  
866 - <td>无截图</td>  
867 -</tr>  
868 -  
869 -<tr id='st1.4.4' class='none'>  
870 - <td ><div class='testcase'>test_fieldConfig_04</div></td>  
871 - <td colspan='5' align='center'>  
872 -  
873 - <!--css div popup start-->  
874 - <span class='status passCase'>  
875 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.4.4')" >  
876 - 跳过</a></span>  
877 -  
878 - <div id='div_st1.4.4' class="popup_window">  
879 - <div style='text-align: right; color:red;cursor:pointer'>  
880 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.4.4').style.display = 'none' " >  
881 - [x]</a>  
882 - </div>  
883 - <pre>  
884 -  
885 -st1.4.4: 执行时强制跳过该用例  
886 -  
887 - </pre>  
888 - </div>  
889 - <!--css div popup end-->  
890 -  
891 - </td>  
892 - <td>无截图</td>  
893 -</tr>  
894 -  
895 -<tr class='passClass'>  
896 - <td>login.test_login.test_login: 登录接口</td>  
897 - <td>0</td>  
898 - <td>0</td>  
899 - <td>0</td>  
900 - <td>0</td>  
901 - <td><a href="javascript:showClassDetail('c1.5',0)">详情</a></td>  
902 - <td>&nbsp;</td>  
903 -</tr>  
904 -  
905 -<tr id='st1.5.1' class='none'>  
906 - <td ><div class='testcase'>test_login_01: 账户密码都正确</div></td>  
907 - <td colspan='5' align='center'>  
908 -  
909 - <!--css div popup start-->  
910 - <span class='status passCase'>  
911 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.5.1')" >  
912 - 跳过</a></span>  
913 -  
914 - <div id='div_st1.5.1' class="popup_window">  
915 - <div style='text-align: right; color:red;cursor:pointer'>  
916 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.5.1').style.display = 'none' " >  
917 - [x]</a>  
918 - </div>  
919 - <pre>  
920 -  
921 -st1.5.1: mark_skip  
922 -  
923 - </pre>  
924 - </div>  
925 - <!--css div popup end-->  
926 -  
927 - </td>  
928 - <td>无截图</td>  
929 -</tr>  
930 -  
931 -<tr id='st1.5.2' class='none'>  
932 - <td ><div class='testcase'>test_login_02: 密码错误</div></td>  
933 - <td colspan='5' align='center'>  
934 -  
935 - <!--css div popup start-->  
936 - <span class='status passCase'>  
937 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.5.2')" >  
938 - 跳过</a></span>  
939 -  
940 - <div id='div_st1.5.2' class="popup_window">  
941 - <div style='text-align: right; color:red;cursor:pointer'>  
942 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.5.2').style.display = 'none' " >  
943 - [x]</a>  
944 - </div>  
945 - <pre>  
946 -  
947 -st1.5.2: mark_skip  
948 -  
949 - </pre>  
950 - </div>  
951 - <!--css div popup end-->  
952 -  
953 - </td>  
954 - <td>无截图</td>  
955 -</tr>  
956 -  
957 -<tr id='st1.5.3' class='none'>  
958 - <td ><div class='testcase'>test_login_03: 账户错误</div></td>  
959 - <td colspan='5' align='center'>  
960 -  
961 - <!--css div popup start-->  
962 - <span class='status passCase'>  
963 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.5.3')" >  
964 - 跳过</a></span>  
965 -  
966 - <div id='div_st1.5.3' class="popup_window">  
967 - <div style='text-align: right; color:red;cursor:pointer'>  
968 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.5.3').style.display = 'none' " >  
969 - [x]</a>  
970 - </div>  
971 - <pre>  
972 -  
973 -st1.5.3: mark_skip  
974 -  
975 - </pre>  
976 - </div>  
977 - <!--css div popup end-->  
978 -  
979 - </td>  
980 - <td>无截图</td>  
981 -</tr>  
982 -  
983 -<tr id='st1.5.4' class='none'>  
984 - <td ><div class='testcase'>test_login_04: 账户错误</div></td>  
985 - <td colspan='5' align='center'>  
986 -  
987 - <!--css div popup start-->  
988 - <span class='status passCase'>  
989 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.5.4')" >  
990 - 跳过</a></span>  
991 -  
992 - <div id='div_st1.5.4' class="popup_window">  
993 - <div style='text-align: right; color:red;cursor:pointer'>  
994 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.5.4').style.display = 'none' " >  
995 - [x]</a>  
996 - </div>  
997 - <pre>  
998 -  
999 -st1.5.4: mark_skip  
1000 -  
1001 - </pre>  
1002 - </div>  
1003 - <!--css div popup end-->  
1004 -  
1005 - </td>  
1006 - <td>无截图</td>  
1007 -</tr>  
1008 -  
1009 -<tr class='passClass'>  
1010 - <td>logout.test_logout.test_logout: 新增登记接口</td>  
1011 - <td>0</td>  
1012 - <td>0</td>  
1013 - <td>0</td>  
1014 - <td>0</td>  
1015 - <td><a href="javascript:showClassDetail('c1.6',0)">详情</a></td>  
1016 - <td>&nbsp;</td>  
1017 -</tr>  
1018 -  
1019 -<tr id='st1.6.1' class='none'>  
1020 - <td ><div class='testcase'>test_logout_01: 成功登出账户</div></td>  
1021 - <td colspan='5' align='center'>  
1022 -  
1023 - <!--css div popup start-->  
1024 - <span class='status passCase'>  
1025 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.6.1')" >  
1026 - 跳过</a></span>  
1027 -  
1028 - <div id='div_st1.6.1' class="popup_window">  
1029 - <div style='text-align: right; color:red;cursor:pointer'>  
1030 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.6.1').style.display = 'none' " >  
1031 - [x]</a>  
1032 - </div>  
1033 - <pre>  
1034 -  
1035 -st1.6.1: mark_skip  
1036 -  
1037 - </pre>  
1038 - </div>  
1039 - <!--css div popup end-->  
1040 -  
1041 - </td>  
1042 - <td>无截图</td>  
1043 -</tr>  
1044 -  
1045 -<tr class='passClass'>  
1046 - <td>upStream.test_upStream.test_upStream: 上游企业列表查询接口</td>  
1047 - <td>0</td>  
1048 - <td>0</td>  
1049 - <td>0</td>  
1050 - <td>0</td>  
1051 - <td><a href="javascript:showClassDetail('c1.7',0)">详情</a></td>  
1052 - <td>&nbsp;</td>  
1053 -</tr>  
1054 -  
1055 -<tr id='st1.7.1' class='none'>  
1056 - <td ><div class='testcase'>test_upStream_01: 成功查询上下游企业,无过滤条件</div></td>  
1057 - <td colspan='5' align='center'>  
1058 -  
1059 - <!--css div popup start-->  
1060 - <span class='status passCase'>  
1061 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.7.1')" >  
1062 - 跳过</a></span>  
1063 -  
1064 - <div id='div_st1.7.1' class="popup_window">  
1065 - <div style='text-align: right; color:red;cursor:pointer'>  
1066 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.7.1').style.display = 'none' " >  
1067 - [x]</a>  
1068 - </div>  
1069 - <pre>  
1070 -  
1071 -st1.7.1: mark_skip  
1072 -  
1073 - </pre>  
1074 - </div>  
1075 - <!--css div popup end-->  
1076 -  
1077 - </td>  
1078 - <td>无截图</td>  
1079 -</tr>  
1080 -  
1081 -<tr id='st1.7.2' class='none'>  
1082 - <td ><div class='testcase'>test_upStream_02: 成功查询上下游企业,加入企业/个人名称过滤条件</div></td>  
1083 - <td colspan='5' align='center'>  
1084 -  
1085 - <!--css div popup start-->  
1086 - <span class='status passCase'>  
1087 - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.7.2')" >  
1088 - 跳过</a></span>  
1089 -  
1090 - <div id='div_st1.7.2' class="popup_window">  
1091 - <div style='text-align: right; color:red;cursor:pointer'>  
1092 - <a onfocus='this.blur();' onclick="document.getElementById('div_st1.7.2').style.display = 'none' " >  
1093 - [x]</a>  
1094 - </div>  
1095 - <pre>  
1096 -  
1097 -st1.7.2: mark_skip  
1098 -  
1099 - </pre>  
1100 - </div>  
1101 - <!--css div popup end-->  
1102 -  
1103 - </td>  
1104 - <td>无截图</td>  
1105 -</tr>  
1106 -  
1107 -<tr id='total_row'>  
1108 - <th>统计</th>  
1109 - <th>1</th>  
1110 - <th>0</th>  
1111 - <th>0</th>  
1112 - <th>1</th>  
1113 - <th>&nbsp;</th>  
1114 - <th>&nbsp;</th>  
1115 -</tr>  
1116 -</table>  
1117 -<script>  
1118 - showCase(0,1);  
1119 - drawCircle('circle1',0, 0, 1);  
1120 -</script>  
1121 -  
1122 -<div id='ending'>&nbsp;</div>  
1123 -  
1124 -</body>  
1125 -</html>  
src/report/__init__.py deleted 100644 → 0
src/report/test.log deleted 100644 → 0
1 -[2021-07-13 17:43:09] [INFO] : ======================================================================================  
2 -[2021-07-13 17:43:09] [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-13 17:43:10] [INFO] : ======================================================================================  
7 -[2021-07-13 17:43:10] [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-13 17:43:15] [INFO] : ======================================================================================  
12 -[2021-07-13 17:43:15] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action  
13 -None  
14 -{'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']}]}  
15 -{'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'}}  
16 -[2021-07-13 17:43:15] [INFO] : ======================================================================================  
17 -[2021-07-13 17:43:15] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action  
18 -None  
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 -{'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-07-13 17:43:16] [INFO] : 发送邮件  
22 -[2021-07-13 17:43:19] [INFO] : 邮件发送完毕  
src/testcase/.gitignore deleted 100644 → 0
1 -/__init__.pyc  
src/testcase/__init__.py deleted 100644 → 0
1 -# -*- coding:utf-8 -*-  
2 -import binascii  
3 -import base64  
4 -import requests,json  
5 -import time  
6 -# import sys  
7 -# reload(sys)  
8 -# sys.setdefaultencoding('utf8')  
9 \ No newline at end of file 0 \ No newline at end of file
src/testcase/doAdd/.gitignore deleted 100644 → 0
1 -/__init__.pyc  
src/testcase/doAdd/__init__.py deleted 100644 → 0
1 -# -*- coding:utf-8 -*-  
2 -import binascii  
3 -import base64  
4 -import requests,json  
5 -import time  
6 -# import sys  
7 -# reload(sys)  
8 -# sys.setdefaultencoding('utf8')  
9 \ No newline at end of file 0 \ No newline at end of file
src/testcase/doAdd/test_doAdd.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import unittest  
4 -import urllib3  
5 -from commons import common as com  
6 -from commons.MySession import my  
7 -from commons.api.fieldConfig import fieldConfig  
8 -from commons.api.doAdd import doAdd  
9 -urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)  
10 -do=doAdd()  
11 -field=fieldConfig()  
12 -  
13 -  
14 -class test_doAdd(unittest.TestCase):  
15 - "新增登记接口"  
16 -  
17 - @classmethod  
18 - def setUpClass(cls):  
19 - #通过字段配置接口提前配置新增页的字段配置  
20 - my.post(url=field.url,headers=field.header,json=field.body)  
21 -  
22 - @unittest.case_mark(my.mark("test"))  
23 - def test_doAdd_01(self):  
24 - "成功新增一个商品为大白菜的报备单,重量为111"  
25 - #请求数据不需要修改,直接POST请求  
26 - re=my.post(url=do.url,headers=do.header,json=do.body)  
27 - print(re.json())  
28 - #响应断言  
29 - self.assertEqual(re.status_code, 200)  
30 - self.assertTrue("'code':'200'" in str(re.json()).replace(" ",""))  
31 -  
32 -  
33 - @unittest.case_mark(my.mark())  
34 - def test_doAdd_02(self):  
35 - "成功新增一个商品为鲜花生的报备单,重量为111"  
36 - #请求数据需要修改  
37 - body=do.body.copy()  
38 - body["productName"]="鲜花生"  
39 - body["productId"]="3496"  
40 - #POST请求  
41 - re=my.post(url=do.url,headers=do.header,json=body)  
42 - print(re.json())  
43 - #响应断言  
44 - self.assertEqual(re.status_code, 200)  
45 - self.assertTrue("'code':'200'" in str(re.json()).replace(" ",""))  
46 -  
47 - @unittest.case_mark(my.mark())  
48 - def test_doAdd_03(self):  
49 - "用错误的用户来新增,无法新增"  
50 - #请求数据需要修改  
51 - body=do.body.copy()  
52 - body["userId"]="516111"  
53 - #POST请求  
54 - re=my.post(url=do.url,headers=do.header,json=body)  
55 - print(re.json())  
56 - #响应断言  
57 - self.assertEqual(re.status_code, 200)  
58 - self.assertTrue("查询客户信息失败" in str(re.json()).replace(" ",""))  
59 -  
60 - @unittest.case_mark(my.mark())  
61 - def test_doAdd_04(self):  
62 - "成功新增一个商品为大白菜的报备单,重量为666"  
63 - #请求数据不需要修改,直接POST请求  
64 - body=do.body.copy()  
65 - body["weight"]="666"  
66 - re=my.post(url=do.url,headers=do.header,json=body)  
67 - print(re.json())  
68 - #响应断言  
69 - self.assertEqual(re.status_code, 200)  
70 - self.assertTrue("'code':'200'" in str(re.json()).replace(" ",""))  
71 -  
72 -  
73 - @classmethod  
74 - def tearDownClass(cls):  
75 - pass  
76 -  
77 -  
78 -if __name__ == "__main__":  
79 -# unittest.main(verbosity=2)  
80 -  
81 - com.run_one(test_doAdd("test_doAdd_03"))  
82 \ No newline at end of file 0 \ No newline at end of file
src/testcase/doAudit/.gitignore deleted 100644 → 0
1 -/__init__.pyc  
src/testcase/doAudit/__init__.py deleted 100644 → 0
1 -# -*- coding:utf-8 -*-  
2 -import binascii  
3 -import base64  
4 -import requests,json  
5 -import time  
6 -# import sys  
7 -# reload(sys)  
8 -# sys.setdefaultencoding('utf8')  
9 \ No newline at end of file 0 \ No newline at end of file
src/testcase/doAudit/test_doAudit.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import unittest  
4 -import urllib3  
5 -import commons.ConfigDB as db  
6 -from commons import common as com  
7 -from commons.MySession import my  
8 -from commons.api.fieldConfig import fieldConfig  
9 -from commons.api.doAudit import doAudit  
10 -from commons.api.doAdd import doAdd  
11 -#作用为禁用请求安全提示,平时默认加上上面的urllib3语句就行  
12 -urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)  
13 -ad=doAdd()  
14 -au=doAudit()  
15 -field=fieldConfig()  
16 -  
17 -  
18 -  
19 -class test_doAudit(unittest.TestCase):  
20 -  
21 - "登记单审核接口"  
22 - @classmethod  
23 - def setUpClass(cls):  
24 - #通过字段配置接口提前配置新增页的字段配置  
25 - my.post(url=field.url,headers=field.header,json=field.body)  
26 -  
27 - def setUp(self):  
28 - #准备数据:新增一条登记单  
29 - my.post(url=ad.url,headers=ad.header,json=ad.body)  
30 - #获取数据:从MYSQL获取新增登记单的id号--因为响应没有id,需要数据库查询  
31 - self.code=db.mysql_selectOne("SELECT id FROM `dili_trace`.register_bill ORDER BY id DESC LIMIT 1")[0]  
32 - print("db id",self.code)  
33 -  
34 - @unittest.case_mark(my.mark())  
35 - def test_doAudit_01(self):  
36 - "审核通过"  
37 - #请求url中的需要替换为新增登记单的id  
38 - url=au.url.replace("5888", str(self.code))  
39 - print("数据处理后的url",url)  
40 - #进行GET请求  
41 - re=my.get(url=url,headers=au.header)  
42 - #打印请求结果(可删除该代码,一般只在调试时使用)  
43 - print(re.json())  
44 - #断言请求过程是否成功  
45 - self.assertEqual(re.status_code, 200)  
46 - #断言响应数据中是否存在期望字符串  
47 - self.assertTrue("'result':'操作成功'" in str(re.json()).replace(" ",""))  
48 -  
49 -  
50 - @unittest.case_mark(my.mark())  
51 - def test_doAudit_02(self):  
52 - "审核不通过"  
53 - #请求url中的需要替换为新增登记单的id  
54 - url=au.url.replace("5888", str(self.code)).replace("verifyStatus=20", "verifyStatus=30")  
55 - #进行GET请求  
56 - re=my.get(url=url,headers=au.header)  
57 - #打印请求结果(可删除该代码,一般只在调试时使用)  
58 - print(re.json())  
59 - #断言请求过程是否成功  
60 - self.assertEqual(re.status_code, 200)  
61 - #断言响应数据中是否存在期望字符串  
62 - self.assertTrue("'result':'操作成功'" in str(re.json()).replace(" ",""))  
63 -  
64 -  
65 - @unittest.case_mark(my.mark())  
66 - def test_doAudit_03(self):  
67 - "审核不通过"  
68 - #请求url中的需要替换为新增登记单的id  
69 - url=au.url.replace("5888", str(self.code)).replace("verifyStatus=20", "verifyStatus=10")  
70 - #进行GET请求  
71 - re=my.get(url=url,headers=au.header)  
72 - #打印请求结果(可删除该代码,一般只在调试时使用)  
73 - print(re.json())  
74 - #断言请求过程是否成功  
75 - self.assertEqual(re.status_code, 200)  
76 - #断言响应数据中是否存在期望字符串  
77 - self.assertTrue("'result':'操作成功'" in str(re.json()).replace(" ",""))  
78 -  
79 - @unittest.case_mark(my.mark())  
80 - def test_doAudit_04(self):  
81 - "审核一个已经完成审核的登记单"  
82 - #进行GET请求  
83 - re=my.get(url=au.url,headers=au.header)  
84 - #打印请求结果(可删除该代码,一般只在调试时使用)  
85 - print(re.json())  
86 - #断言请求过程是否成功  
87 - self.assertEqual(re.status_code, 200)  
88 - #断言响应数据中是否存在期望字符串  
89 - self.assertTrue("'result':'操作失败,数据状态已改变'" in str(re.json()).replace(" ",""))  
90 -  
91 - @classmethod  
92 - def tearDownClass(cls):  
93 - pass  
94 -  
95 -  
96 -if __name__ == "__main__":  
97 -  
98 - unittest.main(verbosity=2)  
99 -  
100 -# com.run_one(test_doAudit("test_doAudit_02"))  
101 \ No newline at end of file 0 \ No newline at end of file
src/testcase/doUndo/.gitignore deleted 100644 → 0
1 -/__init__.pyc  
src/testcase/doUndo/__init__.py deleted 100644 → 0
1 -# -*- coding:utf-8 -*-  
2 -import binascii  
3 -import base64  
4 -import requests,json  
5 -import time  
6 -# import sys  
7 -# reload(sys)  
8 -# sys.setdefaultencoding('utf8')  
9 \ No newline at end of file 0 \ No newline at end of file
src/testcase/doUndo/test_doUndo.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import unittest  
4 -import urllib3  
5 -import commons.ConfigDB as db  
6 -from commons import common as com  
7 -from commons.MySession import my  
8 -from commons.api.fieldConfig import fieldConfig  
9 -from commons.api.doAdd import doAdd  
10 -from commons.api.doUndo import doUndo  
11 -urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)  
12 -field=fieldConfig()  
13 -ad=doAdd()  
14 -un=doUndo()  
15 -  
16 -  
17 -  
18 -class test_doUndo(unittest.TestCase):  
19 - "登记单撤销接口"  
20 - @classmethod  
21 - def setUpClass(cls):  
22 - #通过字段配置接口提前配置新增页的字段配置  
23 - my.post(url=field.url,headers=field.header,json=field.body)  
24 -  
25 - def setUp(self):  
26 - #准备数据:新增一条登记单  
27 - my.post(url=ad.url,headers=ad.header,json=ad.body)  
28 - #获取数据:从MYSQL获取新增登记单的id号--因为响应没有id,需要数据库查询  
29 - self.code=db.mysql_selectOne("SELECT id FROM `dili_trace`.register_bill ORDER BY id DESC LIMIT 1")[0]  
30 -  
31 - @unittest.case_mark(my.mark())  
32 - def test_doUndo_01(self):  
33 - "成功删除新增的一个报备单"  
34 - #请求数据不需要修改,直接POST请求  
35 - url=un.url.replace("6668",str(self.code))  
36 - re=my.get(url=url,headers=un.header)  
37 - print(re.json())  
38 - #响应断言  
39 - self.assertEqual(re.status_code, 200)  
40 - self.assertTrue("'code':'200'" in str(re.json()).replace(" ",""))  
41 -  
42 - @classmethod  
43 - def tearDownClass(cls):  
44 - pass  
45 -  
46 -  
47 -if __name__ == "__main__":  
48 -# unittest.main(verbosity=2)  
49 -  
50 - com.run_one(test_doUndo("test_doUndo_01"))  
51 \ No newline at end of file 0 \ No newline at end of file
src/testcase/fieldConfig/.gitignore deleted 100644 → 0
1 -/__init__.pyc  
2 -/test_setup_teardown.pyc  
src/testcase/fieldConfig/__init__.py deleted 100644 → 0
1 -# -*- coding:utf-8 -*-  
2 -import binascii  
3 -import base64  
4 -import requests,json  
5 -import time  
6 -# import sys  
7 -# reload(sys)  
8 -# sys.setdefaultencoding('utf8')  
9 \ No newline at end of file 0 \ No newline at end of file
src/testcase/fieldConfig/test_fieldConfig.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import unittest  
4 -from commons import common as com  
5 -from commons.MySession import my  
6 -  
7 -class test_fieldConfig(unittest.TestCase):  
8 - "Unittest用例结构的简单的认识"  
9 - @classmethod  
10 - def setUpClass(cls):  
11 - #初始化工作:该类的所有用例执行前会执行一次,且只执行一次,优先级高于setup,非必要代码  
12 - print("setUpClass")  
13 -  
14 - def setUp(self):  
15 - #初始化工作:每个用例执行前都会执行一次,N个用例就执行N次,非必要代码  
16 - print("setUp")  
17 -  
18 - @unittest.case_mark(my.mark())  
19 - def test_fieldConfig_01(self):  
20 - "demo"  
21 - print("test_01_fieldConfig")  
22 -  
23 - @unittest.case_mark(my.mark())  
24 - def test_fieldConfig_02(self):  
25 - "demo"  
26 - print("test_02_fieldConfig")  
27 -  
28 - @unittest.case_mark(my.mark())  
29 - def test_fieldConfig_03(self):  
30 - "demo"  
31 - print("test_03_fieldConfig")  
32 - self.assertEqual(200, 200, "测试使用")  
33 -  
34 - @unittest.skip("执行时强制跳过该用例")  
35 - def test_fieldConfig_04(self):  
36 - print("test_04_fieldConfig")  
37 -  
38 -# @unittest.skipIf(test_fieldConfig.TT, "测试使用")  
39 -# def test_05_fieldConfig(self):  
40 -# print(test_fieldConfig.TT)  
41 - def tearDown(self):  
42 - #清理工作:每个用例执行后都会执行一次,N个用例就执行N次,非必要代码  
43 - print("tearDown")  
44 -  
45 - @classmethod  
46 - def tearDownClass(cls):  
47 - #清理工作:该类的所有用例执行完成后会执行一次,且只执行一次,非必要代码  
48 - print("tearDownClass")  
49 -  
50 -  
51 -if __name__ == "__main__":  
52 -#上述函数为引导执行代码,当模块被直接运行时,以下代码块将被运行,当模块是被导入时,代码块不被运行  
53 -# unittest.main(verbosity=2)  
54 - #unittest.main()为运行的入口/初始化函数,方法会搜索该模块文件下所有以test开头的测试用例方法,并自动执行它们。  
55 - # verbosity是一个选项,表示测试结果的信息复杂度,有0、1、2 三个值  
56 - # 0 (静默模式): 你只能获得总的测试用例数和总的结果 比如 总共10个 失败2 成功8  
57 - # 1 (默认模式): 非常类似静默模式 只是在每个成功的用例前面有个“.” 每个失败的用例前面有个 “F”  
58 - # 2 (详细模式):测试结果会显示每个测试用例的所有相关的信息  
59 -  
60 - com.run_one(test_fieldConfig("test_fieldConfig_03"))  
61 -# com.run_list([test_fieldConfig("test_01_fieldConfig"),test_fieldConfig("test_02_fieldConfig")])  
62 -# com.run_class(test_fieldConfig)  
63 -  
src/testcase/login/.gitignore deleted 100644 → 0
1 -/__init__.pyc  
src/testcase/login/__init__.py deleted 100644 → 0
1 -# -*- coding:utf-8 -*-  
2 -import binascii  
3 -import base64  
4 -import requests,json  
5 -import time  
6 -# import sys  
7 -# reload(sys)  
8 -# sys.setdefaultencoding('utf8')  
9 \ No newline at end of file 0 \ No newline at end of file
src/testcase/login/test_login.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import unittest  
4 -import urllib3  
5 -from commons.api.login import login  
6 -from commons import common as com  
7 -from commons.MySession import my  
8 -urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)  
9 -li=login()  
10 -  
11 -class test_login(unittest.TestCase):  
12 - "登录接口"  
13 -  
14 - @unittest.case_mark(my.mark())  
15 - def test_login_01(self):  
16 - "账户密码都正确"  
17 - #进行POST请求  
18 - re=li.post("sg_wenze", "111111")  
19 - print(re.headers)  
20 - #断言响应  
21 - self.assertTrue("Set-Cookie" in re.headers.keys())  
22 -  
23 - @unittest.case_mark(my.mark())  
24 - def test_login_02(self):  
25 - "密码错误"  
26 - #进行POST请求  
27 - re=li.post("sg_wenze", "111111111111")  
28 - print(re.text)  
29 - #断言响应  
30 - self.assertTrue("用户名或密码错误" in re.text)  
31 -  
32 - @unittest.case_mark(my.mark())  
33 - def test_login_03(self):  
34 - "账户错误"  
35 - #进行POST请求  
36 - re=li.post("sg_wenze11111111", "11111")  
37 - #print(re.text)  
38 - #断言响应  
39 - self.assertTrue("用户名或密码错误" in re.text)  
40 -  
41 - @unittest.case_mark(my.mark())  
42 - def test_login_04(self):  
43 - "账户错误"  
44 - #进行POST请求  
45 - re=li.post("sg_wenze11111111", "1111111111111")  
46 - #print(re.text)  
47 - #断言响应  
48 - self.assertTrue("用户名或密码错误" in re.text)  
49 -  
50 -if __name__ == "__main__":  
51 -  
52 - unittest.main(verbosity=2)  
53 -  
54 -# com.run_one(test_login("test_01_login"))  
src/testcase/logout/.gitignore deleted 100644 → 0
1 -/__init__.pyc  
src/testcase/logout/__init__.py deleted 100644 → 0
1 -# -*- coding:utf-8 -*-  
2 -import binascii  
3 -import base64  
4 -import requests,json  
5 -import time  
6 -# import sys  
7 -# reload(sys)  
8 -# sys.setdefaultencoding('utf8')  
9 \ No newline at end of file 0 \ No newline at end of file
src/testcase/logout/test_logout.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import unittest  
4 -import urllib3  
5 -from commons.api.login import login  
6 -from commons.api.logout import logout  
7 -from commons import common as com  
8 -from commons.MySession import my  
9 -urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)  
10 -li=login()  
11 -lo=logout()  
12 -  
13 -class test_logout(unittest.TestCase):  
14 - "新增登记接口"  
15 - @classmethod  
16 - def setUpClass(cls):  
17 - #通过登录接口获取session  
18 - cls.se=li.login_session("hz_wenze", "111111")  
19 -  
20 - @unittest.case_mark(my.mark())  
21 - def test_logout_01(self):  
22 - "成功登出账户"  
23 - re=lo.post(self.se, "user03")  
24 - print(re.json())  
25 - #响应断言  
26 - self.assertEqual(re.status_code, 200)  
27 - self.assertTrue("'code':'200'" in str(re.json()).replace(" ",""))  
28 -  
29 - @classmethod  
30 - def tearDownClass(cls):  
31 - cls.se.close()  
32 -  
33 -  
34 -  
35 -if __name__ == "__main__":  
36 - unittest.main(verbosity=2)  
37 -  
38 -# com.run_one(test_logout("test_01_logout"))  
39 \ No newline at end of file 0 \ No newline at end of file
src/testcase/upStream/.gitignore deleted 100644 → 0
1 -/__init__.pyc  
src/testcase/upStream/__init__.py deleted 100644 → 0
1 -# -*- coding:utf-8 -*-  
2 -import binascii  
3 -import base64  
4 -import requests,json  
5 -import time  
6 -# import sys  
7 -# reload(sys)  
8 -# sys.setdefaultencoding('utf8')  
9 \ No newline at end of file 0 \ No newline at end of file
src/testcase/upStream/test_upStream.py deleted 100644 → 0
1 -#!/usr/bin/python  
2 -# -*- coding: UTF-8 -*-  
3 -import unittest  
4 -import urllib3  
5 -from commons.MySession import my  
6 -from commons.api.upStream import upStream  
7 -from commons import common as com  
8 -urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)  
9 -uu=upStream()  
10 -  
11 -  
12 -class test_upStream(unittest.TestCase):  
13 - "上游企业列表查询接口"  
14 -  
15 - @unittest.case_mark(my.mark())  
16 - def test_upStream_01(self):  
17 - "成功查询上下游企业,无过滤条件"  
18 - #请求数据不需要修改,直接POST请求  
19 - re=my.post(url=uu.url,headers=uu.header,json=uu.body)  
20 - print(re.json())  
21 - #响应断言  
22 - self.assertEqual(re.status_code, 200)  
23 - self.assertTrue("total" in re.json().keys())  
24 - self.assertTrue("上游" in str(re.json()).replace(" ",""))  
25 -  
26 -  
27 - @unittest.skipDepend(depend="test_upStream_01")  
28 - @unittest.case_mark(my.mark(1))  
29 - def test_upStream_02(self):  
30 - "成功查询上下游企业,加入企业/个人名称过滤条件"  
31 - #请求数据需要修改  
32 - body=uu.body.copy()  
33 - body["likeName"]="111"  
34 - #POST请求  
35 - re=my.post(url=uu.url,headers=uu.header,json=body)  
36 - print(re.json())  
37 - #响应断言  
38 - self.assertEqual(re.status_code, 200)  
39 - self.assertTrue("legalPerson':'哈哈哈'" in str(re.json()).replace(" ",""))  
40 -  
41 - @classmethod  
42 - def tearDownClass(cls):  
43 - pass  
44 -  
45 -if __name__ == "__main__":  
46 - unittest.main(verbosity=2)  
47 -  
48 -# com.run_one(test_upStream("test_01_upStream"))  
49 \ No newline at end of file 0 \ No newline at end of file
testcase/doAdd/test_doAdd.py
@@ -19,7 +19,7 @@ class test_doAdd(unittest.TestCase): @@ -19,7 +19,7 @@ class test_doAdd(unittest.TestCase):
19 #通过字段配置接口提前配置新增页的字段配置 19 #通过字段配置接口提前配置新增页的字段配置
20 my.post(url=field.url,headers=field.header,json=field.body) 20 my.post(url=field.url,headers=field.header,json=field.body)
21 21
22 - @unittest.case_mark(my.mark("test")) 22 + # @unittest.case_mark(my.mark("test"))
23 def test_doAdd_01(self): 23 def test_doAdd_01(self):
24 "成功新增一个商品为大白菜的报备单,重量为111" 24 "成功新增一个商品为大白菜的报备单,重量为111"
25 #请求数据不需要修改,直接POST请求 25 #请求数据不需要修改,直接POST请求
@@ -29,7 +29,7 @@ class test_doAdd(unittest.TestCase): @@ -29,7 +29,7 @@ class test_doAdd(unittest.TestCase):
29 self.assertEqual(re.status_code, 200) 29 self.assertEqual(re.status_code, 200)
30 self.assertTrue("'code':'200'" in str(re.json()).replace(" ","")) 30 self.assertTrue("'code':'200'" in str(re.json()).replace(" ",""))
31 31
32 - 32 +
33 @unittest.case_mark(my.mark()) 33 @unittest.case_mark(my.mark())
34 def test_doAdd_02(self): 34 def test_doAdd_02(self):
35 "成功新增一个商品为鲜花生的报备单,重量为111" 35 "成功新增一个商品为鲜花生的报备单,重量为111"