作者 bianxinhua

add README

要显示太多修改。

为保证性能只显示 17 of 17+ 个文件。

... ... @@ -5,5 +5,6 @@
#base_worth_url = https://suplus-worth-web-gateway-test.fjmaimaimai.com/
#base_manager_url= https://public-interface.fjmaimaimai.com/mmm-partnermg
#base_manager_url=http://mmm-partnermg-test.fjmaimaimai.com/
base_manager_url=https://public-interface-test.fjmaimaimai.com/partnermg/
#base_manager_url=https://public-interface-test.fjmaimaimai.com/partnermg/
base_manager_url=https://public-interface.fjmaimaimai.com/mmm-partnermg/
base_url = http://mmm-partner-test.fjmaimaimai.com/
\ No newline at end of file
... ...
... ... @@ -2,32 +2,15 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="d6814b48-28ec-40b6-bcea-dcd9b8613715" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/api/app_api/dividend/orders001.api.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/api/app_api/dividend/orders002.api.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/api/app_api/order/details_api.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/api/app_api/order/list_api.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/testcases/dividend/dividend_orders001_testcases.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/testcases/dividend/dividend_orders002_testcases.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/testcases/order/order_details_testcases.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/testcases/order/order_list_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.env" beforeDir="false" afterPath="$PROJECT_DIR$/.env" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/app_api/order/intentions_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/app_api/order/list_0_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/app_api/order/list_1_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/app_api/order/list_2_api.yml" beforeDir="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/actual/m_add_order_actual_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/m_api/actual/m_add_order_actual_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_add_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_add_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_convert_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_sendout_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/debugtalk.py" beforeDir="false" afterPath="$PROJECT_DIR$/debugtalk.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_edit_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_edit_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_sendout_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_sendout_api.yml" 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$/helpfunc/pg_app_db_func.py" beforeDir="false" afterPath="$PROJECT_DIR$/helpfunc/pg_app_db_func.py" 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_intentions_testcases.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/order/order_list_0_testcases.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/order/order_list_1_testcases.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/order/order_list_2_testcases.yml" beforeDir="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/PURPOSE005_purpose_convert_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/purpose/PURPOSE005_purpose_sendout_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases_excel/partner_api.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/testcases_excel/partner_api.xlsx" 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$/testsuites/partner_testsuite.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testsuites/partner_testsuite.yml" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
... ... @@ -38,35 +21,65 @@
</component>
<component name="CoverageDataManager">
<SUITE FILE_PATH="coverage/partner_api$debugtalk.coverage" NAME="debugtalk Coverage Results" MODIFIED="1595408122991" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/partner_api$pg_app_db_func.coverage" NAME="pg_app_db_func Coverage Results" MODIFIED="1595408745035" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/helpfunc" />
<SUITE FILE_PATH="coverage/partner_api$pg_app_db_func.coverage" NAME="pg_app_db_func Coverage Results" MODIFIED="1596509191478" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/helpfunc" />
<SUITE FILE_PATH="coverage/partner_api$db_pg_func.coverage" NAME="db_pg_func Coverage Results" MODIFIED="1594485069390" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/helpfunc" />
<SUITE FILE_PATH="coverage/partner_api$pg_db_func.coverage" NAME="pg_db_func Coverage Results" MODIFIED="1594826376790" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/helpfunc" />
<SUITE FILE_PATH="coverage/partner_api$pg_db_func.coverage" NAME="pg_db_func Coverage Results" MODIFIED="1596181551908" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/helpfunc" />
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="true">
<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="141">
<caret line="80" column="73" selection-start-line="80" selection-start-column="73" selection-end-line="80" selection-end-column="73" />
<state relative-caret-position="1496">
<caret line="68" column="40" selection-start-line="68" selection-start-column="40" selection-end-line="68" selection-end-column="40" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_add_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="374">
<caret line="17" column="29" selection-start-line="17" selection-start-column="29" selection-end-line="17" selection-end-column="29" />
<state relative-caret-position="242">
<caret line="20" column="23" selection-start-line="20" selection-start-column="23" selection-end-line="20" selection-end-column="23" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/.env">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="176">
<caret line="8" column="71" selection-start-line="8" selection-start-column="71" selection-end-line="8" selection-end-column="71" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/api/m_api/actual/m_add_order_actual_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="308">
<caret line="14" column="19" selection-start-line="14" selection-start-column="19" selection-end-line="14" selection-end-column="19" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/helpfunc/pg_app_db_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1650">
<caret line="77" column="34" selection-start-line="77" selection-start-column="4" selection-end-line="77" selection-end-column="34" />
<folding>
<element signature="e#108#123#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_sendout_api.yml">
<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="550">
<caret line="25" column="26" lean-forward="true" selection-start-line="25" selection-start-column="26" selection-end-line="25" selection-end-column="33" />
<state relative-caret-position="704">
<caret line="32" column="12" selection-start-line="32" selection-start-column="12" selection-end-line="32" selection-end-column="12" />
</state>
</provider>
</entry>
... ... @@ -98,6 +111,10 @@
<find>cumulativeMoney</find>
<find>todayIntentionMoney</find>
<find>todayIntentionQuantity</find>
<find>get_purpose_address_from_database</find>
<find>get_purpose_id_from_database</find>
<find>buyerPhone</find>
<find>get_partner_id_from_database</find>
</findStrings>
</component>
<component name="Git.Settings">
... ... @@ -113,7 +130,6 @@
<option value="$PROJECT_DIR$/api/m_api/actual/m_order_actual_searchText_list_api.yml" />
<option value="$PROJECT_DIR$/api/m_api/actual/m_order_actual_detail_api.yml" />
<option value="$PROJECT_DIR$/testcases/purpose/PURPOSE002_edit_purpose_testcases.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" />
<option value="$PROJECT_DIR$/testcases/purpose/PURPOSE003_purpose_list_testcases.yml" />
<option value="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_searchText_list_api.yml" />
... ... @@ -122,10 +138,8 @@
<option value="$PROJECT_DIR$/testcases/purpose/PURPOSE006_actual_detail_testcases.yml" />
<option value="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_detail_api.yml" />
<option value="$PROJECT_DIR$/testcases/purpose/PURPOSE006_purpose_detail_testcases.yml" />
<option value="$PROJECT_DIR$/.env" />
<option value="$PROJECT_DIR$/api/app_api/login/login_api.yml" />
<option value="$PROJECT_DIR$/api/app_api/login/accessToken_api.yml" />
<option value="$PROJECT_DIR$/helpfunc/pg_db_func.py" />
<option value="$PROJECT_DIR$/testcases/order/order_list_0_testcases.yml" />
<option value="$PROJECT_DIR$/testcases/order/order_list_1_testcases.yml" />
<option value="$PROJECT_DIR$/testcases/actual/ACTUAL001_add_actual_testcases.yml" />
... ... @@ -135,7 +149,6 @@
<option value="$PROJECT_DIR$/testcases/order/order_list_2_testcases.yml" />
<option value="$PROJECT_DIR$/api/app_api/order/intentions_api.yml" />
<option value="$PROJECT_DIR$/testcases/order/order_intentions_testcases.yml" />
<option value="$PROJECT_DIR$/api/m_api/actual/m_add_order_actual_api.yml" />
<option value="$PROJECT_DIR$/testcases/dividend/dividend_statistics_testcases.yml" />
<option value="$PROJECT_DIR$/api/app_api/dividend/statistics_api.yml" />
<option value="$PROJECT_DIR$/debugtalk.py" />
... ... @@ -148,15 +161,19 @@
<option value="$PROJECT_DIR$/api/app_api/dividend/orders002.api.yml" />
<option value="$PROJECT_DIR$/testcases/dividend/dividend_orders001_testcases.yml" />
<option value="$PROJECT_DIR$/testcases/dividend/dividend_orders002_testcases.yml" />
<option value="$PROJECT_DIR$/helpfunc/pg_app_db_func.py" />
<option value="$PROJECT_DIR$/testcases/order/order_statistics_testcases.yml" />
<option value="$PROJECT_DIR$/api/app_api/order/statistics_api.yml" />
<option value="$PROJECT_DIR$/api/app_api/order/list_api.yml" />
<option value="$PROJECT_DIR$/testcases/order/order_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_convert_api.yml" />
<option value="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_sendout_api.yml" />
<option value="$PROJECT_DIR$/helpfunc/pg_db_func.py" />
<option value="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_edit_api.yml" />
<option value="$PROJECT_DIR$/helpfunc/pg_app_db_func.py" />
<option value="$PROJECT_DIR$/api/m_api/actual/m_add_order_actual_api.yml" />
<option value="$PROJECT_DIR$/testsuites/partner_testsuite.yml" />
<option value="$PROJECT_DIR$/.env" />
<option value="$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_add_api.yml" />
</list>
</option>
</component>
... ... @@ -171,7 +188,6 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<expand>
... ... @@ -195,6 +211,13 @@
<item name="partner_api" type="462c0819:PsiDirectoryNode" />
<item name="api" type="462c0819:PsiDirectoryNode" />
<item name="m_api" type="462c0819:PsiDirectoryNode" />
<item name="actual" 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="purpose" type="462c0819:PsiDirectoryNode" />
</path>
<path>
... ... @@ -218,10 +241,16 @@
<item name="partner_api" type="462c0819:PsiDirectoryNode" />
<item name="testsuites" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="partner_api" type="b2602c69:ProjectViewProjectNode" />
<item name="partner_api" type="462c0819:PsiDirectoryNode" />
<item name="venv" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
... ... @@ -348,8 +377,8 @@
<recent_temporary>
<list>
<item itemvalue="Python.pg_app_db_func" />
<item itemvalue="Python.debugtalk" />
<item itemvalue="Python.pg_db_func" />
<item itemvalue="Python.debugtalk" />
<item itemvalue="Python.db_pg_func" />
</list>
</recent_temporary>
... ... @@ -389,20 +418,28 @@
<workItem from="1595917894201" duration="630000" />
<workItem from="1596008414671" duration="1359000" />
<workItem from="1596076314159" duration="9748000" />
<workItem from="1596162441532" duration="9816000" />
<workItem from="1596355169634" duration="1170000" />
<workItem from="1596418719909" duration="7886000" />
<workItem from="1596508636184" duration="5379000" />
<workItem from="1596596271220" duration="10607000" />
<workItem from="1596678833734" duration="2504000" />
<workItem from="1596805266484" duration="1392000" />
<workItem from="1596899522553" duration="58000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="139276000" />
<option name="totallyTimeSpent" value="178088000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1382" height="744" extended-state="6" />
<layout>
<window_info id="Favorites" order="0" side_tool="true" />
<window_info active="true" content_ui="combo" id="Project" order="1" visible="true" weight="0.2624811" />
<window_info content_ui="combo" id="Project" order="1" visible="true" weight="0.2965204" />
<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.28960818" />
<window_info active="true" anchor="bottom" id="Terminal" order="1" visible="true" weight="0.28620103" />
<window_info anchor="bottom" id="Message" order="2" />
<window_info anchor="bottom" id="Event Log" order="3" side_tool="true" />
<window_info anchor="bottom" id="Find" order="4" weight="0.32879046" />
... ... @@ -432,13 +469,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/purpose/PURPOSE002_edit_purpose_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154">
<caret line="13" column="56" selection-start-line="13" selection-start-column="56" selection-end-line="13" selection-end-column="56" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_partner_list_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state>
... ... @@ -467,13 +497,6 @@
</state>
</provider>
</entry>
<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="246">
<caret line="34" lean-forward="true" selection-start-line="2" selection-end-line="34" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/purpose/PURPOSE005_purpose_sendout_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="66">
... ... @@ -495,13 +518,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.env">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="176">
<caret line="8" column="51" selection-start-line="8" selection-start-column="51" selection-end-line="8" selection-end-column="51" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/m_login_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="88">
... ... @@ -523,48 +539,11 @@
</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="3427">
<caret line="390" lean-forward="true" selection-start-line="390" selection-end-line="390" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/order/order_list_1_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="15" column="34" selection-start-line="15" selection-start-column="34" selection-end-line="15" selection-end-column="34" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/order/order_list_0_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="506">
<caret line="23" column="33" selection-start-line="23" selection-start-column="33" selection-end-line="23" selection-end-column="33" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/app_api/order/list_2_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="66">
<caret line="3" column="4" selection-start-line="3" selection-start-column="4" selection-end-line="3" selection-end-column="4" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/app_api/order/list_1_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="44">
<caret line="2" selection-start-line="2" selection-end-line="3" selection-end-column="18" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/order/order_list_2_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="176">
<caret line="8" column="20" selection-start-line="8" selection-start-column="20" selection-end-line="8" selection-end-column="20" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/order/order_list_1_testcases.yml" />
<entry file="file://$PROJECT_DIR$/testcases/order/order_list_0_testcases.yml" />
<entry file="file://$PROJECT_DIR$/api/app_api/order/list_2_api.yml" />
<entry file="file://$PROJECT_DIR$/api/app_api/order/list_1_api.yml" />
<entry file="file://$PROJECT_DIR$/testcases/order/order_list_2_testcases.yml" />
<entry file="file://$PROJECT_DIR$/testcases/actual/ACTUAL001_add_actual_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="110">
... ... @@ -579,34 +558,9 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/app_api/order/list_0_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="66">
<caret line="3" column="18" selection-start-line="3" selection-start-column="18" selection-end-line="3" selection-end-column="18" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/order/order_intentions_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="176">
<caret line="8" column="20" selection-start-line="8" selection-start-column="20" selection-end-line="8" selection-end-column="20" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/app_api/order/intentions_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154">
<caret line="31" column="49" selection-start-line="31" selection-start-column="32" selection-end-line="31" selection-end-column="49" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/actual/m_add_order_actual_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="81">
<caret line="9" column="9" selection-start-line="9" selection-start-column="9" selection-end-line="9" selection-end-column="9" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/app_api/order/list_0_api.yml" />
<entry file="file://$PROJECT_DIR$/testcases/order/order_intentions_testcases.yml" />
<entry file="file://$PROJECT_DIR$/api/app_api/order/intentions_api.yml" />
<entry file="file://$PROJECT_DIR$/debugtalk.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1782">
... ... @@ -645,13 +599,7 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/user/user_userInfo_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="286">
<caret line="13" selection-start-line="13" selection-end-line="18" selection-end-column="16" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/user/user_userInfo_testcases.yml" />
<entry file="file://$PROJECT_DIR$/testcases/login_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="493">
... ... @@ -711,16 +659,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/pg_app_db_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="36">
<caret line="174" selection-start-line="174" selection-end-line="174" />
<folding>
<element signature="e#108#123#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/order/order_statistics_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="88">
... ... @@ -770,24 +708,69 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_add_api.yml">
<entry file="file://$PROJECT_DIR$/testcases/purpose/PURPOSE002_edit_purpose_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="374">
<caret line="17" column="29" selection-start-line="17" selection-start-column="29" selection-end-line="17" selection-end-column="29" />
<state relative-caret-position="154">
<caret line="13" column="56" selection-start-line="13" selection-start-column="56" selection-end-line="13" selection-end-column="56" />
</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="5854">
<caret line="316" selection-start-line="316" selection-end-line="316" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_sendout_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="550">
<caret line="25" column="26" lean-forward="true" selection-start-line="25" selection-start-column="26" selection-end-line="25" selection-end-column="33" />
<state relative-caret-position="154">
<caret line="7" column="58" selection-start-line="7" selection-start-column="58" selection-end-line="7" selection-end-column="58" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testsuites/partner_testsuite.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="141">
<caret line="80" column="73" selection-start-line="80" selection-start-column="73" selection-end-line="80" selection-end-column="73" />
<state relative-caret-position="1496">
<caret line="68" column="40" selection-start-line="68" selection-start-column="40" selection-end-line="68" selection-end-column="40" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.env">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="176">
<caret line="8" column="71" selection-start-line="8" selection-start-column="71" selection-end-line="8" selection-end-column="71" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/actual/m_add_order_actual_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="308">
<caret line="14" column="19" selection-start-line="14" selection-start-column="19" selection-end-line="14" selection-end-column="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/pg_app_db_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1650">
<caret line="77" column="34" selection-start-line="77" selection-start-column="4" selection-end-line="77" selection-end-column="34" />
<folding>
<element signature="e#108#123#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<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="704">
<caret line="32" column="12" selection-start-line="32" selection-start-column="12" selection-end-line="32" selection-end-column="12" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/purpose/m_order_purpose_add_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="242">
<caret line="20" column="23" selection-start-line="20" selection-start-column="23" selection-end-line="20" selection-end-column="23" />
</state>
</provider>
</entry>
... ...
... ... @@ -8,18 +8,24 @@ request:
User-Agent: okhttp/3.12.3
Authorization: Bearer ${get_m_accesstoken()}
json:
buyer: 我是买家${get_second()}
buyerPhone: ${convert_to_string($account)}
address: '福建省福州市收获地址1'
partner: 29
partnerRatio: 10.1
salesmanRatio: 20.2
orderId: ${get_nowtime()}
orderName: ${get_nowtime()}
orderNum: 500
orderPrice: 1000000
orderAmountAdjustmentCount: 13
orderNumCount: 29
shipmentsId: ${get_nowtime()}
buyer: 我是客户${get_second()}
orderDist: '福建一区'
orderStatue: 3
partnerID: ${get_partner_id_from_database()}
partner: ${get_partner_name_from_database()}
commissionProportion: 10.1
product:
- productName: 产品名称${get_second()}
orderNum: 18
univalence: 0.19
partnerRatio: 5.2
- productName: 产品名称${get_second()}
orderNum: 29
univalence: 0.19
partnerRatio: 5.2
method: POST
url: v1/order/actual/update
validate:
... ...
... ... @@ -7,18 +7,219 @@ request:
Authorization: Bearer ${get_m_accesstoken()}
json:
orderId: ${get_nowtime()}
buyer: 我是买家${get_second()}
buyer: 我是客户${get_second()}
orderDist: '福建二区'
partner: 29
# partnerID: ${get_partner_id_from_database()}
partnerID: 003
commissionProportion: 10.2
product:
- productName: 产品名称${get_second()}
orderNum: 100
orderNum: 33
univalence: 1.12
partnerRatio: 1.27
- productName: 产品名称${get_second()}
orderNum: 45
univalence: 2.22
partnerRatio: 5.2
partnerRatio: 5.7
# - productName: 产品名称${get_second()}
# orderNum: 3
# univalence: 3.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 4
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 5
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 6
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 7
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 8
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 9
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 10
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 11
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 12
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 13
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 14
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 15
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 16
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 17
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 18
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 19
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 20
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 21
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 22
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 23
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 24
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 25
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 26
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 27
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 28
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 29
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 30
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 31
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 32
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 33
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 34
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 35
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 36
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 37
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 38
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 39
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 40
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 41
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 42
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 43
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 44
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 45
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 46
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 47
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 48
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 49
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 50
# univalence: 2.22
# partnerRatio: 5.2
# - productName: 产品名称${get_second()}
# orderNum: 51
# univalence: 2.22
# partnerRatio: 5.2
method: POST
url: v1/order/purpose/update
validate:
- eq:
- content.msg
- ok
- ok
\ No newline at end of file
... ...
... ... @@ -31,4 +31,4 @@ request:
validate:
- eq:
- content.msg
- ok
- ok
\ No newline at end of file
... ...
name: 意向订单发货
base_url: ${ENV(base_manager_url)}
variables:
address: ${get_purpose_address_from_database(order)}
id: ${get_purpose_id_from_database(order)}
id: ${get_purpose_id_from_database()}
buyer: ${get_purpose_buyer_from_database(order)}
buyerPhone: ${get_purpose_buyerPhone_from_database(order)}
orderDist: ${get_purpose_orderDist_from_database(order)}
orderId: ${get_purpose_orderId_from_database(order)}
orderName: ${get_purpose_orderName_from_database(order)}
productid: ${get_purpose_orderId_from_database(order)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
Authorization: Bearer ${get_m_accesstoken()}
json:
shipmentsId:
shipmentsId: ${get_nowtime()}
id: $id
productDetail:
- id:
... ...
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTUwNDAzOTQsImlhdCI6MTU5NDk5NzE5NCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NDk5NzE5NCwidWlkIjoxOH0.ytZZMcD5YPV2NwP51D1UpfbdWeGqETJ1BQ5Ii-hbV0Y
\ No newline at end of file
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTY4NDk0NzAsImlhdCI6MTU5NjgwNjI3MCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NjgwNjI3MCwidWlkIjoxfQ.HlIr_mrPM8571Lly_QRPADD1IctjQg8ZN3RLeY_dkOQ
\ No newline at end of file
... ...
... ... @@ -58,12 +58,29 @@ def GetConnect():
print("连接数据库失败,%s" % err)
return conn
#获取超级管理员id
def get_partner_id_from_database(tbl):
def get_partner_id_from_database():
db = GetConnect()
cursor = db.cursor()
# sql= "select id from " + '''"''' + tbl + '''"'''+ ' ' + 'order by id desc '
sql = '''select id from \"{}\" where account = '13459147023' '''.format(tbl)
# print(sql)
sql = '''select id from partner_info where account = '13459147023' '''
print(sql)
try:
cursor.execute(sql)
result = cursor.fetchone()
return result[0]
except Exception as err:
# 发生错误时回滚
print(err)
db.rollback()
db.close()
# print(get_partner_id_from_database())
def get_partner_name_from_database():
db = GetConnect()
cursor = db.cursor()
# sql= "select id from " + '''"''' + tbl + '''"'''+ ' ' + 'order by id desc '
sql = '''select partner_name from partner_info where account = '13459147023' '''
print(sql)
try:
cursor.execute(sql)
result = cursor.fetchone()
... ... @@ -73,6 +90,7 @@ def get_partner_id_from_database(tbl):
print(err)
db.rollback()
db.close()
# print(get_partner_name_from_database())
#获取超级管理员账号
def get_partner_account_from_database(tbl):
db = GetConnect()
... ... @@ -334,7 +352,7 @@ def get_expend_from_database():
db = GetConnect()
cursor = db.cursor()
# sql= "select id from " + '''"''' + tbl + '''"'''+ ' ' + 'order by id desc '
sql = '''select sum(((order_amount- order_actual_amount)* partner_bonus_percent)/100) from \"{}\" where partner_id = {} '''.format('order',get_partner_id_from_database('partner_info'))
sql = '''select sum(((order_amount- order_actual_amount)* partner_bonus_percent)/100) from \"{}\" where partner_id = {} '''.format('order',get_partner_id_from_database())
# print(sql)id
try:
cursor.execute(sql)
... ... @@ -348,4 +366,4 @@ def get_expend_from_database():
print(err)
db.rollback()
db.close()
print(get_expend_from_database())
# print(get_expend_from_database())
... ...
... ... @@ -65,13 +65,12 @@ def get_actual_id_from_database(tbl):
print(err)
db.rollback()
db.close()
def get_purpose_id_from_database(tbl):
#意向订单id
def get_purpose_id_from_database():
db = GetConnect()
cursor = db.cursor()
# sql= "select id from " + '''"''' + tbl + '''"'''+ ' ' + 'order by id desc '
sql = 'select id from \"{}\" where order_type = 2 order by id DESC'.format(tbl)
# print(sql)
sql = '''select id from "order" where order_type = 2 order by id DESC'''
try:
cursor.execute(sql)
result = cursor.fetchone()
... ... @@ -224,20 +223,6 @@ def get_actual_address_from_database(tbl):
db.rollback()
db.close()
def get_purpose_address_from_database(tbl):
db = GetConnect()
cursor = db.cursor()
sql = 'select buyer from \"{}\" where order_type = 2 order by id DESC'.format(tbl)
try:
cursor.execute(sql)
result = cursor.fetchone()
return result[0]['shippingAddress']
except Exception as err:
# 发生错误时回滚
print(err)
db.rollback()
db.close()
def get_actual_buyer_from_database(tbl):
db = GetConnect()
cursor = db.cursor()
... ... @@ -268,36 +253,6 @@ def get_purpose_buyer_from_database(tbl):
db.rollback()
db.close()
def get_actual_buyerPhone_from_database(tbl):
db = GetConnect()
cursor = db.cursor()
sql = 'select buyer from \"{}\" where order_type = 1 order by id DESC'.format(tbl)
# print(sql)
try:
cursor.execute(sql)
result = cursor.fetchone()
return result[0]['contactInfo']
except Exception as err:
# 发生错误时回滚
print(err)
db.rollback()
db.close()
def get_purpose_buyerPhone_from_database(tbl):
db = GetConnect()
cursor = db.cursor()
sql = 'select buyer from \"{}\" where order_type = 2 order by id DESC'.format(tbl)
# print(sql)
try:
cursor.execute(sql)
result = cursor.fetchone()
return result[0]['contactInfo']
except Exception as err:
# 发生错误时回滚
print(err)
db.rollback()
db.close()
def get_actual_orderDist_from_database(tbl):
db = GetConnect()
cursor = db.cursor()
... ... @@ -358,34 +313,5 @@ def get_purpose_orderId_from_database(tbl):
db.rollback()
db.close()
def get_actual_orderName_from_database(tbl):
db = GetConnect()
cursor = db.cursor()
sql = 'select order_name from \"{}\" where order_type = 1 order by id DESC'.format(tbl)
# print(sql)
try:
cursor.execute(sql)
result = cursor.fetchone()
return result[0]
except Exception as err:
# 发生错误时回滚
print(err)
db.rollback()
db.close()
def get_purpose_orderName_from_database(tbl):
db = GetConnect()
cursor = db.cursor()
sql = 'select order_name from \"{}\" where order_type = 2 order by id DESC'.format(tbl)
# print(sql)
try:
cursor.execute(sql)
result = cursor.fetchone()
return result[0]
except Exception as err:
# 发生错误时回滚
print(err)
db.rollback()
db.close()
# print(get_order_status_from_database('order'))
# print(get_order_status_from_database('order'))
\ 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-08-06T01:55:02.489234</td>
</tr>
<tr>
<th>DURATION</th>
<td colspan="4">0.619 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 (1/0)</td>
<td colspan="2">2 (2/0/0/0)</td>
</tr>
</table>
<h2>Details</h2>
<h3>PURPOSE001:新增意向订单</h3>
<table id="suite_1" class="details">
<tr>
<td>TOTAL: 2</td>
<td>SUCCESS: 2</td>
<td>FAILED: 0</td>
<td>ERROR: 0</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="success" style="width:5em;">success</th>
<td colspan="2">10000000001 登录系统</td>
<td style="text-align:center;width:6em;">370.02 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;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;,
&#34;Accept-Encoding&#34;: &#34;gzip, deflate&#34;,
&#34;Accept&#34;: &#34;*/*&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Content-Type&#34;: &#34;application/json;charset=utf-8&#34;,
&#34;Content-Length&#34;: &#34;83&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;password&#34;: &#34;7c4a8d09ca3762af61e59520943dc26494f8941b&#34;,
&#34;username&#34;: &#34;10000000001&#34;
}</pre>
</td>
</tr>
</table>
</div>
<h3>Response:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>ok</th>
<td>
True
</td>
</tr>
<tr>
<th>url</th>
<td>
https://public-interface-test.fjmaimaimai.com/partnermg/v1/auth/login
</td>
</tr>
<tr>
<th>status_code</th>
<td>
200
</td>
</tr>
<tr>
<th>reason</th>
<td>
OK
</td>
</tr>
<tr>
<th>cookies</th>
<td>
{}
</td>
</tr>
<tr>
<th>encoding</th>
<td>
utf-8
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;Date&#34;: &#34;Thu, 06 Aug 2020 01:55:04 GMT&#34;,
&#34;Content-Type&#34;: &#34;application/json; charset=utf-8&#34;,
&#34;Transfer-Encoding&#34;: &#34;chunked&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Vary&#34;: &#34;Accept-Encoding, Accept-Encoding&#34;,
&#34;Access-Control-Allow-Credentials&#34;: &#34;true&#34;,
&#34;Access-Control-Allow-Headers&#34;: &#34;Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with&#34;,
&#34;Access-Control-Allow-Methods&#34;: &#34;*&#34;,
&#34;Access-Control-Allow-Origin&#34;: &#34;*&#34;,
&#34;Access-Control-Expose-Headers&#34;: &#34;Content-Length&#34;,
&#34;Strict-Transport-Security&#34;: &#34;max-age=15724800; includeSubDomains&#34;,
&#34;Content-Encoding&#34;: &#34;gzip&#34;
}</pre>
</td>
</tr>
<tr>
<th>content_type</th>
<td>
application/json; charset=utf-8
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;code&#34;: 0,
&#34;msg&#34;: &#34;ok&#34;,
&#34;data&#34;: {
&#34;access&#34;: {
&#34;accessToken&#34;: &#34;eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTY3MjIxMDQsImlhdCI6MTU5NjY3ODkwNCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NjY3ODkwNCwidWlkIjoxOH0.ZH98h4alAqMftyKXrMi4TVFx94X3hKFK7U-IJn8m6do&#34;,
&#34;expiresIn&#34;: 43200
}
}
}</pre>
</td>
</tr>
</table>
</div>
<h3>Validators:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>check</th>
<th>comparator</th>
<th>expect value</th>
<th>actual value</th>
</tr>
<tr>
<td class="passed">
content.msg
</td>
<td>equals</td>
<td>ok</td>
<td>ok</td>
</tr>
</table>
</div>
<h3>Statistics:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>content_size(bytes)</th>
<td>311</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>370.02</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>360.461</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</td>
</tr>
<tr id="record_1_2">
<th class="success" style="width:5em;">success</th>
<td colspan="2">10000000001 新增意向订单</td>
<td style="text-align:center;width:6em;">62.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/order/purpose/update
</td>
</tr>
<tr>
<th>method</th>
<td>
POST
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;User-Agent&#34;: &#34;okhttp/3.12.3&#34;,
&#34;Accept-Encoding&#34;: &#34;gzip, deflate&#34;,
&#34;Accept&#34;: &#34;*/*&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Content-Type&#34;: &#34;application/json;charset=utf-8&#34;,
&#34;Authorization&#34;: &#34;Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTY3MjIxMDQsImlhdCI6MTU5NjY3ODkwNCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NjY3ODkwNCwidWlkIjoxOH0.ZH98h4alAqMftyKXrMi4TVFx94X3hKFK7U-IJn8m6do&#34;,
&#34;Content-Length&#34;: &#34;375&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;orderId&#34;: &#34;20200806095502&#34;,
&#34;buyer&#34;: &#34;我是客户2&#34;,
&#34;orderDist&#34;: &#34;福建二区&#34;,
&#34;partnerID&#34;: 29,
&#34;commissionProportion&#34;: 10.2,
&#34;product&#34;: [
{
&#34;productName&#34;: &#34;产品名称3&#34;,
&#34;orderNum&#34;: 20,
&#34;univalence&#34;: 1.12,
&#34;partnerRatio&#34;: 1.27
},
{
&#34;productName&#34;: &#34;产品名称3&#34;,
&#34;orderNum&#34;: 25,
&#34;univalence&#34;: 2.22,
&#34;partnerRatio&#34;: 5.7
}
]
}</pre>
</td>
</tr>
</table>
</div>
<h3>Response:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>ok</th>
<td>
True
</td>
</tr>
<tr>
<th>url</th>
<td>
https://public-interface-test.fjmaimaimai.com/partnermg/v1/order/purpose/update
</td>
</tr>
<tr>
<th>status_code</th>
<td>
200
</td>
</tr>
<tr>
<th>reason</th>
<td>
OK
</td>
</tr>
<tr>
<th>cookies</th>
<td>
{}
</td>
</tr>
<tr>
<th>encoding</th>
<td>
utf-8
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;Date&#34;: &#34;Thu, 06 Aug 2020 01:55:04 GMT&#34;,
&#34;Content-Type&#34;: &#34;application/json; charset=utf-8&#34;,
&#34;Content-Length&#34;: &#34;44&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Access-Control-Allow-Credentials&#34;: &#34;true&#34;,
&#34;Access-Control-Allow-Headers&#34;: &#34;Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with&#34;,
&#34;Access-Control-Allow-Methods&#34;: &#34;*&#34;,
&#34;Access-Control-Allow-Origin&#34;: &#34;*&#34;,
&#34;Access-Control-Expose-Headers&#34;: &#34;Content-Length&#34;,
&#34;Strict-Transport-Security&#34;: &#34;max-age=15724800; includeSubDomains&#34;
}</pre>
</td>
</tr>
<tr>
<th>content_type</th>
<td>
application/json; charset=utf-8
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;code&#34;: 0,
&#34;msg&#34;: &#34;ok&#34;,
&#34;data&#34;: {}
}</pre>
</td>
</tr>
</table>
</div>
<h3>Validators:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>check</th>
<th>comparator</th>
<th>expect value</th>
<th>actual value</th>
</tr>
<tr>
<td class="passed">
content.msg
</td>
<td>equals</td>
<td>ok</td>
<td>ok</td>
</tr>
</table>
</div>
<h3>Statistics:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>content_size(bytes)</th>
<td>44</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>62.0</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>57.455</td>
</tr>
</table>
</div>
</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-08-06T02:02:34.973114</td>
</tr>
<tr>
<th>DURATION</th>
<td colspan="4">0.380 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 (1/0)</td>
<td colspan="2">2 (2/0/0/0)</td>
</tr>
</table>
<h2>Details</h2>
<h3>PURPOSE001:新增意向订单</h3>
<table id="suite_1" class="details">
<tr>
<td>TOTAL: 2</td>
<td>SUCCESS: 2</td>
<td>FAILED: 0</td>
<td>ERROR: 0</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="success" style="width:5em;">success</th>
<td colspan="2">10000000001 登录系统</td>
<td style="text-align:center;width:6em;">162.01 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;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;,
&#34;Accept-Encoding&#34;: &#34;gzip, deflate&#34;,
&#34;Accept&#34;: &#34;*/*&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Content-Type&#34;: &#34;application/json;charset=utf-8&#34;,
&#34;Content-Length&#34;: &#34;83&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;password&#34;: &#34;7c4a8d09ca3762af61e59520943dc26494f8941b&#34;,
&#34;username&#34;: &#34;10000000001&#34;
}</pre>
</td>
</tr>
</table>
</div>
<h3>Response:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>ok</th>
<td>
True
</td>
</tr>
<tr>
<th>url</th>
<td>
https://public-interface-test.fjmaimaimai.com/partnermg/v1/auth/login
</td>
</tr>
<tr>
<th>status_code</th>
<td>
200
</td>
</tr>
<tr>
<th>reason</th>
<td>
OK
</td>
</tr>
<tr>
<th>cookies</th>
<td>
{}
</td>
</tr>
<tr>
<th>encoding</th>
<td>
utf-8
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;Date&#34;: &#34;Thu, 06 Aug 2020 02:02:36 GMT&#34;,
&#34;Content-Type&#34;: &#34;application/json; charset=utf-8&#34;,
&#34;Transfer-Encoding&#34;: &#34;chunked&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Vary&#34;: &#34;Accept-Encoding, Accept-Encoding&#34;,
&#34;Access-Control-Allow-Credentials&#34;: &#34;true&#34;,
&#34;Access-Control-Allow-Headers&#34;: &#34;Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with&#34;,
&#34;Access-Control-Allow-Methods&#34;: &#34;*&#34;,
&#34;Access-Control-Allow-Origin&#34;: &#34;*&#34;,
&#34;Access-Control-Expose-Headers&#34;: &#34;Content-Length&#34;,
&#34;Strict-Transport-Security&#34;: &#34;max-age=15724800; includeSubDomains&#34;,
&#34;Content-Encoding&#34;: &#34;gzip&#34;
}</pre>
</td>
</tr>
<tr>
<th>content_type</th>
<td>
application/json; charset=utf-8
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;code&#34;: 0,
&#34;msg&#34;: &#34;ok&#34;,
&#34;data&#34;: {
&#34;access&#34;: {
&#34;accessToken&#34;: &#34;eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTY3MjI1NTYsImlhdCI6MTU5NjY3OTM1NiwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NjY3OTM1NiwidWlkIjoxOH0.JBWKbgqDscAfiTGbRPJd7i_DNRr4NFwHrxD9W3gNiYk&#34;,
&#34;expiresIn&#34;: 43200
}
}
}</pre>
</td>
</tr>
</table>
</div>
<h3>Validators:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>check</th>
<th>comparator</th>
<th>expect value</th>
<th>actual value</th>
</tr>
<tr>
<td class="passed">
content.msg
</td>
<td>equals</td>
<td>ok</td>
<td>ok</td>
</tr>
</table>
</div>
<h3>Statistics:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>content_size(bytes)</th>
<td>311</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>162.01</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>148.811</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</td>
</tr>
<tr id="record_1_2">
<th class="success" style="width:5em;">success</th>
<td colspan="2">10000000001 新增意向订单</td>
<td style="text-align:center;width:6em;">42.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/order/purpose/update
</td>
</tr>
<tr>
<th>method</th>
<td>
POST
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;User-Agent&#34;: &#34;okhttp/3.12.3&#34;,
&#34;Accept-Encoding&#34;: &#34;gzip, deflate&#34;,
&#34;Accept&#34;: &#34;*/*&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Content-Type&#34;: &#34;application/json;charset=utf-8&#34;,
&#34;Authorization&#34;: &#34;Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTY3MjI1NTYsImlhdCI6MTU5NjY3OTM1NiwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NjY3OTM1NiwidWlkIjoxOH0.JBWKbgqDscAfiTGbRPJd7i_DNRr4NFwHrxD9W3gNiYk&#34;,
&#34;Content-Length&#34;: &#34;378&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;orderId&#34;: &#34;20200806100235&#34;,
&#34;buyer&#34;: &#34;我是客户35&#34;,
&#34;orderDist&#34;: &#34;福建二区&#34;,
&#34;partnerID&#34;: 29,
&#34;commissionProportion&#34;: 10.2,
&#34;product&#34;: [
{
&#34;productName&#34;: &#34;产品名称35&#34;,
&#34;orderNum&#34;: 20,
&#34;univalence&#34;: 1.12,
&#34;partnerRatio&#34;: 1.27
},
{
&#34;productName&#34;: &#34;产品名称35&#34;,
&#34;orderNum&#34;: 25,
&#34;univalence&#34;: 2.22,
&#34;partnerRatio&#34;: 5.7
}
]
}</pre>
</td>
</tr>
</table>
</div>
<h3>Response:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>ok</th>
<td>
True
</td>
</tr>
<tr>
<th>url</th>
<td>
https://public-interface-test.fjmaimaimai.com/partnermg/v1/order/purpose/update
</td>
</tr>
<tr>
<th>status_code</th>
<td>
200
</td>
</tr>
<tr>
<th>reason</th>
<td>
OK
</td>
</tr>
<tr>
<th>cookies</th>
<td>
{}
</td>
</tr>
<tr>
<th>encoding</th>
<td>
utf-8
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;Date&#34;: &#34;Thu, 06 Aug 2020 02:02:36 GMT&#34;,
&#34;Content-Type&#34;: &#34;application/json; charset=utf-8&#34;,
&#34;Content-Length&#34;: &#34;44&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Access-Control-Allow-Credentials&#34;: &#34;true&#34;,
&#34;Access-Control-Allow-Headers&#34;: &#34;Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with&#34;,
&#34;Access-Control-Allow-Methods&#34;: &#34;*&#34;,
&#34;Access-Control-Allow-Origin&#34;: &#34;*&#34;,
&#34;Access-Control-Expose-Headers&#34;: &#34;Content-Length&#34;,
&#34;Strict-Transport-Security&#34;: &#34;max-age=15724800; includeSubDomains&#34;
}</pre>
</td>
</tr>
<tr>
<th>content_type</th>
<td>
application/json; charset=utf-8
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;code&#34;: 0,
&#34;msg&#34;: &#34;ok&#34;,
&#34;data&#34;: {}
}</pre>
</td>
</tr>
</table>
</div>
<h3>Validators:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>check</th>
<th>comparator</th>
<th>expect value</th>
<th>actual value</th>
</tr>
<tr>
<td class="passed">
content.msg
</td>
<td>equals</td>
<td>ok</td>
<td>ok</td>
</tr>
</table>
</div>
<h3>Statistics:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>content_size(bytes)</th>
<td>44</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>42.0</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>37.245</td>
</tr>
</table>
</div>
</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-08-06T02:02:49.929970</td>
</tr>
<tr>
<th>DURATION</th>
<td colspan="4">0.488 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 (1/0)</td>
<td colspan="2">2 (2/0/0/0)</td>
</tr>
</table>
<h2>Details</h2>
<h3>PURPOSE001:新增意向订单</h3>
<table id="suite_1" class="details">
<tr>
<td>TOTAL: 2</td>
<td>SUCCESS: 2</td>
<td>FAILED: 0</td>
<td>ERROR: 0</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="success" style="width:5em;">success</th>
<td colspan="2">10000000001 登录系统</td>
<td style="text-align:center;width:6em;">164.01 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;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;,
&#34;Accept-Encoding&#34;: &#34;gzip, deflate&#34;,
&#34;Accept&#34;: &#34;*/*&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Content-Type&#34;: &#34;application/json;charset=utf-8&#34;,
&#34;Content-Length&#34;: &#34;83&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;password&#34;: &#34;7c4a8d09ca3762af61e59520943dc26494f8941b&#34;,
&#34;username&#34;: &#34;10000000001&#34;
}</pre>
</td>
</tr>
</table>
</div>
<h3>Response:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>ok</th>
<td>
True
</td>
</tr>
<tr>
<th>url</th>
<td>
https://public-interface-test.fjmaimaimai.com/partnermg/v1/auth/login
</td>
</tr>
<tr>
<th>status_code</th>
<td>
200
</td>
</tr>
<tr>
<th>reason</th>
<td>
OK
</td>
</tr>
<tr>
<th>cookies</th>
<td>
{}
</td>
</tr>
<tr>
<th>encoding</th>
<td>
utf-8
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;Date&#34;: &#34;Thu, 06 Aug 2020 02:02:51 GMT&#34;,
&#34;Content-Type&#34;: &#34;application/json; charset=utf-8&#34;,
&#34;Transfer-Encoding&#34;: &#34;chunked&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Vary&#34;: &#34;Accept-Encoding, Accept-Encoding&#34;,
&#34;Access-Control-Allow-Credentials&#34;: &#34;true&#34;,
&#34;Access-Control-Allow-Headers&#34;: &#34;Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with&#34;,
&#34;Access-Control-Allow-Methods&#34;: &#34;*&#34;,
&#34;Access-Control-Allow-Origin&#34;: &#34;*&#34;,
&#34;Access-Control-Expose-Headers&#34;: &#34;Content-Length&#34;,
&#34;Strict-Transport-Security&#34;: &#34;max-age=15724800; includeSubDomains&#34;,
&#34;Content-Encoding&#34;: &#34;gzip&#34;
}</pre>
</td>
</tr>
<tr>
<th>content_type</th>
<td>
application/json; charset=utf-8
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;code&#34;: 0,
&#34;msg&#34;: &#34;ok&#34;,
&#34;data&#34;: {
&#34;access&#34;: {
&#34;accessToken&#34;: &#34;eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTY3MjI1NzEsImlhdCI6MTU5NjY3OTM3MSwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NjY3OTM3MSwidWlkIjoxOH0.lrnK_7eU-6hP6CgCSEjiZgTGQUrW3LkO358UD14DKBc&#34;,
&#34;expiresIn&#34;: 43200
}
}
}</pre>
</td>
</tr>
</table>
</div>
<h3>Validators:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>check</th>
<th>comparator</th>
<th>expect value</th>
<th>actual value</th>
</tr>
<tr>
<td class="passed">
content.msg
</td>
<td>equals</td>
<td>ok</td>
<td>ok</td>
</tr>
</table>
</div>
<h3>Statistics:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>content_size(bytes)</th>
<td>311</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>164.01</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>157.814</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</td>
</tr>
<tr id="record_1_2">
<th class="success" style="width:5em;">success</th>
<td colspan="2">10000000001 新增意向订单</td>
<td style="text-align:center;width:6em;">59.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/order/purpose/update
</td>
</tr>
<tr>
<th>method</th>
<td>
POST
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;User-Agent&#34;: &#34;okhttp/3.12.3&#34;,
&#34;Accept-Encoding&#34;: &#34;gzip, deflate&#34;,
&#34;Accept&#34;: &#34;*/*&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Content-Type&#34;: &#34;application/json;charset=utf-8&#34;,
&#34;Authorization&#34;: &#34;Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTY3MjI1NzEsImlhdCI6MTU5NjY3OTM3MSwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NjY3OTM3MSwidWlkIjoxOH0.lrnK_7eU-6hP6CgCSEjiZgTGQUrW3LkO358UD14DKBc&#34;,
&#34;Content-Length&#34;: &#34;274&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;orderId&#34;: &#34;20200806100250&#34;,
&#34;buyer&#34;: &#34;我是客户50&#34;,
&#34;orderDist&#34;: &#34;福建二区&#34;,
&#34;partnerID&#34;: 29,
&#34;commissionProportion&#34;: 10.2,
&#34;product&#34;: [
{
&#34;productName&#34;: &#34;产品名称50&#34;,
&#34;orderNum&#34;: 20,
&#34;univalence&#34;: 1.12,
&#34;partnerRatio&#34;: 1.27
}
]
}</pre>
</td>
</tr>
</table>
</div>
<h3>Response:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>ok</th>
<td>
True
</td>
</tr>
<tr>
<th>url</th>
<td>
https://public-interface-test.fjmaimaimai.com/partnermg/v1/order/purpose/update
</td>
</tr>
<tr>
<th>status_code</th>
<td>
200
</td>
</tr>
<tr>
<th>reason</th>
<td>
OK
</td>
</tr>
<tr>
<th>cookies</th>
<td>
{}
</td>
</tr>
<tr>
<th>encoding</th>
<td>
utf-8
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;Date&#34;: &#34;Thu, 06 Aug 2020 02:02:51 GMT&#34;,
&#34;Content-Type&#34;: &#34;application/json; charset=utf-8&#34;,
&#34;Content-Length&#34;: &#34;44&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Access-Control-Allow-Credentials&#34;: &#34;true&#34;,
&#34;Access-Control-Allow-Headers&#34;: &#34;Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with&#34;,
&#34;Access-Control-Allow-Methods&#34;: &#34;*&#34;,
&#34;Access-Control-Allow-Origin&#34;: &#34;*&#34;,
&#34;Access-Control-Expose-Headers&#34;: &#34;Content-Length&#34;,
&#34;Strict-Transport-Security&#34;: &#34;max-age=15724800; includeSubDomains&#34;
}</pre>
</td>
</tr>
<tr>
<th>content_type</th>
<td>
application/json; charset=utf-8
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;code&#34;: 0,
&#34;msg&#34;: &#34;ok&#34;,
&#34;data&#34;: {}
}</pre>
</td>
</tr>
</table>
</div>
<h3>Validators:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>check</th>
<th>comparator</th>
<th>expect value</th>
<th>actual value</th>
</tr>
<tr>
<td class="passed">
content.msg
</td>
<td>equals</td>
<td>ok</td>
<td>ok</td>
</tr>
</table>
</div>
<h3>Statistics:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>content_size(bytes)</th>
<td>44</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>59.0</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>53.906</td>
</tr>
</table>
</div>
</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-08-06T02:23:37.373320</td>
</tr>
<tr>
<th>DURATION</th>
<td colspan="4">0.333 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 (1/0)</td>
<td colspan="2">2 (2/0/0/0)</td>
</tr>
</table>
<h2>Details</h2>
<h3>PURPOSE001:新增意向订单</h3>
<table id="suite_1" class="details">
<tr>
<td>TOTAL: 2</td>
<td>SUCCESS: 2</td>
<td>FAILED: 0</td>
<td>ERROR: 0</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="success" style="width:5em;">success</th>
<td colspan="2">10000000001 登录系统</td>
<td style="text-align:center;width:6em;">143.01 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;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;,
&#34;Accept-Encoding&#34;: &#34;gzip, deflate&#34;,
&#34;Accept&#34;: &#34;*/*&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Content-Type&#34;: &#34;application/json;charset=utf-8&#34;,
&#34;Content-Length&#34;: &#34;83&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;password&#34;: &#34;7c4a8d09ca3762af61e59520943dc26494f8941b&#34;,
&#34;username&#34;: &#34;10000000001&#34;
}</pre>
</td>
</tr>
</table>
</div>
<h3>Response:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>ok</th>
<td>
True
</td>
</tr>
<tr>
<th>url</th>
<td>
https://public-interface-test.fjmaimaimai.com/partnermg/v1/auth/login
</td>
</tr>
<tr>
<th>status_code</th>
<td>
200
</td>
</tr>
<tr>
<th>reason</th>
<td>
OK
</td>
</tr>
<tr>
<th>cookies</th>
<td>
{}
</td>
</tr>
<tr>
<th>encoding</th>
<td>
utf-8
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;Date&#34;: &#34;Thu, 06 Aug 2020 02:23:39 GMT&#34;,
&#34;Content-Type&#34;: &#34;application/json; charset=utf-8&#34;,
&#34;Transfer-Encoding&#34;: &#34;chunked&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Vary&#34;: &#34;Accept-Encoding, Accept-Encoding&#34;,
&#34;Access-Control-Allow-Credentials&#34;: &#34;true&#34;,
&#34;Access-Control-Allow-Headers&#34;: &#34;Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with&#34;,
&#34;Access-Control-Allow-Methods&#34;: &#34;*&#34;,
&#34;Access-Control-Allow-Origin&#34;: &#34;*&#34;,
&#34;Access-Control-Expose-Headers&#34;: &#34;Content-Length&#34;,
&#34;Strict-Transport-Security&#34;: &#34;max-age=15724800; includeSubDomains&#34;,
&#34;Content-Encoding&#34;: &#34;gzip&#34;
}</pre>
</td>
</tr>
<tr>
<th>content_type</th>
<td>
application/json; charset=utf-8
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;code&#34;: 0,
&#34;msg&#34;: &#34;ok&#34;,
&#34;data&#34;: {
&#34;access&#34;: {
&#34;accessToken&#34;: &#34;eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTY3MjM4MTksImlhdCI6MTU5NjY4MDYxOSwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NjY4MDYxOSwidWlkIjoxOH0.vsjd1S1RXHC8yEnTE5AzlkE2nYdYowiW7nBqxXxJqTw&#34;,
&#34;expiresIn&#34;: 43200
}
}
}</pre>
</td>
</tr>
</table>
</div>
<h3>Validators:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>check</th>
<th>comparator</th>
<th>expect value</th>
<th>actual value</th>
</tr>
<tr>
<td class="passed">
content.msg
</td>
<td>equals</td>
<td>ok</td>
<td>ok</td>
</tr>
</table>
</div>
<h3>Statistics:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>content_size(bytes)</th>
<td>311</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>143.01</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>137.372</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</td>
</tr>
<tr id="record_1_2">
<th class="success" style="width:5em;">success</th>
<td colspan="2">10000000001 新增意向订单</td>
<td style="text-align:center;width:6em;">46.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/order/purpose/update
</td>
</tr>
<tr>
<th>method</th>
<td>
POST
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;User-Agent&#34;: &#34;okhttp/3.12.3&#34;,
&#34;Accept-Encoding&#34;: &#34;gzip, deflate&#34;,
&#34;Accept&#34;: &#34;*/*&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Content-Type&#34;: &#34;application/json;charset=utf-8&#34;,
&#34;Authorization&#34;: &#34;Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTY3MjM4MTksImlhdCI6MTU5NjY4MDYxOSwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NjY4MDYxOSwidWlkIjoxOH0.vsjd1S1RXHC8yEnTE5AzlkE2nYdYowiW7nBqxXxJqTw&#34;,
&#34;Content-Length&#34;: &#34;274&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;orderId&#34;: &#34;20200806102337&#34;,
&#34;buyer&#34;: &#34;我是客户37&#34;,
&#34;orderDist&#34;: &#34;福建二区&#34;,
&#34;partnerID&#34;: 29,
&#34;commissionProportion&#34;: 10.2,
&#34;product&#34;: [
{
&#34;productName&#34;: &#34;产品名称37&#34;,
&#34;orderNum&#34;: 20,
&#34;univalence&#34;: 1.12,
&#34;partnerRatio&#34;: 1.27
}
]
}</pre>
</td>
</tr>
</table>
</div>
<h3>Response:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>ok</th>
<td>
True
</td>
</tr>
<tr>
<th>url</th>
<td>
https://public-interface-test.fjmaimaimai.com/partnermg/v1/order/purpose/update
</td>
</tr>
<tr>
<th>status_code</th>
<td>
200
</td>
</tr>
<tr>
<th>reason</th>
<td>
OK
</td>
</tr>
<tr>
<th>cookies</th>
<td>
{}
</td>
</tr>
<tr>
<th>encoding</th>
<td>
utf-8
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;Date&#34;: &#34;Thu, 06 Aug 2020 02:23:39 GMT&#34;,
&#34;Content-Type&#34;: &#34;application/json; charset=utf-8&#34;,
&#34;Content-Length&#34;: &#34;44&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Access-Control-Allow-Credentials&#34;: &#34;true&#34;,
&#34;Access-Control-Allow-Headers&#34;: &#34;Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with&#34;,
&#34;Access-Control-Allow-Methods&#34;: &#34;*&#34;,
&#34;Access-Control-Allow-Origin&#34;: &#34;*&#34;,
&#34;Access-Control-Expose-Headers&#34;: &#34;Content-Length&#34;,
&#34;Strict-Transport-Security&#34;: &#34;max-age=15724800; includeSubDomains&#34;
}</pre>
</td>
</tr>
<tr>
<th>content_type</th>
<td>
application/json; charset=utf-8
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;code&#34;: 0,
&#34;msg&#34;: &#34;ok&#34;,
&#34;data&#34;: {}
}</pre>
</td>
</tr>
</table>
</div>
<h3>Validators:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>check</th>
<th>comparator</th>
<th>expect value</th>
<th>actual value</th>
</tr>
<tr>
<td class="passed">
content.msg
</td>
<td>equals</td>
<td>ok</td>
<td>ok</td>
</tr>
</table>
</div>
<h3>Statistics:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>content_size(bytes)</th>
<td>44</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>46.0</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>37.876</td>
</tr>
</table>
</div>
</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-08-06T02:26:32.120315</td>
</tr>
<tr>
<th>DURATION</th>
<td colspan="4">0.404 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 (1/0)</td>
<td colspan="2">2 (2/0/0/0)</td>
</tr>
</table>
<h2>Details</h2>
<h3>PURPOSE001:新增意向订单</h3>
<table id="suite_1" class="details">
<tr>
<td>TOTAL: 2</td>
<td>SUCCESS: 2</td>
<td>FAILED: 0</td>
<td>ERROR: 0</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="success" style="width:5em;">success</th>
<td colspan="2">10000000001 登录系统</td>
<td style="text-align:center;width:6em;">196.01 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;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;,
&#34;Accept-Encoding&#34;: &#34;gzip, deflate&#34;,
&#34;Accept&#34;: &#34;*/*&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Content-Type&#34;: &#34;application/json;charset=utf-8&#34;,
&#34;Content-Length&#34;: &#34;83&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;password&#34;: &#34;7c4a8d09ca3762af61e59520943dc26494f8941b&#34;,
&#34;username&#34;: &#34;10000000001&#34;
}</pre>
</td>
</tr>
</table>
</div>
<h3>Response:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>ok</th>
<td>
True
</td>
</tr>
<tr>
<th>url</th>
<td>
https://public-interface-test.fjmaimaimai.com/partnermg/v1/auth/login
</td>
</tr>
<tr>
<th>status_code</th>
<td>
200
</td>
</tr>
<tr>
<th>reason</th>
<td>
OK
</td>
</tr>
<tr>
<th>cookies</th>
<td>
{}
</td>
</tr>
<tr>
<th>encoding</th>
<td>
utf-8
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;Date&#34;: &#34;Thu, 06 Aug 2020 02:26:33 GMT&#34;,
&#34;Content-Type&#34;: &#34;application/json; charset=utf-8&#34;,
&#34;Transfer-Encoding&#34;: &#34;chunked&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Vary&#34;: &#34;Accept-Encoding, Accept-Encoding&#34;,
&#34;Access-Control-Allow-Credentials&#34;: &#34;true&#34;,
&#34;Access-Control-Allow-Headers&#34;: &#34;Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with&#34;,
&#34;Access-Control-Allow-Methods&#34;: &#34;*&#34;,
&#34;Access-Control-Allow-Origin&#34;: &#34;*&#34;,
&#34;Access-Control-Expose-Headers&#34;: &#34;Content-Length&#34;,
&#34;Strict-Transport-Security&#34;: &#34;max-age=15724800; includeSubDomains&#34;,
&#34;Content-Encoding&#34;: &#34;gzip&#34;
}</pre>
</td>
</tr>
<tr>
<th>content_type</th>
<td>
application/json; charset=utf-8
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;code&#34;: 0,
&#34;msg&#34;: &#34;ok&#34;,
&#34;data&#34;: {
&#34;access&#34;: {
&#34;accessToken&#34;: &#34;eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTY3MjM5OTMsImlhdCI6MTU5NjY4MDc5MywiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NjY4MDc5MywidWlkIjoxOH0.tDnIQQP26PPEf4tdLye8_s4nyq8RbDGnDOtU-TZN_4Q&#34;,
&#34;expiresIn&#34;: 43200
}
}
}</pre>
</td>
</tr>
</table>
</div>
<h3>Validators:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>check</th>
<th>comparator</th>
<th>expect value</th>
<th>actual value</th>
</tr>
<tr>
<td class="passed">
content.msg
</td>
<td>equals</td>
<td>ok</td>
<td>ok</td>
</tr>
</table>
</div>
<h3>Statistics:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>content_size(bytes)</th>
<td>311</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>196.01</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>187.138</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</td>
</tr>
<tr id="record_1_2">
<th class="success" style="width:5em;">success</th>
<td colspan="2">10000000001 新增意向订单</td>
<td style="text-align:center;width:6em;">56.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/order/purpose/update
</td>
</tr>
<tr>
<th>method</th>
<td>
POST
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;User-Agent&#34;: &#34;okhttp/3.12.3&#34;,
&#34;Accept-Encoding&#34;: &#34;gzip, deflate&#34;,
&#34;Accept&#34;: &#34;*/*&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Content-Type&#34;: &#34;application/json;charset=utf-8&#34;,
&#34;Authorization&#34;: &#34;Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTY3MjM5OTMsImlhdCI6MTU5NjY4MDc5MywiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NjY4MDc5MywidWlkIjoxOH0.tDnIQQP26PPEf4tdLye8_s4nyq8RbDGnDOtU-TZN_4Q&#34;,
&#34;Content-Length&#34;: &#34;274&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;orderId&#34;: &#34;20200806102632&#34;,
&#34;buyer&#34;: &#34;我是客户32&#34;,
&#34;orderDist&#34;: &#34;福建二区&#34;,
&#34;partnerID&#34;: 29,
&#34;commissionProportion&#34;: 10.2,
&#34;product&#34;: [
{
&#34;productName&#34;: &#34;产品名称32&#34;,
&#34;orderNum&#34;: 20,
&#34;univalence&#34;: 1.12,
&#34;partnerRatio&#34;: 1.27
}
]
}</pre>
</td>
</tr>
</table>
</div>
<h3>Response:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>ok</th>
<td>
True
</td>
</tr>
<tr>
<th>url</th>
<td>
https://public-interface-test.fjmaimaimai.com/partnermg/v1/order/purpose/update
</td>
</tr>
<tr>
<th>status_code</th>
<td>
200
</td>
</tr>
<tr>
<th>reason</th>
<td>
OK
</td>
</tr>
<tr>
<th>cookies</th>
<td>
{}
</td>
</tr>
<tr>
<th>encoding</th>
<td>
utf-8
</td>
</tr>
<tr>
<th>headers</th>
<td>
<pre>{
&#34;Date&#34;: &#34;Thu, 06 Aug 2020 02:26:34 GMT&#34;,
&#34;Content-Type&#34;: &#34;application/json; charset=utf-8&#34;,
&#34;Content-Length&#34;: &#34;44&#34;,
&#34;Connection&#34;: &#34;keep-alive&#34;,
&#34;Access-Control-Allow-Credentials&#34;: &#34;true&#34;,
&#34;Access-Control-Allow-Headers&#34;: &#34;Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with&#34;,
&#34;Access-Control-Allow-Methods&#34;: &#34;*&#34;,
&#34;Access-Control-Allow-Origin&#34;: &#34;*&#34;,
&#34;Access-Control-Expose-Headers&#34;: &#34;Content-Length&#34;,
&#34;Strict-Transport-Security&#34;: &#34;max-age=15724800; includeSubDomains&#34;
}</pre>
</td>
</tr>
<tr>
<th>content_type</th>
<td>
application/json; charset=utf-8
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;code&#34;: 0,
&#34;msg&#34;: &#34;ok&#34;,
&#34;data&#34;: {}
}</pre>
</td>
</tr>
</table>
</div>
<h3>Validators:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>check</th>
<th>comparator</th>
<th>expect value</th>
<th>actual value</th>
</tr>
<tr>
<td class="passed">
content.msg
</td>
<td>equals</td>
<td>ok</td>
<td>ok</td>
</tr>
</table>
</div>
<h3>Statistics:</h3>
<div style="overflow: auto">
<table>
<tr>
<th>content_size(bytes)</th>
<td>44</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>56.0</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>52.105</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</td>
</tr>
</table>
</body>
\ No newline at end of file
... ...