作者 bianxinhua

add README

要显示太多修改。

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

... ... @@ -4,5 +4,6 @@
#base_business_url = https://suplus-business-admin-gateway-test.fjmaimaimai.com/
#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_url = http://mmm-partner-test.fjmaimaimai.com
#base_manager_url=http://mmm-partnermg-test.fjmaimaimai.com/
base_manager_url=https://public-interface-test.fjmaimaimai.com/partnermg/
#base_url = http://mmm-partner-test.fjmaimaimai.com
\ No newline at end of file
... ...
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
</code_scheme>
</component>
\ No newline at end of file
... ...
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default (1)" />
</state>
</component>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
</project>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.7 (partner_api) (2)" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/partner_api.iml" filepath="$PROJECT_DIR$/.idea/partner_api.iml" />
</modules>
</component>
</project>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="Python 3.7 (partner_api) (2)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
<option name="PROJECT_TEST_RUNNER" value="Unittests" />
</component>
</module>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="d6814b48-28ec-40b6-bcea-dcd9b8613715" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.env" beforeDir="false" afterPath="$PROJECT_DIR$/.env" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/m_admin_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/m_admin_detail_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/m_admin_forbidden_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/m_admin_list_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/m_admin_update(edit)_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/m_admin_update(new)_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/config/m_accessToken.csv" beforeDir="false" afterPath="$PROJECT_DIR$/config/m_accessToken.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/debugtalk.py" beforeDir="false" afterPath="$PROJECT_DIR$/debugtalk.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200703T160428.653066.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200703T161235.039886.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200704T145321.546364.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200704T145529.449679.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200704T145733.571779.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200704T145908.560212.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200704T150102.221713.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200704T150127.659168.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200704T150155.521761.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200705T040834.224819.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200705T040842.461290.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200705T042603.456831.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200705T042607.405057.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200705T043106.738178.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200705T043225.004655.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200705T043304.280901.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/reports/20200705T043951.319183.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/m_admin_login_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/m_admin_login_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/m_partners_login_testcases.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testsuites/demo_testsuite.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/venv/pip-selfcheck.json" beforeDir="false" afterPath="$PROJECT_DIR$/venv/pip-selfcheck.json" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="CoverageDataManager">
<SUITE FILE_PATH="coverage/partner_api$debugtalk.coverage" NAME="debugtalk Coverage Results" MODIFIED="1594290010731" 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$db_pg_func.coverage" NAME="db_pg_func Coverage Results" MODIFIED="1594287508392" 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="false">
<entry file="file://$PROJECT_DIR$/debugtalk.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="770">
<caret line="35" lean-forward="true" selection-start-line="35" selection-end-line="35" />
<folding>
<element signature="e#0#13#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/helpfunc/db_pg_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="459">
<caret line="45" lean-forward="true" selection-start-line="45" selection-end-line="45" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/api/m_api/admin/m_admin_update(edit)_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="151">
<caret line="20" column="8" selection-start-line="20" selection-start-column="8" selection-end-line="20" selection-end-column="8" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcases/admin/ADMIN002_edit_admin_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-44">
<caret line="1" column="12" selection-start-line="1" selection-start-column="12" selection-end-line="1" selection-end-column="12" />
</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="396">
<caret line="18" column="23" selection-start-line="10" selection-start-column="4" selection-end-line="18" selection-end-column="23" />
</state>
</provider>
</entry>
</file>
<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="211">
<caret line="18" column="9" selection-start-line="18" selection-start-column="9" selection-end-line="19" selection-end-column="42" />
</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="154">
<caret line="7" column="73" selection-start-line="7" selection-start-column="73" selection-end-line="7" selection-end-column="73" />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/testcases/m_admin_login_testcases.yml" />
<option value="$PROJECT_DIR$/.env" />
<option value="$PROJECT_DIR$/api/m_api/admin/m_admin_update(new)_api.yml" />
<option value="$PROJECT_DIR$/testcases/admin/ADMIN001_add_admin_testcases.yml" />
<option value="$PROJECT_DIR$/testsuites/partner_testsuite.yml" />
<option value="$PROJECT_DIR$/testcases/admin/ADMIN002_edit_admin_testcases.yml" />
<option value="$PROJECT_DIR$/api/m_api/admin/m_admin_update(edit)_api.yml" />
<option value="$PROJECT_DIR$/debugtalk.py" />
<option value="$PROJECT_DIR$/helpfunc/db_pg_func.py" />
</list>
</option>
</component>
<component name="ProjectFrameBounds" extendedState="6">
<option name="x" value="-116" />
<option name="y" value="347" />
<option name="width" value="1382" />
<option name="height" value="741" />
</component>
<component name="ProjectView">
<navigator proportions="" version="1">
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="ProjectPane">
<subPane>
<expand>
<path>
<item name="partner_api" type="b2602c69:ProjectViewProjectNode" />
<item name="partner_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" />
</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" />
</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="helpfunc" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="partner_api" type="b2602c69:ProjectViewProjectNode" />
<item name="partner_api" type="462c0819:PsiDirectoryNode" />
<item name="testcases" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="partner_api" type="b2602c69:ProjectViewProjectNode" />
<item name="partner_api" type="462c0819:PsiDirectoryNode" />
<item name="testcases" 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="testsuites" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
<property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" />
</component>
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>
<component name="RunManager" selected="Python.debugtalk">
<configuration name="db_pg_func" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="partner_api" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/helpfunc" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/helpfunc/db_pg_func.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
<option name="REDIRECT_INPUT" value="false" />
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<configuration name="debugtalk" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="partner_api" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/debugtalk.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
<option name="REDIRECT_INPUT" value="false" />
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<recent_temporary>
<list>
<item itemvalue="Python.debugtalk" />
<item itemvalue="Python.db_pg_func" />
</list>
</recent_temporary>
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="d6814b48-28ec-40b6-bcea-dcd9b8613715" name="Default Changelist" comment="" />
<created>1594200816252</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1594200816252</updated>
<workItem from="1594200819333" duration="5002000" />
<workItem from="1594223232686" duration="1195000" />
<workItem from="1594261507053" duration="15616000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="21813000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1382" height="744" 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" weight="0.24962178" />
<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 active="true" anchor="bottom" id="Terminal" order="1" visible="true" weight="0.5076661" />
<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" />
<window_info anchor="bottom" id="Python Console" order="5" weight="0.32879046" />
<window_info anchor="bottom" id="Database Changes" order="6" />
<window_info anchor="bottom" id="Run" order="7" weight="0.40545145" />
<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" />
<window_info anchor="bottom" id="Inspection" order="11" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="12" />
<window_info anchor="right" id="Database" order="0" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="1" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="SciView" order="2" />
<window_info anchor="right" id="Ant Build" order="3" weight="0.25" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="4" weight="0.25" />
</layout>
<layout-to-restore>
<window_info id="Favorites" order="0" side_tool="true" />
<window_info content_ui="combo" id="Project" order="1" weight="0.24962178" />
<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" visible="true" weight="0.38841566" />
<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" />
<window_info anchor="bottom" id="Python Console" order="5" weight="0.32879046" />
<window_info anchor="bottom" id="Database Changes" order="6" />
<window_info anchor="bottom" id="Run" order="7" weight="0.40545145" />
<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" />
<window_info anchor="bottom" id="Inspection" order="11" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="12" />
<window_info anchor="right" id="Database" order="0" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="1" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="SciView" order="2" />
<window_info anchor="right" id="Ant Build" order="3" weight="0.25" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="4" weight="0.25" />
</layout-to-restore>
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/api/m_api/m_admin_api.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/testcases/login_testcases.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/m_login_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418">
<caret line="19" column="8" selection-start-line="19" selection-start-column="8" selection-end-line="19" selection-end-column="8" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/m_partners_login_testcases.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/testcases/m_admin_login_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="506">
<caret line="23" selection-start-line="23" selection-start-column="1" selection-end-line="25" selection-end-column="42" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/admin/ADMIN001_add_admin_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="264">
<caret line="15" lean-forward="true" selection-start-line="15" selection-end-line="15" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.env">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154">
<caret line="7" column="73" selection-start-line="7" selection-start-column="73" selection-end-line="7" selection-end-column="73" />
</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="198">
<caret line="9" column="45" selection-start-line="9" selection-start-column="37" selection-end-line="9" selection-end-column="45" />
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/AppData/Local/Programs/Python/Python38/Lib/site-packages/httprunner/api.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="99">
<caret line="64" selection-start-line="64" selection-end-line="64" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/db_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="145">
<caret line="15" column="32" selection-start-line="15" selection-start-column="4" selection-end-line="15" selection-end-column="32" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testsuites/partner_testsuite.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="211">
<caret line="18" column="9" selection-start-line="18" selection-start-column="9" selection-end-line="19" selection-end-column="42" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/login_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="396">
<caret line="18" column="23" selection-start-line="10" selection-start-column="4" selection-end-line="18" selection-end-column="23" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/admin/ADMIN002_edit_admin_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-44">
<caret line="1" column="12" selection-start-line="1" selection-start-column="12" selection-end-line="1" selection-end-column="12" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/admin/m_admin_update(edit)_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="151">
<caret line="20" column="8" selection-start-line="20" selection-start-column="8" selection-end-line="20" selection-end-column="8" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/debugtalk.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="770">
<caret line="35" lean-forward="true" selection-start-line="35" selection-end-line="35" />
<folding>
<element signature="e#0#13#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/db_pg_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="459">
<caret line="45" lean-forward="true" selection-start-line="45" selection-end-line="45" />
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
... ...
name: 管理员修改
base_url: ${ENV(base_manager_url)}
variables:
account: ${get_admin_account_from_database(admin_user)}
id: ${get_admin_id_from_database(admin_user)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
Authorization: Bearer ${get_m_accesstoken()}
json:
account: ${convert_to_string(18800000009)}
account: $account
status: 1
id: 59
permissionType: [6]
id: $id
permissionType: [2,3,6]
method: POST
url: /v1/admin/update
url: v1/admin/update
validate:
- eq:
- content.msg
- ok
\ No newline at end of file
... ...
... ... @@ -12,4 +12,4 @@ request:
# id: 6
permissionType: [2,3]
method: POST
url: /v1/admin/update
url: v1/admin/update
... ...
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5NjcxOTIsImlhdCI6MTU5MzkyMzk5MiwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5MzkyMzk5MiwidWlkIjoxfQ.doPUmNavAHSijOMKJGqNKVuXXqcGltIlOwFLXJcZ7Jk
\ No newline at end of file
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTQzMzczMDUsImlhdCI6MTU5NDI5NDEwNSwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NDI5NDEwNSwidWlkIjoxOH0.dV65voPHf0XECR6M3Te3yNLdhfgzmCkw8OXhzPnpOvY
\ No newline at end of file
... ...
... ... @@ -2,6 +2,7 @@ import random
import string
import time,datetime
from helpfunc.login_func import *
from helpfunc.db_pg_func import *
from helpfunc.db_func import *
from helpfunc.header_func import *
from random import randint
... ... @@ -28,8 +29,9 @@ def create_channel(num):
def create_phone_number(num):
phone_number = []
for i in range(num):
phone_number.append('189%08d'%i)
phone_number.append('181%08d'%i)
# print(phone_number)
return phone_number
... ...
# @Time :2019/11/26 11:25
# @Author :dengyuting
# @File :db_func.py
import psycopg2
# 获得连接
def GetConnect():
conn = False
try:
conn = psycopg2.connect(database="partner_test",
user="bianxinhua_user",
password="Bianxinhua_user#123",
host="101.37.68.23",
port="15432")
except Exception as err:
print("连接数据库失败,%s" % err)
return conn
def get_admin_id_from_database(tbl):
db = GetConnect()
cursor = db.cursor()
sql= "select id from " + tbl + ' ' + 'order by create_at desc '
try:
cursor.execute(sql)
result = cursor.fetchone()
return result[0]
except Exception as err:
# 发生错误时回滚
print(err)
db.rollback()
db.close()
def get_admin_account_from_database(tbl):
db = GetConnect()
cursor = db.cursor()
sql= "select account from " + tbl + ' ' + 'order by create_at desc '
try:
cursor.execute(sql)
result = cursor.fetchone()
return result[0]
except Exception as err:
# 发生错误时回滚
print(err)
db.rollback()
db.close()
... ...
{
"testcase":[
"testcases/admin/ADMIN002_edit_admin_testcases.yml"
]
}
\ 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-07-04T14:53:21.546364</td>
</tr>
<tr>
<th>DURATION</th>
<td colspan="4">0.325 seconds</td>
</tr>
<tr>
<th>PLATFORM</th>
<td>HttpRunner 2.5.5 </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>call demo_testcase with data 1</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;">214.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.fjmaimaimai.com/mmm-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.fjmaimaimai.com/mmm-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;Sat, 04 Jul 2020 14:53:22 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.eyJleHAiOjE1OTM5MTc2MDIsImlhdCI6MTU5Mzg3NDQwMiwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDQwMiwidWlkIjoxfQ.UxDe_mYaDvonOU1f98xBizsE5iIJBMmuYrFHBXlHY_8&#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>310</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>214.01</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>204.213</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;">60.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.fjmaimaimai.com/mmm-partnermg/v1/order/actual/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.eyJleHAiOjE1OTM5MTc2MDIsImlhdCI6MTU5Mzg3NDQwMiwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDQwMiwidWlkIjoxfQ.UxDe_mYaDvonOU1f98xBizsE5iIJBMmuYrFHBXlHY_8&#34;,
&#34;Content-Length&#34;: &#34;368&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;buyer&#34;: &#34;我是买家21&#34;,
&#34;buyerPhone&#34;: &#34;13459147023&#34;,
&#34;address&#34;: &#34;福建省福州市收获地址1&#34;,
&#34;partner&#34;: 29,
&#34;partnerRatio&#34;: 99.99,
&#34;salesmanRatio&#34;: 22.11,
&#34;orderId&#34;: &#34;20200704225321&#34;,
&#34;orderName&#34;: &#34;20200704225321&#34;,
&#34;orderNum&#34;: 5000,
&#34;orderPrice&#34;: 100000000,
&#34;orderDist&#34;: &#34;福建一区&#34;,
&#34;orderStatue&#34;: 3
}</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.fjmaimaimai.com/mmm-partnermg/v1/order/actual/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;Sat, 04 Jul 2020 14:53:22 GMT&#34;,
&#34;Content-Type&#34;: &#34;application/json; charset=utf-8&#34;,
&#34;Content-Length&#34;: &#34;55&#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;: -1,
&#34;msg&#34;: &#34;服务异常&#34;,
&#34;data&#34;: {}
}</pre>
</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>55</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>60.0</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>56.931</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-07-04T14:55:29.449679</td>
</tr>
<tr>
<th>DURATION</th>
<td colspan="4">0.285 seconds</td>
</tr>
<tr>
<th>PLATFORM</th>
<td>HttpRunner 2.5.5 </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>call demo_testcase with data 1</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;">193.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.fjmaimaimai.com/mmm-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.fjmaimaimai.com/mmm-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;Sat, 04 Jul 2020 14:55:30 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.eyJleHAiOjE1OTM5MTc3MzAsImlhdCI6MTU5Mzg3NDUzMCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDUzMCwidWlkIjoxfQ.Z9saetn6R686E7a9ZkSvtmz5DlcDz246j2M5P-wN1Bk&#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>310</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>193.01</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>184.756</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;">58.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.fjmaimaimai.com/mmm-partnermg/v1/order/actual/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.eyJleHAiOjE1OTM5MTc3MzAsImlhdCI6MTU5Mzg3NDUzMCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDUzMCwidWlkIjoxfQ.Z9saetn6R686E7a9ZkSvtmz5DlcDz246j2M5P-wN1Bk&#34;,
&#34;Content-Length&#34;: &#34;368&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;buyer&#34;: &#34;我是买家29&#34;,
&#34;buyerPhone&#34;: &#34;13459147023&#34;,
&#34;address&#34;: &#34;福建省福州市收获地址1&#34;,
&#34;partner&#34;: 29,
&#34;partnerRatio&#34;: 99.99,
&#34;salesmanRatio&#34;: 22.11,
&#34;orderId&#34;: &#34;20200704225529&#34;,
&#34;orderName&#34;: &#34;20200704225529&#34;,
&#34;orderNum&#34;: 5000,
&#34;orderPrice&#34;: 100000000,
&#34;orderDist&#34;: &#34;福建一区&#34;,
&#34;orderStatue&#34;: 3
}</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.fjmaimaimai.com/mmm-partnermg/v1/order/actual/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;Sat, 04 Jul 2020 14:55:30 GMT&#34;,
&#34;Content-Type&#34;: &#34;application/json; charset=utf-8&#34;,
&#34;Content-Length&#34;: &#34;55&#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;: -1,
&#34;msg&#34;: &#34;服务异常&#34;,
&#34;data&#34;: {}
}</pre>
</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>55</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>58.0</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>53.305</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-07-04T14:57:33.571779</td>
</tr>
<tr>
<th>DURATION</th>
<td colspan="4">0.338 seconds</td>
</tr>
<tr>
<th>PLATFORM</th>
<td>HttpRunner 2.5.5 </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>call demo_testcase with data 1</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;">213.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.fjmaimaimai.com/mmm-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.fjmaimaimai.com/mmm-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;Sat, 04 Jul 2020 14:57:34 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.eyJleHAiOjE1OTM5MTc4NTQsImlhdCI6MTU5Mzg3NDY1NCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDY1NCwidWlkIjoxfQ.suICHO1_qAjGyM1dQz5LamZ_sAh9CxIYPjeiKnVFs-c&#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>310</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>213.01</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>206.029</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.fjmaimaimai.com/mmm-partnermg/v1/order/actual/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.eyJleHAiOjE1OTM5MTc4NTQsImlhdCI6MTU5Mzg3NDY1NCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDY1NCwidWlkIjoxfQ.suICHO1_qAjGyM1dQz5LamZ_sAh9CxIYPjeiKnVFs-c&#34;,
&#34;Content-Length&#34;: &#34;367&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;buyer&#34;: &#34;我是买家33&#34;,
&#34;buyerPhone&#34;: &#34;13459147023&#34;,
&#34;address&#34;: &#34;福建省福州市收获地址1&#34;,
&#34;partner&#34;: 2,
&#34;partnerRatio&#34;: 99.99,
&#34;salesmanRatio&#34;: 22.11,
&#34;orderId&#34;: &#34;20200704225733&#34;,
&#34;orderName&#34;: &#34;20200704225733&#34;,
&#34;orderNum&#34;: 5000,
&#34;orderPrice&#34;: 100000000,
&#34;orderDist&#34;: &#34;福建一区&#34;,
&#34;orderStatue&#34;: 3
}</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.fjmaimaimai.com/mmm-partnermg/v1/order/actual/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;Sat, 04 Jul 2020 14:57: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">
</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>56.028</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-07-04T14:59:08.560212</td>
</tr>
<tr>
<th>DURATION</th>
<td colspan="4">0.245 seconds</td>
</tr>
<tr>
<th>PLATFORM</th>
<td>HttpRunner 2.5.5 </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>call demo_testcase with data 1</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;">158.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.fjmaimaimai.com/mmm-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.fjmaimaimai.com/mmm-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;Sat, 04 Jul 2020 14:59:09 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.eyJleHAiOjE1OTM5MTc5NDksImlhdCI6MTU5Mzg3NDc0OSwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDc0OSwidWlkIjoxfQ.2nZ_BgoEU8lQTbn-LGxW7SJgb0HIfa94-RQ463Qot9M&#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>310</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>158.01</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>151.469</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;">58.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.fjmaimaimai.com/mmm-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.eyJleHAiOjE1OTM5MTc5NDksImlhdCI6MTU5Mzg3NDc0OSwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDc0OSwidWlkIjoxfQ.2nZ_BgoEU8lQTbn-LGxW7SJgb0HIfa94-RQ463Qot9M&#34;,
&#34;Content-Length&#34;: &#34;347&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;buyer&#34;: &#34;我是买家8&#34;,
&#34;buyerPhone&#34;: &#34;13459147023&#34;,
&#34;address&#34;: &#34;福建省福州市收获地址1&#34;,
&#34;partner&#34;: 2,
&#34;partnerRatio&#34;: 99.19,
&#34;salesmanRatio&#34;: 0.99,
&#34;orderId&#34;: &#34;20200704225908&#34;,
&#34;orderName&#34;: &#34;20200704225908&#34;,
&#34;orderNum&#34;: 500,
&#34;orderPrice&#34;: 1000000000,
&#34;orderDist&#34;: &#34;福建一区&#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.fjmaimaimai.com/mmm-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;Sat, 04 Jul 2020 14:59:09 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">
</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>58.0</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>54.452</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-07-04T15:01:02.221713</td>
</tr>
<tr>
<th>DURATION</th>
<td colspan="4">0.194 seconds</td>
</tr>
<tr>
<th>PLATFORM</th>
<td>HttpRunner 2.5.5 </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>call demo_testcase with data 1</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;">107.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.fjmaimaimai.com/mmm-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.fjmaimaimai.com/mmm-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;Sat, 04 Jul 2020 15:01:02 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.eyJleHAiOjE1OTM5MTgwNjIsImlhdCI6MTU5Mzg3NDg2MiwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDg2MiwidWlkIjoxfQ.t-frysjdFqUWASwd7CBrw0HtiAxRbVX7CORhYnmDpMI&#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>310</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>107.01</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>98.99</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;">41.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.fjmaimaimai.com/mmm-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.eyJleHAiOjE1OTM5MTgwNjIsImlhdCI6MTU5Mzg3NDg2MiwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDg2MiwidWlkIjoxfQ.t-frysjdFqUWASwd7CBrw0HtiAxRbVX7CORhYnmDpMI&#34;,
&#34;Content-Length&#34;: &#34;347&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;buyer&#34;: &#34;我是买家2&#34;,
&#34;buyerPhone&#34;: &#34;13459147023&#34;,
&#34;address&#34;: &#34;福建省福州市收获地址1&#34;,
&#34;partner&#34;: 2,
&#34;partnerRatio&#34;: 99.19,
&#34;salesmanRatio&#34;: 0.99,
&#34;orderId&#34;: &#34;20200704230102&#34;,
&#34;orderName&#34;: &#34;20200704230102&#34;,
&#34;orderNum&#34;: 500,
&#34;orderPrice&#34;: 1000000000,
&#34;orderDist&#34;: &#34;福建一区&#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.fjmaimaimai.com/mmm-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;Sat, 04 Jul 2020 15:01:02 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">
</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>41.0</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>36.671</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-07-04T15:01:27.659168</td>
</tr>
<tr>
<th>DURATION</th>
<td colspan="4">0.204 seconds</td>
</tr>
<tr>
<th>PLATFORM</th>
<td>HttpRunner 2.5.5 </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>call demo_testcase with data 1</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;">116.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.fjmaimaimai.com/mmm-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.fjmaimaimai.com/mmm-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;Sat, 04 Jul 2020 15:01:28 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.eyJleHAiOjE1OTM5MTgwODgsImlhdCI6MTU5Mzg3NDg4OCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDg4OCwidWlkIjoxfQ.s8nznrxx2-Vumr4eAZbLXfiSjAT-C2nuw4b0ku7hcKg&#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>310</td>
</tr>
<tr>
<th>response_time(ms)</th>
<td>116.01</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>109.639</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;">37.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.fjmaimaimai.com/mmm-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.eyJleHAiOjE1OTM5MTgwODgsImlhdCI6MTU5Mzg3NDg4OCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDg4OCwidWlkIjoxfQ.s8nznrxx2-Vumr4eAZbLXfiSjAT-C2nuw4b0ku7hcKg&#34;,
&#34;Content-Length&#34;: &#34;348&#34;
}</pre>
</td>
</tr>
<tr>
<th>body</th>
<td>
<pre>{
&#34;buyer&#34;: &#34;我是买家27&#34;,
&#34;buyerPhone&#34;: &#34;13459147023&#34;,
&#34;address&#34;: &#34;福建省福州市收获地址1&#34;,
&#34;partner&#34;: 2,
&#34;partnerRatio&#34;: 99.19,
&#34;salesmanRatio&#34;: 0.99,
&#34;orderId&#34;: &#34;20200704230127&#34;,
&#34;orderName&#34;: &#34;20200704230127&#34;,
&#34;orderNum&#34;: 500,
&#34;orderPrice&#34;: 1000000000,
&#34;orderDist&#34;: &#34;福建一区&#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.fjmaimaimai.com/mmm-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;Sat, 04 Jul 2020 15:01:28 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">
</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>37.0</td>
</tr>
<tr>
<th>elapsed(ms)</th>
<td>33.911</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</td>
</tr>
</table>
</body>
\ No newline at end of file