|
|
<head>
|
|
|
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
<title> - TestReport</title>
|
|
|
<style>
|
|
|
body {
|
|
|
background-color: #f2f2f2;
|
|
|
color: #333;
|
|
|
margin: 0 auto;
|
|
|
width: 960px;
|
|
|
}
|
|
|
#summary {
|
|
|
width: 960px;
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
#summary th {
|
|
|
background-color: skyblue;
|
|
|
padding: 5px 12px;
|
|
|
}
|
|
|
#summary td {
|
|
|
background-color: lightblue;
|
|
|
text-align: center;
|
|
|
padding: 4px 8px;
|
|
|
}
|
|
|
.details {
|
|
|
width: 960px;
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
.details th {
|
|
|
background-color: skyblue;
|
|
|
padding: 5px 12px;
|
|
|
}
|
|
|
.details tr .passed {
|
|
|
background-color: lightgreen;
|
|
|
}
|
|
|
.details tr .failed {
|
|
|
background-color: red;
|
|
|
}
|
|
|
.details tr .unchecked {
|
|
|
background-color: gray;
|
|
|
}
|
|
|
.details td {
|
|
|
background-color: lightblue;
|
|
|
padding: 5px 12px;
|
|
|
}
|
|
|
.details .detail {
|
|
|
background-color: lightgrey;
|
|
|
font-size: smaller;
|
|
|
padding: 5px 10px;
|
|
|
line-height: 20px;
|
|
|
text-align: left;
|
|
|
}
|
|
|
.details .success {
|
|
|
background-color: greenyellow;
|
|
|
}
|
|
|
.details .error {
|
|
|
background-color: red;
|
|
|
}
|
|
|
.details .failure {
|
|
|
background-color: salmon;
|
|
|
}
|
|
|
.details .skipped {
|
|
|
background-color: gray;
|
|
|
}
|
|
|
|
|
|
.button {
|
|
|
font-size: 1em;
|
|
|
padding: 6px;
|
|
|
width: 4em;
|
|
|
text-align: center;
|
|
|
background-color: #06d85f;
|
|
|
border-radius: 20px/50px;
|
|
|
cursor: pointer;
|
|
|
transition: all 0.3s ease-out;
|
|
|
}
|
|
|
a.button{
|
|
|
color: gray;
|
|
|
text-decoration: none;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.button:hover {
|
|
|
background: #2cffbd;
|
|
|
}
|
|
|
|
|
|
.overlay {
|
|
|
position: fixed;
|
|
|
top: 0;
|
|
|
bottom: 0;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
background: rgba(0, 0, 0, 0.7);
|
|
|
transition: opacity 500ms;
|
|
|
visibility: hidden;
|
|
|
opacity: 0;
|
|
|
line-height: 25px;
|
|
|
}
|
|
|
.overlay:target {
|
|
|
visibility: visible;
|
|
|
opacity: 1;
|
|
|
}
|
|
|
|
|
|
.popup {
|
|
|
margin: 70px auto;
|
|
|
padding: 20px;
|
|
|
background: #fff;
|
|
|
border-radius: 10px;
|
|
|
width: 50%;
|
|
|
position: relative;
|
|
|
transition: all 3s ease-in-out;
|
|
|
}
|
|
|
|
|
|
.popup h2 {
|
|
|
margin-top: 0;
|
|
|
color: #333;
|
|
|
font-family: Tahoma, Arial, sans-serif;
|
|
|
}
|
|
|
.popup .close {
|
|
|
position: absolute;
|
|
|
top: 20px;
|
|
|
right: 30px;
|
|
|
transition: all 200ms;
|
|
|
font-size: 30px;
|
|
|
font-weight: bold;
|
|
|
text-decoration: none;
|
|
|
color: #333;
|
|
|
}
|
|
|
.popup .close:hover {
|
|
|
color: #06d85f;
|
|
|
}
|
|
|
.popup .content {
|
|
|
max-height: 80%;
|
|
|
overflow: auto;
|
|
|
text-align: left;
|
|
|
}
|
|
|
.popup .separator {
|
|
|
color:royalblue
|
|
|
}
|
|
|
|
|
|
@media screen and (max-width: 700px) {
|
|
|
.box {
|
|
|
width: 70%;
|
|
|
}
|
|
|
.popup {
|
|
|
width: 70%;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
</style>
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
<h1>Test Report: </h1>
|
|
|
|
|
|
<h2>Summary</h2>
|
|
|
<table id="summary">
|
|
|
<tr>
|
|
|
<th>START AT</th>
|
|
|
<td colspan="4">2020-09-15T06:07:56.262606</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>DURATION</th>
|
|
|
<td colspan="4">0.328 seconds</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>PLATFORM</th>
|
|
|
<td>HttpRunner 2.5.7 </td>
|
|
|
<td>CPython 3.8.1 </td>
|
|
|
<td colspan="2">Windows-7-6.1.7601-SP1</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>STAT</th>
|
|
|
<th colspan="2">TESTCASES (success/fail)</th>
|
|
|
<th colspan="2">TESTSTEPS (success/fail/error/skip)</th>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>total (details) =></td>
|
|
|
<td colspan="2">1 (0/1)</td>
|
|
|
<td colspan="2">2 (0/0/2/0)</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
|
|
|
<h2>Details</h2>
|
|
|
|
|
|
|
|
|
|
|
|
<h3>PARTNERS001:新增合伙人</h3>
|
|
|
<table id="suite_1" class="details">
|
|
|
<tr>
|
|
|
<td>TOTAL: 2</td>
|
|
|
<td>SUCCESS: 0</td>
|
|
|
<td>FAILED: 0</td>
|
|
|
<td>ERROR: 2</td>
|
|
|
<td>SKIPPED: 0</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>Status</th>
|
|
|
<th colspan="2">Name</th>
|
|
|
<th>Response Time</th>
|
|
|
<th>Detail</th>
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr id="record_1_1">
|
|
|
<th class="error" style="width:5em;">error</th>
|
|
|
<td colspan="2">10000000001 登录系统</td>
|
|
|
<td style="text-align:center;width:6em;">211.00 ms</td>
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_1_1_1">log-1</a>
|
|
|
<div id="popup_log_1_1_1" class="overlay">
|
|
|
<div class="popup">
|
|
|
<h2>Request and Response data</h2>
|
|
|
<a class="close" href="#record_1_1_1">×</a>
|
|
|
|
|
|
<div class="content">
|
|
|
<h3>Name: 10000000001 登录系统</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3>Request:</h3>
|
|
|
<div style="overflow: auto">
|
|
|
<table>
|
|
|
|
|
|
<tr>
|
|
|
<th>url</th>
|
|
|
<td>
|
|
|
|
|
|
https://public-interface-test.fjmaimaimai.com/partnermg/v1/auth/login
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>method</th>
|
|
|
<td>
|
|
|
|
|
|
POST
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>headers</th>
|
|
|
<td>
|
|
|
|
|
|
<pre>{
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
"User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36"
|
|
|
}</pre>
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>json</th>
|
|
|
<td>
|
|
|
|
|
|
{
|
|
|
"password": "7c4a8d09ca3762af61e59520943dc26494f8941b",
|
|
|
"username": "10000000001"
|
|
|
}
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>verify</th>
|
|
|
<td>
|
|
|
|
|
|
True
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>timeout</th>
|
|
|
<td>
|
|
|
|
|
|
120
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
|
<h3>Response:</h3>
|
|
|
<div style="overflow: auto">
|
|
|
<table>
|
|
|
|
|
|
<tr>
|
|
|
<th>status_code</th>
|
|
|
<td>
|
|
|
|
|
|
N/A
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>headers</th>
|
|
|
<td>
|
|
|
|
|
|
<pre>{}</pre>
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>encoding</th>
|
|
|
<td>
|
|
|
|
|
|
None
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>content_type</th>
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<h3>Validators:</h3>
|
|
|
<div style="overflow: auto">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<h3>Statistics:</h3>
|
|
|
<div style="overflow: auto">
|
|
|
<table>
|
|
|
<tr>
|
|
|
<th>content_size(bytes)</th>
|
|
|
<td>0</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>response_time(ms)</th>
|
|
|
<td>211.0</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>elapsed(ms)</th>
|
|
|
<td>0.0</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<a class="button" href="#popup_attachment_1_1">traceback</a>
|
|
|
<div id="popup_attachment_1_1" class="overlay">
|
|
|
<div class="popup">
|
|
|
<h2>Traceback Message</h2>
|
|
|
<a class="close" href="#record_1_1">×</a>
|
|
|
<div class="content"><pre>Traceback (most recent call last):
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py", line 667, in urlopen
|
|
|
self._prepare_proxy(conn)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py", line 932, in _prepare_proxy
|
|
|
conn.connect()
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connection.py", line 362, in connect
|
|
|
self.sock = ssl_wrap_socket(
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\util\ssl_.py", line 384, in ssl_wrap_socket
|
|
|
return context.wrap_socket(sock, server_hostname=server_hostname)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py", line 500, in wrap_socket
|
|
|
return self.sslsocket_class._create(
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py", line 1040, in _create
|
|
|
self.do_handshake()
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py", line 1309, in do_handshake
|
|
|
self._sslobj.do_handshake()
|
|
|
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
|
|
|
|
|
|
During handling of the above exception, another exception occurred:
|
|
|
|
|
|
Traceback (most recent call last):
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\adapters.py", line 439, in send
|
|
|
resp = conn.urlopen(
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py", line 726, in urlopen
|
|
|
retries = retries.increment(
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\util\retry.py", line 439, in increment
|
|
|
raise MaxRetryError(_pool, url, error or ResponseError(cause))
|
|
|
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='public-interface-test.fjmaimaimai.com', port=443): Max retries exceeded with url: /partnermg/v1/auth/login (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))
|
|
|
|
|
|
During handling of the above exception, another exception occurred:
|
|
|
|
|
|
Traceback (most recent call last):
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\api.py", line 63, in test
|
|
|
test_runner.run_test(test_dict)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py", line 374, in run_test
|
|
|
self._run_testcase(test_dict)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py", line 321, in _run_testcase
|
|
|
test_runner.run_test(test_dict)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py", line 379, in run_test
|
|
|
self._run_test(test_dict)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py", line 238, in _run_test
|
|
|
resp = self.http_client_session.request(
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py", line 210, in request
|
|
|
self.meta_data["data"] = [
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py", line 211, in <listcomp>
|
|
|
get_req_resp_record(resp_obj)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py", line 51, in get_req_resp_record
|
|
|
req_resp_dict["response"]["ok"] = resp_obj.ok
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\models.py", line 703, in ok
|
|
|
self.raise_for_status()
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py", line 89, in raise_for_status
|
|
|
raise self.error
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py", line 240, in _send_request_safe_mode
|
|
|
return requests.Session.request(self, method, url, **kwargs)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\sessions.py", line 530, in request
|
|
|
resp = self.send(prep, **send_kwargs)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\sessions.py", line 643, in send
|
|
|
r = adapter.send(request, **kwargs)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\adapters.py", line 514, in send
|
|
|
raise SSLError(e, request=request)
|
|
|
requests.exceptions.SSLError: HTTPSConnectionPool(host='public-interface-test.fjmaimaimai.com', port=443): Max retries exceeded with url: /partnermg/v1/auth/login (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))
|
|
|
</pre></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
<tr id="record_1_2">
|
|
|
<th class="error" style="width:5em;">error</th>
|
|
|
<td colspan="2">10000000001 合伙人新增</td>
|
|
|
<td style="text-align:center;width:6em;">79.00 ms</td>
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_1_2_1">log-1</a>
|
|
|
<div id="popup_log_1_2_1" class="overlay">
|
|
|
<div class="popup">
|
|
|
<h2>Request and Response data</h2>
|
|
|
<a class="close" href="#record_1_2_1">×</a>
|
|
|
|
|
|
<div class="content">
|
|
|
<h3>Name: 10000000001 合伙人新增</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3>Request:</h3>
|
|
|
<div style="overflow: auto">
|
|
|
<table>
|
|
|
|
|
|
<tr>
|
|
|
<th>url</th>
|
|
|
<td>
|
|
|
|
|
|
https://public-interface-test.fjmaimaimai.com/partnermg/v1/partners/add
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>method</th>
|
|
|
<td>
|
|
|
|
|
|
POST
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>headers</th>
|
|
|
<td>
|
|
|
|
|
|
<pre>{
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
"User-Agent": "okhttp/3.12.3",
|
|
|
"Authorization": "Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MDAxOTI5MzgsImlhdCI6MTYwMDE0OTczOCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTYwMDE0OTczOCwidWlkIjozMjQ0MDg0Njk1OTY1NDQwLCJjb21wYW55SWQiOjM1OH0.f_z2yOeoPOuvpUWlleEH4q3AIsMXFGiF9I31LsRarUQ\n"
|
|
|
}</pre>
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>json</th>
|
|
|
<td>
|
|
|
|
|
|
{
|
|
|
"partnerName": "卞信华",
|
|
|
"partnerType": 3,
|
|
|
"area": "福建省福州市XXXXX区",
|
|
|
"account": "1730000002",
|
|
|
"state": 1,
|
|
|
"cooperationTime": "2020-09-15",
|
|
|
"salesmanName": "小小",
|
|
|
"phone": "1730000002"
|
|
|
}
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>verify</th>
|
|
|
<td>
|
|
|
|
|
|
True
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>timeout</th>
|
|
|
<td>
|
|
|
|
|
|
120
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
|
<h3>Response:</h3>
|
|
|
<div style="overflow: auto">
|
|
|
<table>
|
|
|
|
|
|
<tr>
|
|
|
<th>status_code</th>
|
|
|
<td>
|
|
|
|
|
|
N/A
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>headers</th>
|
|
|
<td>
|
|
|
|
|
|
<pre>{}</pre>
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>encoding</th>
|
|
|
<td>
|
|
|
|
|
|
None
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>content_type</th>
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<h3>Validators:</h3>
|
|
|
<div style="overflow: auto">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<h3>Statistics:</h3>
|
|
|
<div style="overflow: auto">
|
|
|
<table>
|
|
|
<tr>
|
|
|
<th>content_size(bytes)</th>
|
|
|
<td>0</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>response_time(ms)</th>
|
|
|
<td>79.0</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>elapsed(ms)</th>
|
|
|
<td>0.0</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<a class="button" href="#popup_attachment_1_2">traceback</a>
|
|
|
<div id="popup_attachment_1_2" class="overlay">
|
|
|
<div class="popup">
|
|
|
<h2>Traceback Message</h2>
|
|
|
<a class="close" href="#record_1_2">×</a>
|
|
|
<div class="content"><pre>Traceback (most recent call last):
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py", line 667, in urlopen
|
|
|
self._prepare_proxy(conn)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py", line 932, in _prepare_proxy
|
|
|
conn.connect()
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connection.py", line 362, in connect
|
|
|
self.sock = ssl_wrap_socket(
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\util\ssl_.py", line 384, in ssl_wrap_socket
|
|
|
return context.wrap_socket(sock, server_hostname=server_hostname)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py", line 500, in wrap_socket
|
|
|
return self.sslsocket_class._create(
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py", line 1040, in _create
|
|
|
self.do_handshake()
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py", line 1309, in do_handshake
|
|
|
self._sslobj.do_handshake()
|
|
|
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
|
|
|
|
|
|
During handling of the above exception, another exception occurred:
|
|
|
|
|
|
Traceback (most recent call last):
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\adapters.py", line 439, in send
|
|
|
resp = conn.urlopen(
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py", line 726, in urlopen
|
|
|
retries = retries.increment(
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\util\retry.py", line 439, in increment
|
|
|
raise MaxRetryError(_pool, url, error or ResponseError(cause))
|
|
|
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='public-interface-test.fjmaimaimai.com', port=443): Max retries exceeded with url: /partnermg/v1/partners/add (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))
|
|
|
|
|
|
During handling of the above exception, another exception occurred:
|
|
|
|
|
|
Traceback (most recent call last):
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\api.py", line 63, in test
|
|
|
test_runner.run_test(test_dict)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py", line 379, in run_test
|
|
|
self._run_test(test_dict)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py", line 238, in _run_test
|
|
|
resp = self.http_client_session.request(
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py", line 210, in request
|
|
|
self.meta_data["data"] = [
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py", line 211, in <listcomp>
|
|
|
get_req_resp_record(resp_obj)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py", line 51, in get_req_resp_record
|
|
|
req_resp_dict["response"]["ok"] = resp_obj.ok
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\models.py", line 703, in ok
|
|
|
self.raise_for_status()
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py", line 89, in raise_for_status
|
|
|
raise self.error
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py", line 240, in _send_request_safe_mode
|
|
|
return requests.Session.request(self, method, url, **kwargs)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\sessions.py", line 530, in request
|
|
|
resp = self.send(prep, **send_kwargs)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\sessions.py", line 643, in send
|
|
|
r = adapter.send(request, **kwargs)
|
|
|
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\adapters.py", line 514, in send
|
|
|
raise SSLError(e, request=request)
|
|
|
requests.exceptions.SSLError: HTTPSConnectionPool(host='public-interface-test.fjmaimaimai.com', port=443): Max retries exceeded with url: /partnermg/v1/partners/add (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))
|
|
|
</pre></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
|
|
|
|
</body> |
|
|
\ No newline at end of file |
...
|
...
|
|