正在显示
29 个修改的文件
包含
562 行增加
和
4098 行删除
| @@ -4,5 +4,6 @@ | @@ -4,5 +4,6 @@ | ||
| 4 | #base_business_url = https://suplus-business-admin-gateway-test.fjmaimaimai.com/ | 4 | #base_business_url = https://suplus-business-admin-gateway-test.fjmaimaimai.com/ |
| 5 | #base_worth_url = https://suplus-worth-web-gateway-test.fjmaimaimai.com/ | 5 | #base_worth_url = https://suplus-worth-web-gateway-test.fjmaimaimai.com/ |
| 6 | #base_manager_url= https://public-interface.fjmaimaimai.com/mmm-partnermg | 6 | #base_manager_url= https://public-interface.fjmaimaimai.com/mmm-partnermg |
| 7 | -base_manager_url=http://mmm-partnermg-test.fjmaimaimai.com/ | ||
| 8 | -base_url = http://mmm-partner-test.fjmaimaimai.com | 7 | +#base_manager_url=http://mmm-partnermg-test.fjmaimaimai.com/ |
| 8 | +base_manager_url=https://public-interface-test.fjmaimaimai.com/partnermg/ | ||
| 9 | +#base_url = http://mmm-partner-test.fjmaimaimai.com |
.idea/codeStyles/Project.xml
0 → 100644
.idea/codeStyles/codeStyleConfig.xml
0 → 100644
.idea/encodings.xml
0 → 100644
.idea/misc.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<project version="4"> | ||
| 3 | + <component name="JavaScriptSettings"> | ||
| 4 | + <option name="languageLevel" value="ES6" /> | ||
| 5 | + </component> | ||
| 6 | + <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.7 (partner_api) (2)" project-jdk-type="Python SDK" /> | ||
| 7 | +</project> |
.idea/modules.xml
0 → 100644
.idea/partner_api.iml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<module type="PYTHON_MODULE" version="4"> | ||
| 3 | + <component name="NewModuleRootManager"> | ||
| 4 | + <content url="file://$MODULE_DIR$" /> | ||
| 5 | + <orderEntry type="jdk" jdkName="Python 3.7 (partner_api) (2)" jdkType="Python SDK" /> | ||
| 6 | + <orderEntry type="sourceFolder" forTests="false" /> | ||
| 7 | + </component> | ||
| 8 | + <component name="TestRunnerService"> | ||
| 9 | + <option name="PROJECT_TEST_RUNNER" value="Unittests" /> | ||
| 10 | + </component> | ||
| 11 | +</module> |
.idea/vcs.xml
0 → 100644
.idea/workspace.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<project version="4"> | ||
| 3 | + <component name="ChangeListManager"> | ||
| 4 | + <list default="true" id="d6814b48-28ec-40b6-bcea-dcd9b8613715" name="Default Changelist" comment=""> | ||
| 5 | + <change beforePath="$PROJECT_DIR$/.env" beforeDir="false" afterPath="$PROJECT_DIR$/.env" afterDir="false" /> | ||
| 6 | + <change beforePath="$PROJECT_DIR$/api/m_api/m_admin_api.yml" beforeDir="false" /> | ||
| 7 | + <change beforePath="$PROJECT_DIR$/api/m_api/m_admin_detail_api.yml" beforeDir="false" /> | ||
| 8 | + <change beforePath="$PROJECT_DIR$/api/m_api/m_admin_forbidden_api.yml" beforeDir="false" /> | ||
| 9 | + <change beforePath="$PROJECT_DIR$/api/m_api/m_admin_list_api.yml" beforeDir="false" /> | ||
| 10 | + <change beforePath="$PROJECT_DIR$/api/m_api/m_admin_update(edit)_api.yml" beforeDir="false" /> | ||
| 11 | + <change beforePath="$PROJECT_DIR$/api/m_api/m_admin_update(new)_api.yml" beforeDir="false" /> | ||
| 12 | + <change beforePath="$PROJECT_DIR$/config/m_accessToken.csv" beforeDir="false" afterPath="$PROJECT_DIR$/config/m_accessToken.csv" afterDir="false" /> | ||
| 13 | + <change beforePath="$PROJECT_DIR$/debugtalk.py" beforeDir="false" afterPath="$PROJECT_DIR$/debugtalk.py" afterDir="false" /> | ||
| 14 | + <change beforePath="$PROJECT_DIR$/reports/20200703T160428.653066.html" beforeDir="false" /> | ||
| 15 | + <change beforePath="$PROJECT_DIR$/reports/20200703T161235.039886.html" beforeDir="false" /> | ||
| 16 | + <change beforePath="$PROJECT_DIR$/reports/20200704T145321.546364.html" beforeDir="false" /> | ||
| 17 | + <change beforePath="$PROJECT_DIR$/reports/20200704T145529.449679.html" beforeDir="false" /> | ||
| 18 | + <change beforePath="$PROJECT_DIR$/reports/20200704T145733.571779.html" beforeDir="false" /> | ||
| 19 | + <change beforePath="$PROJECT_DIR$/reports/20200704T145908.560212.html" beforeDir="false" /> | ||
| 20 | + <change beforePath="$PROJECT_DIR$/reports/20200704T150102.221713.html" beforeDir="false" /> | ||
| 21 | + <change beforePath="$PROJECT_DIR$/reports/20200704T150127.659168.html" beforeDir="false" /> | ||
| 22 | + <change beforePath="$PROJECT_DIR$/reports/20200704T150155.521761.html" beforeDir="false" /> | ||
| 23 | + <change beforePath="$PROJECT_DIR$/reports/20200705T040834.224819.html" beforeDir="false" /> | ||
| 24 | + <change beforePath="$PROJECT_DIR$/reports/20200705T040842.461290.html" beforeDir="false" /> | ||
| 25 | + <change beforePath="$PROJECT_DIR$/reports/20200705T042603.456831.html" beforeDir="false" /> | ||
| 26 | + <change beforePath="$PROJECT_DIR$/reports/20200705T042607.405057.html" beforeDir="false" /> | ||
| 27 | + <change beforePath="$PROJECT_DIR$/reports/20200705T043106.738178.html" beforeDir="false" /> | ||
| 28 | + <change beforePath="$PROJECT_DIR$/reports/20200705T043225.004655.html" beforeDir="false" /> | ||
| 29 | + <change beforePath="$PROJECT_DIR$/reports/20200705T043304.280901.html" beforeDir="false" /> | ||
| 30 | + <change beforePath="$PROJECT_DIR$/reports/20200705T043951.319183.html" beforeDir="false" /> | ||
| 31 | + <change beforePath="$PROJECT_DIR$/testcases/m_admin_login_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/m_admin_login_testcases.yml" afterDir="false" /> | ||
| 32 | + <change beforePath="$PROJECT_DIR$/testcases/m_partners_login_testcases.yml" beforeDir="false" /> | ||
| 33 | + <change beforePath="$PROJECT_DIR$/testsuites/demo_testsuite.yml" beforeDir="false" /> | ||
| 34 | + <change beforePath="$PROJECT_DIR$/venv/pip-selfcheck.json" beforeDir="false" afterPath="$PROJECT_DIR$/venv/pip-selfcheck.json" afterDir="false" /> | ||
| 35 | + </list> | ||
| 36 | + <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> | ||
| 37 | + <option name="SHOW_DIALOG" value="false" /> | ||
| 38 | + <option name="HIGHLIGHT_CONFLICTS" value="true" /> | ||
| 39 | + <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> | ||
| 40 | + <option name="LAST_RESOLUTION" value="IGNORE" /> | ||
| 41 | + </component> | ||
| 42 | + <component name="CoverageDataManager"> | ||
| 43 | + <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$" /> | ||
| 44 | + <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" /> | ||
| 45 | + </component> | ||
| 46 | + <component name="FileEditorManager"> | ||
| 47 | + <leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> | ||
| 48 | + <file pinned="false" current-in-tab="false"> | ||
| 49 | + <entry file="file://$PROJECT_DIR$/debugtalk.py"> | ||
| 50 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 51 | + <state relative-caret-position="770"> | ||
| 52 | + <caret line="35" lean-forward="true" selection-start-line="35" selection-end-line="35" /> | ||
| 53 | + <folding> | ||
| 54 | + <element signature="e#0#13#0" expanded="true" /> | ||
| 55 | + </folding> | ||
| 56 | + </state> | ||
| 57 | + </provider> | ||
| 58 | + </entry> | ||
| 59 | + </file> | ||
| 60 | + <file pinned="false" current-in-tab="true"> | ||
| 61 | + <entry file="file://$PROJECT_DIR$/helpfunc/db_pg_func.py"> | ||
| 62 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 63 | + <state relative-caret-position="459"> | ||
| 64 | + <caret line="45" lean-forward="true" selection-start-line="45" selection-end-line="45" /> | ||
| 65 | + </state> | ||
| 66 | + </provider> | ||
| 67 | + </entry> | ||
| 68 | + </file> | ||
| 69 | + <file pinned="false" current-in-tab="false"> | ||
| 70 | + <entry file="file://$PROJECT_DIR$/api/m_api/admin/m_admin_update(edit)_api.yml"> | ||
| 71 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 72 | + <state relative-caret-position="151"> | ||
| 73 | + <caret line="20" column="8" selection-start-line="20" selection-start-column="8" selection-end-line="20" selection-end-column="8" /> | ||
| 74 | + </state> | ||
| 75 | + </provider> | ||
| 76 | + </entry> | ||
| 77 | + </file> | ||
| 78 | + <file pinned="false" current-in-tab="false"> | ||
| 79 | + <entry file="file://$PROJECT_DIR$/testcases/admin/ADMIN002_edit_admin_testcases.yml"> | ||
| 80 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 81 | + <state relative-caret-position="-44"> | ||
| 82 | + <caret line="1" column="12" selection-start-line="1" selection-start-column="12" selection-end-line="1" selection-end-column="12" /> | ||
| 83 | + </state> | ||
| 84 | + </provider> | ||
| 85 | + </entry> | ||
| 86 | + </file> | ||
| 87 | + <file pinned="false" current-in-tab="false"> | ||
| 88 | + <entry file="file://$PROJECT_DIR$/helpfunc/login_func.py"> | ||
| 89 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 90 | + <state relative-caret-position="396"> | ||
| 91 | + <caret line="18" column="23" selection-start-line="10" selection-start-column="4" selection-end-line="18" selection-end-column="23" /> | ||
| 92 | + </state> | ||
| 93 | + </provider> | ||
| 94 | + </entry> | ||
| 95 | + </file> | ||
| 96 | + <file pinned="false" current-in-tab="false"> | ||
| 97 | + <entry file="file://$PROJECT_DIR$/testsuites/partner_testsuite.yml"> | ||
| 98 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 99 | + <state relative-caret-position="211"> | ||
| 100 | + <caret line="18" column="9" selection-start-line="18" selection-start-column="9" selection-end-line="19" selection-end-column="42" /> | ||
| 101 | + </state> | ||
| 102 | + </provider> | ||
| 103 | + </entry> | ||
| 104 | + </file> | ||
| 105 | + <file pinned="false" current-in-tab="false"> | ||
| 106 | + <entry file="file://$PROJECT_DIR$/.env"> | ||
| 107 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 108 | + <state relative-caret-position="154"> | ||
| 109 | + <caret line="7" column="73" selection-start-line="7" selection-start-column="73" selection-end-line="7" selection-end-column="73" /> | ||
| 110 | + </state> | ||
| 111 | + </provider> | ||
| 112 | + </entry> | ||
| 113 | + </file> | ||
| 114 | + </leaf> | ||
| 115 | + </component> | ||
| 116 | + <component name="Git.Settings"> | ||
| 117 | + <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> | ||
| 118 | + </component> | ||
| 119 | + <component name="IdeDocumentHistory"> | ||
| 120 | + <option name="CHANGED_PATHS"> | ||
| 121 | + <list> | ||
| 122 | + <option value="$PROJECT_DIR$/testcases/m_admin_login_testcases.yml" /> | ||
| 123 | + <option value="$PROJECT_DIR$/.env" /> | ||
| 124 | + <option value="$PROJECT_DIR$/api/m_api/admin/m_admin_update(new)_api.yml" /> | ||
| 125 | + <option value="$PROJECT_DIR$/testcases/admin/ADMIN001_add_admin_testcases.yml" /> | ||
| 126 | + <option value="$PROJECT_DIR$/testsuites/partner_testsuite.yml" /> | ||
| 127 | + <option value="$PROJECT_DIR$/testcases/admin/ADMIN002_edit_admin_testcases.yml" /> | ||
| 128 | + <option value="$PROJECT_DIR$/api/m_api/admin/m_admin_update(edit)_api.yml" /> | ||
| 129 | + <option value="$PROJECT_DIR$/debugtalk.py" /> | ||
| 130 | + <option value="$PROJECT_DIR$/helpfunc/db_pg_func.py" /> | ||
| 131 | + </list> | ||
| 132 | + </option> | ||
| 133 | + </component> | ||
| 134 | + <component name="ProjectFrameBounds" extendedState="6"> | ||
| 135 | + <option name="x" value="-116" /> | ||
| 136 | + <option name="y" value="347" /> | ||
| 137 | + <option name="width" value="1382" /> | ||
| 138 | + <option name="height" value="741" /> | ||
| 139 | + </component> | ||
| 140 | + <component name="ProjectView"> | ||
| 141 | + <navigator proportions="" version="1"> | ||
| 142 | + <foldersAlwaysOnTop value="true" /> | ||
| 143 | + </navigator> | ||
| 144 | + <panes> | ||
| 145 | + <pane id="ProjectPane"> | ||
| 146 | + <subPane> | ||
| 147 | + <expand> | ||
| 148 | + <path> | ||
| 149 | + <item name="partner_api" type="b2602c69:ProjectViewProjectNode" /> | ||
| 150 | + <item name="partner_api" type="462c0819:PsiDirectoryNode" /> | ||
| 151 | + </path> | ||
| 152 | + <path> | ||
| 153 | + <item name="partner_api" type="b2602c69:ProjectViewProjectNode" /> | ||
| 154 | + <item name="partner_api" type="462c0819:PsiDirectoryNode" /> | ||
| 155 | + <item name="api" type="462c0819:PsiDirectoryNode" /> | ||
| 156 | + </path> | ||
| 157 | + <path> | ||
| 158 | + <item name="partner_api" type="b2602c69:ProjectViewProjectNode" /> | ||
| 159 | + <item name="partner_api" type="462c0819:PsiDirectoryNode" /> | ||
| 160 | + <item name="api" type="462c0819:PsiDirectoryNode" /> | ||
| 161 | + <item name="m_api" type="462c0819:PsiDirectoryNode" /> | ||
| 162 | + </path> | ||
| 163 | + <path> | ||
| 164 | + <item name="partner_api" type="b2602c69:ProjectViewProjectNode" /> | ||
| 165 | + <item name="partner_api" type="462c0819:PsiDirectoryNode" /> | ||
| 166 | + <item name="api" type="462c0819:PsiDirectoryNode" /> | ||
| 167 | + <item name="m_api" type="462c0819:PsiDirectoryNode" /> | ||
| 168 | + <item name="admin" type="462c0819:PsiDirectoryNode" /> | ||
| 169 | + </path> | ||
| 170 | + <path> | ||
| 171 | + <item name="partner_api" type="b2602c69:ProjectViewProjectNode" /> | ||
| 172 | + <item name="partner_api" type="462c0819:PsiDirectoryNode" /> | ||
| 173 | + <item name="helpfunc" type="462c0819:PsiDirectoryNode" /> | ||
| 174 | + </path> | ||
| 175 | + <path> | ||
| 176 | + <item name="partner_api" type="b2602c69:ProjectViewProjectNode" /> | ||
| 177 | + <item name="partner_api" type="462c0819:PsiDirectoryNode" /> | ||
| 178 | + <item name="testcases" type="462c0819:PsiDirectoryNode" /> | ||
| 179 | + </path> | ||
| 180 | + <path> | ||
| 181 | + <item name="partner_api" type="b2602c69:ProjectViewProjectNode" /> | ||
| 182 | + <item name="partner_api" type="462c0819:PsiDirectoryNode" /> | ||
| 183 | + <item name="testcases" type="462c0819:PsiDirectoryNode" /> | ||
| 184 | + <item name="admin" type="462c0819:PsiDirectoryNode" /> | ||
| 185 | + </path> | ||
| 186 | + <path> | ||
| 187 | + <item name="partner_api" type="b2602c69:ProjectViewProjectNode" /> | ||
| 188 | + <item name="partner_api" type="462c0819:PsiDirectoryNode" /> | ||
| 189 | + <item name="testsuites" type="462c0819:PsiDirectoryNode" /> | ||
| 190 | + </path> | ||
| 191 | + </expand> | ||
| 192 | + <select /> | ||
| 193 | + </subPane> | ||
| 194 | + </pane> | ||
| 195 | + <pane id="Scope" /> | ||
| 196 | + </panes> | ||
| 197 | + </component> | ||
| 198 | + <component name="PropertiesComponent"> | ||
| 199 | + <property name="WebServerToolWindowFactoryState" value="false" /> | ||
| 200 | + <property name="last_opened_file_path" value="$PROJECT_DIR$" /> | ||
| 201 | + <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" /> | ||
| 202 | + <property name="nodejs_npm_path_reset_for_default_project" value="true" /> | ||
| 203 | + <property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" /> | ||
| 204 | + </component> | ||
| 205 | + <component name="RunDashboard"> | ||
| 206 | + <option name="ruleStates"> | ||
| 207 | + <list> | ||
| 208 | + <RuleState> | ||
| 209 | + <option name="name" value="ConfigurationTypeDashboardGroupingRule" /> | ||
| 210 | + </RuleState> | ||
| 211 | + <RuleState> | ||
| 212 | + <option name="name" value="StatusDashboardGroupingRule" /> | ||
| 213 | + </RuleState> | ||
| 214 | + </list> | ||
| 215 | + </option> | ||
| 216 | + </component> | ||
| 217 | + <component name="RunManager" selected="Python.debugtalk"> | ||
| 218 | + <configuration name="db_pg_func" type="PythonConfigurationType" factoryName="Python" temporary="true"> | ||
| 219 | + <module name="partner_api" /> | ||
| 220 | + <option name="INTERPRETER_OPTIONS" value="" /> | ||
| 221 | + <option name="PARENT_ENVS" value="true" /> | ||
| 222 | + <envs> | ||
| 223 | + <env name="PYTHONUNBUFFERED" value="1" /> | ||
| 224 | + </envs> | ||
| 225 | + <option name="SDK_HOME" value="" /> | ||
| 226 | + <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/helpfunc" /> | ||
| 227 | + <option name="IS_MODULE_SDK" value="true" /> | ||
| 228 | + <option name="ADD_CONTENT_ROOTS" value="true" /> | ||
| 229 | + <option name="ADD_SOURCE_ROOTS" value="true" /> | ||
| 230 | + <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> | ||
| 231 | + <option name="SCRIPT_NAME" value="$PROJECT_DIR$/helpfunc/db_pg_func.py" /> | ||
| 232 | + <option name="PARAMETERS" value="" /> | ||
| 233 | + <option name="SHOW_COMMAND_LINE" value="false" /> | ||
| 234 | + <option name="EMULATE_TERMINAL" value="false" /> | ||
| 235 | + <option name="MODULE_MODE" value="false" /> | ||
| 236 | + <option name="REDIRECT_INPUT" value="false" /> | ||
| 237 | + <option name="INPUT_FILE" value="" /> | ||
| 238 | + <method v="2" /> | ||
| 239 | + </configuration> | ||
| 240 | + <configuration name="debugtalk" type="PythonConfigurationType" factoryName="Python" temporary="true"> | ||
| 241 | + <module name="partner_api" /> | ||
| 242 | + <option name="INTERPRETER_OPTIONS" value="" /> | ||
| 243 | + <option name="PARENT_ENVS" value="true" /> | ||
| 244 | + <envs> | ||
| 245 | + <env name="PYTHONUNBUFFERED" value="1" /> | ||
| 246 | + </envs> | ||
| 247 | + <option name="SDK_HOME" value="" /> | ||
| 248 | + <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> | ||
| 249 | + <option name="IS_MODULE_SDK" value="true" /> | ||
| 250 | + <option name="ADD_CONTENT_ROOTS" value="true" /> | ||
| 251 | + <option name="ADD_SOURCE_ROOTS" value="true" /> | ||
| 252 | + <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> | ||
| 253 | + <option name="SCRIPT_NAME" value="$PROJECT_DIR$/debugtalk.py" /> | ||
| 254 | + <option name="PARAMETERS" value="" /> | ||
| 255 | + <option name="SHOW_COMMAND_LINE" value="false" /> | ||
| 256 | + <option name="EMULATE_TERMINAL" value="false" /> | ||
| 257 | + <option name="MODULE_MODE" value="false" /> | ||
| 258 | + <option name="REDIRECT_INPUT" value="false" /> | ||
| 259 | + <option name="INPUT_FILE" value="" /> | ||
| 260 | + <method v="2" /> | ||
| 261 | + </configuration> | ||
| 262 | + <recent_temporary> | ||
| 263 | + <list> | ||
| 264 | + <item itemvalue="Python.debugtalk" /> | ||
| 265 | + <item itemvalue="Python.db_pg_func" /> | ||
| 266 | + </list> | ||
| 267 | + </recent_temporary> | ||
| 268 | + </component> | ||
| 269 | + <component name="SvnConfiguration"> | ||
| 270 | + <configuration /> | ||
| 271 | + </component> | ||
| 272 | + <component name="TaskManager"> | ||
| 273 | + <task active="true" id="Default" summary="Default task"> | ||
| 274 | + <changelist id="d6814b48-28ec-40b6-bcea-dcd9b8613715" name="Default Changelist" comment="" /> | ||
| 275 | + <created>1594200816252</created> | ||
| 276 | + <option name="number" value="Default" /> | ||
| 277 | + <option name="presentableId" value="Default" /> | ||
| 278 | + <updated>1594200816252</updated> | ||
| 279 | + <workItem from="1594200819333" duration="5002000" /> | ||
| 280 | + <workItem from="1594223232686" duration="1195000" /> | ||
| 281 | + <workItem from="1594261507053" duration="15616000" /> | ||
| 282 | + </task> | ||
| 283 | + <servers /> | ||
| 284 | + </component> | ||
| 285 | + <component name="TimeTrackingManager"> | ||
| 286 | + <option name="totallyTimeSpent" value="21813000" /> | ||
| 287 | + </component> | ||
| 288 | + <component name="ToolWindowManager"> | ||
| 289 | + <frame x="-8" y="-8" width="1382" height="744" extended-state="6" /> | ||
| 290 | + <editor active="true" /> | ||
| 291 | + <layout> | ||
| 292 | + <window_info id="Favorites" order="0" side_tool="true" /> | ||
| 293 | + <window_info content_ui="combo" id="Project" order="1" weight="0.24962178" /> | ||
| 294 | + <window_info id="Structure" order="2" side_tool="true" weight="0.25" /> | ||
| 295 | + <window_info anchor="bottom" id="Docker" order="0" show_stripe_button="false" /> | ||
| 296 | + <window_info active="true" anchor="bottom" id="Terminal" order="1" visible="true" weight="0.5076661" /> | ||
| 297 | + <window_info anchor="bottom" id="Message" order="2" /> | ||
| 298 | + <window_info anchor="bottom" id="Event Log" order="3" side_tool="true" /> | ||
| 299 | + <window_info anchor="bottom" id="Find" order="4" /> | ||
| 300 | + <window_info anchor="bottom" id="Python Console" order="5" weight="0.32879046" /> | ||
| 301 | + <window_info anchor="bottom" id="Database Changes" order="6" /> | ||
| 302 | + <window_info anchor="bottom" id="Run" order="7" weight="0.40545145" /> | ||
| 303 | + <window_info anchor="bottom" id="Version Control" order="8" weight="0.32879046" /> | ||
| 304 | + <window_info anchor="bottom" id="Debug" order="9" weight="0.4" /> | ||
| 305 | + <window_info anchor="bottom" id="Cvs" order="10" weight="0.25" /> | ||
| 306 | + <window_info anchor="bottom" id="Inspection" order="11" weight="0.4" /> | ||
| 307 | + <window_info anchor="bottom" id="TODO" order="12" /> | ||
| 308 | + <window_info anchor="right" id="Database" order="0" /> | ||
| 309 | + <window_info anchor="right" id="Commander" internal_type="SLIDING" order="1" type="SLIDING" weight="0.4" /> | ||
| 310 | + <window_info anchor="right" id="SciView" order="2" /> | ||
| 311 | + <window_info anchor="right" id="Ant Build" order="3" weight="0.25" /> | ||
| 312 | + <window_info anchor="right" content_ui="combo" id="Hierarchy" order="4" weight="0.25" /> | ||
| 313 | + </layout> | ||
| 314 | + <layout-to-restore> | ||
| 315 | + <window_info id="Favorites" order="0" side_tool="true" /> | ||
| 316 | + <window_info content_ui="combo" id="Project" order="1" weight="0.24962178" /> | ||
| 317 | + <window_info id="Structure" order="2" side_tool="true" weight="0.25" /> | ||
| 318 | + <window_info anchor="bottom" id="Docker" order="0" show_stripe_button="false" /> | ||
| 319 | + <window_info anchor="bottom" id="Terminal" order="1" visible="true" weight="0.38841566" /> | ||
| 320 | + <window_info anchor="bottom" id="Message" order="2" /> | ||
| 321 | + <window_info anchor="bottom" id="Event Log" order="3" side_tool="true" /> | ||
| 322 | + <window_info anchor="bottom" id="Find" order="4" /> | ||
| 323 | + <window_info anchor="bottom" id="Python Console" order="5" weight="0.32879046" /> | ||
| 324 | + <window_info anchor="bottom" id="Database Changes" order="6" /> | ||
| 325 | + <window_info anchor="bottom" id="Run" order="7" weight="0.40545145" /> | ||
| 326 | + <window_info anchor="bottom" id="Version Control" order="8" weight="0.32879046" /> | ||
| 327 | + <window_info anchor="bottom" id="Debug" order="9" weight="0.4" /> | ||
| 328 | + <window_info anchor="bottom" id="Cvs" order="10" weight="0.25" /> | ||
| 329 | + <window_info anchor="bottom" id="Inspection" order="11" weight="0.4" /> | ||
| 330 | + <window_info anchor="bottom" id="TODO" order="12" /> | ||
| 331 | + <window_info anchor="right" id="Database" order="0" /> | ||
| 332 | + <window_info anchor="right" id="Commander" internal_type="SLIDING" order="1" type="SLIDING" weight="0.4" /> | ||
| 333 | + <window_info anchor="right" id="SciView" order="2" /> | ||
| 334 | + <window_info anchor="right" id="Ant Build" order="3" weight="0.25" /> | ||
| 335 | + <window_info anchor="right" content_ui="combo" id="Hierarchy" order="4" weight="0.25" /> | ||
| 336 | + </layout-to-restore> | ||
| 337 | + </component> | ||
| 338 | + <component name="TypeScriptGeneratedFilesManager"> | ||
| 339 | + <option name="version" value="1" /> | ||
| 340 | + </component> | ||
| 341 | + <component name="editorHistoryManager"> | ||
| 342 | + <entry file="file://$PROJECT_DIR$/api/m_api/m_admin_api.yml"> | ||
| 343 | + <provider selected="true" editor-type-id="text-editor" /> | ||
| 344 | + </entry> | ||
| 345 | + <entry file="file://$PROJECT_DIR$/testcases/login_testcases.yml"> | ||
| 346 | + <provider selected="true" editor-type-id="text-editor" /> | ||
| 347 | + </entry> | ||
| 348 | + <entry file="file://$PROJECT_DIR$/api/m_api/m_login_api.yml"> | ||
| 349 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 350 | + <state relative-caret-position="418"> | ||
| 351 | + <caret line="19" column="8" selection-start-line="19" selection-start-column="8" selection-end-line="19" selection-end-column="8" /> | ||
| 352 | + </state> | ||
| 353 | + </provider> | ||
| 354 | + </entry> | ||
| 355 | + <entry file="file://$PROJECT_DIR$/testcases/m_partners_login_testcases.yml"> | ||
| 356 | + <provider selected="true" editor-type-id="text-editor" /> | ||
| 357 | + </entry> | ||
| 358 | + <entry file="file://$PROJECT_DIR$/testcases/m_admin_login_testcases.yml"> | ||
| 359 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 360 | + <state relative-caret-position="506"> | ||
| 361 | + <caret line="23" selection-start-line="23" selection-start-column="1" selection-end-line="25" selection-end-column="42" /> | ||
| 362 | + </state> | ||
| 363 | + </provider> | ||
| 364 | + </entry> | ||
| 365 | + <entry file="file://$PROJECT_DIR$/testcases/admin/ADMIN001_add_admin_testcases.yml"> | ||
| 366 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 367 | + <state relative-caret-position="264"> | ||
| 368 | + <caret line="15" lean-forward="true" selection-start-line="15" selection-end-line="15" /> | ||
| 369 | + </state> | ||
| 370 | + </provider> | ||
| 371 | + </entry> | ||
| 372 | + <entry file="file://$PROJECT_DIR$/.env"> | ||
| 373 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 374 | + <state relative-caret-position="154"> | ||
| 375 | + <caret line="7" column="73" selection-start-line="7" selection-start-column="73" selection-end-line="7" selection-end-column="73" /> | ||
| 376 | + </state> | ||
| 377 | + </provider> | ||
| 378 | + </entry> | ||
| 379 | + <entry file="file://$PROJECT_DIR$/api/m_api/admin/m_admin_update(new)_api.yml"> | ||
| 380 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 381 | + <state relative-caret-position="198"> | ||
| 382 | + <caret line="9" column="45" selection-start-line="9" selection-start-column="37" selection-end-line="9" selection-end-column="45" /> | ||
| 383 | + </state> | ||
| 384 | + </provider> | ||
| 385 | + </entry> | ||
| 386 | + <entry file="file://$USER_HOME$/AppData/Local/Programs/Python/Python38/Lib/site-packages/httprunner/api.py"> | ||
| 387 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 388 | + <state relative-caret-position="99"> | ||
| 389 | + <caret line="64" selection-start-line="64" selection-end-line="64" /> | ||
| 390 | + </state> | ||
| 391 | + </provider> | ||
| 392 | + </entry> | ||
| 393 | + <entry file="file://$PROJECT_DIR$/helpfunc/db_func.py"> | ||
| 394 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 395 | + <state relative-caret-position="145"> | ||
| 396 | + <caret line="15" column="32" selection-start-line="15" selection-start-column="4" selection-end-line="15" selection-end-column="32" /> | ||
| 397 | + </state> | ||
| 398 | + </provider> | ||
| 399 | + </entry> | ||
| 400 | + <entry file="file://$PROJECT_DIR$/testsuites/partner_testsuite.yml"> | ||
| 401 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 402 | + <state relative-caret-position="211"> | ||
| 403 | + <caret line="18" column="9" selection-start-line="18" selection-start-column="9" selection-end-line="19" selection-end-column="42" /> | ||
| 404 | + </state> | ||
| 405 | + </provider> | ||
| 406 | + </entry> | ||
| 407 | + <entry file="file://$PROJECT_DIR$/helpfunc/login_func.py"> | ||
| 408 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 409 | + <state relative-caret-position="396"> | ||
| 410 | + <caret line="18" column="23" selection-start-line="10" selection-start-column="4" selection-end-line="18" selection-end-column="23" /> | ||
| 411 | + </state> | ||
| 412 | + </provider> | ||
| 413 | + </entry> | ||
| 414 | + <entry file="file://$PROJECT_DIR$/testcases/admin/ADMIN002_edit_admin_testcases.yml"> | ||
| 415 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 416 | + <state relative-caret-position="-44"> | ||
| 417 | + <caret line="1" column="12" selection-start-line="1" selection-start-column="12" selection-end-line="1" selection-end-column="12" /> | ||
| 418 | + </state> | ||
| 419 | + </provider> | ||
| 420 | + </entry> | ||
| 421 | + <entry file="file://$PROJECT_DIR$/api/m_api/admin/m_admin_update(edit)_api.yml"> | ||
| 422 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 423 | + <state relative-caret-position="151"> | ||
| 424 | + <caret line="20" column="8" selection-start-line="20" selection-start-column="8" selection-end-line="20" selection-end-column="8" /> | ||
| 425 | + </state> | ||
| 426 | + </provider> | ||
| 427 | + </entry> | ||
| 428 | + <entry file="file://$PROJECT_DIR$/debugtalk.py"> | ||
| 429 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 430 | + <state relative-caret-position="770"> | ||
| 431 | + <caret line="35" lean-forward="true" selection-start-line="35" selection-end-line="35" /> | ||
| 432 | + <folding> | ||
| 433 | + <element signature="e#0#13#0" expanded="true" /> | ||
| 434 | + </folding> | ||
| 435 | + </state> | ||
| 436 | + </provider> | ||
| 437 | + </entry> | ||
| 438 | + <entry file="file://$PROJECT_DIR$/helpfunc/db_pg_func.py"> | ||
| 439 | + <provider selected="true" editor-type-id="text-editor"> | ||
| 440 | + <state relative-caret-position="459"> | ||
| 441 | + <caret line="45" lean-forward="true" selection-start-line="45" selection-end-line="45" /> | ||
| 442 | + </state> | ||
| 443 | + </provider> | ||
| 444 | + </entry> | ||
| 445 | + </component> | ||
| 446 | +</project> |
不能预览此文件类型
| 1 | name: 管理员修改 | 1 | name: 管理员修改 |
| 2 | base_url: ${ENV(base_manager_url)} | 2 | base_url: ${ENV(base_manager_url)} |
| 3 | variables: | 3 | variables: |
| 4 | + account: ${get_admin_account_from_database(admin_user)} | ||
| 5 | + id: ${get_admin_id_from_database(admin_user)} | ||
| 4 | request: | 6 | request: |
| 5 | headers: | 7 | headers: |
| 6 | Content-Type: application/json;charset=utf-8 | 8 | Content-Type: application/json;charset=utf-8 |
| 7 | User-Agent: okhttp/3.12.3 | 9 | User-Agent: okhttp/3.12.3 |
| 8 | Authorization: Bearer ${get_m_accesstoken()} | 10 | Authorization: Bearer ${get_m_accesstoken()} |
| 9 | json: | 11 | json: |
| 10 | - account: ${convert_to_string(18800000009)} | 12 | + account: $account |
| 11 | status: 1 | 13 | status: 1 |
| 12 | - id: 59 | ||
| 13 | - permissionType: [6] | 14 | + id: $id |
| 15 | + permissionType: [2,3,6] | ||
| 14 | method: POST | 16 | method: POST |
| 15 | - url: /v1/admin/update | 17 | + url: v1/admin/update |
| 18 | +validate: | ||
| 19 | +- eq: | ||
| 20 | + - content.msg | ||
| 21 | + - ok |
| 1 | -eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5NjcxOTIsImlhdCI6MTU5MzkyMzk5MiwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5MzkyMzk5MiwidWlkIjoxfQ.doPUmNavAHSijOMKJGqNKVuXXqcGltIlOwFLXJcZ7Jk | ||
| 1 | +eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTQzMzczMDUsImlhdCI6MTU5NDI5NDEwNSwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5NDI5NDEwNSwidWlkIjoxOH0.dV65voPHf0XECR6M3Te3yNLdhfgzmCkw8OXhzPnpOvY |
| @@ -2,6 +2,7 @@ import random | @@ -2,6 +2,7 @@ import random | ||
| 2 | import string | 2 | import string |
| 3 | import time,datetime | 3 | import time,datetime |
| 4 | from helpfunc.login_func import * | 4 | from helpfunc.login_func import * |
| 5 | +from helpfunc.db_pg_func import * | ||
| 5 | from helpfunc.db_func import * | 6 | from helpfunc.db_func import * |
| 6 | from helpfunc.header_func import * | 7 | from helpfunc.header_func import * |
| 7 | from random import randint | 8 | from random import randint |
| @@ -28,8 +29,9 @@ def create_channel(num): | @@ -28,8 +29,9 @@ def create_channel(num): | ||
| 28 | def create_phone_number(num): | 29 | def create_phone_number(num): |
| 29 | phone_number = [] | 30 | phone_number = [] |
| 30 | for i in range(num): | 31 | for i in range(num): |
| 31 | - phone_number.append('189%08d'%i) | 32 | + phone_number.append('181%08d'%i) |
| 32 | # print(phone_number) | 33 | # print(phone_number) |
| 33 | return phone_number | 34 | return phone_number |
| 34 | 35 | ||
| 35 | 36 | ||
| 37 | + |
不能预览此文件类型
helpfunc/db_pg_func.py
0 → 100644
| 1 | +# @Time :2019/11/26 11:25 | ||
| 2 | +# @Author :dengyuting | ||
| 3 | +# @File :db_func.py | ||
| 4 | +import psycopg2 | ||
| 5 | + | ||
| 6 | +# 获得连接 | ||
| 7 | +def GetConnect(): | ||
| 8 | + conn = False | ||
| 9 | + try: | ||
| 10 | + conn = psycopg2.connect(database="partner_test", | ||
| 11 | + user="bianxinhua_user", | ||
| 12 | + password="Bianxinhua_user#123", | ||
| 13 | + host="101.37.68.23", | ||
| 14 | + port="15432") | ||
| 15 | + except Exception as err: | ||
| 16 | + print("连接数据库失败,%s" % err) | ||
| 17 | + return conn | ||
| 18 | + | ||
| 19 | +def get_admin_id_from_database(tbl): | ||
| 20 | + db = GetConnect() | ||
| 21 | + cursor = db.cursor() | ||
| 22 | + sql= "select id from " + tbl + ' ' + 'order by create_at desc ' | ||
| 23 | + try: | ||
| 24 | + cursor.execute(sql) | ||
| 25 | + result = cursor.fetchone() | ||
| 26 | + return result[0] | ||
| 27 | + except Exception as err: | ||
| 28 | + # 发生错误时回滚 | ||
| 29 | + print(err) | ||
| 30 | + db.rollback() | ||
| 31 | + db.close() | ||
| 32 | + | ||
| 33 | +def get_admin_account_from_database(tbl): | ||
| 34 | + db = GetConnect() | ||
| 35 | + cursor = db.cursor() | ||
| 36 | + sql= "select account from " + tbl + ' ' + 'order by create_at desc ' | ||
| 37 | + try: | ||
| 38 | + cursor.execute(sql) | ||
| 39 | + result = cursor.fetchone() | ||
| 40 | + return result[0] | ||
| 41 | + except Exception as err: | ||
| 42 | + # 发生错误时回滚 | ||
| 43 | + print(err) | ||
| 44 | + db.rollback() | ||
| 45 | + db.close() |
reports/20200703T160428.653066.html
已删除
100644 → 0
此 diff 太大无法显示。
reports/20200703T161235.039886.html
已删除
100644 → 0
此 diff 太大无法显示。
reports/20200704T145321.546364.html
已删除
100644 → 0
| 1 | -<head> | ||
| 2 | - <meta content="text/html; charset=utf-8" http-equiv="content-type" /> | ||
| 3 | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 4 | - <title> - TestReport</title> | ||
| 5 | - <style> | ||
| 6 | - body { | ||
| 7 | - background-color: #f2f2f2; | ||
| 8 | - color: #333; | ||
| 9 | - margin: 0 auto; | ||
| 10 | - width: 960px; | ||
| 11 | - } | ||
| 12 | - #summary { | ||
| 13 | - width: 960px; | ||
| 14 | - margin-bottom: 20px; | ||
| 15 | - } | ||
| 16 | - #summary th { | ||
| 17 | - background-color: skyblue; | ||
| 18 | - padding: 5px 12px; | ||
| 19 | - } | ||
| 20 | - #summary td { | ||
| 21 | - background-color: lightblue; | ||
| 22 | - text-align: center; | ||
| 23 | - padding: 4px 8px; | ||
| 24 | - } | ||
| 25 | - .details { | ||
| 26 | - width: 960px; | ||
| 27 | - margin-bottom: 20px; | ||
| 28 | - } | ||
| 29 | - .details th { | ||
| 30 | - background-color: skyblue; | ||
| 31 | - padding: 5px 12px; | ||
| 32 | - } | ||
| 33 | - .details tr .passed { | ||
| 34 | - background-color: lightgreen; | ||
| 35 | - } | ||
| 36 | - .details tr .failed { | ||
| 37 | - background-color: red; | ||
| 38 | - } | ||
| 39 | - .details tr .unchecked { | ||
| 40 | - background-color: gray; | ||
| 41 | - } | ||
| 42 | - .details td { | ||
| 43 | - background-color: lightblue; | ||
| 44 | - padding: 5px 12px; | ||
| 45 | - } | ||
| 46 | - .details .detail { | ||
| 47 | - background-color: lightgrey; | ||
| 48 | - font-size: smaller; | ||
| 49 | - padding: 5px 10px; | ||
| 50 | - line-height: 20px; | ||
| 51 | - text-align: left; | ||
| 52 | - } | ||
| 53 | - .details .success { | ||
| 54 | - background-color: greenyellow; | ||
| 55 | - } | ||
| 56 | - .details .error { | ||
| 57 | - background-color: red; | ||
| 58 | - } | ||
| 59 | - .details .failure { | ||
| 60 | - background-color: salmon; | ||
| 61 | - } | ||
| 62 | - .details .skipped { | ||
| 63 | - background-color: gray; | ||
| 64 | - } | ||
| 65 | - | ||
| 66 | - .button { | ||
| 67 | - font-size: 1em; | ||
| 68 | - padding: 6px; | ||
| 69 | - width: 4em; | ||
| 70 | - text-align: center; | ||
| 71 | - background-color: #06d85f; | ||
| 72 | - border-radius: 20px/50px; | ||
| 73 | - cursor: pointer; | ||
| 74 | - transition: all 0.3s ease-out; | ||
| 75 | - } | ||
| 76 | - a.button{ | ||
| 77 | - color: gray; | ||
| 78 | - text-decoration: none; | ||
| 79 | - display: inline-block; | ||
| 80 | - } | ||
| 81 | - .button:hover { | ||
| 82 | - background: #2cffbd; | ||
| 83 | - } | ||
| 84 | - | ||
| 85 | - .overlay { | ||
| 86 | - position: fixed; | ||
| 87 | - top: 0; | ||
| 88 | - bottom: 0; | ||
| 89 | - left: 0; | ||
| 90 | - right: 0; | ||
| 91 | - background: rgba(0, 0, 0, 0.7); | ||
| 92 | - transition: opacity 500ms; | ||
| 93 | - visibility: hidden; | ||
| 94 | - opacity: 0; | ||
| 95 | - line-height: 25px; | ||
| 96 | - } | ||
| 97 | - .overlay:target { | ||
| 98 | - visibility: visible; | ||
| 99 | - opacity: 1; | ||
| 100 | - } | ||
| 101 | - | ||
| 102 | - .popup { | ||
| 103 | - margin: 70px auto; | ||
| 104 | - padding: 20px; | ||
| 105 | - background: #fff; | ||
| 106 | - border-radius: 10px; | ||
| 107 | - width: 50%; | ||
| 108 | - position: relative; | ||
| 109 | - transition: all 3s ease-in-out; | ||
| 110 | - } | ||
| 111 | - | ||
| 112 | - .popup h2 { | ||
| 113 | - margin-top: 0; | ||
| 114 | - color: #333; | ||
| 115 | - font-family: Tahoma, Arial, sans-serif; | ||
| 116 | - } | ||
| 117 | - .popup .close { | ||
| 118 | - position: absolute; | ||
| 119 | - top: 20px; | ||
| 120 | - right: 30px; | ||
| 121 | - transition: all 200ms; | ||
| 122 | - font-size: 30px; | ||
| 123 | - font-weight: bold; | ||
| 124 | - text-decoration: none; | ||
| 125 | - color: #333; | ||
| 126 | - } | ||
| 127 | - .popup .close:hover { | ||
| 128 | - color: #06d85f; | ||
| 129 | - } | ||
| 130 | - .popup .content { | ||
| 131 | - max-height: 80%; | ||
| 132 | - overflow: auto; | ||
| 133 | - text-align: left; | ||
| 134 | - } | ||
| 135 | - .popup .separator { | ||
| 136 | - color:royalblue | ||
| 137 | - } | ||
| 138 | - | ||
| 139 | - @media screen and (max-width: 700px) { | ||
| 140 | - .box { | ||
| 141 | - width: 70%; | ||
| 142 | - } | ||
| 143 | - .popup { | ||
| 144 | - width: 70%; | ||
| 145 | - } | ||
| 146 | - } | ||
| 147 | - | ||
| 148 | - </style> | ||
| 149 | -</head> | ||
| 150 | - | ||
| 151 | -<body> | ||
| 152 | - <h1>Test Report: </h1> | ||
| 153 | - | ||
| 154 | - <h2>Summary</h2> | ||
| 155 | - <table id="summary"> | ||
| 156 | - <tr> | ||
| 157 | - <th>START AT</th> | ||
| 158 | - <td colspan="4">2020-07-04T14:53:21.546364</td> | ||
| 159 | - </tr> | ||
| 160 | - <tr> | ||
| 161 | - <th>DURATION</th> | ||
| 162 | - <td colspan="4">0.325 seconds</td> | ||
| 163 | - </tr> | ||
| 164 | - <tr> | ||
| 165 | - <th>PLATFORM</th> | ||
| 166 | - <td>HttpRunner 2.5.5 </td> | ||
| 167 | - <td>CPython 3.8.1 </td> | ||
| 168 | - <td colspan="2">Windows-7-6.1.7601-SP1</td> | ||
| 169 | - </tr> | ||
| 170 | - <tr> | ||
| 171 | - <th>STAT</th> | ||
| 172 | - <th colspan="2">TESTCASES (success/fail)</th> | ||
| 173 | - <th colspan="2">TESTSTEPS (success/fail/error/skip)</th> | ||
| 174 | - </tr> | ||
| 175 | - <tr> | ||
| 176 | - <td>total (details) =></td> | ||
| 177 | - <td colspan="2">1 (1/0)</td> | ||
| 178 | - <td colspan="2">2 (2/0/0/0)</td> | ||
| 179 | - </tr> | ||
| 180 | - </table> | ||
| 181 | - | ||
| 182 | - <h2>Details</h2> | ||
| 183 | - | ||
| 184 | - | ||
| 185 | - | ||
| 186 | - <h3>call demo_testcase with data 1</h3> | ||
| 187 | - <table id="suite_1" class="details"> | ||
| 188 | - <tr> | ||
| 189 | - <td>TOTAL: 2</td> | ||
| 190 | - <td>SUCCESS: 2</td> | ||
| 191 | - <td>FAILED: 0</td> | ||
| 192 | - <td>ERROR: 0</td> | ||
| 193 | - <td>SKIPPED: 0</td> | ||
| 194 | - </tr> | ||
| 195 | - <tr> | ||
| 196 | - <th>Status</th> | ||
| 197 | - <th colspan="2">Name</th> | ||
| 198 | - <th>Response Time</th> | ||
| 199 | - <th>Detail</th> | ||
| 200 | - </tr> | ||
| 201 | - | ||
| 202 | - | ||
| 203 | - | ||
| 204 | - | ||
| 205 | - <tr id="record_1_1"> | ||
| 206 | - <th class="success" style="width:5em;">success</th> | ||
| 207 | - <td colspan="2">10000000001 登录系统</td> | ||
| 208 | - <td style="text-align:center;width:6em;">214.01 ms</td> | ||
| 209 | - <td class="detail"> | ||
| 210 | - | ||
| 211 | - | ||
| 212 | - | ||
| 213 | - <a class="button" href="#popup_log_1_1_1">log-1</a> | ||
| 214 | - <div id="popup_log_1_1_1" class="overlay"> | ||
| 215 | - <div class="popup"> | ||
| 216 | - <h2>Request and Response data</h2> | ||
| 217 | - <a class="close" href="#record_1_1_1">×</a> | ||
| 218 | - | ||
| 219 | - <div class="content"> | ||
| 220 | - <h3>Name: 10000000001 登录系统</h3> | ||
| 221 | - | ||
| 222 | - | ||
| 223 | - | ||
| 224 | - | ||
| 225 | - | ||
| 226 | - <h3>Request:</h3> | ||
| 227 | - <div style="overflow: auto"> | ||
| 228 | - <table> | ||
| 229 | - | ||
| 230 | - <tr> | ||
| 231 | - <th>url</th> | ||
| 232 | - <td> | ||
| 233 | - | ||
| 234 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/auth/login | ||
| 235 | - | ||
| 236 | - </td> | ||
| 237 | - </tr> | ||
| 238 | - | ||
| 239 | - <tr> | ||
| 240 | - <th>method</th> | ||
| 241 | - <td> | ||
| 242 | - | ||
| 243 | - POST | ||
| 244 | - | ||
| 245 | - </td> | ||
| 246 | - </tr> | ||
| 247 | - | ||
| 248 | - <tr> | ||
| 249 | - <th>headers</th> | ||
| 250 | - <td> | ||
| 251 | - | ||
| 252 | - <pre>{ | ||
| 253 | - "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36", | ||
| 254 | - "Accept-Encoding": "gzip, deflate", | ||
| 255 | - "Accept": "*/*", | ||
| 256 | - "Connection": "keep-alive", | ||
| 257 | - "Content-Type": "application/json;charset=utf-8", | ||
| 258 | - "Content-Length": "83" | ||
| 259 | -}</pre> | ||
| 260 | - | ||
| 261 | - </td> | ||
| 262 | - </tr> | ||
| 263 | - | ||
| 264 | - <tr> | ||
| 265 | - <th>body</th> | ||
| 266 | - <td> | ||
| 267 | - | ||
| 268 | - <pre>{ | ||
| 269 | - "password": "7c4a8d09ca3762af61e59520943dc26494f8941b", | ||
| 270 | - "username": "10000000001" | ||
| 271 | -}</pre> | ||
| 272 | - | ||
| 273 | - </td> | ||
| 274 | - </tr> | ||
| 275 | - | ||
| 276 | - </table> | ||
| 277 | - </div> | ||
| 278 | - | ||
| 279 | - <h3>Response:</h3> | ||
| 280 | - <div style="overflow: auto"> | ||
| 281 | - <table> | ||
| 282 | - | ||
| 283 | - <tr> | ||
| 284 | - <th>ok</th> | ||
| 285 | - <td> | ||
| 286 | - | ||
| 287 | - True | ||
| 288 | - | ||
| 289 | - </td> | ||
| 290 | - </tr> | ||
| 291 | - | ||
| 292 | - <tr> | ||
| 293 | - <th>url</th> | ||
| 294 | - <td> | ||
| 295 | - | ||
| 296 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/auth/login | ||
| 297 | - | ||
| 298 | - </td> | ||
| 299 | - </tr> | ||
| 300 | - | ||
| 301 | - <tr> | ||
| 302 | - <th>status_code</th> | ||
| 303 | - <td> | ||
| 304 | - | ||
| 305 | - 200 | ||
| 306 | - | ||
| 307 | - </td> | ||
| 308 | - </tr> | ||
| 309 | - | ||
| 310 | - <tr> | ||
| 311 | - <th>reason</th> | ||
| 312 | - <td> | ||
| 313 | - | ||
| 314 | - OK | ||
| 315 | - | ||
| 316 | - </td> | ||
| 317 | - </tr> | ||
| 318 | - | ||
| 319 | - <tr> | ||
| 320 | - <th>cookies</th> | ||
| 321 | - <td> | ||
| 322 | - | ||
| 323 | - {} | ||
| 324 | - | ||
| 325 | - </td> | ||
| 326 | - </tr> | ||
| 327 | - | ||
| 328 | - <tr> | ||
| 329 | - <th>encoding</th> | ||
| 330 | - <td> | ||
| 331 | - | ||
| 332 | - utf-8 | ||
| 333 | - | ||
| 334 | - </td> | ||
| 335 | - </tr> | ||
| 336 | - | ||
| 337 | - <tr> | ||
| 338 | - <th>headers</th> | ||
| 339 | - <td> | ||
| 340 | - | ||
| 341 | - <pre>{ | ||
| 342 | - "Date": "Sat, 04 Jul 2020 14:53:22 GMT", | ||
| 343 | - "Content-Type": "application/json; charset=utf-8", | ||
| 344 | - "Transfer-Encoding": "chunked", | ||
| 345 | - "Connection": "keep-alive", | ||
| 346 | - "Vary": "Accept-Encoding, Accept-Encoding", | ||
| 347 | - "Access-Control-Allow-Credentials": "true", | ||
| 348 | - "Access-Control-Allow-Headers": "Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with", | ||
| 349 | - "Access-Control-Allow-Methods": "*", | ||
| 350 | - "Access-Control-Allow-Origin": "*", | ||
| 351 | - "Access-Control-Expose-Headers": "Content-Length", | ||
| 352 | - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", | ||
| 353 | - "Content-Encoding": "gzip" | ||
| 354 | -}</pre> | ||
| 355 | - | ||
| 356 | - </td> | ||
| 357 | - </tr> | ||
| 358 | - | ||
| 359 | - <tr> | ||
| 360 | - <th>content_type</th> | ||
| 361 | - <td> | ||
| 362 | - | ||
| 363 | - application/json; charset=utf-8 | ||
| 364 | - | ||
| 365 | - </td> | ||
| 366 | - </tr> | ||
| 367 | - | ||
| 368 | - <tr> | ||
| 369 | - <th>body</th> | ||
| 370 | - <td> | ||
| 371 | - | ||
| 372 | - | ||
| 373 | - <pre>{ | ||
| 374 | - "code": 0, | ||
| 375 | - "msg": "ok", | ||
| 376 | - "data": { | ||
| 377 | - "access": { | ||
| 378 | - "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5MTc2MDIsImlhdCI6MTU5Mzg3NDQwMiwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDQwMiwidWlkIjoxfQ.UxDe_mYaDvonOU1f98xBizsE5iIJBMmuYrFHBXlHY_8", | ||
| 379 | - "expiresIn": 43200 | ||
| 380 | - } | ||
| 381 | - } | ||
| 382 | -}</pre> | ||
| 383 | - | ||
| 384 | - | ||
| 385 | - </td> | ||
| 386 | - </tr> | ||
| 387 | - | ||
| 388 | - </table> | ||
| 389 | - </div> | ||
| 390 | - | ||
| 391 | - | ||
| 392 | - <h3>Validators:</h3> | ||
| 393 | - <div style="overflow: auto"> | ||
| 394 | - | ||
| 395 | - | ||
| 396 | - <table> | ||
| 397 | - <tr> | ||
| 398 | - <th>check</th> | ||
| 399 | - <th>comparator</th> | ||
| 400 | - <th>expect value</th> | ||
| 401 | - <th>actual value</th> | ||
| 402 | - </tr> | ||
| 403 | - | ||
| 404 | - <tr> | ||
| 405 | - | ||
| 406 | - <td class="passed"> | ||
| 407 | - | ||
| 408 | - content.msg | ||
| 409 | - </td> | ||
| 410 | - <td>equals</td> | ||
| 411 | - <td>ok</td> | ||
| 412 | - <td>ok</td> | ||
| 413 | - </tr> | ||
| 414 | - | ||
| 415 | - </table> | ||
| 416 | - | ||
| 417 | - | ||
| 418 | - | ||
| 419 | - | ||
| 420 | - </div> | ||
| 421 | - | ||
| 422 | - <h3>Statistics:</h3> | ||
| 423 | - <div style="overflow: auto"> | ||
| 424 | - <table> | ||
| 425 | - <tr> | ||
| 426 | - <th>content_size(bytes)</th> | ||
| 427 | - <td>310</td> | ||
| 428 | - </tr> | ||
| 429 | - <tr> | ||
| 430 | - <th>response_time(ms)</th> | ||
| 431 | - <td>214.01</td> | ||
| 432 | - </tr> | ||
| 433 | - <tr> | ||
| 434 | - <th>elapsed(ms)</th> | ||
| 435 | - <td>204.213</td> | ||
| 436 | - </tr> | ||
| 437 | - </table> | ||
| 438 | - </div> | ||
| 439 | - | ||
| 440 | - </div> | ||
| 441 | - </div> | ||
| 442 | - </div> | ||
| 443 | - | ||
| 444 | - | ||
| 445 | - | ||
| 446 | - | ||
| 447 | - </td> | ||
| 448 | - </tr> | ||
| 449 | - | ||
| 450 | - | ||
| 451 | - | ||
| 452 | - <tr id="record_1_2"> | ||
| 453 | - <th class="success" style="width:5em;">success</th> | ||
| 454 | - <td colspan="2">10000000001 新增实际订单</td> | ||
| 455 | - <td style="text-align:center;width:6em;">60.00 ms</td> | ||
| 456 | - <td class="detail"> | ||
| 457 | - | ||
| 458 | - | ||
| 459 | - | ||
| 460 | - <a class="button" href="#popup_log_1_2_1">log-1</a> | ||
| 461 | - <div id="popup_log_1_2_1" class="overlay"> | ||
| 462 | - <div class="popup"> | ||
| 463 | - <h2>Request and Response data</h2> | ||
| 464 | - <a class="close" href="#record_1_2_1">×</a> | ||
| 465 | - | ||
| 466 | - <div class="content"> | ||
| 467 | - <h3>Name: 10000000001 新增实际订单</h3> | ||
| 468 | - | ||
| 469 | - | ||
| 470 | - | ||
| 471 | - | ||
| 472 | - | ||
| 473 | - <h3>Request:</h3> | ||
| 474 | - <div style="overflow: auto"> | ||
| 475 | - <table> | ||
| 476 | - | ||
| 477 | - <tr> | ||
| 478 | - <th>url</th> | ||
| 479 | - <td> | ||
| 480 | - | ||
| 481 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/order/actual/update | ||
| 482 | - | ||
| 483 | - </td> | ||
| 484 | - </tr> | ||
| 485 | - | ||
| 486 | - <tr> | ||
| 487 | - <th>method</th> | ||
| 488 | - <td> | ||
| 489 | - | ||
| 490 | - POST | ||
| 491 | - | ||
| 492 | - </td> | ||
| 493 | - </tr> | ||
| 494 | - | ||
| 495 | - <tr> | ||
| 496 | - <th>headers</th> | ||
| 497 | - <td> | ||
| 498 | - | ||
| 499 | - <pre>{ | ||
| 500 | - "User-Agent": "okhttp/3.12.3", | ||
| 501 | - "Accept-Encoding": "gzip, deflate", | ||
| 502 | - "Accept": "*/*", | ||
| 503 | - "Connection": "keep-alive", | ||
| 504 | - "Content-Type": "application/json;charset=utf-8", | ||
| 505 | - "Authorization": "Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5MTc2MDIsImlhdCI6MTU5Mzg3NDQwMiwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDQwMiwidWlkIjoxfQ.UxDe_mYaDvonOU1f98xBizsE5iIJBMmuYrFHBXlHY_8", | ||
| 506 | - "Content-Length": "368" | ||
| 507 | -}</pre> | ||
| 508 | - | ||
| 509 | - </td> | ||
| 510 | - </tr> | ||
| 511 | - | ||
| 512 | - <tr> | ||
| 513 | - <th>body</th> | ||
| 514 | - <td> | ||
| 515 | - | ||
| 516 | - <pre>{ | ||
| 517 | - "buyer": "我是买家21", | ||
| 518 | - "buyerPhone": "13459147023", | ||
| 519 | - "address": "福建省福州市收获地址1", | ||
| 520 | - "partner": 29, | ||
| 521 | - "partnerRatio": 99.99, | ||
| 522 | - "salesmanRatio": 22.11, | ||
| 523 | - "orderId": "20200704225321", | ||
| 524 | - "orderName": "20200704225321", | ||
| 525 | - "orderNum": 5000, | ||
| 526 | - "orderPrice": 100000000, | ||
| 527 | - "orderDist": "福建一区", | ||
| 528 | - "orderStatue": 3 | ||
| 529 | -}</pre> | ||
| 530 | - | ||
| 531 | - </td> | ||
| 532 | - </tr> | ||
| 533 | - | ||
| 534 | - </table> | ||
| 535 | - </div> | ||
| 536 | - | ||
| 537 | - <h3>Response:</h3> | ||
| 538 | - <div style="overflow: auto"> | ||
| 539 | - <table> | ||
| 540 | - | ||
| 541 | - <tr> | ||
| 542 | - <th>ok</th> | ||
| 543 | - <td> | ||
| 544 | - | ||
| 545 | - True | ||
| 546 | - | ||
| 547 | - </td> | ||
| 548 | - </tr> | ||
| 549 | - | ||
| 550 | - <tr> | ||
| 551 | - <th>url</th> | ||
| 552 | - <td> | ||
| 553 | - | ||
| 554 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/order/actual/update | ||
| 555 | - | ||
| 556 | - </td> | ||
| 557 | - </tr> | ||
| 558 | - | ||
| 559 | - <tr> | ||
| 560 | - <th>status_code</th> | ||
| 561 | - <td> | ||
| 562 | - | ||
| 563 | - 200 | ||
| 564 | - | ||
| 565 | - </td> | ||
| 566 | - </tr> | ||
| 567 | - | ||
| 568 | - <tr> | ||
| 569 | - <th>reason</th> | ||
| 570 | - <td> | ||
| 571 | - | ||
| 572 | - OK | ||
| 573 | - | ||
| 574 | - </td> | ||
| 575 | - </tr> | ||
| 576 | - | ||
| 577 | - <tr> | ||
| 578 | - <th>cookies</th> | ||
| 579 | - <td> | ||
| 580 | - | ||
| 581 | - {} | ||
| 582 | - | ||
| 583 | - </td> | ||
| 584 | - </tr> | ||
| 585 | - | ||
| 586 | - <tr> | ||
| 587 | - <th>encoding</th> | ||
| 588 | - <td> | ||
| 589 | - | ||
| 590 | - utf-8 | ||
| 591 | - | ||
| 592 | - </td> | ||
| 593 | - </tr> | ||
| 594 | - | ||
| 595 | - <tr> | ||
| 596 | - <th>headers</th> | ||
| 597 | - <td> | ||
| 598 | - | ||
| 599 | - <pre>{ | ||
| 600 | - "Date": "Sat, 04 Jul 2020 14:53:22 GMT", | ||
| 601 | - "Content-Type": "application/json; charset=utf-8", | ||
| 602 | - "Content-Length": "55", | ||
| 603 | - "Connection": "keep-alive", | ||
| 604 | - "Access-Control-Allow-Credentials": "true", | ||
| 605 | - "Access-Control-Allow-Headers": "Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with", | ||
| 606 | - "Access-Control-Allow-Methods": "*", | ||
| 607 | - "Access-Control-Allow-Origin": "*", | ||
| 608 | - "Access-Control-Expose-Headers": "Content-Length", | ||
| 609 | - "Strict-Transport-Security": "max-age=15724800; includeSubDomains" | ||
| 610 | -}</pre> | ||
| 611 | - | ||
| 612 | - </td> | ||
| 613 | - </tr> | ||
| 614 | - | ||
| 615 | - <tr> | ||
| 616 | - <th>content_type</th> | ||
| 617 | - <td> | ||
| 618 | - | ||
| 619 | - application/json; charset=utf-8 | ||
| 620 | - | ||
| 621 | - </td> | ||
| 622 | - </tr> | ||
| 623 | - | ||
| 624 | - <tr> | ||
| 625 | - <th>body</th> | ||
| 626 | - <td> | ||
| 627 | - | ||
| 628 | - | ||
| 629 | - <pre>{ | ||
| 630 | - "code": -1, | ||
| 631 | - "msg": "服务异常", | ||
| 632 | - "data": {} | ||
| 633 | -}</pre> | ||
| 634 | - | ||
| 635 | - | ||
| 636 | - </td> | ||
| 637 | - </tr> | ||
| 638 | - | ||
| 639 | - </table> | ||
| 640 | - </div> | ||
| 641 | - | ||
| 642 | - | ||
| 643 | - <h3>Validators:</h3> | ||
| 644 | - <div style="overflow: auto"> | ||
| 645 | - | ||
| 646 | - | ||
| 647 | - | ||
| 648 | - | ||
| 649 | - | ||
| 650 | - </div> | ||
| 651 | - | ||
| 652 | - <h3>Statistics:</h3> | ||
| 653 | - <div style="overflow: auto"> | ||
| 654 | - <table> | ||
| 655 | - <tr> | ||
| 656 | - <th>content_size(bytes)</th> | ||
| 657 | - <td>55</td> | ||
| 658 | - </tr> | ||
| 659 | - <tr> | ||
| 660 | - <th>response_time(ms)</th> | ||
| 661 | - <td>60.0</td> | ||
| 662 | - </tr> | ||
| 663 | - <tr> | ||
| 664 | - <th>elapsed(ms)</th> | ||
| 665 | - <td>56.931</td> | ||
| 666 | - </tr> | ||
| 667 | - </table> | ||
| 668 | - </div> | ||
| 669 | - | ||
| 670 | - </div> | ||
| 671 | - </div> | ||
| 672 | - </div> | ||
| 673 | - | ||
| 674 | - | ||
| 675 | - | ||
| 676 | - | ||
| 677 | - </td> | ||
| 678 | - </tr> | ||
| 679 | - | ||
| 680 | - </table> | ||
| 681 | - | ||
| 682 | -</body> |
reports/20200704T145529.449679.html
已删除
100644 → 0
| 1 | -<head> | ||
| 2 | - <meta content="text/html; charset=utf-8" http-equiv="content-type" /> | ||
| 3 | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 4 | - <title> - TestReport</title> | ||
| 5 | - <style> | ||
| 6 | - body { | ||
| 7 | - background-color: #f2f2f2; | ||
| 8 | - color: #333; | ||
| 9 | - margin: 0 auto; | ||
| 10 | - width: 960px; | ||
| 11 | - } | ||
| 12 | - #summary { | ||
| 13 | - width: 960px; | ||
| 14 | - margin-bottom: 20px; | ||
| 15 | - } | ||
| 16 | - #summary th { | ||
| 17 | - background-color: skyblue; | ||
| 18 | - padding: 5px 12px; | ||
| 19 | - } | ||
| 20 | - #summary td { | ||
| 21 | - background-color: lightblue; | ||
| 22 | - text-align: center; | ||
| 23 | - padding: 4px 8px; | ||
| 24 | - } | ||
| 25 | - .details { | ||
| 26 | - width: 960px; | ||
| 27 | - margin-bottom: 20px; | ||
| 28 | - } | ||
| 29 | - .details th { | ||
| 30 | - background-color: skyblue; | ||
| 31 | - padding: 5px 12px; | ||
| 32 | - } | ||
| 33 | - .details tr .passed { | ||
| 34 | - background-color: lightgreen; | ||
| 35 | - } | ||
| 36 | - .details tr .failed { | ||
| 37 | - background-color: red; | ||
| 38 | - } | ||
| 39 | - .details tr .unchecked { | ||
| 40 | - background-color: gray; | ||
| 41 | - } | ||
| 42 | - .details td { | ||
| 43 | - background-color: lightblue; | ||
| 44 | - padding: 5px 12px; | ||
| 45 | - } | ||
| 46 | - .details .detail { | ||
| 47 | - background-color: lightgrey; | ||
| 48 | - font-size: smaller; | ||
| 49 | - padding: 5px 10px; | ||
| 50 | - line-height: 20px; | ||
| 51 | - text-align: left; | ||
| 52 | - } | ||
| 53 | - .details .success { | ||
| 54 | - background-color: greenyellow; | ||
| 55 | - } | ||
| 56 | - .details .error { | ||
| 57 | - background-color: red; | ||
| 58 | - } | ||
| 59 | - .details .failure { | ||
| 60 | - background-color: salmon; | ||
| 61 | - } | ||
| 62 | - .details .skipped { | ||
| 63 | - background-color: gray; | ||
| 64 | - } | ||
| 65 | - | ||
| 66 | - .button { | ||
| 67 | - font-size: 1em; | ||
| 68 | - padding: 6px; | ||
| 69 | - width: 4em; | ||
| 70 | - text-align: center; | ||
| 71 | - background-color: #06d85f; | ||
| 72 | - border-radius: 20px/50px; | ||
| 73 | - cursor: pointer; | ||
| 74 | - transition: all 0.3s ease-out; | ||
| 75 | - } | ||
| 76 | - a.button{ | ||
| 77 | - color: gray; | ||
| 78 | - text-decoration: none; | ||
| 79 | - display: inline-block; | ||
| 80 | - } | ||
| 81 | - .button:hover { | ||
| 82 | - background: #2cffbd; | ||
| 83 | - } | ||
| 84 | - | ||
| 85 | - .overlay { | ||
| 86 | - position: fixed; | ||
| 87 | - top: 0; | ||
| 88 | - bottom: 0; | ||
| 89 | - left: 0; | ||
| 90 | - right: 0; | ||
| 91 | - background: rgba(0, 0, 0, 0.7); | ||
| 92 | - transition: opacity 500ms; | ||
| 93 | - visibility: hidden; | ||
| 94 | - opacity: 0; | ||
| 95 | - line-height: 25px; | ||
| 96 | - } | ||
| 97 | - .overlay:target { | ||
| 98 | - visibility: visible; | ||
| 99 | - opacity: 1; | ||
| 100 | - } | ||
| 101 | - | ||
| 102 | - .popup { | ||
| 103 | - margin: 70px auto; | ||
| 104 | - padding: 20px; | ||
| 105 | - background: #fff; | ||
| 106 | - border-radius: 10px; | ||
| 107 | - width: 50%; | ||
| 108 | - position: relative; | ||
| 109 | - transition: all 3s ease-in-out; | ||
| 110 | - } | ||
| 111 | - | ||
| 112 | - .popup h2 { | ||
| 113 | - margin-top: 0; | ||
| 114 | - color: #333; | ||
| 115 | - font-family: Tahoma, Arial, sans-serif; | ||
| 116 | - } | ||
| 117 | - .popup .close { | ||
| 118 | - position: absolute; | ||
| 119 | - top: 20px; | ||
| 120 | - right: 30px; | ||
| 121 | - transition: all 200ms; | ||
| 122 | - font-size: 30px; | ||
| 123 | - font-weight: bold; | ||
| 124 | - text-decoration: none; | ||
| 125 | - color: #333; | ||
| 126 | - } | ||
| 127 | - .popup .close:hover { | ||
| 128 | - color: #06d85f; | ||
| 129 | - } | ||
| 130 | - .popup .content { | ||
| 131 | - max-height: 80%; | ||
| 132 | - overflow: auto; | ||
| 133 | - text-align: left; | ||
| 134 | - } | ||
| 135 | - .popup .separator { | ||
| 136 | - color:royalblue | ||
| 137 | - } | ||
| 138 | - | ||
| 139 | - @media screen and (max-width: 700px) { | ||
| 140 | - .box { | ||
| 141 | - width: 70%; | ||
| 142 | - } | ||
| 143 | - .popup { | ||
| 144 | - width: 70%; | ||
| 145 | - } | ||
| 146 | - } | ||
| 147 | - | ||
| 148 | - </style> | ||
| 149 | -</head> | ||
| 150 | - | ||
| 151 | -<body> | ||
| 152 | - <h1>Test Report: </h1> | ||
| 153 | - | ||
| 154 | - <h2>Summary</h2> | ||
| 155 | - <table id="summary"> | ||
| 156 | - <tr> | ||
| 157 | - <th>START AT</th> | ||
| 158 | - <td colspan="4">2020-07-04T14:55:29.449679</td> | ||
| 159 | - </tr> | ||
| 160 | - <tr> | ||
| 161 | - <th>DURATION</th> | ||
| 162 | - <td colspan="4">0.285 seconds</td> | ||
| 163 | - </tr> | ||
| 164 | - <tr> | ||
| 165 | - <th>PLATFORM</th> | ||
| 166 | - <td>HttpRunner 2.5.5 </td> | ||
| 167 | - <td>CPython 3.8.1 </td> | ||
| 168 | - <td colspan="2">Windows-7-6.1.7601-SP1</td> | ||
| 169 | - </tr> | ||
| 170 | - <tr> | ||
| 171 | - <th>STAT</th> | ||
| 172 | - <th colspan="2">TESTCASES (success/fail)</th> | ||
| 173 | - <th colspan="2">TESTSTEPS (success/fail/error/skip)</th> | ||
| 174 | - </tr> | ||
| 175 | - <tr> | ||
| 176 | - <td>total (details) =></td> | ||
| 177 | - <td colspan="2">1 (1/0)</td> | ||
| 178 | - <td colspan="2">2 (2/0/0/0)</td> | ||
| 179 | - </tr> | ||
| 180 | - </table> | ||
| 181 | - | ||
| 182 | - <h2>Details</h2> | ||
| 183 | - | ||
| 184 | - | ||
| 185 | - | ||
| 186 | - <h3>call demo_testcase with data 1</h3> | ||
| 187 | - <table id="suite_1" class="details"> | ||
| 188 | - <tr> | ||
| 189 | - <td>TOTAL: 2</td> | ||
| 190 | - <td>SUCCESS: 2</td> | ||
| 191 | - <td>FAILED: 0</td> | ||
| 192 | - <td>ERROR: 0</td> | ||
| 193 | - <td>SKIPPED: 0</td> | ||
| 194 | - </tr> | ||
| 195 | - <tr> | ||
| 196 | - <th>Status</th> | ||
| 197 | - <th colspan="2">Name</th> | ||
| 198 | - <th>Response Time</th> | ||
| 199 | - <th>Detail</th> | ||
| 200 | - </tr> | ||
| 201 | - | ||
| 202 | - | ||
| 203 | - | ||
| 204 | - | ||
| 205 | - <tr id="record_1_1"> | ||
| 206 | - <th class="success" style="width:5em;">success</th> | ||
| 207 | - <td colspan="2">10000000001 登录系统</td> | ||
| 208 | - <td style="text-align:center;width:6em;">193.01 ms</td> | ||
| 209 | - <td class="detail"> | ||
| 210 | - | ||
| 211 | - | ||
| 212 | - | ||
| 213 | - <a class="button" href="#popup_log_1_1_1">log-1</a> | ||
| 214 | - <div id="popup_log_1_1_1" class="overlay"> | ||
| 215 | - <div class="popup"> | ||
| 216 | - <h2>Request and Response data</h2> | ||
| 217 | - <a class="close" href="#record_1_1_1">×</a> | ||
| 218 | - | ||
| 219 | - <div class="content"> | ||
| 220 | - <h3>Name: 10000000001 登录系统</h3> | ||
| 221 | - | ||
| 222 | - | ||
| 223 | - | ||
| 224 | - | ||
| 225 | - | ||
| 226 | - <h3>Request:</h3> | ||
| 227 | - <div style="overflow: auto"> | ||
| 228 | - <table> | ||
| 229 | - | ||
| 230 | - <tr> | ||
| 231 | - <th>url</th> | ||
| 232 | - <td> | ||
| 233 | - | ||
| 234 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/auth/login | ||
| 235 | - | ||
| 236 | - </td> | ||
| 237 | - </tr> | ||
| 238 | - | ||
| 239 | - <tr> | ||
| 240 | - <th>method</th> | ||
| 241 | - <td> | ||
| 242 | - | ||
| 243 | - POST | ||
| 244 | - | ||
| 245 | - </td> | ||
| 246 | - </tr> | ||
| 247 | - | ||
| 248 | - <tr> | ||
| 249 | - <th>headers</th> | ||
| 250 | - <td> | ||
| 251 | - | ||
| 252 | - <pre>{ | ||
| 253 | - "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36", | ||
| 254 | - "Accept-Encoding": "gzip, deflate", | ||
| 255 | - "Accept": "*/*", | ||
| 256 | - "Connection": "keep-alive", | ||
| 257 | - "Content-Type": "application/json;charset=utf-8", | ||
| 258 | - "Content-Length": "83" | ||
| 259 | -}</pre> | ||
| 260 | - | ||
| 261 | - </td> | ||
| 262 | - </tr> | ||
| 263 | - | ||
| 264 | - <tr> | ||
| 265 | - <th>body</th> | ||
| 266 | - <td> | ||
| 267 | - | ||
| 268 | - <pre>{ | ||
| 269 | - "password": "7c4a8d09ca3762af61e59520943dc26494f8941b", | ||
| 270 | - "username": "10000000001" | ||
| 271 | -}</pre> | ||
| 272 | - | ||
| 273 | - </td> | ||
| 274 | - </tr> | ||
| 275 | - | ||
| 276 | - </table> | ||
| 277 | - </div> | ||
| 278 | - | ||
| 279 | - <h3>Response:</h3> | ||
| 280 | - <div style="overflow: auto"> | ||
| 281 | - <table> | ||
| 282 | - | ||
| 283 | - <tr> | ||
| 284 | - <th>ok</th> | ||
| 285 | - <td> | ||
| 286 | - | ||
| 287 | - True | ||
| 288 | - | ||
| 289 | - </td> | ||
| 290 | - </tr> | ||
| 291 | - | ||
| 292 | - <tr> | ||
| 293 | - <th>url</th> | ||
| 294 | - <td> | ||
| 295 | - | ||
| 296 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/auth/login | ||
| 297 | - | ||
| 298 | - </td> | ||
| 299 | - </tr> | ||
| 300 | - | ||
| 301 | - <tr> | ||
| 302 | - <th>status_code</th> | ||
| 303 | - <td> | ||
| 304 | - | ||
| 305 | - 200 | ||
| 306 | - | ||
| 307 | - </td> | ||
| 308 | - </tr> | ||
| 309 | - | ||
| 310 | - <tr> | ||
| 311 | - <th>reason</th> | ||
| 312 | - <td> | ||
| 313 | - | ||
| 314 | - OK | ||
| 315 | - | ||
| 316 | - </td> | ||
| 317 | - </tr> | ||
| 318 | - | ||
| 319 | - <tr> | ||
| 320 | - <th>cookies</th> | ||
| 321 | - <td> | ||
| 322 | - | ||
| 323 | - {} | ||
| 324 | - | ||
| 325 | - </td> | ||
| 326 | - </tr> | ||
| 327 | - | ||
| 328 | - <tr> | ||
| 329 | - <th>encoding</th> | ||
| 330 | - <td> | ||
| 331 | - | ||
| 332 | - utf-8 | ||
| 333 | - | ||
| 334 | - </td> | ||
| 335 | - </tr> | ||
| 336 | - | ||
| 337 | - <tr> | ||
| 338 | - <th>headers</th> | ||
| 339 | - <td> | ||
| 340 | - | ||
| 341 | - <pre>{ | ||
| 342 | - "Date": "Sat, 04 Jul 2020 14:55:30 GMT", | ||
| 343 | - "Content-Type": "application/json; charset=utf-8", | ||
| 344 | - "Transfer-Encoding": "chunked", | ||
| 345 | - "Connection": "keep-alive", | ||
| 346 | - "Vary": "Accept-Encoding, Accept-Encoding", | ||
| 347 | - "Access-Control-Allow-Credentials": "true", | ||
| 348 | - "Access-Control-Allow-Headers": "Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with", | ||
| 349 | - "Access-Control-Allow-Methods": "*", | ||
| 350 | - "Access-Control-Allow-Origin": "*", | ||
| 351 | - "Access-Control-Expose-Headers": "Content-Length", | ||
| 352 | - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", | ||
| 353 | - "Content-Encoding": "gzip" | ||
| 354 | -}</pre> | ||
| 355 | - | ||
| 356 | - </td> | ||
| 357 | - </tr> | ||
| 358 | - | ||
| 359 | - <tr> | ||
| 360 | - <th>content_type</th> | ||
| 361 | - <td> | ||
| 362 | - | ||
| 363 | - application/json; charset=utf-8 | ||
| 364 | - | ||
| 365 | - </td> | ||
| 366 | - </tr> | ||
| 367 | - | ||
| 368 | - <tr> | ||
| 369 | - <th>body</th> | ||
| 370 | - <td> | ||
| 371 | - | ||
| 372 | - | ||
| 373 | - <pre>{ | ||
| 374 | - "code": 0, | ||
| 375 | - "msg": "ok", | ||
| 376 | - "data": { | ||
| 377 | - "access": { | ||
| 378 | - "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5MTc3MzAsImlhdCI6MTU5Mzg3NDUzMCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDUzMCwidWlkIjoxfQ.Z9saetn6R686E7a9ZkSvtmz5DlcDz246j2M5P-wN1Bk", | ||
| 379 | - "expiresIn": 43200 | ||
| 380 | - } | ||
| 381 | - } | ||
| 382 | -}</pre> | ||
| 383 | - | ||
| 384 | - | ||
| 385 | - </td> | ||
| 386 | - </tr> | ||
| 387 | - | ||
| 388 | - </table> | ||
| 389 | - </div> | ||
| 390 | - | ||
| 391 | - | ||
| 392 | - <h3>Validators:</h3> | ||
| 393 | - <div style="overflow: auto"> | ||
| 394 | - | ||
| 395 | - | ||
| 396 | - <table> | ||
| 397 | - <tr> | ||
| 398 | - <th>check</th> | ||
| 399 | - <th>comparator</th> | ||
| 400 | - <th>expect value</th> | ||
| 401 | - <th>actual value</th> | ||
| 402 | - </tr> | ||
| 403 | - | ||
| 404 | - <tr> | ||
| 405 | - | ||
| 406 | - <td class="passed"> | ||
| 407 | - | ||
| 408 | - content.msg | ||
| 409 | - </td> | ||
| 410 | - <td>equals</td> | ||
| 411 | - <td>ok</td> | ||
| 412 | - <td>ok</td> | ||
| 413 | - </tr> | ||
| 414 | - | ||
| 415 | - </table> | ||
| 416 | - | ||
| 417 | - | ||
| 418 | - | ||
| 419 | - | ||
| 420 | - </div> | ||
| 421 | - | ||
| 422 | - <h3>Statistics:</h3> | ||
| 423 | - <div style="overflow: auto"> | ||
| 424 | - <table> | ||
| 425 | - <tr> | ||
| 426 | - <th>content_size(bytes)</th> | ||
| 427 | - <td>310</td> | ||
| 428 | - </tr> | ||
| 429 | - <tr> | ||
| 430 | - <th>response_time(ms)</th> | ||
| 431 | - <td>193.01</td> | ||
| 432 | - </tr> | ||
| 433 | - <tr> | ||
| 434 | - <th>elapsed(ms)</th> | ||
| 435 | - <td>184.756</td> | ||
| 436 | - </tr> | ||
| 437 | - </table> | ||
| 438 | - </div> | ||
| 439 | - | ||
| 440 | - </div> | ||
| 441 | - </div> | ||
| 442 | - </div> | ||
| 443 | - | ||
| 444 | - | ||
| 445 | - | ||
| 446 | - | ||
| 447 | - </td> | ||
| 448 | - </tr> | ||
| 449 | - | ||
| 450 | - | ||
| 451 | - | ||
| 452 | - <tr id="record_1_2"> | ||
| 453 | - <th class="success" style="width:5em;">success</th> | ||
| 454 | - <td colspan="2">10000000001 新增实际订单</td> | ||
| 455 | - <td style="text-align:center;width:6em;">58.00 ms</td> | ||
| 456 | - <td class="detail"> | ||
| 457 | - | ||
| 458 | - | ||
| 459 | - | ||
| 460 | - <a class="button" href="#popup_log_1_2_1">log-1</a> | ||
| 461 | - <div id="popup_log_1_2_1" class="overlay"> | ||
| 462 | - <div class="popup"> | ||
| 463 | - <h2>Request and Response data</h2> | ||
| 464 | - <a class="close" href="#record_1_2_1">×</a> | ||
| 465 | - | ||
| 466 | - <div class="content"> | ||
| 467 | - <h3>Name: 10000000001 新增实际订单</h3> | ||
| 468 | - | ||
| 469 | - | ||
| 470 | - | ||
| 471 | - | ||
| 472 | - | ||
| 473 | - <h3>Request:</h3> | ||
| 474 | - <div style="overflow: auto"> | ||
| 475 | - <table> | ||
| 476 | - | ||
| 477 | - <tr> | ||
| 478 | - <th>url</th> | ||
| 479 | - <td> | ||
| 480 | - | ||
| 481 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/order/actual/update | ||
| 482 | - | ||
| 483 | - </td> | ||
| 484 | - </tr> | ||
| 485 | - | ||
| 486 | - <tr> | ||
| 487 | - <th>method</th> | ||
| 488 | - <td> | ||
| 489 | - | ||
| 490 | - POST | ||
| 491 | - | ||
| 492 | - </td> | ||
| 493 | - </tr> | ||
| 494 | - | ||
| 495 | - <tr> | ||
| 496 | - <th>headers</th> | ||
| 497 | - <td> | ||
| 498 | - | ||
| 499 | - <pre>{ | ||
| 500 | - "User-Agent": "okhttp/3.12.3", | ||
| 501 | - "Accept-Encoding": "gzip, deflate", | ||
| 502 | - "Accept": "*/*", | ||
| 503 | - "Connection": "keep-alive", | ||
| 504 | - "Content-Type": "application/json;charset=utf-8", | ||
| 505 | - "Authorization": "Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5MTc3MzAsImlhdCI6MTU5Mzg3NDUzMCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDUzMCwidWlkIjoxfQ.Z9saetn6R686E7a9ZkSvtmz5DlcDz246j2M5P-wN1Bk", | ||
| 506 | - "Content-Length": "368" | ||
| 507 | -}</pre> | ||
| 508 | - | ||
| 509 | - </td> | ||
| 510 | - </tr> | ||
| 511 | - | ||
| 512 | - <tr> | ||
| 513 | - <th>body</th> | ||
| 514 | - <td> | ||
| 515 | - | ||
| 516 | - <pre>{ | ||
| 517 | - "buyer": "我是买家29", | ||
| 518 | - "buyerPhone": "13459147023", | ||
| 519 | - "address": "福建省福州市收获地址1", | ||
| 520 | - "partner": 29, | ||
| 521 | - "partnerRatio": 99.99, | ||
| 522 | - "salesmanRatio": 22.11, | ||
| 523 | - "orderId": "20200704225529", | ||
| 524 | - "orderName": "20200704225529", | ||
| 525 | - "orderNum": 5000, | ||
| 526 | - "orderPrice": 100000000, | ||
| 527 | - "orderDist": "福建一区", | ||
| 528 | - "orderStatue": 3 | ||
| 529 | -}</pre> | ||
| 530 | - | ||
| 531 | - </td> | ||
| 532 | - </tr> | ||
| 533 | - | ||
| 534 | - </table> | ||
| 535 | - </div> | ||
| 536 | - | ||
| 537 | - <h3>Response:</h3> | ||
| 538 | - <div style="overflow: auto"> | ||
| 539 | - <table> | ||
| 540 | - | ||
| 541 | - <tr> | ||
| 542 | - <th>ok</th> | ||
| 543 | - <td> | ||
| 544 | - | ||
| 545 | - True | ||
| 546 | - | ||
| 547 | - </td> | ||
| 548 | - </tr> | ||
| 549 | - | ||
| 550 | - <tr> | ||
| 551 | - <th>url</th> | ||
| 552 | - <td> | ||
| 553 | - | ||
| 554 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/order/actual/update | ||
| 555 | - | ||
| 556 | - </td> | ||
| 557 | - </tr> | ||
| 558 | - | ||
| 559 | - <tr> | ||
| 560 | - <th>status_code</th> | ||
| 561 | - <td> | ||
| 562 | - | ||
| 563 | - 200 | ||
| 564 | - | ||
| 565 | - </td> | ||
| 566 | - </tr> | ||
| 567 | - | ||
| 568 | - <tr> | ||
| 569 | - <th>reason</th> | ||
| 570 | - <td> | ||
| 571 | - | ||
| 572 | - OK | ||
| 573 | - | ||
| 574 | - </td> | ||
| 575 | - </tr> | ||
| 576 | - | ||
| 577 | - <tr> | ||
| 578 | - <th>cookies</th> | ||
| 579 | - <td> | ||
| 580 | - | ||
| 581 | - {} | ||
| 582 | - | ||
| 583 | - </td> | ||
| 584 | - </tr> | ||
| 585 | - | ||
| 586 | - <tr> | ||
| 587 | - <th>encoding</th> | ||
| 588 | - <td> | ||
| 589 | - | ||
| 590 | - utf-8 | ||
| 591 | - | ||
| 592 | - </td> | ||
| 593 | - </tr> | ||
| 594 | - | ||
| 595 | - <tr> | ||
| 596 | - <th>headers</th> | ||
| 597 | - <td> | ||
| 598 | - | ||
| 599 | - <pre>{ | ||
| 600 | - "Date": "Sat, 04 Jul 2020 14:55:30 GMT", | ||
| 601 | - "Content-Type": "application/json; charset=utf-8", | ||
| 602 | - "Content-Length": "55", | ||
| 603 | - "Connection": "keep-alive", | ||
| 604 | - "Access-Control-Allow-Credentials": "true", | ||
| 605 | - "Access-Control-Allow-Headers": "Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with", | ||
| 606 | - "Access-Control-Allow-Methods": "*", | ||
| 607 | - "Access-Control-Allow-Origin": "*", | ||
| 608 | - "Access-Control-Expose-Headers": "Content-Length", | ||
| 609 | - "Strict-Transport-Security": "max-age=15724800; includeSubDomains" | ||
| 610 | -}</pre> | ||
| 611 | - | ||
| 612 | - </td> | ||
| 613 | - </tr> | ||
| 614 | - | ||
| 615 | - <tr> | ||
| 616 | - <th>content_type</th> | ||
| 617 | - <td> | ||
| 618 | - | ||
| 619 | - application/json; charset=utf-8 | ||
| 620 | - | ||
| 621 | - </td> | ||
| 622 | - </tr> | ||
| 623 | - | ||
| 624 | - <tr> | ||
| 625 | - <th>body</th> | ||
| 626 | - <td> | ||
| 627 | - | ||
| 628 | - | ||
| 629 | - <pre>{ | ||
| 630 | - "code": -1, | ||
| 631 | - "msg": "服务异常", | ||
| 632 | - "data": {} | ||
| 633 | -}</pre> | ||
| 634 | - | ||
| 635 | - | ||
| 636 | - </td> | ||
| 637 | - </tr> | ||
| 638 | - | ||
| 639 | - </table> | ||
| 640 | - </div> | ||
| 641 | - | ||
| 642 | - | ||
| 643 | - <h3>Validators:</h3> | ||
| 644 | - <div style="overflow: auto"> | ||
| 645 | - | ||
| 646 | - | ||
| 647 | - | ||
| 648 | - | ||
| 649 | - | ||
| 650 | - </div> | ||
| 651 | - | ||
| 652 | - <h3>Statistics:</h3> | ||
| 653 | - <div style="overflow: auto"> | ||
| 654 | - <table> | ||
| 655 | - <tr> | ||
| 656 | - <th>content_size(bytes)</th> | ||
| 657 | - <td>55</td> | ||
| 658 | - </tr> | ||
| 659 | - <tr> | ||
| 660 | - <th>response_time(ms)</th> | ||
| 661 | - <td>58.0</td> | ||
| 662 | - </tr> | ||
| 663 | - <tr> | ||
| 664 | - <th>elapsed(ms)</th> | ||
| 665 | - <td>53.305</td> | ||
| 666 | - </tr> | ||
| 667 | - </table> | ||
| 668 | - </div> | ||
| 669 | - | ||
| 670 | - </div> | ||
| 671 | - </div> | ||
| 672 | - </div> | ||
| 673 | - | ||
| 674 | - | ||
| 675 | - | ||
| 676 | - | ||
| 677 | - </td> | ||
| 678 | - </tr> | ||
| 679 | - | ||
| 680 | - </table> | ||
| 681 | - | ||
| 682 | -</body> |
reports/20200704T145733.571779.html
已删除
100644 → 0
| 1 | -<head> | ||
| 2 | - <meta content="text/html; charset=utf-8" http-equiv="content-type" /> | ||
| 3 | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 4 | - <title> - TestReport</title> | ||
| 5 | - <style> | ||
| 6 | - body { | ||
| 7 | - background-color: #f2f2f2; | ||
| 8 | - color: #333; | ||
| 9 | - margin: 0 auto; | ||
| 10 | - width: 960px; | ||
| 11 | - } | ||
| 12 | - #summary { | ||
| 13 | - width: 960px; | ||
| 14 | - margin-bottom: 20px; | ||
| 15 | - } | ||
| 16 | - #summary th { | ||
| 17 | - background-color: skyblue; | ||
| 18 | - padding: 5px 12px; | ||
| 19 | - } | ||
| 20 | - #summary td { | ||
| 21 | - background-color: lightblue; | ||
| 22 | - text-align: center; | ||
| 23 | - padding: 4px 8px; | ||
| 24 | - } | ||
| 25 | - .details { | ||
| 26 | - width: 960px; | ||
| 27 | - margin-bottom: 20px; | ||
| 28 | - } | ||
| 29 | - .details th { | ||
| 30 | - background-color: skyblue; | ||
| 31 | - padding: 5px 12px; | ||
| 32 | - } | ||
| 33 | - .details tr .passed { | ||
| 34 | - background-color: lightgreen; | ||
| 35 | - } | ||
| 36 | - .details tr .failed { | ||
| 37 | - background-color: red; | ||
| 38 | - } | ||
| 39 | - .details tr .unchecked { | ||
| 40 | - background-color: gray; | ||
| 41 | - } | ||
| 42 | - .details td { | ||
| 43 | - background-color: lightblue; | ||
| 44 | - padding: 5px 12px; | ||
| 45 | - } | ||
| 46 | - .details .detail { | ||
| 47 | - background-color: lightgrey; | ||
| 48 | - font-size: smaller; | ||
| 49 | - padding: 5px 10px; | ||
| 50 | - line-height: 20px; | ||
| 51 | - text-align: left; | ||
| 52 | - } | ||
| 53 | - .details .success { | ||
| 54 | - background-color: greenyellow; | ||
| 55 | - } | ||
| 56 | - .details .error { | ||
| 57 | - background-color: red; | ||
| 58 | - } | ||
| 59 | - .details .failure { | ||
| 60 | - background-color: salmon; | ||
| 61 | - } | ||
| 62 | - .details .skipped { | ||
| 63 | - background-color: gray; | ||
| 64 | - } | ||
| 65 | - | ||
| 66 | - .button { | ||
| 67 | - font-size: 1em; | ||
| 68 | - padding: 6px; | ||
| 69 | - width: 4em; | ||
| 70 | - text-align: center; | ||
| 71 | - background-color: #06d85f; | ||
| 72 | - border-radius: 20px/50px; | ||
| 73 | - cursor: pointer; | ||
| 74 | - transition: all 0.3s ease-out; | ||
| 75 | - } | ||
| 76 | - a.button{ | ||
| 77 | - color: gray; | ||
| 78 | - text-decoration: none; | ||
| 79 | - display: inline-block; | ||
| 80 | - } | ||
| 81 | - .button:hover { | ||
| 82 | - background: #2cffbd; | ||
| 83 | - } | ||
| 84 | - | ||
| 85 | - .overlay { | ||
| 86 | - position: fixed; | ||
| 87 | - top: 0; | ||
| 88 | - bottom: 0; | ||
| 89 | - left: 0; | ||
| 90 | - right: 0; | ||
| 91 | - background: rgba(0, 0, 0, 0.7); | ||
| 92 | - transition: opacity 500ms; | ||
| 93 | - visibility: hidden; | ||
| 94 | - opacity: 0; | ||
| 95 | - line-height: 25px; | ||
| 96 | - } | ||
| 97 | - .overlay:target { | ||
| 98 | - visibility: visible; | ||
| 99 | - opacity: 1; | ||
| 100 | - } | ||
| 101 | - | ||
| 102 | - .popup { | ||
| 103 | - margin: 70px auto; | ||
| 104 | - padding: 20px; | ||
| 105 | - background: #fff; | ||
| 106 | - border-radius: 10px; | ||
| 107 | - width: 50%; | ||
| 108 | - position: relative; | ||
| 109 | - transition: all 3s ease-in-out; | ||
| 110 | - } | ||
| 111 | - | ||
| 112 | - .popup h2 { | ||
| 113 | - margin-top: 0; | ||
| 114 | - color: #333; | ||
| 115 | - font-family: Tahoma, Arial, sans-serif; | ||
| 116 | - } | ||
| 117 | - .popup .close { | ||
| 118 | - position: absolute; | ||
| 119 | - top: 20px; | ||
| 120 | - right: 30px; | ||
| 121 | - transition: all 200ms; | ||
| 122 | - font-size: 30px; | ||
| 123 | - font-weight: bold; | ||
| 124 | - text-decoration: none; | ||
| 125 | - color: #333; | ||
| 126 | - } | ||
| 127 | - .popup .close:hover { | ||
| 128 | - color: #06d85f; | ||
| 129 | - } | ||
| 130 | - .popup .content { | ||
| 131 | - max-height: 80%; | ||
| 132 | - overflow: auto; | ||
| 133 | - text-align: left; | ||
| 134 | - } | ||
| 135 | - .popup .separator { | ||
| 136 | - color:royalblue | ||
| 137 | - } | ||
| 138 | - | ||
| 139 | - @media screen and (max-width: 700px) { | ||
| 140 | - .box { | ||
| 141 | - width: 70%; | ||
| 142 | - } | ||
| 143 | - .popup { | ||
| 144 | - width: 70%; | ||
| 145 | - } | ||
| 146 | - } | ||
| 147 | - | ||
| 148 | - </style> | ||
| 149 | -</head> | ||
| 150 | - | ||
| 151 | -<body> | ||
| 152 | - <h1>Test Report: </h1> | ||
| 153 | - | ||
| 154 | - <h2>Summary</h2> | ||
| 155 | - <table id="summary"> | ||
| 156 | - <tr> | ||
| 157 | - <th>START AT</th> | ||
| 158 | - <td colspan="4">2020-07-04T14:57:33.571779</td> | ||
| 159 | - </tr> | ||
| 160 | - <tr> | ||
| 161 | - <th>DURATION</th> | ||
| 162 | - <td colspan="4">0.338 seconds</td> | ||
| 163 | - </tr> | ||
| 164 | - <tr> | ||
| 165 | - <th>PLATFORM</th> | ||
| 166 | - <td>HttpRunner 2.5.5 </td> | ||
| 167 | - <td>CPython 3.8.1 </td> | ||
| 168 | - <td colspan="2">Windows-7-6.1.7601-SP1</td> | ||
| 169 | - </tr> | ||
| 170 | - <tr> | ||
| 171 | - <th>STAT</th> | ||
| 172 | - <th colspan="2">TESTCASES (success/fail)</th> | ||
| 173 | - <th colspan="2">TESTSTEPS (success/fail/error/skip)</th> | ||
| 174 | - </tr> | ||
| 175 | - <tr> | ||
| 176 | - <td>total (details) =></td> | ||
| 177 | - <td colspan="2">1 (1/0)</td> | ||
| 178 | - <td colspan="2">2 (2/0/0/0)</td> | ||
| 179 | - </tr> | ||
| 180 | - </table> | ||
| 181 | - | ||
| 182 | - <h2>Details</h2> | ||
| 183 | - | ||
| 184 | - | ||
| 185 | - | ||
| 186 | - <h3>call demo_testcase with data 1</h3> | ||
| 187 | - <table id="suite_1" class="details"> | ||
| 188 | - <tr> | ||
| 189 | - <td>TOTAL: 2</td> | ||
| 190 | - <td>SUCCESS: 2</td> | ||
| 191 | - <td>FAILED: 0</td> | ||
| 192 | - <td>ERROR: 0</td> | ||
| 193 | - <td>SKIPPED: 0</td> | ||
| 194 | - </tr> | ||
| 195 | - <tr> | ||
| 196 | - <th>Status</th> | ||
| 197 | - <th colspan="2">Name</th> | ||
| 198 | - <th>Response Time</th> | ||
| 199 | - <th>Detail</th> | ||
| 200 | - </tr> | ||
| 201 | - | ||
| 202 | - | ||
| 203 | - | ||
| 204 | - | ||
| 205 | - <tr id="record_1_1"> | ||
| 206 | - <th class="success" style="width:5em;">success</th> | ||
| 207 | - <td colspan="2">10000000001 登录系统</td> | ||
| 208 | - <td style="text-align:center;width:6em;">213.01 ms</td> | ||
| 209 | - <td class="detail"> | ||
| 210 | - | ||
| 211 | - | ||
| 212 | - | ||
| 213 | - <a class="button" href="#popup_log_1_1_1">log-1</a> | ||
| 214 | - <div id="popup_log_1_1_1" class="overlay"> | ||
| 215 | - <div class="popup"> | ||
| 216 | - <h2>Request and Response data</h2> | ||
| 217 | - <a class="close" href="#record_1_1_1">×</a> | ||
| 218 | - | ||
| 219 | - <div class="content"> | ||
| 220 | - <h3>Name: 10000000001 登录系统</h3> | ||
| 221 | - | ||
| 222 | - | ||
| 223 | - | ||
| 224 | - | ||
| 225 | - | ||
| 226 | - <h3>Request:</h3> | ||
| 227 | - <div style="overflow: auto"> | ||
| 228 | - <table> | ||
| 229 | - | ||
| 230 | - <tr> | ||
| 231 | - <th>url</th> | ||
| 232 | - <td> | ||
| 233 | - | ||
| 234 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/auth/login | ||
| 235 | - | ||
| 236 | - </td> | ||
| 237 | - </tr> | ||
| 238 | - | ||
| 239 | - <tr> | ||
| 240 | - <th>method</th> | ||
| 241 | - <td> | ||
| 242 | - | ||
| 243 | - POST | ||
| 244 | - | ||
| 245 | - </td> | ||
| 246 | - </tr> | ||
| 247 | - | ||
| 248 | - <tr> | ||
| 249 | - <th>headers</th> | ||
| 250 | - <td> | ||
| 251 | - | ||
| 252 | - <pre>{ | ||
| 253 | - "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36", | ||
| 254 | - "Accept-Encoding": "gzip, deflate", | ||
| 255 | - "Accept": "*/*", | ||
| 256 | - "Connection": "keep-alive", | ||
| 257 | - "Content-Type": "application/json;charset=utf-8", | ||
| 258 | - "Content-Length": "83" | ||
| 259 | -}</pre> | ||
| 260 | - | ||
| 261 | - </td> | ||
| 262 | - </tr> | ||
| 263 | - | ||
| 264 | - <tr> | ||
| 265 | - <th>body</th> | ||
| 266 | - <td> | ||
| 267 | - | ||
| 268 | - <pre>{ | ||
| 269 | - "password": "7c4a8d09ca3762af61e59520943dc26494f8941b", | ||
| 270 | - "username": "10000000001" | ||
| 271 | -}</pre> | ||
| 272 | - | ||
| 273 | - </td> | ||
| 274 | - </tr> | ||
| 275 | - | ||
| 276 | - </table> | ||
| 277 | - </div> | ||
| 278 | - | ||
| 279 | - <h3>Response:</h3> | ||
| 280 | - <div style="overflow: auto"> | ||
| 281 | - <table> | ||
| 282 | - | ||
| 283 | - <tr> | ||
| 284 | - <th>ok</th> | ||
| 285 | - <td> | ||
| 286 | - | ||
| 287 | - True | ||
| 288 | - | ||
| 289 | - </td> | ||
| 290 | - </tr> | ||
| 291 | - | ||
| 292 | - <tr> | ||
| 293 | - <th>url</th> | ||
| 294 | - <td> | ||
| 295 | - | ||
| 296 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/auth/login | ||
| 297 | - | ||
| 298 | - </td> | ||
| 299 | - </tr> | ||
| 300 | - | ||
| 301 | - <tr> | ||
| 302 | - <th>status_code</th> | ||
| 303 | - <td> | ||
| 304 | - | ||
| 305 | - 200 | ||
| 306 | - | ||
| 307 | - </td> | ||
| 308 | - </tr> | ||
| 309 | - | ||
| 310 | - <tr> | ||
| 311 | - <th>reason</th> | ||
| 312 | - <td> | ||
| 313 | - | ||
| 314 | - OK | ||
| 315 | - | ||
| 316 | - </td> | ||
| 317 | - </tr> | ||
| 318 | - | ||
| 319 | - <tr> | ||
| 320 | - <th>cookies</th> | ||
| 321 | - <td> | ||
| 322 | - | ||
| 323 | - {} | ||
| 324 | - | ||
| 325 | - </td> | ||
| 326 | - </tr> | ||
| 327 | - | ||
| 328 | - <tr> | ||
| 329 | - <th>encoding</th> | ||
| 330 | - <td> | ||
| 331 | - | ||
| 332 | - utf-8 | ||
| 333 | - | ||
| 334 | - </td> | ||
| 335 | - </tr> | ||
| 336 | - | ||
| 337 | - <tr> | ||
| 338 | - <th>headers</th> | ||
| 339 | - <td> | ||
| 340 | - | ||
| 341 | - <pre>{ | ||
| 342 | - "Date": "Sat, 04 Jul 2020 14:57:34 GMT", | ||
| 343 | - "Content-Type": "application/json; charset=utf-8", | ||
| 344 | - "Transfer-Encoding": "chunked", | ||
| 345 | - "Connection": "keep-alive", | ||
| 346 | - "Vary": "Accept-Encoding, Accept-Encoding", | ||
| 347 | - "Access-Control-Allow-Credentials": "true", | ||
| 348 | - "Access-Control-Allow-Headers": "Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with", | ||
| 349 | - "Access-Control-Allow-Methods": "*", | ||
| 350 | - "Access-Control-Allow-Origin": "*", | ||
| 351 | - "Access-Control-Expose-Headers": "Content-Length", | ||
| 352 | - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", | ||
| 353 | - "Content-Encoding": "gzip" | ||
| 354 | -}</pre> | ||
| 355 | - | ||
| 356 | - </td> | ||
| 357 | - </tr> | ||
| 358 | - | ||
| 359 | - <tr> | ||
| 360 | - <th>content_type</th> | ||
| 361 | - <td> | ||
| 362 | - | ||
| 363 | - application/json; charset=utf-8 | ||
| 364 | - | ||
| 365 | - </td> | ||
| 366 | - </tr> | ||
| 367 | - | ||
| 368 | - <tr> | ||
| 369 | - <th>body</th> | ||
| 370 | - <td> | ||
| 371 | - | ||
| 372 | - | ||
| 373 | - <pre>{ | ||
| 374 | - "code": 0, | ||
| 375 | - "msg": "ok", | ||
| 376 | - "data": { | ||
| 377 | - "access": { | ||
| 378 | - "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5MTc4NTQsImlhdCI6MTU5Mzg3NDY1NCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDY1NCwidWlkIjoxfQ.suICHO1_qAjGyM1dQz5LamZ_sAh9CxIYPjeiKnVFs-c", | ||
| 379 | - "expiresIn": 43200 | ||
| 380 | - } | ||
| 381 | - } | ||
| 382 | -}</pre> | ||
| 383 | - | ||
| 384 | - | ||
| 385 | - </td> | ||
| 386 | - </tr> | ||
| 387 | - | ||
| 388 | - </table> | ||
| 389 | - </div> | ||
| 390 | - | ||
| 391 | - | ||
| 392 | - <h3>Validators:</h3> | ||
| 393 | - <div style="overflow: auto"> | ||
| 394 | - | ||
| 395 | - | ||
| 396 | - <table> | ||
| 397 | - <tr> | ||
| 398 | - <th>check</th> | ||
| 399 | - <th>comparator</th> | ||
| 400 | - <th>expect value</th> | ||
| 401 | - <th>actual value</th> | ||
| 402 | - </tr> | ||
| 403 | - | ||
| 404 | - <tr> | ||
| 405 | - | ||
| 406 | - <td class="passed"> | ||
| 407 | - | ||
| 408 | - content.msg | ||
| 409 | - </td> | ||
| 410 | - <td>equals</td> | ||
| 411 | - <td>ok</td> | ||
| 412 | - <td>ok</td> | ||
| 413 | - </tr> | ||
| 414 | - | ||
| 415 | - </table> | ||
| 416 | - | ||
| 417 | - | ||
| 418 | - | ||
| 419 | - | ||
| 420 | - </div> | ||
| 421 | - | ||
| 422 | - <h3>Statistics:</h3> | ||
| 423 | - <div style="overflow: auto"> | ||
| 424 | - <table> | ||
| 425 | - <tr> | ||
| 426 | - <th>content_size(bytes)</th> | ||
| 427 | - <td>310</td> | ||
| 428 | - </tr> | ||
| 429 | - <tr> | ||
| 430 | - <th>response_time(ms)</th> | ||
| 431 | - <td>213.01</td> | ||
| 432 | - </tr> | ||
| 433 | - <tr> | ||
| 434 | - <th>elapsed(ms)</th> | ||
| 435 | - <td>206.029</td> | ||
| 436 | - </tr> | ||
| 437 | - </table> | ||
| 438 | - </div> | ||
| 439 | - | ||
| 440 | - </div> | ||
| 441 | - </div> | ||
| 442 | - </div> | ||
| 443 | - | ||
| 444 | - | ||
| 445 | - | ||
| 446 | - | ||
| 447 | - </td> | ||
| 448 | - </tr> | ||
| 449 | - | ||
| 450 | - | ||
| 451 | - | ||
| 452 | - <tr id="record_1_2"> | ||
| 453 | - <th class="success" style="width:5em;">success</th> | ||
| 454 | - <td colspan="2">10000000001 新增实际订单</td> | ||
| 455 | - <td style="text-align:center;width:6em;">59.00 ms</td> | ||
| 456 | - <td class="detail"> | ||
| 457 | - | ||
| 458 | - | ||
| 459 | - | ||
| 460 | - <a class="button" href="#popup_log_1_2_1">log-1</a> | ||
| 461 | - <div id="popup_log_1_2_1" class="overlay"> | ||
| 462 | - <div class="popup"> | ||
| 463 | - <h2>Request and Response data</h2> | ||
| 464 | - <a class="close" href="#record_1_2_1">×</a> | ||
| 465 | - | ||
| 466 | - <div class="content"> | ||
| 467 | - <h3>Name: 10000000001 新增实际订单</h3> | ||
| 468 | - | ||
| 469 | - | ||
| 470 | - | ||
| 471 | - | ||
| 472 | - | ||
| 473 | - <h3>Request:</h3> | ||
| 474 | - <div style="overflow: auto"> | ||
| 475 | - <table> | ||
| 476 | - | ||
| 477 | - <tr> | ||
| 478 | - <th>url</th> | ||
| 479 | - <td> | ||
| 480 | - | ||
| 481 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/order/actual/update | ||
| 482 | - | ||
| 483 | - </td> | ||
| 484 | - </tr> | ||
| 485 | - | ||
| 486 | - <tr> | ||
| 487 | - <th>method</th> | ||
| 488 | - <td> | ||
| 489 | - | ||
| 490 | - POST | ||
| 491 | - | ||
| 492 | - </td> | ||
| 493 | - </tr> | ||
| 494 | - | ||
| 495 | - <tr> | ||
| 496 | - <th>headers</th> | ||
| 497 | - <td> | ||
| 498 | - | ||
| 499 | - <pre>{ | ||
| 500 | - "User-Agent": "okhttp/3.12.3", | ||
| 501 | - "Accept-Encoding": "gzip, deflate", | ||
| 502 | - "Accept": "*/*", | ||
| 503 | - "Connection": "keep-alive", | ||
| 504 | - "Content-Type": "application/json;charset=utf-8", | ||
| 505 | - "Authorization": "Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5MTc4NTQsImlhdCI6MTU5Mzg3NDY1NCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDY1NCwidWlkIjoxfQ.suICHO1_qAjGyM1dQz5LamZ_sAh9CxIYPjeiKnVFs-c", | ||
| 506 | - "Content-Length": "367" | ||
| 507 | -}</pre> | ||
| 508 | - | ||
| 509 | - </td> | ||
| 510 | - </tr> | ||
| 511 | - | ||
| 512 | - <tr> | ||
| 513 | - <th>body</th> | ||
| 514 | - <td> | ||
| 515 | - | ||
| 516 | - <pre>{ | ||
| 517 | - "buyer": "我是买家33", | ||
| 518 | - "buyerPhone": "13459147023", | ||
| 519 | - "address": "福建省福州市收获地址1", | ||
| 520 | - "partner": 2, | ||
| 521 | - "partnerRatio": 99.99, | ||
| 522 | - "salesmanRatio": 22.11, | ||
| 523 | - "orderId": "20200704225733", | ||
| 524 | - "orderName": "20200704225733", | ||
| 525 | - "orderNum": 5000, | ||
| 526 | - "orderPrice": 100000000, | ||
| 527 | - "orderDist": "福建一区", | ||
| 528 | - "orderStatue": 3 | ||
| 529 | -}</pre> | ||
| 530 | - | ||
| 531 | - </td> | ||
| 532 | - </tr> | ||
| 533 | - | ||
| 534 | - </table> | ||
| 535 | - </div> | ||
| 536 | - | ||
| 537 | - <h3>Response:</h3> | ||
| 538 | - <div style="overflow: auto"> | ||
| 539 | - <table> | ||
| 540 | - | ||
| 541 | - <tr> | ||
| 542 | - <th>ok</th> | ||
| 543 | - <td> | ||
| 544 | - | ||
| 545 | - True | ||
| 546 | - | ||
| 547 | - </td> | ||
| 548 | - </tr> | ||
| 549 | - | ||
| 550 | - <tr> | ||
| 551 | - <th>url</th> | ||
| 552 | - <td> | ||
| 553 | - | ||
| 554 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/order/actual/update | ||
| 555 | - | ||
| 556 | - </td> | ||
| 557 | - </tr> | ||
| 558 | - | ||
| 559 | - <tr> | ||
| 560 | - <th>status_code</th> | ||
| 561 | - <td> | ||
| 562 | - | ||
| 563 | - 200 | ||
| 564 | - | ||
| 565 | - </td> | ||
| 566 | - </tr> | ||
| 567 | - | ||
| 568 | - <tr> | ||
| 569 | - <th>reason</th> | ||
| 570 | - <td> | ||
| 571 | - | ||
| 572 | - OK | ||
| 573 | - | ||
| 574 | - </td> | ||
| 575 | - </tr> | ||
| 576 | - | ||
| 577 | - <tr> | ||
| 578 | - <th>cookies</th> | ||
| 579 | - <td> | ||
| 580 | - | ||
| 581 | - {} | ||
| 582 | - | ||
| 583 | - </td> | ||
| 584 | - </tr> | ||
| 585 | - | ||
| 586 | - <tr> | ||
| 587 | - <th>encoding</th> | ||
| 588 | - <td> | ||
| 589 | - | ||
| 590 | - utf-8 | ||
| 591 | - | ||
| 592 | - </td> | ||
| 593 | - </tr> | ||
| 594 | - | ||
| 595 | - <tr> | ||
| 596 | - <th>headers</th> | ||
| 597 | - <td> | ||
| 598 | - | ||
| 599 | - <pre>{ | ||
| 600 | - "Date": "Sat, 04 Jul 2020 14:57:34 GMT", | ||
| 601 | - "Content-Type": "application/json; charset=utf-8", | ||
| 602 | - "Content-Length": "44", | ||
| 603 | - "Connection": "keep-alive", | ||
| 604 | - "Access-Control-Allow-Credentials": "true", | ||
| 605 | - "Access-Control-Allow-Headers": "Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with", | ||
| 606 | - "Access-Control-Allow-Methods": "*", | ||
| 607 | - "Access-Control-Allow-Origin": "*", | ||
| 608 | - "Access-Control-Expose-Headers": "Content-Length", | ||
| 609 | - "Strict-Transport-Security": "max-age=15724800; includeSubDomains" | ||
| 610 | -}</pre> | ||
| 611 | - | ||
| 612 | - </td> | ||
| 613 | - </tr> | ||
| 614 | - | ||
| 615 | - <tr> | ||
| 616 | - <th>content_type</th> | ||
| 617 | - <td> | ||
| 618 | - | ||
| 619 | - application/json; charset=utf-8 | ||
| 620 | - | ||
| 621 | - </td> | ||
| 622 | - </tr> | ||
| 623 | - | ||
| 624 | - <tr> | ||
| 625 | - <th>body</th> | ||
| 626 | - <td> | ||
| 627 | - | ||
| 628 | - | ||
| 629 | - <pre>{ | ||
| 630 | - "code": 0, | ||
| 631 | - "msg": "ok", | ||
| 632 | - "data": {} | ||
| 633 | -}</pre> | ||
| 634 | - | ||
| 635 | - | ||
| 636 | - </td> | ||
| 637 | - </tr> | ||
| 638 | - | ||
| 639 | - </table> | ||
| 640 | - </div> | ||
| 641 | - | ||
| 642 | - | ||
| 643 | - <h3>Validators:</h3> | ||
| 644 | - <div style="overflow: auto"> | ||
| 645 | - | ||
| 646 | - | ||
| 647 | - | ||
| 648 | - | ||
| 649 | - | ||
| 650 | - </div> | ||
| 651 | - | ||
| 652 | - <h3>Statistics:</h3> | ||
| 653 | - <div style="overflow: auto"> | ||
| 654 | - <table> | ||
| 655 | - <tr> | ||
| 656 | - <th>content_size(bytes)</th> | ||
| 657 | - <td>44</td> | ||
| 658 | - </tr> | ||
| 659 | - <tr> | ||
| 660 | - <th>response_time(ms)</th> | ||
| 661 | - <td>59.0</td> | ||
| 662 | - </tr> | ||
| 663 | - <tr> | ||
| 664 | - <th>elapsed(ms)</th> | ||
| 665 | - <td>56.028</td> | ||
| 666 | - </tr> | ||
| 667 | - </table> | ||
| 668 | - </div> | ||
| 669 | - | ||
| 670 | - </div> | ||
| 671 | - </div> | ||
| 672 | - </div> | ||
| 673 | - | ||
| 674 | - | ||
| 675 | - | ||
| 676 | - | ||
| 677 | - </td> | ||
| 678 | - </tr> | ||
| 679 | - | ||
| 680 | - </table> | ||
| 681 | - | ||
| 682 | -</body> |
reports/20200704T145908.560212.html
已删除
100644 → 0
| 1 | -<head> | ||
| 2 | - <meta content="text/html; charset=utf-8" http-equiv="content-type" /> | ||
| 3 | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 4 | - <title> - TestReport</title> | ||
| 5 | - <style> | ||
| 6 | - body { | ||
| 7 | - background-color: #f2f2f2; | ||
| 8 | - color: #333; | ||
| 9 | - margin: 0 auto; | ||
| 10 | - width: 960px; | ||
| 11 | - } | ||
| 12 | - #summary { | ||
| 13 | - width: 960px; | ||
| 14 | - margin-bottom: 20px; | ||
| 15 | - } | ||
| 16 | - #summary th { | ||
| 17 | - background-color: skyblue; | ||
| 18 | - padding: 5px 12px; | ||
| 19 | - } | ||
| 20 | - #summary td { | ||
| 21 | - background-color: lightblue; | ||
| 22 | - text-align: center; | ||
| 23 | - padding: 4px 8px; | ||
| 24 | - } | ||
| 25 | - .details { | ||
| 26 | - width: 960px; | ||
| 27 | - margin-bottom: 20px; | ||
| 28 | - } | ||
| 29 | - .details th { | ||
| 30 | - background-color: skyblue; | ||
| 31 | - padding: 5px 12px; | ||
| 32 | - } | ||
| 33 | - .details tr .passed { | ||
| 34 | - background-color: lightgreen; | ||
| 35 | - } | ||
| 36 | - .details tr .failed { | ||
| 37 | - background-color: red; | ||
| 38 | - } | ||
| 39 | - .details tr .unchecked { | ||
| 40 | - background-color: gray; | ||
| 41 | - } | ||
| 42 | - .details td { | ||
| 43 | - background-color: lightblue; | ||
| 44 | - padding: 5px 12px; | ||
| 45 | - } | ||
| 46 | - .details .detail { | ||
| 47 | - background-color: lightgrey; | ||
| 48 | - font-size: smaller; | ||
| 49 | - padding: 5px 10px; | ||
| 50 | - line-height: 20px; | ||
| 51 | - text-align: left; | ||
| 52 | - } | ||
| 53 | - .details .success { | ||
| 54 | - background-color: greenyellow; | ||
| 55 | - } | ||
| 56 | - .details .error { | ||
| 57 | - background-color: red; | ||
| 58 | - } | ||
| 59 | - .details .failure { | ||
| 60 | - background-color: salmon; | ||
| 61 | - } | ||
| 62 | - .details .skipped { | ||
| 63 | - background-color: gray; | ||
| 64 | - } | ||
| 65 | - | ||
| 66 | - .button { | ||
| 67 | - font-size: 1em; | ||
| 68 | - padding: 6px; | ||
| 69 | - width: 4em; | ||
| 70 | - text-align: center; | ||
| 71 | - background-color: #06d85f; | ||
| 72 | - border-radius: 20px/50px; | ||
| 73 | - cursor: pointer; | ||
| 74 | - transition: all 0.3s ease-out; | ||
| 75 | - } | ||
| 76 | - a.button{ | ||
| 77 | - color: gray; | ||
| 78 | - text-decoration: none; | ||
| 79 | - display: inline-block; | ||
| 80 | - } | ||
| 81 | - .button:hover { | ||
| 82 | - background: #2cffbd; | ||
| 83 | - } | ||
| 84 | - | ||
| 85 | - .overlay { | ||
| 86 | - position: fixed; | ||
| 87 | - top: 0; | ||
| 88 | - bottom: 0; | ||
| 89 | - left: 0; | ||
| 90 | - right: 0; | ||
| 91 | - background: rgba(0, 0, 0, 0.7); | ||
| 92 | - transition: opacity 500ms; | ||
| 93 | - visibility: hidden; | ||
| 94 | - opacity: 0; | ||
| 95 | - line-height: 25px; | ||
| 96 | - } | ||
| 97 | - .overlay:target { | ||
| 98 | - visibility: visible; | ||
| 99 | - opacity: 1; | ||
| 100 | - } | ||
| 101 | - | ||
| 102 | - .popup { | ||
| 103 | - margin: 70px auto; | ||
| 104 | - padding: 20px; | ||
| 105 | - background: #fff; | ||
| 106 | - border-radius: 10px; | ||
| 107 | - width: 50%; | ||
| 108 | - position: relative; | ||
| 109 | - transition: all 3s ease-in-out; | ||
| 110 | - } | ||
| 111 | - | ||
| 112 | - .popup h2 { | ||
| 113 | - margin-top: 0; | ||
| 114 | - color: #333; | ||
| 115 | - font-family: Tahoma, Arial, sans-serif; | ||
| 116 | - } | ||
| 117 | - .popup .close { | ||
| 118 | - position: absolute; | ||
| 119 | - top: 20px; | ||
| 120 | - right: 30px; | ||
| 121 | - transition: all 200ms; | ||
| 122 | - font-size: 30px; | ||
| 123 | - font-weight: bold; | ||
| 124 | - text-decoration: none; | ||
| 125 | - color: #333; | ||
| 126 | - } | ||
| 127 | - .popup .close:hover { | ||
| 128 | - color: #06d85f; | ||
| 129 | - } | ||
| 130 | - .popup .content { | ||
| 131 | - max-height: 80%; | ||
| 132 | - overflow: auto; | ||
| 133 | - text-align: left; | ||
| 134 | - } | ||
| 135 | - .popup .separator { | ||
| 136 | - color:royalblue | ||
| 137 | - } | ||
| 138 | - | ||
| 139 | - @media screen and (max-width: 700px) { | ||
| 140 | - .box { | ||
| 141 | - width: 70%; | ||
| 142 | - } | ||
| 143 | - .popup { | ||
| 144 | - width: 70%; | ||
| 145 | - } | ||
| 146 | - } | ||
| 147 | - | ||
| 148 | - </style> | ||
| 149 | -</head> | ||
| 150 | - | ||
| 151 | -<body> | ||
| 152 | - <h1>Test Report: </h1> | ||
| 153 | - | ||
| 154 | - <h2>Summary</h2> | ||
| 155 | - <table id="summary"> | ||
| 156 | - <tr> | ||
| 157 | - <th>START AT</th> | ||
| 158 | - <td colspan="4">2020-07-04T14:59:08.560212</td> | ||
| 159 | - </tr> | ||
| 160 | - <tr> | ||
| 161 | - <th>DURATION</th> | ||
| 162 | - <td colspan="4">0.245 seconds</td> | ||
| 163 | - </tr> | ||
| 164 | - <tr> | ||
| 165 | - <th>PLATFORM</th> | ||
| 166 | - <td>HttpRunner 2.5.5 </td> | ||
| 167 | - <td>CPython 3.8.1 </td> | ||
| 168 | - <td colspan="2">Windows-7-6.1.7601-SP1</td> | ||
| 169 | - </tr> | ||
| 170 | - <tr> | ||
| 171 | - <th>STAT</th> | ||
| 172 | - <th colspan="2">TESTCASES (success/fail)</th> | ||
| 173 | - <th colspan="2">TESTSTEPS (success/fail/error/skip)</th> | ||
| 174 | - </tr> | ||
| 175 | - <tr> | ||
| 176 | - <td>total (details) =></td> | ||
| 177 | - <td colspan="2">1 (1/0)</td> | ||
| 178 | - <td colspan="2">2 (2/0/0/0)</td> | ||
| 179 | - </tr> | ||
| 180 | - </table> | ||
| 181 | - | ||
| 182 | - <h2>Details</h2> | ||
| 183 | - | ||
| 184 | - | ||
| 185 | - | ||
| 186 | - <h3>call demo_testcase with data 1</h3> | ||
| 187 | - <table id="suite_1" class="details"> | ||
| 188 | - <tr> | ||
| 189 | - <td>TOTAL: 2</td> | ||
| 190 | - <td>SUCCESS: 2</td> | ||
| 191 | - <td>FAILED: 0</td> | ||
| 192 | - <td>ERROR: 0</td> | ||
| 193 | - <td>SKIPPED: 0</td> | ||
| 194 | - </tr> | ||
| 195 | - <tr> | ||
| 196 | - <th>Status</th> | ||
| 197 | - <th colspan="2">Name</th> | ||
| 198 | - <th>Response Time</th> | ||
| 199 | - <th>Detail</th> | ||
| 200 | - </tr> | ||
| 201 | - | ||
| 202 | - | ||
| 203 | - | ||
| 204 | - | ||
| 205 | - <tr id="record_1_1"> | ||
| 206 | - <th class="success" style="width:5em;">success</th> | ||
| 207 | - <td colspan="2">10000000001 登录系统</td> | ||
| 208 | - <td style="text-align:center;width:6em;">158.01 ms</td> | ||
| 209 | - <td class="detail"> | ||
| 210 | - | ||
| 211 | - | ||
| 212 | - | ||
| 213 | - <a class="button" href="#popup_log_1_1_1">log-1</a> | ||
| 214 | - <div id="popup_log_1_1_1" class="overlay"> | ||
| 215 | - <div class="popup"> | ||
| 216 | - <h2>Request and Response data</h2> | ||
| 217 | - <a class="close" href="#record_1_1_1">×</a> | ||
| 218 | - | ||
| 219 | - <div class="content"> | ||
| 220 | - <h3>Name: 10000000001 登录系统</h3> | ||
| 221 | - | ||
| 222 | - | ||
| 223 | - | ||
| 224 | - | ||
| 225 | - | ||
| 226 | - <h3>Request:</h3> | ||
| 227 | - <div style="overflow: auto"> | ||
| 228 | - <table> | ||
| 229 | - | ||
| 230 | - <tr> | ||
| 231 | - <th>url</th> | ||
| 232 | - <td> | ||
| 233 | - | ||
| 234 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/auth/login | ||
| 235 | - | ||
| 236 | - </td> | ||
| 237 | - </tr> | ||
| 238 | - | ||
| 239 | - <tr> | ||
| 240 | - <th>method</th> | ||
| 241 | - <td> | ||
| 242 | - | ||
| 243 | - POST | ||
| 244 | - | ||
| 245 | - </td> | ||
| 246 | - </tr> | ||
| 247 | - | ||
| 248 | - <tr> | ||
| 249 | - <th>headers</th> | ||
| 250 | - <td> | ||
| 251 | - | ||
| 252 | - <pre>{ | ||
| 253 | - "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36", | ||
| 254 | - "Accept-Encoding": "gzip, deflate", | ||
| 255 | - "Accept": "*/*", | ||
| 256 | - "Connection": "keep-alive", | ||
| 257 | - "Content-Type": "application/json;charset=utf-8", | ||
| 258 | - "Content-Length": "83" | ||
| 259 | -}</pre> | ||
| 260 | - | ||
| 261 | - </td> | ||
| 262 | - </tr> | ||
| 263 | - | ||
| 264 | - <tr> | ||
| 265 | - <th>body</th> | ||
| 266 | - <td> | ||
| 267 | - | ||
| 268 | - <pre>{ | ||
| 269 | - "password": "7c4a8d09ca3762af61e59520943dc26494f8941b", | ||
| 270 | - "username": "10000000001" | ||
| 271 | -}</pre> | ||
| 272 | - | ||
| 273 | - </td> | ||
| 274 | - </tr> | ||
| 275 | - | ||
| 276 | - </table> | ||
| 277 | - </div> | ||
| 278 | - | ||
| 279 | - <h3>Response:</h3> | ||
| 280 | - <div style="overflow: auto"> | ||
| 281 | - <table> | ||
| 282 | - | ||
| 283 | - <tr> | ||
| 284 | - <th>ok</th> | ||
| 285 | - <td> | ||
| 286 | - | ||
| 287 | - True | ||
| 288 | - | ||
| 289 | - </td> | ||
| 290 | - </tr> | ||
| 291 | - | ||
| 292 | - <tr> | ||
| 293 | - <th>url</th> | ||
| 294 | - <td> | ||
| 295 | - | ||
| 296 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/auth/login | ||
| 297 | - | ||
| 298 | - </td> | ||
| 299 | - </tr> | ||
| 300 | - | ||
| 301 | - <tr> | ||
| 302 | - <th>status_code</th> | ||
| 303 | - <td> | ||
| 304 | - | ||
| 305 | - 200 | ||
| 306 | - | ||
| 307 | - </td> | ||
| 308 | - </tr> | ||
| 309 | - | ||
| 310 | - <tr> | ||
| 311 | - <th>reason</th> | ||
| 312 | - <td> | ||
| 313 | - | ||
| 314 | - OK | ||
| 315 | - | ||
| 316 | - </td> | ||
| 317 | - </tr> | ||
| 318 | - | ||
| 319 | - <tr> | ||
| 320 | - <th>cookies</th> | ||
| 321 | - <td> | ||
| 322 | - | ||
| 323 | - {} | ||
| 324 | - | ||
| 325 | - </td> | ||
| 326 | - </tr> | ||
| 327 | - | ||
| 328 | - <tr> | ||
| 329 | - <th>encoding</th> | ||
| 330 | - <td> | ||
| 331 | - | ||
| 332 | - utf-8 | ||
| 333 | - | ||
| 334 | - </td> | ||
| 335 | - </tr> | ||
| 336 | - | ||
| 337 | - <tr> | ||
| 338 | - <th>headers</th> | ||
| 339 | - <td> | ||
| 340 | - | ||
| 341 | - <pre>{ | ||
| 342 | - "Date": "Sat, 04 Jul 2020 14:59:09 GMT", | ||
| 343 | - "Content-Type": "application/json; charset=utf-8", | ||
| 344 | - "Transfer-Encoding": "chunked", | ||
| 345 | - "Connection": "keep-alive", | ||
| 346 | - "Vary": "Accept-Encoding, Accept-Encoding", | ||
| 347 | - "Access-Control-Allow-Credentials": "true", | ||
| 348 | - "Access-Control-Allow-Headers": "Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with", | ||
| 349 | - "Access-Control-Allow-Methods": "*", | ||
| 350 | - "Access-Control-Allow-Origin": "*", | ||
| 351 | - "Access-Control-Expose-Headers": "Content-Length", | ||
| 352 | - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", | ||
| 353 | - "Content-Encoding": "gzip" | ||
| 354 | -}</pre> | ||
| 355 | - | ||
| 356 | - </td> | ||
| 357 | - </tr> | ||
| 358 | - | ||
| 359 | - <tr> | ||
| 360 | - <th>content_type</th> | ||
| 361 | - <td> | ||
| 362 | - | ||
| 363 | - application/json; charset=utf-8 | ||
| 364 | - | ||
| 365 | - </td> | ||
| 366 | - </tr> | ||
| 367 | - | ||
| 368 | - <tr> | ||
| 369 | - <th>body</th> | ||
| 370 | - <td> | ||
| 371 | - | ||
| 372 | - | ||
| 373 | - <pre>{ | ||
| 374 | - "code": 0, | ||
| 375 | - "msg": "ok", | ||
| 376 | - "data": { | ||
| 377 | - "access": { | ||
| 378 | - "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5MTc5NDksImlhdCI6MTU5Mzg3NDc0OSwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDc0OSwidWlkIjoxfQ.2nZ_BgoEU8lQTbn-LGxW7SJgb0HIfa94-RQ463Qot9M", | ||
| 379 | - "expiresIn": 43200 | ||
| 380 | - } | ||
| 381 | - } | ||
| 382 | -}</pre> | ||
| 383 | - | ||
| 384 | - | ||
| 385 | - </td> | ||
| 386 | - </tr> | ||
| 387 | - | ||
| 388 | - </table> | ||
| 389 | - </div> | ||
| 390 | - | ||
| 391 | - | ||
| 392 | - <h3>Validators:</h3> | ||
| 393 | - <div style="overflow: auto"> | ||
| 394 | - | ||
| 395 | - | ||
| 396 | - <table> | ||
| 397 | - <tr> | ||
| 398 | - <th>check</th> | ||
| 399 | - <th>comparator</th> | ||
| 400 | - <th>expect value</th> | ||
| 401 | - <th>actual value</th> | ||
| 402 | - </tr> | ||
| 403 | - | ||
| 404 | - <tr> | ||
| 405 | - | ||
| 406 | - <td class="passed"> | ||
| 407 | - | ||
| 408 | - content.msg | ||
| 409 | - </td> | ||
| 410 | - <td>equals</td> | ||
| 411 | - <td>ok</td> | ||
| 412 | - <td>ok</td> | ||
| 413 | - </tr> | ||
| 414 | - | ||
| 415 | - </table> | ||
| 416 | - | ||
| 417 | - | ||
| 418 | - | ||
| 419 | - | ||
| 420 | - </div> | ||
| 421 | - | ||
| 422 | - <h3>Statistics:</h3> | ||
| 423 | - <div style="overflow: auto"> | ||
| 424 | - <table> | ||
| 425 | - <tr> | ||
| 426 | - <th>content_size(bytes)</th> | ||
| 427 | - <td>310</td> | ||
| 428 | - </tr> | ||
| 429 | - <tr> | ||
| 430 | - <th>response_time(ms)</th> | ||
| 431 | - <td>158.01</td> | ||
| 432 | - </tr> | ||
| 433 | - <tr> | ||
| 434 | - <th>elapsed(ms)</th> | ||
| 435 | - <td>151.469</td> | ||
| 436 | - </tr> | ||
| 437 | - </table> | ||
| 438 | - </div> | ||
| 439 | - | ||
| 440 | - </div> | ||
| 441 | - </div> | ||
| 442 | - </div> | ||
| 443 | - | ||
| 444 | - | ||
| 445 | - | ||
| 446 | - | ||
| 447 | - </td> | ||
| 448 | - </tr> | ||
| 449 | - | ||
| 450 | - | ||
| 451 | - | ||
| 452 | - <tr id="record_1_2"> | ||
| 453 | - <th class="success" style="width:5em;">success</th> | ||
| 454 | - <td colspan="2">10000000001 新增意向订单</td> | ||
| 455 | - <td style="text-align:center;width:6em;">58.00 ms</td> | ||
| 456 | - <td class="detail"> | ||
| 457 | - | ||
| 458 | - | ||
| 459 | - | ||
| 460 | - <a class="button" href="#popup_log_1_2_1">log-1</a> | ||
| 461 | - <div id="popup_log_1_2_1" class="overlay"> | ||
| 462 | - <div class="popup"> | ||
| 463 | - <h2>Request and Response data</h2> | ||
| 464 | - <a class="close" href="#record_1_2_1">×</a> | ||
| 465 | - | ||
| 466 | - <div class="content"> | ||
| 467 | - <h3>Name: 10000000001 新增意向订单</h3> | ||
| 468 | - | ||
| 469 | - | ||
| 470 | - | ||
| 471 | - | ||
| 472 | - | ||
| 473 | - <h3>Request:</h3> | ||
| 474 | - <div style="overflow: auto"> | ||
| 475 | - <table> | ||
| 476 | - | ||
| 477 | - <tr> | ||
| 478 | - <th>url</th> | ||
| 479 | - <td> | ||
| 480 | - | ||
| 481 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/order/purpose/update | ||
| 482 | - | ||
| 483 | - </td> | ||
| 484 | - </tr> | ||
| 485 | - | ||
| 486 | - <tr> | ||
| 487 | - <th>method</th> | ||
| 488 | - <td> | ||
| 489 | - | ||
| 490 | - POST | ||
| 491 | - | ||
| 492 | - </td> | ||
| 493 | - </tr> | ||
| 494 | - | ||
| 495 | - <tr> | ||
| 496 | - <th>headers</th> | ||
| 497 | - <td> | ||
| 498 | - | ||
| 499 | - <pre>{ | ||
| 500 | - "User-Agent": "okhttp/3.12.3", | ||
| 501 | - "Accept-Encoding": "gzip, deflate", | ||
| 502 | - "Accept": "*/*", | ||
| 503 | - "Connection": "keep-alive", | ||
| 504 | - "Content-Type": "application/json;charset=utf-8", | ||
| 505 | - "Authorization": "Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5MTc5NDksImlhdCI6MTU5Mzg3NDc0OSwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDc0OSwidWlkIjoxfQ.2nZ_BgoEU8lQTbn-LGxW7SJgb0HIfa94-RQ463Qot9M", | ||
| 506 | - "Content-Length": "347" | ||
| 507 | -}</pre> | ||
| 508 | - | ||
| 509 | - </td> | ||
| 510 | - </tr> | ||
| 511 | - | ||
| 512 | - <tr> | ||
| 513 | - <th>body</th> | ||
| 514 | - <td> | ||
| 515 | - | ||
| 516 | - <pre>{ | ||
| 517 | - "buyer": "我是买家8", | ||
| 518 | - "buyerPhone": "13459147023", | ||
| 519 | - "address": "福建省福州市收获地址1", | ||
| 520 | - "partner": 2, | ||
| 521 | - "partnerRatio": 99.19, | ||
| 522 | - "salesmanRatio": 0.99, | ||
| 523 | - "orderId": "20200704225908", | ||
| 524 | - "orderName": "20200704225908", | ||
| 525 | - "orderNum": 500, | ||
| 526 | - "orderPrice": 1000000000, | ||
| 527 | - "orderDist": "福建一区" | ||
| 528 | -}</pre> | ||
| 529 | - | ||
| 530 | - </td> | ||
| 531 | - </tr> | ||
| 532 | - | ||
| 533 | - </table> | ||
| 534 | - </div> | ||
| 535 | - | ||
| 536 | - <h3>Response:</h3> | ||
| 537 | - <div style="overflow: auto"> | ||
| 538 | - <table> | ||
| 539 | - | ||
| 540 | - <tr> | ||
| 541 | - <th>ok</th> | ||
| 542 | - <td> | ||
| 543 | - | ||
| 544 | - True | ||
| 545 | - | ||
| 546 | - </td> | ||
| 547 | - </tr> | ||
| 548 | - | ||
| 549 | - <tr> | ||
| 550 | - <th>url</th> | ||
| 551 | - <td> | ||
| 552 | - | ||
| 553 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/order/purpose/update | ||
| 554 | - | ||
| 555 | - </td> | ||
| 556 | - </tr> | ||
| 557 | - | ||
| 558 | - <tr> | ||
| 559 | - <th>status_code</th> | ||
| 560 | - <td> | ||
| 561 | - | ||
| 562 | - 200 | ||
| 563 | - | ||
| 564 | - </td> | ||
| 565 | - </tr> | ||
| 566 | - | ||
| 567 | - <tr> | ||
| 568 | - <th>reason</th> | ||
| 569 | - <td> | ||
| 570 | - | ||
| 571 | - OK | ||
| 572 | - | ||
| 573 | - </td> | ||
| 574 | - </tr> | ||
| 575 | - | ||
| 576 | - <tr> | ||
| 577 | - <th>cookies</th> | ||
| 578 | - <td> | ||
| 579 | - | ||
| 580 | - {} | ||
| 581 | - | ||
| 582 | - </td> | ||
| 583 | - </tr> | ||
| 584 | - | ||
| 585 | - <tr> | ||
| 586 | - <th>encoding</th> | ||
| 587 | - <td> | ||
| 588 | - | ||
| 589 | - utf-8 | ||
| 590 | - | ||
| 591 | - </td> | ||
| 592 | - </tr> | ||
| 593 | - | ||
| 594 | - <tr> | ||
| 595 | - <th>headers</th> | ||
| 596 | - <td> | ||
| 597 | - | ||
| 598 | - <pre>{ | ||
| 599 | - "Date": "Sat, 04 Jul 2020 14:59:09 GMT", | ||
| 600 | - "Content-Type": "application/json; charset=utf-8", | ||
| 601 | - "Content-Length": "44", | ||
| 602 | - "Connection": "keep-alive", | ||
| 603 | - "Access-Control-Allow-Credentials": "true", | ||
| 604 | - "Access-Control-Allow-Headers": "Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with", | ||
| 605 | - "Access-Control-Allow-Methods": "*", | ||
| 606 | - "Access-Control-Allow-Origin": "*", | ||
| 607 | - "Access-Control-Expose-Headers": "Content-Length", | ||
| 608 | - "Strict-Transport-Security": "max-age=15724800; includeSubDomains" | ||
| 609 | -}</pre> | ||
| 610 | - | ||
| 611 | - </td> | ||
| 612 | - </tr> | ||
| 613 | - | ||
| 614 | - <tr> | ||
| 615 | - <th>content_type</th> | ||
| 616 | - <td> | ||
| 617 | - | ||
| 618 | - application/json; charset=utf-8 | ||
| 619 | - | ||
| 620 | - </td> | ||
| 621 | - </tr> | ||
| 622 | - | ||
| 623 | - <tr> | ||
| 624 | - <th>body</th> | ||
| 625 | - <td> | ||
| 626 | - | ||
| 627 | - | ||
| 628 | - <pre>{ | ||
| 629 | - "code": 0, | ||
| 630 | - "msg": "ok", | ||
| 631 | - "data": {} | ||
| 632 | -}</pre> | ||
| 633 | - | ||
| 634 | - | ||
| 635 | - </td> | ||
| 636 | - </tr> | ||
| 637 | - | ||
| 638 | - </table> | ||
| 639 | - </div> | ||
| 640 | - | ||
| 641 | - | ||
| 642 | - <h3>Validators:</h3> | ||
| 643 | - <div style="overflow: auto"> | ||
| 644 | - | ||
| 645 | - | ||
| 646 | - | ||
| 647 | - | ||
| 648 | - | ||
| 649 | - </div> | ||
| 650 | - | ||
| 651 | - <h3>Statistics:</h3> | ||
| 652 | - <div style="overflow: auto"> | ||
| 653 | - <table> | ||
| 654 | - <tr> | ||
| 655 | - <th>content_size(bytes)</th> | ||
| 656 | - <td>44</td> | ||
| 657 | - </tr> | ||
| 658 | - <tr> | ||
| 659 | - <th>response_time(ms)</th> | ||
| 660 | - <td>58.0</td> | ||
| 661 | - </tr> | ||
| 662 | - <tr> | ||
| 663 | - <th>elapsed(ms)</th> | ||
| 664 | - <td>54.452</td> | ||
| 665 | - </tr> | ||
| 666 | - </table> | ||
| 667 | - </div> | ||
| 668 | - | ||
| 669 | - </div> | ||
| 670 | - </div> | ||
| 671 | - </div> | ||
| 672 | - | ||
| 673 | - | ||
| 674 | - | ||
| 675 | - | ||
| 676 | - </td> | ||
| 677 | - </tr> | ||
| 678 | - | ||
| 679 | - </table> | ||
| 680 | - | ||
| 681 | -</body> |
reports/20200704T150102.221713.html
已删除
100644 → 0
| 1 | -<head> | ||
| 2 | - <meta content="text/html; charset=utf-8" http-equiv="content-type" /> | ||
| 3 | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 4 | - <title> - TestReport</title> | ||
| 5 | - <style> | ||
| 6 | - body { | ||
| 7 | - background-color: #f2f2f2; | ||
| 8 | - color: #333; | ||
| 9 | - margin: 0 auto; | ||
| 10 | - width: 960px; | ||
| 11 | - } | ||
| 12 | - #summary { | ||
| 13 | - width: 960px; | ||
| 14 | - margin-bottom: 20px; | ||
| 15 | - } | ||
| 16 | - #summary th { | ||
| 17 | - background-color: skyblue; | ||
| 18 | - padding: 5px 12px; | ||
| 19 | - } | ||
| 20 | - #summary td { | ||
| 21 | - background-color: lightblue; | ||
| 22 | - text-align: center; | ||
| 23 | - padding: 4px 8px; | ||
| 24 | - } | ||
| 25 | - .details { | ||
| 26 | - width: 960px; | ||
| 27 | - margin-bottom: 20px; | ||
| 28 | - } | ||
| 29 | - .details th { | ||
| 30 | - background-color: skyblue; | ||
| 31 | - padding: 5px 12px; | ||
| 32 | - } | ||
| 33 | - .details tr .passed { | ||
| 34 | - background-color: lightgreen; | ||
| 35 | - } | ||
| 36 | - .details tr .failed { | ||
| 37 | - background-color: red; | ||
| 38 | - } | ||
| 39 | - .details tr .unchecked { | ||
| 40 | - background-color: gray; | ||
| 41 | - } | ||
| 42 | - .details td { | ||
| 43 | - background-color: lightblue; | ||
| 44 | - padding: 5px 12px; | ||
| 45 | - } | ||
| 46 | - .details .detail { | ||
| 47 | - background-color: lightgrey; | ||
| 48 | - font-size: smaller; | ||
| 49 | - padding: 5px 10px; | ||
| 50 | - line-height: 20px; | ||
| 51 | - text-align: left; | ||
| 52 | - } | ||
| 53 | - .details .success { | ||
| 54 | - background-color: greenyellow; | ||
| 55 | - } | ||
| 56 | - .details .error { | ||
| 57 | - background-color: red; | ||
| 58 | - } | ||
| 59 | - .details .failure { | ||
| 60 | - background-color: salmon; | ||
| 61 | - } | ||
| 62 | - .details .skipped { | ||
| 63 | - background-color: gray; | ||
| 64 | - } | ||
| 65 | - | ||
| 66 | - .button { | ||
| 67 | - font-size: 1em; | ||
| 68 | - padding: 6px; | ||
| 69 | - width: 4em; | ||
| 70 | - text-align: center; | ||
| 71 | - background-color: #06d85f; | ||
| 72 | - border-radius: 20px/50px; | ||
| 73 | - cursor: pointer; | ||
| 74 | - transition: all 0.3s ease-out; | ||
| 75 | - } | ||
| 76 | - a.button{ | ||
| 77 | - color: gray; | ||
| 78 | - text-decoration: none; | ||
| 79 | - display: inline-block; | ||
| 80 | - } | ||
| 81 | - .button:hover { | ||
| 82 | - background: #2cffbd; | ||
| 83 | - } | ||
| 84 | - | ||
| 85 | - .overlay { | ||
| 86 | - position: fixed; | ||
| 87 | - top: 0; | ||
| 88 | - bottom: 0; | ||
| 89 | - left: 0; | ||
| 90 | - right: 0; | ||
| 91 | - background: rgba(0, 0, 0, 0.7); | ||
| 92 | - transition: opacity 500ms; | ||
| 93 | - visibility: hidden; | ||
| 94 | - opacity: 0; | ||
| 95 | - line-height: 25px; | ||
| 96 | - } | ||
| 97 | - .overlay:target { | ||
| 98 | - visibility: visible; | ||
| 99 | - opacity: 1; | ||
| 100 | - } | ||
| 101 | - | ||
| 102 | - .popup { | ||
| 103 | - margin: 70px auto; | ||
| 104 | - padding: 20px; | ||
| 105 | - background: #fff; | ||
| 106 | - border-radius: 10px; | ||
| 107 | - width: 50%; | ||
| 108 | - position: relative; | ||
| 109 | - transition: all 3s ease-in-out; | ||
| 110 | - } | ||
| 111 | - | ||
| 112 | - .popup h2 { | ||
| 113 | - margin-top: 0; | ||
| 114 | - color: #333; | ||
| 115 | - font-family: Tahoma, Arial, sans-serif; | ||
| 116 | - } | ||
| 117 | - .popup .close { | ||
| 118 | - position: absolute; | ||
| 119 | - top: 20px; | ||
| 120 | - right: 30px; | ||
| 121 | - transition: all 200ms; | ||
| 122 | - font-size: 30px; | ||
| 123 | - font-weight: bold; | ||
| 124 | - text-decoration: none; | ||
| 125 | - color: #333; | ||
| 126 | - } | ||
| 127 | - .popup .close:hover { | ||
| 128 | - color: #06d85f; | ||
| 129 | - } | ||
| 130 | - .popup .content { | ||
| 131 | - max-height: 80%; | ||
| 132 | - overflow: auto; | ||
| 133 | - text-align: left; | ||
| 134 | - } | ||
| 135 | - .popup .separator { | ||
| 136 | - color:royalblue | ||
| 137 | - } | ||
| 138 | - | ||
| 139 | - @media screen and (max-width: 700px) { | ||
| 140 | - .box { | ||
| 141 | - width: 70%; | ||
| 142 | - } | ||
| 143 | - .popup { | ||
| 144 | - width: 70%; | ||
| 145 | - } | ||
| 146 | - } | ||
| 147 | - | ||
| 148 | - </style> | ||
| 149 | -</head> | ||
| 150 | - | ||
| 151 | -<body> | ||
| 152 | - <h1>Test Report: </h1> | ||
| 153 | - | ||
| 154 | - <h2>Summary</h2> | ||
| 155 | - <table id="summary"> | ||
| 156 | - <tr> | ||
| 157 | - <th>START AT</th> | ||
| 158 | - <td colspan="4">2020-07-04T15:01:02.221713</td> | ||
| 159 | - </tr> | ||
| 160 | - <tr> | ||
| 161 | - <th>DURATION</th> | ||
| 162 | - <td colspan="4">0.194 seconds</td> | ||
| 163 | - </tr> | ||
| 164 | - <tr> | ||
| 165 | - <th>PLATFORM</th> | ||
| 166 | - <td>HttpRunner 2.5.5 </td> | ||
| 167 | - <td>CPython 3.8.1 </td> | ||
| 168 | - <td colspan="2">Windows-7-6.1.7601-SP1</td> | ||
| 169 | - </tr> | ||
| 170 | - <tr> | ||
| 171 | - <th>STAT</th> | ||
| 172 | - <th colspan="2">TESTCASES (success/fail)</th> | ||
| 173 | - <th colspan="2">TESTSTEPS (success/fail/error/skip)</th> | ||
| 174 | - </tr> | ||
| 175 | - <tr> | ||
| 176 | - <td>total (details) =></td> | ||
| 177 | - <td colspan="2">1 (1/0)</td> | ||
| 178 | - <td colspan="2">2 (2/0/0/0)</td> | ||
| 179 | - </tr> | ||
| 180 | - </table> | ||
| 181 | - | ||
| 182 | - <h2>Details</h2> | ||
| 183 | - | ||
| 184 | - | ||
| 185 | - | ||
| 186 | - <h3>call demo_testcase with data 1</h3> | ||
| 187 | - <table id="suite_1" class="details"> | ||
| 188 | - <tr> | ||
| 189 | - <td>TOTAL: 2</td> | ||
| 190 | - <td>SUCCESS: 2</td> | ||
| 191 | - <td>FAILED: 0</td> | ||
| 192 | - <td>ERROR: 0</td> | ||
| 193 | - <td>SKIPPED: 0</td> | ||
| 194 | - </tr> | ||
| 195 | - <tr> | ||
| 196 | - <th>Status</th> | ||
| 197 | - <th colspan="2">Name</th> | ||
| 198 | - <th>Response Time</th> | ||
| 199 | - <th>Detail</th> | ||
| 200 | - </tr> | ||
| 201 | - | ||
| 202 | - | ||
| 203 | - | ||
| 204 | - | ||
| 205 | - <tr id="record_1_1"> | ||
| 206 | - <th class="success" style="width:5em;">success</th> | ||
| 207 | - <td colspan="2">10000000001 登录系统</td> | ||
| 208 | - <td style="text-align:center;width:6em;">107.01 ms</td> | ||
| 209 | - <td class="detail"> | ||
| 210 | - | ||
| 211 | - | ||
| 212 | - | ||
| 213 | - <a class="button" href="#popup_log_1_1_1">log-1</a> | ||
| 214 | - <div id="popup_log_1_1_1" class="overlay"> | ||
| 215 | - <div class="popup"> | ||
| 216 | - <h2>Request and Response data</h2> | ||
| 217 | - <a class="close" href="#record_1_1_1">×</a> | ||
| 218 | - | ||
| 219 | - <div class="content"> | ||
| 220 | - <h3>Name: 10000000001 登录系统</h3> | ||
| 221 | - | ||
| 222 | - | ||
| 223 | - | ||
| 224 | - | ||
| 225 | - | ||
| 226 | - <h3>Request:</h3> | ||
| 227 | - <div style="overflow: auto"> | ||
| 228 | - <table> | ||
| 229 | - | ||
| 230 | - <tr> | ||
| 231 | - <th>url</th> | ||
| 232 | - <td> | ||
| 233 | - | ||
| 234 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/auth/login | ||
| 235 | - | ||
| 236 | - </td> | ||
| 237 | - </tr> | ||
| 238 | - | ||
| 239 | - <tr> | ||
| 240 | - <th>method</th> | ||
| 241 | - <td> | ||
| 242 | - | ||
| 243 | - POST | ||
| 244 | - | ||
| 245 | - </td> | ||
| 246 | - </tr> | ||
| 247 | - | ||
| 248 | - <tr> | ||
| 249 | - <th>headers</th> | ||
| 250 | - <td> | ||
| 251 | - | ||
| 252 | - <pre>{ | ||
| 253 | - "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36", | ||
| 254 | - "Accept-Encoding": "gzip, deflate", | ||
| 255 | - "Accept": "*/*", | ||
| 256 | - "Connection": "keep-alive", | ||
| 257 | - "Content-Type": "application/json;charset=utf-8", | ||
| 258 | - "Content-Length": "83" | ||
| 259 | -}</pre> | ||
| 260 | - | ||
| 261 | - </td> | ||
| 262 | - </tr> | ||
| 263 | - | ||
| 264 | - <tr> | ||
| 265 | - <th>body</th> | ||
| 266 | - <td> | ||
| 267 | - | ||
| 268 | - <pre>{ | ||
| 269 | - "password": "7c4a8d09ca3762af61e59520943dc26494f8941b", | ||
| 270 | - "username": "10000000001" | ||
| 271 | -}</pre> | ||
| 272 | - | ||
| 273 | - </td> | ||
| 274 | - </tr> | ||
| 275 | - | ||
| 276 | - </table> | ||
| 277 | - </div> | ||
| 278 | - | ||
| 279 | - <h3>Response:</h3> | ||
| 280 | - <div style="overflow: auto"> | ||
| 281 | - <table> | ||
| 282 | - | ||
| 283 | - <tr> | ||
| 284 | - <th>ok</th> | ||
| 285 | - <td> | ||
| 286 | - | ||
| 287 | - True | ||
| 288 | - | ||
| 289 | - </td> | ||
| 290 | - </tr> | ||
| 291 | - | ||
| 292 | - <tr> | ||
| 293 | - <th>url</th> | ||
| 294 | - <td> | ||
| 295 | - | ||
| 296 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/auth/login | ||
| 297 | - | ||
| 298 | - </td> | ||
| 299 | - </tr> | ||
| 300 | - | ||
| 301 | - <tr> | ||
| 302 | - <th>status_code</th> | ||
| 303 | - <td> | ||
| 304 | - | ||
| 305 | - 200 | ||
| 306 | - | ||
| 307 | - </td> | ||
| 308 | - </tr> | ||
| 309 | - | ||
| 310 | - <tr> | ||
| 311 | - <th>reason</th> | ||
| 312 | - <td> | ||
| 313 | - | ||
| 314 | - OK | ||
| 315 | - | ||
| 316 | - </td> | ||
| 317 | - </tr> | ||
| 318 | - | ||
| 319 | - <tr> | ||
| 320 | - <th>cookies</th> | ||
| 321 | - <td> | ||
| 322 | - | ||
| 323 | - {} | ||
| 324 | - | ||
| 325 | - </td> | ||
| 326 | - </tr> | ||
| 327 | - | ||
| 328 | - <tr> | ||
| 329 | - <th>encoding</th> | ||
| 330 | - <td> | ||
| 331 | - | ||
| 332 | - utf-8 | ||
| 333 | - | ||
| 334 | - </td> | ||
| 335 | - </tr> | ||
| 336 | - | ||
| 337 | - <tr> | ||
| 338 | - <th>headers</th> | ||
| 339 | - <td> | ||
| 340 | - | ||
| 341 | - <pre>{ | ||
| 342 | - "Date": "Sat, 04 Jul 2020 15:01:02 GMT", | ||
| 343 | - "Content-Type": "application/json; charset=utf-8", | ||
| 344 | - "Transfer-Encoding": "chunked", | ||
| 345 | - "Connection": "keep-alive", | ||
| 346 | - "Vary": "Accept-Encoding, Accept-Encoding", | ||
| 347 | - "Access-Control-Allow-Credentials": "true", | ||
| 348 | - "Access-Control-Allow-Headers": "Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with", | ||
| 349 | - "Access-Control-Allow-Methods": "*", | ||
| 350 | - "Access-Control-Allow-Origin": "*", | ||
| 351 | - "Access-Control-Expose-Headers": "Content-Length", | ||
| 352 | - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", | ||
| 353 | - "Content-Encoding": "gzip" | ||
| 354 | -}</pre> | ||
| 355 | - | ||
| 356 | - </td> | ||
| 357 | - </tr> | ||
| 358 | - | ||
| 359 | - <tr> | ||
| 360 | - <th>content_type</th> | ||
| 361 | - <td> | ||
| 362 | - | ||
| 363 | - application/json; charset=utf-8 | ||
| 364 | - | ||
| 365 | - </td> | ||
| 366 | - </tr> | ||
| 367 | - | ||
| 368 | - <tr> | ||
| 369 | - <th>body</th> | ||
| 370 | - <td> | ||
| 371 | - | ||
| 372 | - | ||
| 373 | - <pre>{ | ||
| 374 | - "code": 0, | ||
| 375 | - "msg": "ok", | ||
| 376 | - "data": { | ||
| 377 | - "access": { | ||
| 378 | - "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5MTgwNjIsImlhdCI6MTU5Mzg3NDg2MiwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDg2MiwidWlkIjoxfQ.t-frysjdFqUWASwd7CBrw0HtiAxRbVX7CORhYnmDpMI", | ||
| 379 | - "expiresIn": 43200 | ||
| 380 | - } | ||
| 381 | - } | ||
| 382 | -}</pre> | ||
| 383 | - | ||
| 384 | - | ||
| 385 | - </td> | ||
| 386 | - </tr> | ||
| 387 | - | ||
| 388 | - </table> | ||
| 389 | - </div> | ||
| 390 | - | ||
| 391 | - | ||
| 392 | - <h3>Validators:</h3> | ||
| 393 | - <div style="overflow: auto"> | ||
| 394 | - | ||
| 395 | - | ||
| 396 | - <table> | ||
| 397 | - <tr> | ||
| 398 | - <th>check</th> | ||
| 399 | - <th>comparator</th> | ||
| 400 | - <th>expect value</th> | ||
| 401 | - <th>actual value</th> | ||
| 402 | - </tr> | ||
| 403 | - | ||
| 404 | - <tr> | ||
| 405 | - | ||
| 406 | - <td class="passed"> | ||
| 407 | - | ||
| 408 | - content.msg | ||
| 409 | - </td> | ||
| 410 | - <td>equals</td> | ||
| 411 | - <td>ok</td> | ||
| 412 | - <td>ok</td> | ||
| 413 | - </tr> | ||
| 414 | - | ||
| 415 | - </table> | ||
| 416 | - | ||
| 417 | - | ||
| 418 | - | ||
| 419 | - | ||
| 420 | - </div> | ||
| 421 | - | ||
| 422 | - <h3>Statistics:</h3> | ||
| 423 | - <div style="overflow: auto"> | ||
| 424 | - <table> | ||
| 425 | - <tr> | ||
| 426 | - <th>content_size(bytes)</th> | ||
| 427 | - <td>310</td> | ||
| 428 | - </tr> | ||
| 429 | - <tr> | ||
| 430 | - <th>response_time(ms)</th> | ||
| 431 | - <td>107.01</td> | ||
| 432 | - </tr> | ||
| 433 | - <tr> | ||
| 434 | - <th>elapsed(ms)</th> | ||
| 435 | - <td>98.99</td> | ||
| 436 | - </tr> | ||
| 437 | - </table> | ||
| 438 | - </div> | ||
| 439 | - | ||
| 440 | - </div> | ||
| 441 | - </div> | ||
| 442 | - </div> | ||
| 443 | - | ||
| 444 | - | ||
| 445 | - | ||
| 446 | - | ||
| 447 | - </td> | ||
| 448 | - </tr> | ||
| 449 | - | ||
| 450 | - | ||
| 451 | - | ||
| 452 | - <tr id="record_1_2"> | ||
| 453 | - <th class="success" style="width:5em;">success</th> | ||
| 454 | - <td colspan="2">10000000001 新增意向订单</td> | ||
| 455 | - <td style="text-align:center;width:6em;">41.00 ms</td> | ||
| 456 | - <td class="detail"> | ||
| 457 | - | ||
| 458 | - | ||
| 459 | - | ||
| 460 | - <a class="button" href="#popup_log_1_2_1">log-1</a> | ||
| 461 | - <div id="popup_log_1_2_1" class="overlay"> | ||
| 462 | - <div class="popup"> | ||
| 463 | - <h2>Request and Response data</h2> | ||
| 464 | - <a class="close" href="#record_1_2_1">×</a> | ||
| 465 | - | ||
| 466 | - <div class="content"> | ||
| 467 | - <h3>Name: 10000000001 新增意向订单</h3> | ||
| 468 | - | ||
| 469 | - | ||
| 470 | - | ||
| 471 | - | ||
| 472 | - | ||
| 473 | - <h3>Request:</h3> | ||
| 474 | - <div style="overflow: auto"> | ||
| 475 | - <table> | ||
| 476 | - | ||
| 477 | - <tr> | ||
| 478 | - <th>url</th> | ||
| 479 | - <td> | ||
| 480 | - | ||
| 481 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/order/purpose/update | ||
| 482 | - | ||
| 483 | - </td> | ||
| 484 | - </tr> | ||
| 485 | - | ||
| 486 | - <tr> | ||
| 487 | - <th>method</th> | ||
| 488 | - <td> | ||
| 489 | - | ||
| 490 | - POST | ||
| 491 | - | ||
| 492 | - </td> | ||
| 493 | - </tr> | ||
| 494 | - | ||
| 495 | - <tr> | ||
| 496 | - <th>headers</th> | ||
| 497 | - <td> | ||
| 498 | - | ||
| 499 | - <pre>{ | ||
| 500 | - "User-Agent": "okhttp/3.12.3", | ||
| 501 | - "Accept-Encoding": "gzip, deflate", | ||
| 502 | - "Accept": "*/*", | ||
| 503 | - "Connection": "keep-alive", | ||
| 504 | - "Content-Type": "application/json;charset=utf-8", | ||
| 505 | - "Authorization": "Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5MTgwNjIsImlhdCI6MTU5Mzg3NDg2MiwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDg2MiwidWlkIjoxfQ.t-frysjdFqUWASwd7CBrw0HtiAxRbVX7CORhYnmDpMI", | ||
| 506 | - "Content-Length": "347" | ||
| 507 | -}</pre> | ||
| 508 | - | ||
| 509 | - </td> | ||
| 510 | - </tr> | ||
| 511 | - | ||
| 512 | - <tr> | ||
| 513 | - <th>body</th> | ||
| 514 | - <td> | ||
| 515 | - | ||
| 516 | - <pre>{ | ||
| 517 | - "buyer": "我是买家2", | ||
| 518 | - "buyerPhone": "13459147023", | ||
| 519 | - "address": "福建省福州市收获地址1", | ||
| 520 | - "partner": 2, | ||
| 521 | - "partnerRatio": 99.19, | ||
| 522 | - "salesmanRatio": 0.99, | ||
| 523 | - "orderId": "20200704230102", | ||
| 524 | - "orderName": "20200704230102", | ||
| 525 | - "orderNum": 500, | ||
| 526 | - "orderPrice": 1000000000, | ||
| 527 | - "orderDist": "福建一区" | ||
| 528 | -}</pre> | ||
| 529 | - | ||
| 530 | - </td> | ||
| 531 | - </tr> | ||
| 532 | - | ||
| 533 | - </table> | ||
| 534 | - </div> | ||
| 535 | - | ||
| 536 | - <h3>Response:</h3> | ||
| 537 | - <div style="overflow: auto"> | ||
| 538 | - <table> | ||
| 539 | - | ||
| 540 | - <tr> | ||
| 541 | - <th>ok</th> | ||
| 542 | - <td> | ||
| 543 | - | ||
| 544 | - True | ||
| 545 | - | ||
| 546 | - </td> | ||
| 547 | - </tr> | ||
| 548 | - | ||
| 549 | - <tr> | ||
| 550 | - <th>url</th> | ||
| 551 | - <td> | ||
| 552 | - | ||
| 553 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/order/purpose/update | ||
| 554 | - | ||
| 555 | - </td> | ||
| 556 | - </tr> | ||
| 557 | - | ||
| 558 | - <tr> | ||
| 559 | - <th>status_code</th> | ||
| 560 | - <td> | ||
| 561 | - | ||
| 562 | - 200 | ||
| 563 | - | ||
| 564 | - </td> | ||
| 565 | - </tr> | ||
| 566 | - | ||
| 567 | - <tr> | ||
| 568 | - <th>reason</th> | ||
| 569 | - <td> | ||
| 570 | - | ||
| 571 | - OK | ||
| 572 | - | ||
| 573 | - </td> | ||
| 574 | - </tr> | ||
| 575 | - | ||
| 576 | - <tr> | ||
| 577 | - <th>cookies</th> | ||
| 578 | - <td> | ||
| 579 | - | ||
| 580 | - {} | ||
| 581 | - | ||
| 582 | - </td> | ||
| 583 | - </tr> | ||
| 584 | - | ||
| 585 | - <tr> | ||
| 586 | - <th>encoding</th> | ||
| 587 | - <td> | ||
| 588 | - | ||
| 589 | - utf-8 | ||
| 590 | - | ||
| 591 | - </td> | ||
| 592 | - </tr> | ||
| 593 | - | ||
| 594 | - <tr> | ||
| 595 | - <th>headers</th> | ||
| 596 | - <td> | ||
| 597 | - | ||
| 598 | - <pre>{ | ||
| 599 | - "Date": "Sat, 04 Jul 2020 15:01:02 GMT", | ||
| 600 | - "Content-Type": "application/json; charset=utf-8", | ||
| 601 | - "Content-Length": "44", | ||
| 602 | - "Connection": "keep-alive", | ||
| 603 | - "Access-Control-Allow-Credentials": "true", | ||
| 604 | - "Access-Control-Allow-Headers": "Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with", | ||
| 605 | - "Access-Control-Allow-Methods": "*", | ||
| 606 | - "Access-Control-Allow-Origin": "*", | ||
| 607 | - "Access-Control-Expose-Headers": "Content-Length", | ||
| 608 | - "Strict-Transport-Security": "max-age=15724800; includeSubDomains" | ||
| 609 | -}</pre> | ||
| 610 | - | ||
| 611 | - </td> | ||
| 612 | - </tr> | ||
| 613 | - | ||
| 614 | - <tr> | ||
| 615 | - <th>content_type</th> | ||
| 616 | - <td> | ||
| 617 | - | ||
| 618 | - application/json; charset=utf-8 | ||
| 619 | - | ||
| 620 | - </td> | ||
| 621 | - </tr> | ||
| 622 | - | ||
| 623 | - <tr> | ||
| 624 | - <th>body</th> | ||
| 625 | - <td> | ||
| 626 | - | ||
| 627 | - | ||
| 628 | - <pre>{ | ||
| 629 | - "code": 0, | ||
| 630 | - "msg": "ok", | ||
| 631 | - "data": {} | ||
| 632 | -}</pre> | ||
| 633 | - | ||
| 634 | - | ||
| 635 | - </td> | ||
| 636 | - </tr> | ||
| 637 | - | ||
| 638 | - </table> | ||
| 639 | - </div> | ||
| 640 | - | ||
| 641 | - | ||
| 642 | - <h3>Validators:</h3> | ||
| 643 | - <div style="overflow: auto"> | ||
| 644 | - | ||
| 645 | - | ||
| 646 | - | ||
| 647 | - | ||
| 648 | - | ||
| 649 | - </div> | ||
| 650 | - | ||
| 651 | - <h3>Statistics:</h3> | ||
| 652 | - <div style="overflow: auto"> | ||
| 653 | - <table> | ||
| 654 | - <tr> | ||
| 655 | - <th>content_size(bytes)</th> | ||
| 656 | - <td>44</td> | ||
| 657 | - </tr> | ||
| 658 | - <tr> | ||
| 659 | - <th>response_time(ms)</th> | ||
| 660 | - <td>41.0</td> | ||
| 661 | - </tr> | ||
| 662 | - <tr> | ||
| 663 | - <th>elapsed(ms)</th> | ||
| 664 | - <td>36.671</td> | ||
| 665 | - </tr> | ||
| 666 | - </table> | ||
| 667 | - </div> | ||
| 668 | - | ||
| 669 | - </div> | ||
| 670 | - </div> | ||
| 671 | - </div> | ||
| 672 | - | ||
| 673 | - | ||
| 674 | - | ||
| 675 | - | ||
| 676 | - </td> | ||
| 677 | - </tr> | ||
| 678 | - | ||
| 679 | - </table> | ||
| 680 | - | ||
| 681 | -</body> |
reports/20200704T150127.659168.html
已删除
100644 → 0
| 1 | -<head> | ||
| 2 | - <meta content="text/html; charset=utf-8" http-equiv="content-type" /> | ||
| 3 | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 4 | - <title> - TestReport</title> | ||
| 5 | - <style> | ||
| 6 | - body { | ||
| 7 | - background-color: #f2f2f2; | ||
| 8 | - color: #333; | ||
| 9 | - margin: 0 auto; | ||
| 10 | - width: 960px; | ||
| 11 | - } | ||
| 12 | - #summary { | ||
| 13 | - width: 960px; | ||
| 14 | - margin-bottom: 20px; | ||
| 15 | - } | ||
| 16 | - #summary th { | ||
| 17 | - background-color: skyblue; | ||
| 18 | - padding: 5px 12px; | ||
| 19 | - } | ||
| 20 | - #summary td { | ||
| 21 | - background-color: lightblue; | ||
| 22 | - text-align: center; | ||
| 23 | - padding: 4px 8px; | ||
| 24 | - } | ||
| 25 | - .details { | ||
| 26 | - width: 960px; | ||
| 27 | - margin-bottom: 20px; | ||
| 28 | - } | ||
| 29 | - .details th { | ||
| 30 | - background-color: skyblue; | ||
| 31 | - padding: 5px 12px; | ||
| 32 | - } | ||
| 33 | - .details tr .passed { | ||
| 34 | - background-color: lightgreen; | ||
| 35 | - } | ||
| 36 | - .details tr .failed { | ||
| 37 | - background-color: red; | ||
| 38 | - } | ||
| 39 | - .details tr .unchecked { | ||
| 40 | - background-color: gray; | ||
| 41 | - } | ||
| 42 | - .details td { | ||
| 43 | - background-color: lightblue; | ||
| 44 | - padding: 5px 12px; | ||
| 45 | - } | ||
| 46 | - .details .detail { | ||
| 47 | - background-color: lightgrey; | ||
| 48 | - font-size: smaller; | ||
| 49 | - padding: 5px 10px; | ||
| 50 | - line-height: 20px; | ||
| 51 | - text-align: left; | ||
| 52 | - } | ||
| 53 | - .details .success { | ||
| 54 | - background-color: greenyellow; | ||
| 55 | - } | ||
| 56 | - .details .error { | ||
| 57 | - background-color: red; | ||
| 58 | - } | ||
| 59 | - .details .failure { | ||
| 60 | - background-color: salmon; | ||
| 61 | - } | ||
| 62 | - .details .skipped { | ||
| 63 | - background-color: gray; | ||
| 64 | - } | ||
| 65 | - | ||
| 66 | - .button { | ||
| 67 | - font-size: 1em; | ||
| 68 | - padding: 6px; | ||
| 69 | - width: 4em; | ||
| 70 | - text-align: center; | ||
| 71 | - background-color: #06d85f; | ||
| 72 | - border-radius: 20px/50px; | ||
| 73 | - cursor: pointer; | ||
| 74 | - transition: all 0.3s ease-out; | ||
| 75 | - } | ||
| 76 | - a.button{ | ||
| 77 | - color: gray; | ||
| 78 | - text-decoration: none; | ||
| 79 | - display: inline-block; | ||
| 80 | - } | ||
| 81 | - .button:hover { | ||
| 82 | - background: #2cffbd; | ||
| 83 | - } | ||
| 84 | - | ||
| 85 | - .overlay { | ||
| 86 | - position: fixed; | ||
| 87 | - top: 0; | ||
| 88 | - bottom: 0; | ||
| 89 | - left: 0; | ||
| 90 | - right: 0; | ||
| 91 | - background: rgba(0, 0, 0, 0.7); | ||
| 92 | - transition: opacity 500ms; | ||
| 93 | - visibility: hidden; | ||
| 94 | - opacity: 0; | ||
| 95 | - line-height: 25px; | ||
| 96 | - } | ||
| 97 | - .overlay:target { | ||
| 98 | - visibility: visible; | ||
| 99 | - opacity: 1; | ||
| 100 | - } | ||
| 101 | - | ||
| 102 | - .popup { | ||
| 103 | - margin: 70px auto; | ||
| 104 | - padding: 20px; | ||
| 105 | - background: #fff; | ||
| 106 | - border-radius: 10px; | ||
| 107 | - width: 50%; | ||
| 108 | - position: relative; | ||
| 109 | - transition: all 3s ease-in-out; | ||
| 110 | - } | ||
| 111 | - | ||
| 112 | - .popup h2 { | ||
| 113 | - margin-top: 0; | ||
| 114 | - color: #333; | ||
| 115 | - font-family: Tahoma, Arial, sans-serif; | ||
| 116 | - } | ||
| 117 | - .popup .close { | ||
| 118 | - position: absolute; | ||
| 119 | - top: 20px; | ||
| 120 | - right: 30px; | ||
| 121 | - transition: all 200ms; | ||
| 122 | - font-size: 30px; | ||
| 123 | - font-weight: bold; | ||
| 124 | - text-decoration: none; | ||
| 125 | - color: #333; | ||
| 126 | - } | ||
| 127 | - .popup .close:hover { | ||
| 128 | - color: #06d85f; | ||
| 129 | - } | ||
| 130 | - .popup .content { | ||
| 131 | - max-height: 80%; | ||
| 132 | - overflow: auto; | ||
| 133 | - text-align: left; | ||
| 134 | - } | ||
| 135 | - .popup .separator { | ||
| 136 | - color:royalblue | ||
| 137 | - } | ||
| 138 | - | ||
| 139 | - @media screen and (max-width: 700px) { | ||
| 140 | - .box { | ||
| 141 | - width: 70%; | ||
| 142 | - } | ||
| 143 | - .popup { | ||
| 144 | - width: 70%; | ||
| 145 | - } | ||
| 146 | - } | ||
| 147 | - | ||
| 148 | - </style> | ||
| 149 | -</head> | ||
| 150 | - | ||
| 151 | -<body> | ||
| 152 | - <h1>Test Report: </h1> | ||
| 153 | - | ||
| 154 | - <h2>Summary</h2> | ||
| 155 | - <table id="summary"> | ||
| 156 | - <tr> | ||
| 157 | - <th>START AT</th> | ||
| 158 | - <td colspan="4">2020-07-04T15:01:27.659168</td> | ||
| 159 | - </tr> | ||
| 160 | - <tr> | ||
| 161 | - <th>DURATION</th> | ||
| 162 | - <td colspan="4">0.204 seconds</td> | ||
| 163 | - </tr> | ||
| 164 | - <tr> | ||
| 165 | - <th>PLATFORM</th> | ||
| 166 | - <td>HttpRunner 2.5.5 </td> | ||
| 167 | - <td>CPython 3.8.1 </td> | ||
| 168 | - <td colspan="2">Windows-7-6.1.7601-SP1</td> | ||
| 169 | - </tr> | ||
| 170 | - <tr> | ||
| 171 | - <th>STAT</th> | ||
| 172 | - <th colspan="2">TESTCASES (success/fail)</th> | ||
| 173 | - <th colspan="2">TESTSTEPS (success/fail/error/skip)</th> | ||
| 174 | - </tr> | ||
| 175 | - <tr> | ||
| 176 | - <td>total (details) =></td> | ||
| 177 | - <td colspan="2">1 (1/0)</td> | ||
| 178 | - <td colspan="2">2 (2/0/0/0)</td> | ||
| 179 | - </tr> | ||
| 180 | - </table> | ||
| 181 | - | ||
| 182 | - <h2>Details</h2> | ||
| 183 | - | ||
| 184 | - | ||
| 185 | - | ||
| 186 | - <h3>call demo_testcase with data 1</h3> | ||
| 187 | - <table id="suite_1" class="details"> | ||
| 188 | - <tr> | ||
| 189 | - <td>TOTAL: 2</td> | ||
| 190 | - <td>SUCCESS: 2</td> | ||
| 191 | - <td>FAILED: 0</td> | ||
| 192 | - <td>ERROR: 0</td> | ||
| 193 | - <td>SKIPPED: 0</td> | ||
| 194 | - </tr> | ||
| 195 | - <tr> | ||
| 196 | - <th>Status</th> | ||
| 197 | - <th colspan="2">Name</th> | ||
| 198 | - <th>Response Time</th> | ||
| 199 | - <th>Detail</th> | ||
| 200 | - </tr> | ||
| 201 | - | ||
| 202 | - | ||
| 203 | - | ||
| 204 | - | ||
| 205 | - <tr id="record_1_1"> | ||
| 206 | - <th class="success" style="width:5em;">success</th> | ||
| 207 | - <td colspan="2">10000000001 登录系统</td> | ||
| 208 | - <td style="text-align:center;width:6em;">116.01 ms</td> | ||
| 209 | - <td class="detail"> | ||
| 210 | - | ||
| 211 | - | ||
| 212 | - | ||
| 213 | - <a class="button" href="#popup_log_1_1_1">log-1</a> | ||
| 214 | - <div id="popup_log_1_1_1" class="overlay"> | ||
| 215 | - <div class="popup"> | ||
| 216 | - <h2>Request and Response data</h2> | ||
| 217 | - <a class="close" href="#record_1_1_1">×</a> | ||
| 218 | - | ||
| 219 | - <div class="content"> | ||
| 220 | - <h3>Name: 10000000001 登录系统</h3> | ||
| 221 | - | ||
| 222 | - | ||
| 223 | - | ||
| 224 | - | ||
| 225 | - | ||
| 226 | - <h3>Request:</h3> | ||
| 227 | - <div style="overflow: auto"> | ||
| 228 | - <table> | ||
| 229 | - | ||
| 230 | - <tr> | ||
| 231 | - <th>url</th> | ||
| 232 | - <td> | ||
| 233 | - | ||
| 234 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/auth/login | ||
| 235 | - | ||
| 236 | - </td> | ||
| 237 | - </tr> | ||
| 238 | - | ||
| 239 | - <tr> | ||
| 240 | - <th>method</th> | ||
| 241 | - <td> | ||
| 242 | - | ||
| 243 | - POST | ||
| 244 | - | ||
| 245 | - </td> | ||
| 246 | - </tr> | ||
| 247 | - | ||
| 248 | - <tr> | ||
| 249 | - <th>headers</th> | ||
| 250 | - <td> | ||
| 251 | - | ||
| 252 | - <pre>{ | ||
| 253 | - "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36", | ||
| 254 | - "Accept-Encoding": "gzip, deflate", | ||
| 255 | - "Accept": "*/*", | ||
| 256 | - "Connection": "keep-alive", | ||
| 257 | - "Content-Type": "application/json;charset=utf-8", | ||
| 258 | - "Content-Length": "83" | ||
| 259 | -}</pre> | ||
| 260 | - | ||
| 261 | - </td> | ||
| 262 | - </tr> | ||
| 263 | - | ||
| 264 | - <tr> | ||
| 265 | - <th>body</th> | ||
| 266 | - <td> | ||
| 267 | - | ||
| 268 | - <pre>{ | ||
| 269 | - "password": "7c4a8d09ca3762af61e59520943dc26494f8941b", | ||
| 270 | - "username": "10000000001" | ||
| 271 | -}</pre> | ||
| 272 | - | ||
| 273 | - </td> | ||
| 274 | - </tr> | ||
| 275 | - | ||
| 276 | - </table> | ||
| 277 | - </div> | ||
| 278 | - | ||
| 279 | - <h3>Response:</h3> | ||
| 280 | - <div style="overflow: auto"> | ||
| 281 | - <table> | ||
| 282 | - | ||
| 283 | - <tr> | ||
| 284 | - <th>ok</th> | ||
| 285 | - <td> | ||
| 286 | - | ||
| 287 | - True | ||
| 288 | - | ||
| 289 | - </td> | ||
| 290 | - </tr> | ||
| 291 | - | ||
| 292 | - <tr> | ||
| 293 | - <th>url</th> | ||
| 294 | - <td> | ||
| 295 | - | ||
| 296 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/auth/login | ||
| 297 | - | ||
| 298 | - </td> | ||
| 299 | - </tr> | ||
| 300 | - | ||
| 301 | - <tr> | ||
| 302 | - <th>status_code</th> | ||
| 303 | - <td> | ||
| 304 | - | ||
| 305 | - 200 | ||
| 306 | - | ||
| 307 | - </td> | ||
| 308 | - </tr> | ||
| 309 | - | ||
| 310 | - <tr> | ||
| 311 | - <th>reason</th> | ||
| 312 | - <td> | ||
| 313 | - | ||
| 314 | - OK | ||
| 315 | - | ||
| 316 | - </td> | ||
| 317 | - </tr> | ||
| 318 | - | ||
| 319 | - <tr> | ||
| 320 | - <th>cookies</th> | ||
| 321 | - <td> | ||
| 322 | - | ||
| 323 | - {} | ||
| 324 | - | ||
| 325 | - </td> | ||
| 326 | - </tr> | ||
| 327 | - | ||
| 328 | - <tr> | ||
| 329 | - <th>encoding</th> | ||
| 330 | - <td> | ||
| 331 | - | ||
| 332 | - utf-8 | ||
| 333 | - | ||
| 334 | - </td> | ||
| 335 | - </tr> | ||
| 336 | - | ||
| 337 | - <tr> | ||
| 338 | - <th>headers</th> | ||
| 339 | - <td> | ||
| 340 | - | ||
| 341 | - <pre>{ | ||
| 342 | - "Date": "Sat, 04 Jul 2020 15:01:28 GMT", | ||
| 343 | - "Content-Type": "application/json; charset=utf-8", | ||
| 344 | - "Transfer-Encoding": "chunked", | ||
| 345 | - "Connection": "keep-alive", | ||
| 346 | - "Vary": "Accept-Encoding, Accept-Encoding", | ||
| 347 | - "Access-Control-Allow-Credentials": "true", | ||
| 348 | - "Access-Control-Allow-Headers": "Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with", | ||
| 349 | - "Access-Control-Allow-Methods": "*", | ||
| 350 | - "Access-Control-Allow-Origin": "*", | ||
| 351 | - "Access-Control-Expose-Headers": "Content-Length", | ||
| 352 | - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", | ||
| 353 | - "Content-Encoding": "gzip" | ||
| 354 | -}</pre> | ||
| 355 | - | ||
| 356 | - </td> | ||
| 357 | - </tr> | ||
| 358 | - | ||
| 359 | - <tr> | ||
| 360 | - <th>content_type</th> | ||
| 361 | - <td> | ||
| 362 | - | ||
| 363 | - application/json; charset=utf-8 | ||
| 364 | - | ||
| 365 | - </td> | ||
| 366 | - </tr> | ||
| 367 | - | ||
| 368 | - <tr> | ||
| 369 | - <th>body</th> | ||
| 370 | - <td> | ||
| 371 | - | ||
| 372 | - | ||
| 373 | - <pre>{ | ||
| 374 | - "code": 0, | ||
| 375 | - "msg": "ok", | ||
| 376 | - "data": { | ||
| 377 | - "access": { | ||
| 378 | - "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5MTgwODgsImlhdCI6MTU5Mzg3NDg4OCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDg4OCwidWlkIjoxfQ.s8nznrxx2-Vumr4eAZbLXfiSjAT-C2nuw4b0ku7hcKg", | ||
| 379 | - "expiresIn": 43200 | ||
| 380 | - } | ||
| 381 | - } | ||
| 382 | -}</pre> | ||
| 383 | - | ||
| 384 | - | ||
| 385 | - </td> | ||
| 386 | - </tr> | ||
| 387 | - | ||
| 388 | - </table> | ||
| 389 | - </div> | ||
| 390 | - | ||
| 391 | - | ||
| 392 | - <h3>Validators:</h3> | ||
| 393 | - <div style="overflow: auto"> | ||
| 394 | - | ||
| 395 | - | ||
| 396 | - <table> | ||
| 397 | - <tr> | ||
| 398 | - <th>check</th> | ||
| 399 | - <th>comparator</th> | ||
| 400 | - <th>expect value</th> | ||
| 401 | - <th>actual value</th> | ||
| 402 | - </tr> | ||
| 403 | - | ||
| 404 | - <tr> | ||
| 405 | - | ||
| 406 | - <td class="passed"> | ||
| 407 | - | ||
| 408 | - content.msg | ||
| 409 | - </td> | ||
| 410 | - <td>equals</td> | ||
| 411 | - <td>ok</td> | ||
| 412 | - <td>ok</td> | ||
| 413 | - </tr> | ||
| 414 | - | ||
| 415 | - </table> | ||
| 416 | - | ||
| 417 | - | ||
| 418 | - | ||
| 419 | - | ||
| 420 | - </div> | ||
| 421 | - | ||
| 422 | - <h3>Statistics:</h3> | ||
| 423 | - <div style="overflow: auto"> | ||
| 424 | - <table> | ||
| 425 | - <tr> | ||
| 426 | - <th>content_size(bytes)</th> | ||
| 427 | - <td>310</td> | ||
| 428 | - </tr> | ||
| 429 | - <tr> | ||
| 430 | - <th>response_time(ms)</th> | ||
| 431 | - <td>116.01</td> | ||
| 432 | - </tr> | ||
| 433 | - <tr> | ||
| 434 | - <th>elapsed(ms)</th> | ||
| 435 | - <td>109.639</td> | ||
| 436 | - </tr> | ||
| 437 | - </table> | ||
| 438 | - </div> | ||
| 439 | - | ||
| 440 | - </div> | ||
| 441 | - </div> | ||
| 442 | - </div> | ||
| 443 | - | ||
| 444 | - | ||
| 445 | - | ||
| 446 | - | ||
| 447 | - </td> | ||
| 448 | - </tr> | ||
| 449 | - | ||
| 450 | - | ||
| 451 | - | ||
| 452 | - <tr id="record_1_2"> | ||
| 453 | - <th class="success" style="width:5em;">success</th> | ||
| 454 | - <td colspan="2">10000000001 新增意向订单</td> | ||
| 455 | - <td style="text-align:center;width:6em;">37.00 ms</td> | ||
| 456 | - <td class="detail"> | ||
| 457 | - | ||
| 458 | - | ||
| 459 | - | ||
| 460 | - <a class="button" href="#popup_log_1_2_1">log-1</a> | ||
| 461 | - <div id="popup_log_1_2_1" class="overlay"> | ||
| 462 | - <div class="popup"> | ||
| 463 | - <h2>Request and Response data</h2> | ||
| 464 | - <a class="close" href="#record_1_2_1">×</a> | ||
| 465 | - | ||
| 466 | - <div class="content"> | ||
| 467 | - <h3>Name: 10000000001 新增意向订单</h3> | ||
| 468 | - | ||
| 469 | - | ||
| 470 | - | ||
| 471 | - | ||
| 472 | - | ||
| 473 | - <h3>Request:</h3> | ||
| 474 | - <div style="overflow: auto"> | ||
| 475 | - <table> | ||
| 476 | - | ||
| 477 | - <tr> | ||
| 478 | - <th>url</th> | ||
| 479 | - <td> | ||
| 480 | - | ||
| 481 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/order/purpose/update | ||
| 482 | - | ||
| 483 | - </td> | ||
| 484 | - </tr> | ||
| 485 | - | ||
| 486 | - <tr> | ||
| 487 | - <th>method</th> | ||
| 488 | - <td> | ||
| 489 | - | ||
| 490 | - POST | ||
| 491 | - | ||
| 492 | - </td> | ||
| 493 | - </tr> | ||
| 494 | - | ||
| 495 | - <tr> | ||
| 496 | - <th>headers</th> | ||
| 497 | - <td> | ||
| 498 | - | ||
| 499 | - <pre>{ | ||
| 500 | - "User-Agent": "okhttp/3.12.3", | ||
| 501 | - "Accept-Encoding": "gzip, deflate", | ||
| 502 | - "Accept": "*/*", | ||
| 503 | - "Connection": "keep-alive", | ||
| 504 | - "Content-Type": "application/json;charset=utf-8", | ||
| 505 | - "Authorization": "Bearer bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTM5MTgwODgsImlhdCI6MTU5Mzg3NDg4OCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5Mzg3NDg4OCwidWlkIjoxfQ.s8nznrxx2-Vumr4eAZbLXfiSjAT-C2nuw4b0ku7hcKg", | ||
| 506 | - "Content-Length": "348" | ||
| 507 | -}</pre> | ||
| 508 | - | ||
| 509 | - </td> | ||
| 510 | - </tr> | ||
| 511 | - | ||
| 512 | - <tr> | ||
| 513 | - <th>body</th> | ||
| 514 | - <td> | ||
| 515 | - | ||
| 516 | - <pre>{ | ||
| 517 | - "buyer": "我是买家27", | ||
| 518 | - "buyerPhone": "13459147023", | ||
| 519 | - "address": "福建省福州市收获地址1", | ||
| 520 | - "partner": 2, | ||
| 521 | - "partnerRatio": 99.19, | ||
| 522 | - "salesmanRatio": 0.99, | ||
| 523 | - "orderId": "20200704230127", | ||
| 524 | - "orderName": "20200704230127", | ||
| 525 | - "orderNum": 500, | ||
| 526 | - "orderPrice": 1000000000, | ||
| 527 | - "orderDist": "福建一区" | ||
| 528 | -}</pre> | ||
| 529 | - | ||
| 530 | - </td> | ||
| 531 | - </tr> | ||
| 532 | - | ||
| 533 | - </table> | ||
| 534 | - </div> | ||
| 535 | - | ||
| 536 | - <h3>Response:</h3> | ||
| 537 | - <div style="overflow: auto"> | ||
| 538 | - <table> | ||
| 539 | - | ||
| 540 | - <tr> | ||
| 541 | - <th>ok</th> | ||
| 542 | - <td> | ||
| 543 | - | ||
| 544 | - True | ||
| 545 | - | ||
| 546 | - </td> | ||
| 547 | - </tr> | ||
| 548 | - | ||
| 549 | - <tr> | ||
| 550 | - <th>url</th> | ||
| 551 | - <td> | ||
| 552 | - | ||
| 553 | - https://public-interface.fjmaimaimai.com/mmm-partnermg/v1/order/purpose/update | ||
| 554 | - | ||
| 555 | - </td> | ||
| 556 | - </tr> | ||
| 557 | - | ||
| 558 | - <tr> | ||
| 559 | - <th>status_code</th> | ||
| 560 | - <td> | ||
| 561 | - | ||
| 562 | - 200 | ||
| 563 | - | ||
| 564 | - </td> | ||
| 565 | - </tr> | ||
| 566 | - | ||
| 567 | - <tr> | ||
| 568 | - <th>reason</th> | ||
| 569 | - <td> | ||
| 570 | - | ||
| 571 | - OK | ||
| 572 | - | ||
| 573 | - </td> | ||
| 574 | - </tr> | ||
| 575 | - | ||
| 576 | - <tr> | ||
| 577 | - <th>cookies</th> | ||
| 578 | - <td> | ||
| 579 | - | ||
| 580 | - {} | ||
| 581 | - | ||
| 582 | - </td> | ||
| 583 | - </tr> | ||
| 584 | - | ||
| 585 | - <tr> | ||
| 586 | - <th>encoding</th> | ||
| 587 | - <td> | ||
| 588 | - | ||
| 589 | - utf-8 | ||
| 590 | - | ||
| 591 | - </td> | ||
| 592 | - </tr> | ||
| 593 | - | ||
| 594 | - <tr> | ||
| 595 | - <th>headers</th> | ||
| 596 | - <td> | ||
| 597 | - | ||
| 598 | - <pre>{ | ||
| 599 | - "Date": "Sat, 04 Jul 2020 15:01:28 GMT", | ||
| 600 | - "Content-Type": "application/json; charset=utf-8", | ||
| 601 | - "Content-Length": "44", | ||
| 602 | - "Connection": "keep-alive", | ||
| 603 | - "Access-Control-Allow-Credentials": "true", | ||
| 604 | - "Access-Control-Allow-Headers": "Origin,Authorization,Access-Control-Allow-Origin,Content-Type,x-requested-with", | ||
| 605 | - "Access-Control-Allow-Methods": "*", | ||
| 606 | - "Access-Control-Allow-Origin": "*", | ||
| 607 | - "Access-Control-Expose-Headers": "Content-Length", | ||
| 608 | - "Strict-Transport-Security": "max-age=15724800; includeSubDomains" | ||
| 609 | -}</pre> | ||
| 610 | - | ||
| 611 | - </td> | ||
| 612 | - </tr> | ||
| 613 | - | ||
| 614 | - <tr> | ||
| 615 | - <th>content_type</th> | ||
| 616 | - <td> | ||
| 617 | - | ||
| 618 | - application/json; charset=utf-8 | ||
| 619 | - | ||
| 620 | - </td> | ||
| 621 | - </tr> | ||
| 622 | - | ||
| 623 | - <tr> | ||
| 624 | - <th>body</th> | ||
| 625 | - <td> | ||
| 626 | - | ||
| 627 | - | ||
| 628 | - <pre>{ | ||
| 629 | - "code": 0, | ||
| 630 | - "msg": "ok", | ||
| 631 | - "data": {} | ||
| 632 | -}</pre> | ||
| 633 | - | ||
| 634 | - | ||
| 635 | - </td> | ||
| 636 | - </tr> | ||
| 637 | - | ||
| 638 | - </table> | ||
| 639 | - </div> | ||
| 640 | - | ||
| 641 | - | ||
| 642 | - <h3>Validators:</h3> | ||
| 643 | - <div style="overflow: auto"> | ||
| 644 | - | ||
| 645 | - | ||
| 646 | - | ||
| 647 | - | ||
| 648 | - | ||
| 649 | - </div> | ||
| 650 | - | ||
| 651 | - <h3>Statistics:</h3> | ||
| 652 | - <div style="overflow: auto"> | ||
| 653 | - <table> | ||
| 654 | - <tr> | ||
| 655 | - <th>content_size(bytes)</th> | ||
| 656 | - <td>44</td> | ||
| 657 | - </tr> | ||
| 658 | - <tr> | ||
| 659 | - <th>response_time(ms)</th> | ||
| 660 | - <td>37.0</td> | ||
| 661 | - </tr> | ||
| 662 | - <tr> | ||
| 663 | - <th>elapsed(ms)</th> | ||
| 664 | - <td>33.911</td> | ||
| 665 | - </tr> | ||
| 666 | - </table> | ||
| 667 | - </div> | ||
| 668 | - | ||
| 669 | - </div> | ||
| 670 | - </div> | ||
| 671 | - </div> | ||
| 672 | - | ||
| 673 | - | ||
| 674 | - | ||
| 675 | - | ||
| 676 | - </td> | ||
| 677 | - </tr> | ||
| 678 | - | ||
| 679 | - </table> | ||
| 680 | - | ||
| 681 | -</body> |
-
请 注册 或 登录 后发表评论