作者 bianxinhua

add README

... ... @@ -3,27 +3,8 @@
<component name="ChangeListManager">
<list default="true" id="d6814b48-28ec-40b6-bcea-dcd9b8613715" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/app_api/dividend/orders002.api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/app_api/dividend/orders002.api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/app_api/login/login_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/app_api/login/login_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/app_api/order/details_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/app_api/order/details_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/app_api/order/statistics_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/app_api/order/statistics_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_detail_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_detail_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/accessToken.csv" beforeDir="false" afterPath="$PROJECT_DIR$/config/accessToken.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/authCode.csv" beforeDir="false" afterPath="$PROJECT_DIR$/config/authCode.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/m_accessToken.csv" beforeDir="false" afterPath="$PROJECT_DIR$/config/m_accessToken.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/refreshToken.csv" beforeDir="false" afterPath="$PROJECT_DIR$/config/refreshToken.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/debugtalk.py" beforeDir="false" afterPath="$PROJECT_DIR$/debugtalk.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/helpfunc/pg_app_db_func.py" beforeDir="false" afterPath="$PROJECT_DIR$/helpfunc/pg_app_db_func.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/helpfunc/pg_db_func.py" beforeDir="false" afterPath="$PROJECT_DIR$/helpfunc/pg_db_func.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/logs/testsuites/partner_testsuite.parse_failed.json" beforeDir="false" afterPath="$PROJECT_DIR$/logs/testsuites/partner_testsuite.parse_failed.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/actual/ACTUAL001_add_actual_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/actual/ACTUAL001_add_actual_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/dividend/dividend_orders001_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/dividend/dividend_orders001_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/dividend/dividend_orders002_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/dividend/dividend_orders002_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/dividend/dividend_statistics_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/dividend/dividend_statistics_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/login_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/login_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/order/order_details_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/order/order_details_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/order/order_statistics_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/order/order_statistics_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/purpose/PURPOSE006_purpose_detail_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/purpose/PURPOSE006_purpose_detail_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/partners/PARTNERS001_add_partner_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/partners/PARTNERS001_add_partner_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testsuites/partner_testsuite.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testsuites/partner_testsuite.yml" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
... ... @@ -43,20 +24,44 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testsuites/partner_testsuite.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="135">
<caret line="6" column="38" selection-start-line="6" selection-start-column="19" selection-end-line="6" selection-end-column="38" />
<state relative-caret-position="2730">
<caret line="105" column="55" selection-start-line="28" selection-start-column="1" selection-end-line="105" selection-end-column="55" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/debugtalk.py">
<entry file="file://$PROJECT_DIR$/api/m_api/partners/m_partner_add_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="463">
<caret line="55" column="49" selection-start-line="55" selection-start-column="49" selection-end-line="55" selection-end-column="49" />
<folding>
<element signature="e#0#13#0" expanded="true" />
</folding>
<state relative-caret-position="26">
<caret line="6" column="51" selection-start-line="6" selection-start-column="32" selection-end-line="6" selection-end-column="51" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/helpfunc/pg_db_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="6318">
<caret line="243" column="13" selection-start-line="243" selection-start-column="8" selection-end-line="243" selection-end-column="13" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/helpfunc/login_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2288">
<caret line="88" column="23" selection-start-line="88" selection-start-column="4" selection-end-line="88" selection-end-column="23" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcases/partners/PARTNERS001_add_partner_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="234">
<caret line="9" selection-start-line="9" selection-start-column="1" selection-end-line="10" selection-end-column="46" />
</state>
</provider>
</entry>
... ... @@ -72,7 +77,6 @@
</component>
<component name="FindInProjectRecents">
<findStrings>
<find>outstanding</find>
<find>address</find>
<find>buyerPhone</find>
<find>orderDist</find>
... ... @@ -102,6 +106,7 @@
<find>get_partner_account_from_database</find>
<find>print</find>
<find>create_phone_number</find>
<find>get_m_accesstoken()</find>
</findStrings>
</component>
<component name="Git.Settings">
... ... @@ -110,7 +115,6 @@
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/testcases/actual/ACTUAL003_actual_list_testcases.yml" />
<option value="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_add_api.yml" />
<option value="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_edit_api.yml" />
<option value="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_partner_list_api.yml" />
... ... @@ -156,11 +160,12 @@
<option value="$PROJECT_DIR$/helpfunc/pg_app_db_func.py" />
<option value="$PROJECT_DIR$/api/app_api/order/details_api.yml" />
<option value="$PROJECT_DIR$/helpfunc/pg_db_func.py" />
<option value="$PROJECT_DIR$/testsuites/partner_testsuite.yml" />
<option value="$PROJECT_DIR$/testcases/actual/ACTUAL001_add_actual_testcases.yml" />
<option value="$PROJECT_DIR$/testcases/dividend/dividend_orders001_testcases.yml" />
<option value="$PROJECT_DIR$/testcases/dividend/dividend_statistics_testcases.yml" />
<option value="$PROJECT_DIR$/debugtalk.py" />
<option value="$PROJECT_DIR$/testsuites/partner_testsuite.yml" />
<option value="$PROJECT_DIR$/testcases/partners/PARTNERS001_add_partner_testcases.yml" />
</list>
</option>
</component>
... ... @@ -175,6 +180,7 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<expand>
... ... @@ -191,34 +197,21 @@
<item name="partner_api" type="b2602c69:ProjectViewProjectNode" />
<item name="partner_api" type="462c0819:PsiDirectoryNode" />
<item name="api" type="462c0819:PsiDirectoryNode" />
<item name="app_api" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="partner_api" type="b2602c69:ProjectViewProjectNode" />
<item name="partner_api" type="462c0819:PsiDirectoryNode" />
<item name="api" type="462c0819:PsiDirectoryNode" />
<item name="app_api" type="462c0819:PsiDirectoryNode" />
<item name="login" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="partner_api" type="b2602c69:ProjectViewProjectNode" />
<item name="partner_api" type="462c0819:PsiDirectoryNode" />
<item name="api" type="462c0819:PsiDirectoryNode" />
<item name="app_api" type="462c0819:PsiDirectoryNode" />
<item name="order" type="462c0819:PsiDirectoryNode" />
<item name="m_api" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="partner_api" type="b2602c69:ProjectViewProjectNode" />
<item name="partner_api" type="462c0819:PsiDirectoryNode" />
<item name="api" type="462c0819:PsiDirectoryNode" />
<item name="m_api" type="462c0819:PsiDirectoryNode" />
<item name="admin" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="partner_api" type="b2602c69:ProjectViewProjectNode" />
<item name="partner_api" type="462c0819:PsiDirectoryNode" />
<item name="api" type="462c0819:PsiDirectoryNode" />
<item name="m_api" type="462c0819:PsiDirectoryNode" />
<item name="admin" type="462c0819:PsiDirectoryNode" />
<item name="partners" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="partner_api" type="b2602c69:ProjectViewProjectNode" />
... ... @@ -290,7 +283,6 @@
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
... ... @@ -471,28 +463,31 @@
<workItem from="1597281783377" duration="7250000" />
<workItem from="1597383690773" duration="12705000" />
<workItem from="1597627721793" duration="3189000" />
<workItem from="1598498839511" duration="11432000" />
<workItem from="1598498839511" duration="12058000" />
<workItem from="1598580439774" duration="68000" />
<workItem from="1600048954187" duration="594000" />
<workItem from="1600149832884" duration="362000" />
<workItem from="1600393472912" duration="599000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="229783000" />
<option name="totallyTimeSpent" value="232032000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="Favorites" order="0" side_tool="true" />
<window_info content_ui="combo" id="Project" order="1" visible="true" weight="0.277897" />
<window_info content_ui="combo" id="Project" order="1" visible="true" weight="0.20708154" />
<window_info id="Structure" order="2" side_tool="true" weight="0.25" />
<window_info anchor="bottom" id="Docker" order="0" show_stripe_button="false" />
<window_info anchor="bottom" id="Terminal" order="1" weight="0.2857143" />
<window_info active="true" anchor="bottom" id="Terminal" order="1" visible="true" weight="0.46763393" />
<window_info anchor="bottom" id="Message" order="2" />
<window_info anchor="bottom" id="Event Log" order="3" sideWeight="0.5005365" side_tool="true" weight="0.32700893" />
<window_info anchor="bottom" id="Find" order="4" sideWeight="0.49946353" weight="0.328125" />
<window_info anchor="bottom" id="Python Console" order="5" weight="0.328125" />
<window_info anchor="bottom" id="Database Changes" order="6" />
<window_info active="true" anchor="bottom" id="Run" order="7" sideWeight="0.49946353" visible="true" weight="0.32700893" />
<window_info anchor="bottom" id="Run" order="7" sideWeight="0.49946353" weight="0.32700893" />
<window_info anchor="bottom" id="Version Control" order="8" weight="0.32879046" />
<window_info anchor="bottom" id="Debug" order="9" weight="0.4" />
<window_info anchor="bottom" id="Cvs" order="10" weight="0.25" />
... ... @@ -509,13 +504,6 @@
<option name="version" value="1" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_edit_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="494">
<caret line="19" column="42" selection-start-line="19" selection-start-column="16" selection-end-line="19" selection-end-column="42" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_detail_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="78">
... ... @@ -526,13 +514,6 @@
<entry file="file://$PROJECT_DIR$/helpfunc/header_func.py">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/login_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="177">
<caret line="77" column="19" selection-start-line="77" selection-start-column="4" selection-end-line="77" selection-end-column="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.env">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="234">
... ... @@ -571,23 +552,6 @@
<entry file="file://$PROJECT_DIR$/testcases/m_login_testcases.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/pg_app_db_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="279">
<caret line="362" column="13" selection-start-line="362" selection-start-column="8" selection-end-line="362" selection-end-column="13" />
<folding>
<element signature="e#108#123#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/pg_db_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="279">
<caret line="243" column="13" selection-start-line="243" selection-start-column="8" selection-end-line="243" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/admin/m_admin_update(new)_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="234">
... ... @@ -722,9 +686,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/partners/PARTNERS001_add_partner_testcases.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/testcases/partners/PARTNERS002_edit_partner_testcases.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
... ... @@ -761,22 +722,60 @@
<entry file="file://$PROJECT_DIR$/testcases/purpose/PURPOSE007_purpose_del_testcases.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/testsuites/partner_testsuite.yml">
<entry file="file://$PROJECT_DIR$/debugtalk.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="135">
<caret line="6" column="38" selection-start-line="6" selection-start-column="19" selection-end-line="6" selection-end-column="38" />
<state relative-caret-position="26">
<caret line="49" column="23" selection-start-line="49" selection-start-column="23" selection-end-line="49" selection-end-column="23" />
<folding>
<element signature="e#0#13#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/debugtalk.py">
<entry file="file://$PROJECT_DIR$/helpfunc/pg_app_db_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="463">
<caret line="55" column="49" selection-start-line="55" selection-start-column="49" selection-end-line="55" selection-end-column="49" />
<state relative-caret-position="415">
<caret line="362" column="13" selection-start-line="362" selection-start-column="8" selection-end-line="362" selection-end-column="13" />
<folding>
<element signature="e#0#13#0" expanded="true" />
<element signature="e#108#123#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testsuites/partner_testsuite.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2730">
<caret line="105" column="55" selection-start-line="28" selection-start-column="1" selection-end-line="105" selection-end-column="55" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/pg_db_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="6318">
<caret line="243" column="13" selection-start-line="243" selection-start-column="8" selection-end-line="243" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/login_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2288">
<caret line="88" column="23" selection-start-line="88" selection-start-column="4" selection-end-line="88" selection-end-column="23" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/partners/PARTNERS001_add_partner_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="234">
<caret line="9" selection-start-line="9" selection-start-column="1" selection-end-line="10" selection-end-column="46" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/partners/m_partner_add_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="26">
<caret line="6" column="51" selection-start-line="6" selection-start-column="32" selection-end-line="6" selection-end-column="51" />
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
... ...
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTg1NjE3NDIsImlhdCI6MTU5ODUxODU0MiwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5ODUxODU0MiwidWlkIjoxOH0.yM7bvqkMJNW9-cNrQt4f5VEV6bcNV0syOC7sAwWQPGA
\ No newline at end of file
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MDAxOTI5MzgsImlhdCI6MTYwMDE0OTczOCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTYwMDE0OTczOCwidWlkIjozMjQ0MDg0Njk1OTY1NDQwLCJjb21wYW55SWQiOjM1OH0.f_z2yOeoPOuvpUWlleEH4q3AIsMXFGiF9I31LsRarUQ
... ...
<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">&times;</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>{
&#34;Content-Type&#34;: &#34;application/json;charset=utf-8&#34;,
&#34;User-Agent&#34;: &#34;Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36&#34;
}</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">&times;</a>
<div class="content"><pre>Traceback (most recent call last):
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py&#34;, line 667, in urlopen
self._prepare_proxy(conn)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py&#34;, line 932, in _prepare_proxy
conn.connect()
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connection.py&#34;, line 362, in connect
self.sock = ssl_wrap_socket(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\util\ssl_.py&#34;, line 384, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py&#34;, line 500, in wrap_socket
return self.sslsocket_class._create(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py&#34;, line 1040, in _create
self.do_handshake()
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py&#34;, 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 &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\adapters.py&#34;, line 439, in send
resp = conn.urlopen(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py&#34;, line 726, in urlopen
retries = retries.increment(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\util\retry.py&#34;, line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=&#39;public-interface-test.fjmaimaimai.com&#39;, port=443): Max retries exceeded with url: /partnermg/v1/auth/login (Caused by SSLError(SSLCertVerificationError(1, &#39;[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)&#39;)))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\api.py&#34;, line 63, in test
test_runner.run_test(test_dict)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py&#34;, line 374, in run_test
self._run_testcase(test_dict)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py&#34;, line 321, in _run_testcase
test_runner.run_test(test_dict)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py&#34;, line 379, in run_test
self._run_test(test_dict)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py&#34;, line 238, in _run_test
resp = self.http_client_session.request(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 210, in request
self.meta_data[&#34;data&#34;] = [
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 211, in &lt;listcomp&gt;
get_req_resp_record(resp_obj)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 51, in get_req_resp_record
req_resp_dict[&#34;response&#34;][&#34;ok&#34;] = resp_obj.ok
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\models.py&#34;, line 703, in ok
self.raise_for_status()
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 89, in raise_for_status
raise self.error
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 240, in _send_request_safe_mode
return requests.Session.request(self, method, url, **kwargs)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\sessions.py&#34;, line 530, in request
resp = self.send(prep, **send_kwargs)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\sessions.py&#34;, line 643, in send
r = adapter.send(request, **kwargs)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\adapters.py&#34;, line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host=&#39;public-interface-test.fjmaimaimai.com&#39;, port=443): Max retries exceeded with url: /partnermg/v1/auth/login (Caused by SSLError(SSLCertVerificationError(1, &#39;[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)&#39;)))
</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">&times;</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>{
&#34;Content-Type&#34;: &#34;application/json;charset=utf-8&#34;,
&#34;User-Agent&#34;: &#34;okhttp/3.12.3&#34;,
&#34;Authorization&#34;: &#34;Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MDAxOTI5MzgsImlhdCI6MTYwMDE0OTczOCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTYwMDE0OTczOCwidWlkIjozMjQ0MDg0Njk1OTY1NDQwLCJjb21wYW55SWQiOjM1OH0.f_z2yOeoPOuvpUWlleEH4q3AIsMXFGiF9I31LsRarUQ\n&#34;
}</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">&times;</a>
<div class="content"><pre>Traceback (most recent call last):
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py&#34;, line 667, in urlopen
self._prepare_proxy(conn)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py&#34;, line 932, in _prepare_proxy
conn.connect()
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connection.py&#34;, line 362, in connect
self.sock = ssl_wrap_socket(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\util\ssl_.py&#34;, line 384, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py&#34;, line 500, in wrap_socket
return self.sslsocket_class._create(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py&#34;, line 1040, in _create
self.do_handshake()
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py&#34;, 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 &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\adapters.py&#34;, line 439, in send
resp = conn.urlopen(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py&#34;, line 726, in urlopen
retries = retries.increment(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\util\retry.py&#34;, line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=&#39;public-interface-test.fjmaimaimai.com&#39;, port=443): Max retries exceeded with url: /partnermg/v1/partners/add (Caused by SSLError(SSLCertVerificationError(1, &#39;[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)&#39;)))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\api.py&#34;, line 63, in test
test_runner.run_test(test_dict)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py&#34;, line 379, in run_test
self._run_test(test_dict)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py&#34;, line 238, in _run_test
resp = self.http_client_session.request(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 210, in request
self.meta_data[&#34;data&#34;] = [
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 211, in &lt;listcomp&gt;
get_req_resp_record(resp_obj)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 51, in get_req_resp_record
req_resp_dict[&#34;response&#34;][&#34;ok&#34;] = resp_obj.ok
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\models.py&#34;, line 703, in ok
self.raise_for_status()
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 89, in raise_for_status
raise self.error
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 240, in _send_request_safe_mode
return requests.Session.request(self, method, url, **kwargs)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\sessions.py&#34;, line 530, in request
resp = self.send(prep, **send_kwargs)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\sessions.py&#34;, line 643, in send
r = adapter.send(request, **kwargs)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\adapters.py&#34;, line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host=&#39;public-interface-test.fjmaimaimai.com&#39;, port=443): Max retries exceeded with url: /partnermg/v1/partners/add (Caused by SSLError(SSLCertVerificationError(1, &#39;[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)&#39;)))
</pre></div>
</div>
</div>
</td>
</tr>
</table>
</body>
\ No newline at end of file
... ...
<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:08:45.846606</td>
</tr>
<tr>
<th>DURATION</th>
<td colspan="4">0.133 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">1 (0/0/1/0)</td>
</tr>
</table>
<h2>Details</h2>
<h3>PARTNERS001:新增合伙人</h3>
<table id="suite_1" class="details">
<tr>
<td>TOTAL: 1</td>
<td>SUCCESS: 0</td>
<td>FAILED: 0</td>
<td>ERROR: 1</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;">107.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">&times;</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>{
&#34;Content-Type&#34;: &#34;application/json;charset=utf-8&#34;,
&#34;User-Agent&#34;: &#34;okhttp/3.12.3&#34;,
&#34;Authorization&#34;: &#34;Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MDAxOTI5MzgsImlhdCI6MTYwMDE0OTczOCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTYwMDE0OTczOCwidWlkIjozMjQ0MDg0Njk1OTY1NDQwLCJjb21wYW55SWQiOjM1OH0.f_z2yOeoPOuvpUWlleEH4q3AIsMXFGiF9I31LsRarUQ\n&#34;
}</pre>
</td>
</tr>
<tr>
<th>json</th>
<td>
{
"partnerName": "卞信华",
"partnerType": 3,
"area": "福建省福州市XXXXX区",
"account": "1890000008",
"state": 1,
"cooperationTime": "2020-09-15",
"salesmanName": "小小",
"phone": "1890000008"
}
</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>107.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">&times;</a>
<div class="content"><pre>Traceback (most recent call last):
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py&#34;, line 667, in urlopen
self._prepare_proxy(conn)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py&#34;, line 932, in _prepare_proxy
conn.connect()
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connection.py&#34;, line 362, in connect
self.sock = ssl_wrap_socket(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\util\ssl_.py&#34;, line 384, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py&#34;, line 500, in wrap_socket
return self.sslsocket_class._create(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py&#34;, line 1040, in _create
self.do_handshake()
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py&#34;, 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 &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\adapters.py&#34;, line 439, in send
resp = conn.urlopen(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py&#34;, line 726, in urlopen
retries = retries.increment(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\urllib3\util\retry.py&#34;, line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=&#39;public-interface-test.fjmaimaimai.com&#39;, port=443): Max retries exceeded with url: /partnermg/v1/partners/add (Caused by SSLError(SSLCertVerificationError(1, &#39;[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)&#39;)))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\api.py&#34;, line 63, in test
test_runner.run_test(test_dict)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py&#34;, line 379, in run_test
self._run_test(test_dict)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\runner.py&#34;, line 238, in _run_test
resp = self.http_client_session.request(
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 210, in request
self.meta_data[&#34;data&#34;] = [
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 211, in &lt;listcomp&gt;
get_req_resp_record(resp_obj)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 51, in get_req_resp_record
req_resp_dict[&#34;response&#34;][&#34;ok&#34;] = resp_obj.ok
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\models.py&#34;, line 703, in ok
self.raise_for_status()
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 89, in raise_for_status
raise self.error
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\httprunner\client.py&#34;, line 240, in _send_request_safe_mode
return requests.Session.request(self, method, url, **kwargs)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\sessions.py&#34;, line 530, in request
resp = self.send(prep, **send_kwargs)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\sessions.py&#34;, line 643, in send
r = adapter.send(request, **kwargs)
File &#34;c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\requests\adapters.py&#34;, line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host=&#39;public-interface-test.fjmaimaimai.com&#39;, port=443): Max retries exceeded with url: /partnermg/v1/partners/add (Caused by SSLError(SSLCertVerificationError(1, &#39;[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)&#39;)))
</pre></div>
</div>
</div>
</td>
</tr>
</table>
</body>
\ No newline at end of file
... ...
... ... @@ -7,8 +7,8 @@ config:
- ${sleep(2)}
teststeps:
- name: $phone 登录系统
testcase: testcases/m_login_testcases.yml
#- name: $phone 登录系统
# testcase: testcases/m_login_testcases.yml
- name: $phone 合伙人新增
api: api/m_api/partners/m_partner_add_api.yml
... ...
config:
name: 合伙人测试集
testcases:
- name: ADMIN001:新增管理员
testcase: testcases/admin/ADMIN001_add_admin_testcases.yml
parameters:
account: ${create_phone_number(1)}
- name: ADMIN002:编辑管理员
testcase: testcases/admin/ADMIN002_edit_admin_testcases.yml
- name: ADMIN003:搜索管理员
testcase: testcases/admin/ADMIN003_list_admin_testcases.yml
- name: ADMIN004:查看管理员
testcase: testcases/admin/ADMIN004_detail_admin_testcases.yml
- name: ADMIN005:禁用管理员
testcase: testcases/admin/ADMIN005_forbidden_admin_testcases.yml
- name: ADMIN006:启用管理员
testcase: testcases/admin/ADMIN006_forbidden_admin_testcases.yml
#- name: ADMIN001:新增管理员
# testcase: testcases/admin/ADMIN001_add_admin_testcases.yml
# parameters:
# account: ${create_phone_number(1)}
#
#- name: ADMIN002:编辑管理员
# testcase: testcases/admin/ADMIN002_edit_admin_testcases.yml
#
#- name: ADMIN003:搜索管理员
# testcase: testcases/admin/ADMIN003_list_admin_testcases.yml
#
#- name: ADMIN004:查看管理员
# testcase: testcases/admin/ADMIN004_detail_admin_testcases.yml
#
#- name: ADMIN005:禁用管理员
# testcase: testcases/admin/ADMIN005_forbidden_admin_testcases.yml
#
#- name: ADMIN006:启用管理员
# testcase: testcases/admin/ADMIN006_forbidden_admin_testcases.yml
- name: PARTNERS001:新增合伙人
testcase: testcases/partners/PARTNERS001_add_partner_testcases.yml
parameters:
account: ${create_phone_number(1)}
- name: PARTNERS002:编辑合伙人
testcase: testcases/partners/PARTNERS002_edit_partner_testcases.yml
- name: PARTNERS003:搜索合伙类型
testcase: testcases/partners/PARTNERS003_list_partner_testcases.yml
- name: PARTNERS004:搜索合伙人名称
testcase: testcases/partners/PARTNERS004_list_partner_testcases.yml
- name: PARTNERS005:查看合伙人
testcase: testcases/partners/PARTNERS005_detail_partner_testcases.yml
- name: PARTNERS006:禁用合伙人
testcase: testcases/partners/PARTNERS006_set-status_partner1_testcases.yml
- name: PARTNERS006:启用合伙人
testcase: testcases/partners/PARTNERS007_set-status_partner2_testcases.yml
- name: ACTUAL001:新增实际订单
testcase: testcases/actual/ACTUAL001_add_actual_testcases.yml
parameters:
account: ${create_phone_number(1)}
- name: ACTUAL003:合伙人搜索——实际订单列表
testcase: testcases/actual/ACTUAL003_actual_list_testcases.yml
- name: ACTUAL004:搜索发货单号——实际订单列表
testcase: testcases/actual/ACTUAL004_actual_list_testcases.yml
- name: ACTUAL005:查看实际订单详情
testcase: testcases/actual/ACTUAL005_actual_detail_testcases.yml
- name: ACTUAL006:删除实际订单
testcase: testcases/actual/ACTUAL006_actual_del_testcases.yml
- name: PURPOSE001:新增意向订单
testcase: testcases/purpose/PURPOSE001_add_purpose_testcases.yml
parameters:
account: ${create_phone_number(1)}
- name: PURPOSE002:编辑意向订单
testcase: testcases/purpose/PURPOSE002_edit_purpose_testcases.yml
- name: PURPOSE003:合伙人搜索——意向订单列表
testcase: testcases/purpose/PURPOSE003_purpose_list_testcases.yml
- name: PURPOSE004:搜索订单号——意向订单列表
testcase: testcases/purpose/PURPOSE003_purpose_list_testcases.yml
- name: PURPOSE005:意向订单发货
testcase: testcases/purpose/PURPOSE005_purpose_sendout_testcases.yml
- name: PURPOSE006:查看意向订单详情
testcase: testcases/purpose/PURPOSE006_purpose_detail_testcases.yml
- name: ACTUAL007:删除意向订单
testcase: testcases/purpose/PURPOSE007_purpose_del_testcases.yml
- name: dividends:分红管理-编辑
testcase: testcases/dividends/dividend_edit_testcases.yml
- name: statistics:订单统计
testcase: testcases/order/order_statistics_testcases.yml
- name: statistics:订单详情
testcase: testcases/order/order_details_testcases.yml
- name: statistics:分红统计
testcase: testcases/dividend/dividend_statistics_testcases.yml
- name: orders001:已收明细——分红订单
testcase: testcases/dividend/dividend_orders001_testcases.yml
- name: orders002:未收明细——分红订单
testcase: testcases/dividend/dividend_orders002_testcases.yml
- name: list:实发订单列表
testcase: testcases/order/order_list_testcases.yml
\ No newline at end of file
#- name: PARTNERS002:编辑合伙人
# testcase: testcases/partners/PARTNERS002_edit_partner_testcases.yml
#
#- name: PARTNERS003:搜索合伙类型
# testcase: testcases/partners/PARTNERS003_list_partner_testcases.yml
#
#- name: PARTNERS004:搜索合伙人名称
# testcase: testcases/partners/PARTNERS004_list_partner_testcases.yml
#
#- name: PARTNERS005:查看合伙人
# testcase: testcases/partners/PARTNERS005_detail_partner_testcases.yml
#
#- name: PARTNERS006:禁用合伙人
# testcase: testcases/partners/PARTNERS006_set-status_partner1_testcases.yml
#
#- name: PARTNERS006:启用合伙人
# testcase: testcases/partners/PARTNERS007_set-status_partner2_testcases.yml
#
#- name: ACTUAL001:新增实际订单
# testcase: testcases/actual/ACTUAL001_add_actual_testcases.yml
# parameters:
# account: ${create_phone_number(1)}
#
#- name: ACTUAL003:合伙人搜索——实际订单列表
# testcase: testcases/actual/ACTUAL003_actual_list_testcases.yml
#
#- name: ACTUAL004:搜索发货单号——实际订单列表
# testcase: testcases/actual/ACTUAL004_actual_list_testcases.yml
#
#- name: ACTUAL005:查看实际订单详情
# testcase: testcases/actual/ACTUAL005_actual_detail_testcases.yml
#
#- name: ACTUAL006:删除实际订单
# testcase: testcases/actual/ACTUAL006_actual_del_testcases.yml
#
#- name: PURPOSE001:新增意向订单
# testcase: testcases/purpose/PURPOSE001_add_purpose_testcases.yml
# parameters:
# account: ${create_phone_number(1)}
#
#- name: PURPOSE002:编辑意向订单
# testcase: testcases/purpose/PURPOSE002_edit_purpose_testcases.yml
#
#- name: PURPOSE003:合伙人搜索——意向订单列表
# testcase: testcases/purpose/PURPOSE003_purpose_list_testcases.yml
#
#- name: PURPOSE004:搜索订单号——意向订单列表
# testcase: testcases/purpose/PURPOSE003_purpose_list_testcases.yml
#
#- name: PURPOSE005:意向订单发货
# testcase: testcases/purpose/PURPOSE005_purpose_sendout_testcases.yml
#
#- name: PURPOSE006:查看意向订单详情
# testcase: testcases/purpose/PURPOSE006_purpose_detail_testcases.yml
#
#- name: ACTUAL007:删除意向订单
# testcase: testcases/purpose/PURPOSE007_purpose_del_testcases.yml
#
#- name: dividends:分红管理-编辑
# testcase: testcases/dividends/dividend_edit_testcases.yml
#
#- name: statistics:订单统计
# testcase: testcases/order/order_statistics_testcases.yml
#
#- name: statistics:订单详情
# testcase: testcases/order/order_details_testcases.yml
#
#- name: statistics:分红统计
# testcase: testcases/dividend/dividend_statistics_testcases.yml
#
#- name: orders001:已收明细——分红订单
# testcase: testcases/dividend/dividend_orders001_testcases.yml
#
#- name: orders002:未收明细——分红订单
# testcase: testcases/dividend/dividend_orders002_testcases.yml
#
#- name: list:实发订单列表
# testcase: testcases/order/order_list_testcases.yml
\ No newline at end of file
... ...