作者 bianxinhua

add README

正在显示 71 个修改的文件 包含 539 行增加2026 行删除
... ... @@ -2,47 +2,70 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="b869bb6c-d2b2-46af-b73c-cd3237c48651" name="Default Changelist" comment="update 2020005122330">
<change afterPath="$PROJECT_DIR$/api/m_api/loot/loot_task_reject_api.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/api/m_api/member/member_set_permission_api.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/api/m_api/task_open_api.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/testcases/task/loot/loot_task_reject_testcase.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_open_testcase.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/testcases/task/member/member_set_permission_testcases.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/testcases/task_login_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.env" beforeDir="false" afterPath="$PROJECT_DIR$/.env" afterDir="false" />
<change afterPath="$PROJECT_DIR$/api/m_api/loot/loot_task_confirm_api.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/api/m_api/loot/task_loot_detail_api.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/api/m_api/task_resource_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/app_api/login_api/auth/accessToken_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/app_api/login_api/auth/accessToken_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/app_api/login_api/auth/authorize_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/app_api/login_api/auth/authorize_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/app_api/login_api/auth/ucenter_login_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/app_api/login_api/auth/ucenter_login_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/login_api/auth/pwdLogin_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/m_api/login_api/auth/pwdLogin_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/member/member_list_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/m_api/member/member_list_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/rewards/submitCompete_0_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/bidTask_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/iPublishedTasks_3_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/jb_fb_task/taskPublish_0_0_1_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/jb_fb_task/taskPublish_0_1_0_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/jb_fb_task/taskPublish_1_1_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/jb_fb_task/tasksearchResources_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/jb_fb_task/update_taskPublish_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/loot/loot_task_reject_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/m_api/loot/loot_task_reject_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/loot/loot_update_0_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/m_api/loot/loot_update_0_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/loot/tasksearchResources_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/rewards/currentTasks_0_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/rewards/currentTasks_1_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/rewards/rewards_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/rewards/submitCompete_0_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/rewards/submitCompete_1_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/taskStatistics.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/task_open_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/m_api/task_open_api.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/taskcheckAccept_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/taskcloseTask_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/m_api/taskfinishTask_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/bidTask_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/dfb_task/iPublishedTasks_0_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/dfb_task/taskdeleteTask_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/employee/allEmployees_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/iPublishedTasks_3_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/jb_fb_task/taskPublish_0_0_1_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/jb_fb_task/taskPublish_0_1_0_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/jb_fb_task/taskPublish_1_1_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/jb_fb_task/tasksearchResources_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/jb_fb_task/update_taskPublish_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/qd_fb_task/taskPublish_0_0_0_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/qd_fb_task/taskPublish_0_1_0_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/qd_fb_task/taskPublish_0_1_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/qd_fb_task/tasksearchResources_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/qd_fb_task/update_taskPublish_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/rewards/currentTasks_0_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/rewards/currentTasks_1_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/rewards/rewards_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/rewards/submitCompete_1_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/taskDetails_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/taskStatistics.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/taskcheckAccept_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/taskcloseTask_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/task_api/task/taskfinishTask_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/config/Authorization.txt" beforeDir="false" afterPath="$PROJECT_DIR$/config/Authorization.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/accessToken.csv" beforeDir="false" afterPath="$PROJECT_DIR$/config/accessToken.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/access_token.txt" beforeDir="false" afterPath="$PROJECT_DIR$/config/access_token.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/authCode.csv" beforeDir="false" afterPath="$PROJECT_DIR$/config/authCode.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/credentials.csv" beforeDir="false" afterPath="$PROJECT_DIR$/config/credentials.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/login_code.txt" beforeDir="false" afterPath="$PROJECT_DIR$/config/login_code.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/task_Authorization.txt" beforeDir="false" afterPath="$PROJECT_DIR$/config/task_Authorization.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/debugtalk.py" beforeDir="false" afterPath="$PROJECT_DIR$/debugtalk.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/task_accessToken.csv" beforeDir="false" afterPath="$PROJECT_DIR$/config/task_accessToken.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/task_authCode.csv" beforeDir="false" afterPath="$PROJECT_DIR$/config/task_authCode.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/helpfunc/login_func.py" beforeDir="false" afterPath="$PROJECT_DIR$/helpfunc/login_func.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/login_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/login_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/m_login_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/m_login_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/helpfunc/m_func.py" beforeDir="false" afterPath="$PROJECT_DIR$/helpfunc/m_func.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/helpfunc/pg_db_func.py" beforeDir="false" afterPath="$PROJECT_DIR$/helpfunc/pg_db_func.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX003_pf_levelhigh_permission.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX004_ck_permission.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX005_bx_solution_ck_permission.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX006_bx_solution_permission.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX007_bx_solution_pf_levelequal_permission.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX008_bx_solution_pf_levelhigh_permission.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX009_bx_solution_pf_permission.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX010_jj_solution_permission.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX011_jj_solution_jj_permission.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX012_jj_solution_jj_levelequal_permission.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX013_jj_solution_jj_levelhigh_permission.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/task/loot/save_taskPublish_0_0_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/task/member/member_list_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/task/member/member_list_testcases.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/task/save_taskPublish_0_1_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/task/taskPublish_0_1_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/task/taskPublish_1_1_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases_excel/task_api.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/testcases_excel/task_api.xlsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/task/loot/loot_task_reject_testcase.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/task/loot/loot_task_reject_testcase.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_delete_testcase.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_delete_testcase.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_open_testcase.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_open_testcase.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testsuites/task_suites.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testsuites/task_suites.yml" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
... ... @@ -53,7 +76,7 @@
</component>
<component name="CoverageDataManager">
<SUITE FILE_PATH="coverage/ability_api$login_func.coverage" NAME="login_func Coverage Results" MODIFIED="1593587330616" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/helpfunc" />
<SUITE FILE_PATH="coverage/task_api$pg_db_func.coverage" NAME="pg_db_func Coverage Results" MODIFIED="1597650303231" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/helpfunc" />
<SUITE FILE_PATH="coverage/task_api$pg_db_func.coverage" NAME="pg_db_func Coverage Results" MODIFIED="1597823863182" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/helpfunc" />
<SUITE FILE_PATH="coverage/ability_api$ucenter_loginAggregate_func.coverage" NAME="ucenter_loginAggregate_func Coverage Results" MODIFIED="1586524233572" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/helpfunc" />
<SUITE FILE_PATH="coverage/ability_api$debugtalk.coverage" NAME="debugtalk Coverage Results" MODIFIED="1593587381209" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/ability_api$header_func.coverage" NAME="header_func Coverage Results" MODIFIED="1586653408797" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/helpfunc" />
... ... @@ -68,26 +91,26 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testsuites/task_suites.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="290">
<caret line="28" column="9" lean-forward="true" selection-start-line="28" selection-start-column="9" selection-end-line="28" selection-end-column="9" />
<state relative-caret-position="30">
<caret line="15" column="15" selection-start-line="15" selection-start-column="15" selection-end-line="15" selection-end-column="15" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/loot_task_reject_api.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/loot_task_confirm_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-390">
<caret column="6" lean-forward="true" selection-start-column="6" selection-end-column="11" />
<state relative-caret-position="442">
<caret line="17" column="25" selection-start-line="17" selection-start-column="25" selection-end-line="17" selection-end-column="25" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_open_testcase.yml">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/submitCompete_loot_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="238">
<caret line="10" column="21" selection-start-line="10" selection-start-column="21" selection-end-line="10" selection-end-column="21" />
<state relative-caret-position="-360">
<caret line="6" column="29" selection-start-line="6" selection-start-column="29" selection-end-line="6" selection-end-column="29" />
</state>
</provider>
</entry>
... ... @@ -95,17 +118,26 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcases/task/loot/loot_task_reject_testcase.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="26">
<caret line="1" column="38" selection-start-line="1" selection-start-column="38" selection-end-line="1" selection-end-column="38" />
<state relative-caret-position="676">
<caret line="26" column="35" selection-start-line="26" selection-start-column="35" selection-end-line="26" selection-end-column="35" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/helpfunc/pg_db_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="555">
<caret line="82" column="17" lean-forward="true" selection-start-line="82" selection-start-column="17" selection-end-line="82" selection-end-column="17" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/loot_update_0_api.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/task_resource_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="104">
<caret line="4" column="34" selection-start-line="4" selection-start-column="10" selection-end-line="4" selection-end-column="34" />
<state>
<caret line="9" column="4" selection-start-line="9" selection-start-column="4" selection-end-line="9" selection-end-column="4" />
</state>
</provider>
</entry>
... ... @@ -129,6 +161,11 @@
<find>get_uid_from_database</find>
<find>teardown_hook_get_authcode</find>
<find>teardown_hook_get_accesstoken</find>
<find>get_task_status_from_database</find>
<find>teardown_hook_get_task_Authorization</find>
<find>teardown_hook_get_task_name</find>
<find>get_serialNo</find>
<find>teardown_hook_get_serialNo</find>
</findStrings>
</component>
<component name="Git.Settings">
... ... @@ -149,9 +186,6 @@
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW001.yml" />
<option value="$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW002.yml" />
<option value="$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW004.yml" />
<option value="$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW005.yml" />
<option value="$PROJECT_DIR$/api/task_api/task/jb_fb_task/taskPublish_0_0_1_api.yml" />
<option value="$PROJECT_DIR$/api/task_api/task/qd_fb_task/taskPublish_0_0_0_api.yml" />
... ... @@ -167,23 +201,16 @@
<option value="$PROJECT_DIR$/testcases/task/jxz/JB/jxz_wc.yml" />
<option value="$PROJECT_DIR$/api/app_api/firstpage_api/addquestion_api.yml" />
<option value="$PROJECT_DIR$/api/m_api/login_api/auth/login_api.yml" />
<option value="$PROJECT_DIR$/helpfunc/m_func.py" />
<option value="$PROJECT_DIR$/debugtalk.py" />
<option value="$PROJECT_DIR$/helpfunc/pg_db_func.py" />
<option value="$PROJECT_DIR$/testcases/task/member/member_set_permission_testcases.yml" />
<option value="$PROJECT_DIR$/api/m_api/member/member_set_permission_api.yml" />
<option value="$PROJECT_DIR$/testcases/task/member/member_list_testcases.yml" />
<option value="$PROJECT_DIR$/api/m_api/member/member_list_api.yml" />
<option value="$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml" />
<option value="$PROJECT_DIR$/api/m_api/loot/taskPublish_0_0_0_api.yml" />
<option value="$PROJECT_DIR$/api/m_api/task_delete_api.yml" />
<option value="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_testcase.yml" />
<option value="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_delete_testcase.yml" />
<option value="$PROJECT_DIR$/testcases/m_login_testcases.yml" />
<option value="$PROJECT_DIR$/api/m_api/login_api/auth/pwdLogin_api.yml" />
<option value="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_open_testcase.yml" />
<option value="$PROJECT_DIR$/api/m_api/loot/loot_update_0_api.yml" />
<option value="$PROJECT_DIR$/api/m_api/task_open_api.yml" />
<option value="$PROJECT_DIR$/api/m_api/task_Details_api.yml" />
<option value="$PROJECT_DIR$/.env" />
<option value="$PROJECT_DIR$/testcases/login_testcases.yml" />
... ... @@ -191,19 +218,29 @@
<option value="$PROJECT_DIR$/api/app_api/login_api/auth/authorize_api.yml" />
<option value="$PROJECT_DIR$/api/app_api/login_api/auth/accessToken_api.yml" />
<option value="$PROJECT_DIR$/api/app_api/login_api/task/authorize_api.yml" />
<option value="$PROJECT_DIR$/helpfunc/login_func.py" />
<option value="$PROJECT_DIR$/testcases/task_login_testcases.yml" />
<option value="$PROJECT_DIR$/api/app_api/login_api/task/accessToken_api.yml" />
<option value="$PROJECT_DIR$/api/m_api/task_rewards_api.yml" />
<option value="$PROJECT_DIR$/testcases/task/task_rewards_taskDetails_testcase.yml" />
<option value="$PROJECT_DIR$/api/m_api/loot/submitCompete_loot_api.yml" />
<option value="$PROJECT_DIR$/api/m_api/task_open_api.yml" />
<option value="$PROJECT_DIR$/helpfunc/m_func.py" />
<option value="$PROJECT_DIR$/api/m_api/loot/loot_task_reject_api.yml" />
<option value="$PROJECT_DIR$/api/m_api/loot/task_loot_detail_api.yml" />
<option value="$PROJECT_DIR$/testcases/task/loot/loot_task_reject_testcase.yml" />
<option value="$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml" />
<option value="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_delete_testcase.yml" />
<option value="$PROJECT_DIR$/api/m_api/task_resource_api.yml" />
<option value="$PROJECT_DIR$/helpfunc/login_func.py" />
<option value="$PROJECT_DIR$/api/m_api/loot/loot_update_0_api.yml" />
<option value="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_open_testcase.yml" />
<option value="$PROJECT_DIR$/testsuites/task_suites.yml" />
<option value="$PROJECT_DIR$/api/m_api/loot/loot_task_confirm_api.yml" />
<option value="$PROJECT_DIR$/helpfunc/pg_db_func.py" />
</list>
</option>
</component>
<component name="ProjectFrameBounds" extendedState="6">
<component name="ProjectFrameBounds" extendedState="7">
<option name="x" value="179" />
<option name="y" value="427" />
<option name="width" value="1382" />
... ... @@ -216,6 +253,7 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<expand>
... ... @@ -232,12 +270,6 @@
<item name="task_api" type="b2602c69:ProjectViewProjectNode" />
<item name="task_api" type="462c0819:PsiDirectoryNode" />
<item name="api" type="462c0819:PsiDirectoryNode" />
<item name="app_api" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="task_api" type="b2602c69:ProjectViewProjectNode" />
<item name="task_api" type="462c0819:PsiDirectoryNode" />
<item name="api" type="462c0819:PsiDirectoryNode" />
<item name="m_api" type="462c0819:PsiDirectoryNode" />
</path>
<path>
... ... @@ -250,25 +282,18 @@
<path>
<item name="task_api" type="b2602c69:ProjectViewProjectNode" />
<item name="task_api" type="462c0819:PsiDirectoryNode" />
<item name="api" type="462c0819:PsiDirectoryNode" />
<item name="m_api" type="462c0819:PsiDirectoryNode" />
<item name="rewards" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="task_api" type="b2602c69:ProjectViewProjectNode" />
<item name="task_api" type="462c0819:PsiDirectoryNode" />
<item name="api" type="462c0819:PsiDirectoryNode" />
<item name="task_api" type="462c0819:PsiDirectoryNode" />
<item name="helpfunc" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="task_api" type="b2602c69:ProjectViewProjectNode" />
<item name="task_api" type="462c0819:PsiDirectoryNode" />
<item name="helpfunc" type="462c0819:PsiDirectoryNode" />
<item name="testcases" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="task_api" type="b2602c69:ProjectViewProjectNode" />
<item name="task_api" type="462c0819:PsiDirectoryNode" />
<item name="testcases" type="462c0819:PsiDirectoryNode" />
<item name="permission" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="task_api" type="b2602c69:ProjectViewProjectNode" />
... ... @@ -292,7 +317,6 @@
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
... ... @@ -301,19 +325,19 @@
<property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" />
</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="E:\task_api\testcases\task\loot" />
<recent name="E:\task_api\api\m_api\loot" />
<recent name="E:\task_api\testcases" />
<recent name="E:\task_api\api\m_api" />
<recent name="E:\task_api\testcases\task\member" />
</key>
<key name="MoveFile.RECENT_KEYS">
<recent name="E:\task_api\api\m_api\loot" />
<recent name="E:\task_api\testcases\task\loot" />
<recent name="E:\mmm-auto\ability_api\api\login_api\auth" />
<recent name="F:\PycharmProjects\ability_api\data" />
<recent name="F:\PycharmProjects\ability_api\common" />
<recent name="F:\PycharmProjects\ability_api\testcases\firstpage_Statistics\pf_statistics" />
</key>
<key name="CopyFile.RECENT_KEYS">
<recent name="E:\task_api\api\m_api\loot" />
<recent name="E:\task_api\api\m_api" />
<recent name="E:\task_api\testcases\task\loot" />
<recent name="E:\task_api\testcases" />
<recent name="E:\task_api\testcases\task\member" />
</key>
</component>
<component name="RunDashboard">
... ... @@ -550,6 +574,7 @@
<workItem from="1597713977893" duration="4245000" />
<workItem from="1597719772484" duration="2591000" />
<workItem from="1597729715453" duration="13232000" />
<workItem from="1597801010469" duration="16146000" />
</task>
<task id="LOCAL-00001" summary="优化测试用例">
<created>1571644787323</created>
... ... @@ -877,7 +902,7 @@
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="309076000" />
<option name="totallyTimeSpent" value="325222000" />
</component>
<component name="TodoView" selected-index="3">
<todo-panel id="selected-file">
... ... @@ -890,7 +915,7 @@
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
<layout>
<window_info content_ui="combo" id="Project" order="0" sideWeight="0.49761903" visible="true" weight="0.2387339" />
<window_info content_ui="combo" id="Project" order="0" sideWeight="0.49761903" visible="true" weight="0.24195279" />
<window_info id="Structure" order="1" sideWeight="0.50238097" side_tool="true" weight="0.30711043" />
<window_info id="Favorites" order="2" sideWeight="0.50238097" side_tool="true" weight="0.30711043" />
<window_info anchor="bottom" id="Message" order="0" />
... ... @@ -904,7 +929,7 @@
<window_info anchor="bottom" id="Version Control" order="8" sideWeight="0.49848714" weight="0.328125" />
<window_info anchor="bottom" id="Database Changes" order="9" />
<window_info anchor="bottom" id="Event Log" order="10" sideWeight="0.50226927" side_tool="true" weight="0.32879046" />
<window_info active="true" anchor="bottom" id="Terminal" order="11" sideWeight="0.4977307" visible="true" weight="0.43191963" />
<window_info anchor="bottom" id="Terminal" order="11" sideWeight="0.4977307" weight="0.43191963" />
<window_info anchor="bottom" id="Python Console" order="12" weight="0.328125" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
... ... @@ -987,331 +1012,297 @@
<option name="LAST_COMMIT_MESSAGE" value="update 2020005122330" />
</component>
<component name="editorHistoryManager">
<entry file="file://$USER_HOME$/AppData/Local/Programs/Python/Python38/Lib/site-packages/httprunner/api.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="158">
<caret line="64" selection-start-line="64" selection-end-line="64" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/login_api/auth/anonymousLogin_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="416">
<caret line="16" column="9" lean-forward="true" selection-start-line="16" selection-start-column="9" selection-end-line="16" selection-end-column="28" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/login_api/auth/login_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="78">
<caret line="6" selection-start-line="6" selection-end-line="6" selection-end-column="56" />
</state>
</provider>
<entry file="file://$PROJECT_DIR$/api/app_api/question_api/audits_ireview_api.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/m_func.py">
<entry file="file://$PROJECT_DIR$/debugtalk.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="423">
<caret line="82" column="26" selection-start-line="82" selection-start-column="4" selection-end-line="82" selection-end-column="26" />
<state relative-caret-position="156">
<caret line="16" column="21" selection-start-line="16" selection-start-column="4" selection-end-line="16" selection-end-column="21" />
<folding>
<element signature="e#117#128#0" expanded="true" />
<element signature="e#0#11#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/member/member_set_permission_testcases.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/taskPublish_0_0_0_api.yml" />
<entry file="file://$PROJECT_DIR$/testcases/task/save_taskPublish_0_1_api.yml" />
<entry file="file://$PROJECT_DIR$/testcases/task/loot/save_taskPublish_0_0_api.yml" />
<entry file="file://$PROJECT_DIR$/api/m_api/member/member_list_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="312">
<caret line="21" column="17" selection-start-line="21" selection-start-column="17" selection-end-line="21" selection-end-column="17" />
<state relative-caret-position="197">
<caret line="13" column="40" lean-forward="true" selection-start-line="8" selection-end-line="13" selection-end-column="40" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/member/member_set_permission_api.yml">
<entry file="file://$PROJECT_DIR$/testcases/task/member/member_list_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="338">
<caret line="31" column="10" selection-start-line="31" selection-start-column="10" selection-end-line="31" selection-end-column="10" />
<state relative-caret-position="163">
<caret line="11" column="4" lean-forward="true" selection-start-line="11" selection-start-column="4" selection-end-line="11" selection-end-column="45" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX002_pf_levelequal_permission.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/api/app_api/question_api/audits_ireview_api.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/pg_db_func.py">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/update_taskPublish_api.yml" />
<entry file="file://$PROJECT_DIR$/api/m_api/loot/taskPublish_0_1_api.yml" />
<entry file="file://$PROJECT_DIR$/api/m_api/loot/task_delete_api.yml" />
<entry file="file://$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_testcase.yml" />
<entry file="file://$PROJECT_DIR$/api/m_api/task_delete_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1196">
<caret line="46" column="15" selection-start-line="46" selection-start-column="15" selection-end-line="46" selection-end-column="15" />
<state relative-caret-position="442">
<caret line="17" column="20" selection-start-line="17" selection-start-column="20" selection-end-line="17" selection-end-column="20" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/debugtalk.py">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/taskPublish_0_1_0_api.yml" />
<entry file="file://$PROJECT_DIR$/api/m_api/login_api/auth/pwdLogin_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="156">
<caret line="16" column="21" selection-start-line="16" selection-start-column="4" selection-end-line="16" selection-end-column="21" />
<folding>
<element signature="e#0#11#0" expanded="true" />
</folding>
<state relative-caret-position="-130">
<caret line="4" column="30" selection-start-line="4" selection-start-column="30" selection-end-line="4" selection-end-column="30" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/loot/taskPublish_0_0_0_api.yml">
<entry file="file://$PROJECT_DIR$/.env">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="182">
<caret line="29" column="14" selection-start-line="29" selection-start-column="14" selection-end-line="29" selection-end-column="18" />
<state relative-caret-position="130">
<caret line="5" column="8" selection-start-line="5" selection-end-line="5" selection-end-column="8" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/save_taskPublish_0_1_api.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/taskStatistics.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/api/task_api/task/rewards/rewards_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="312">
<caret line="12" column="55" selection-start-line="12" selection-start-column="55" selection-end-line="12" selection-end-column="55" />
</state>
<state relative-caret-position="-312" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/loot/save_taskPublish_0_0_api.yml">
<entry file="file://$PROJECT_DIR$/api/task_api/task/taskStatistics.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/member/member_list_api.yml">
<entry file="file://$PROJECT_DIR$/api/app_api/login_api/auth/accessToken_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="197">
<caret line="13" column="40" lean-forward="true" selection-start-line="8" selection-end-line="13" selection-end-column="40" />
<state relative-caret-position="364">
<caret line="26" column="9" selection-start-line="26" selection-start-column="9" selection-end-line="26" selection-end-column="9" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/member/member_list_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="163">
<caret line="11" column="4" lean-forward="true" selection-start-line="11" selection-start-column="4" selection-end-line="11" selection-end-column="45" />
</state>
</provider>
<entry file="file://$PROJECT_DIR$/api/app_api/login_api/auth/8_gettimestamp_api.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/loot/update_taskPublish_api.yml">
<entry file="file://$PROJECT_DIR$/api/app_api/login_api/auth/authorize_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="364">
<caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
<state relative-caret-position="754">
<caret line="29" column="9" selection-start-line="29" selection-start-column="9" selection-end-line="29" selection-end-column="9" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/loot/taskPublish_0_1_api.yml">
<entry file="file://$PROJECT_DIR$/api/app_api/login_api/task/authorize_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-398" />
<state relative-caret-position="-130">
<caret line="10" column="37" selection-start-line="10" selection-start-column="6" selection-end-line="10" selection-end-column="37" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/loot/task_delete_api.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_testcase.yml">
<entry file="file://$PROJECT_DIR$/api/app_api/login_api/task/accessToken_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="252">
<caret line="18" column="38" selection-start-line="18" selection-start-column="38" selection-end-line="18" selection-end-column="38" />
<state relative-caret-position="-312">
<caret line="9" column="40" selection-start-line="9" selection-start-column="40" selection-end-line="9" selection-end-column="40" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/task_delete_api.yml">
<entry file="file://$PROJECT_DIR$/testcases/task_login_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="442">
<caret line="17" column="20" selection-start-line="17" selection-start-column="20" selection-end-line="17" selection-end-column="20" />
<caret line="17" column="46" selection-start-line="17" selection-start-column="46" selection-end-line="17" selection-end-column="46" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/rewards/submitCompete_0_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="234">
<caret line="18" selection-start-line="18" selection-end-line="19" selection-end-column="40" />
<state>
<caret selection-end-line="31" selection-end-column="15" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_delete_testcase.yml">
<entry file="file://$USER_HOME$/AppData/Local/Programs/Python/Python38/Lib/site-packages/urllib3/request.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="572">
<caret line="22" column="31" selection-start-line="22" selection-start-column="31" selection-end-line="22" selection-end-column="31" />
<state relative-caret-position="371">
<caret line="170" selection-start-line="170" selection-end-line="170" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/loot/taskPublish_0_1_0_api.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/login_api/auth/pwdLogin_api.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/login_api/auth/login_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-130">
<caret line="4" column="30" selection-start-line="4" selection-start-column="30" selection-end-line="4" selection-end-column="30" />
<state relative-caret-position="130">
<caret line="5" selection-start-line="5" selection-end-line="6" selection-end-column="56" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/task_open_api.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/task_rewards_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="416">
<caret line="16" column="18" selection-start-line="16" selection-start-column="18" selection-end-line="16" selection-end-column="18" />
<state relative-caret-position="-78">
<caret column="12" selection-start-column="12" selection-end-column="12" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.env">
<entry file="file://$PROJECT_DIR$/testcases/m_login_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="130">
<caret line="5" column="8" selection-start-line="5" selection-end-line="5" selection-end-column="8" />
<state relative-caret-position="-754">
<caret line="7" lean-forward="true" selection-start-line="7" selection-end-line="8" selection-end-column="33" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/task_Details_api.yml">
<entry file="file://$PROJECT_DIR$/testcases/task/task_rewards_taskDetails_testcase.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="598">
<caret line="23" column="9" selection-start-line="23" selection-start-column="9" selection-end-line="23" selection-end-column="9" />
<state relative-caret-position="264">
<caret line="25" column="50" selection-start-line="25" selection-start-column="50" selection-end-line="25" selection-end-column="50" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/login_api/auth/userCompamies_api.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/api/app_api/login_api/auth/ucenter_login_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-204">
<state relative-caret-position="78">
<caret line="9" column="20" selection-start-line="9" selection-start-column="20" selection-end-line="9" selection-end-column="20" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/taskStatistics.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/api/task_api/task/rewards/rewards_api.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/task_Details_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-312" />
<state relative-caret-position="364">
<caret line="14" column="33" lean-forward="true" selection-start-line="14" selection-start-column="33" selection-end-line="14" selection-end-column="33" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/task_api/task/taskStatistics.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/api/app_api/login_api/auth/accessToken_api.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/task_open_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="364">
<caret line="26" column="9" selection-start-line="26" selection-start-column="9" selection-end-line="26" selection-end-column="9" />
<state relative-caret-position="104">
<caret line="4" column="8" selection-start-line="4" selection-start-column="8" selection-end-line="4" selection-end-column="24" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/app_api/login_api/auth/8_gettimestamp_api.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/api/app_api/login_api/auth/authorize_api.yml">
<entry file="file://$PROJECT_DIR$/testcases/login_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="754">
<caret line="29" column="9" selection-start-line="29" selection-start-column="9" selection-end-line="29" selection-end-column="9" />
<state relative-caret-position="-542">
<caret line="7" selection-start-line="7" selection-end-line="11" selection-end-column="45" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/login_func.py">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/task_loot_detail_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="218">
<caret line="59" column="38" selection-start-line="59" selection-start-column="4" selection-end-line="59" selection-end-column="38" />
<folding>
<element signature="e#107#119#0" expanded="true" />
</folding>
<state relative-caret-position="238">
<caret line="26" selection-start-line="26" selection-end-line="28" selection-end-column="17" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/app_api/login_api/task/authorize_api.yml">
<entry file="file://$PROJECT_DIR$/testcases/task/taskPublish_QD/QDRW001.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-130">
<caret line="10" column="37" selection-start-line="10" selection-start-column="6" selection-end-line="10" selection-end-column="37" />
<state relative-caret-position="234">
<caret line="12" selection-start-line="12" selection-end-line="13" selection-end-column="35" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/app_api/login_api/task/accessToken_api.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/loot_task_reject_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-312">
<caret line="9" column="40" selection-start-line="9" selection-start-column="40" selection-end-line="9" selection-end-column="40" />
<state relative-caret-position="272">
<caret line="27" column="14" selection-start-line="27" selection-start-column="14" selection-end-line="27" selection-end-column="14" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/m_login_testcases.yml">
<entry file="file://$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-984">
<caret line="8" column="31" selection-start-line="8" selection-start-column="31" selection-end-line="8" selection-end-column="31" />
<state relative-caret-position="264">
<caret line="31" column="36" selection-start-line="31" selection-start-column="10" selection-end-line="31" selection-end-column="36" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task_login_testcases.yml">
<entry file="file://$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_delete_testcase.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="442">
<caret line="17" column="46" selection-start-line="17" selection-start-column="46" selection-end-line="17" selection-end-column="46" />
<state relative-caret-position="104">
<caret line="4" selection-start-line="4" selection-end-line="4" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/task_rewards_api.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/task_resource_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret column="12" selection-start-column="12" selection-end-column="12" />
<caret line="9" column="4" selection-start-line="9" selection-start-column="4" selection-end-line="9" selection-end-column="4" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/loot/tasksearchResources_api.yml">
<entry file="file://$PROJECT_DIR$/helpfunc/login_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-156" />
<state relative-caret-position="133">
<caret line="141" column="4" selection-start-line="141" selection-start-column="4" selection-end-line="141" selection-end-column="18" />
<folding>
<element signature="e#107#119#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/task_rewards_taskDetails_testcase.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/loot_update_0_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="342">
<caret line="25" column="50" selection-start-line="25" selection-start-column="50" selection-end-line="25" selection-end-column="50" />
<state relative-caret-position="260">
<caret line="25" column="36" selection-start-line="25" selection-start-column="36" selection-end-line="25" selection-end-column="36" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/rewards/submitCompete_0_api.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/tasksearchResources_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret selection-end-line="31" selection-end-column="15" />
</state>
<state relative-caret-position="-468" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/login_testcases.yml">
<entry file="file://$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_open_testcase.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="338">
<caret line="13" column="29" selection-start-line="13" selection-start-column="29" selection-end-line="13" selection-end-column="29" />
<state relative-caret-position="134">
<caret line="34" selection-start-line="34" selection-end-line="40" selection-end-column="16" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/loot/submitCompete_loot_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="108">
<state relative-caret-position="-360">
<caret line="6" column="29" selection-start-line="6" selection-start-column="29" selection-end-line="6" selection-end-column="29" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/loot/loot_update_0_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="104">
<caret line="4" column="34" selection-start-line="4" selection-start-column="10" selection-end-line="4" selection-end-column="34" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/loot/loot_task_reject_api.yml">
<entry file="file://$PROJECT_DIR$/testsuites/task_suites.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-390">
<caret column="6" lean-forward="true" selection-start-column="6" selection-end-column="11" />
<state relative-caret-position="30">
<caret line="15" column="15" selection-start-line="15" selection-start-column="15" selection-end-line="15" selection-end-column="15" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testsuites/task_suites.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/loot_task_confirm_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="290">
<caret line="28" column="9" lean-forward="true" selection-start-line="28" selection-start-column="9" selection-end-line="28" selection-end-column="9" />
<state relative-caret-position="442">
<caret line="17" column="25" selection-start-line="17" selection-start-column="25" selection-end-line="17" selection-end-column="25" />
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/AppData/Local/Programs/Python/Python38/Lib/site-packages/urllib3/request.py">
<entry file="file://$PROJECT_DIR$/helpfunc/m_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="371">
<caret line="170" selection-start-line="170" selection-end-line="170" />
<state relative-caret-position="136">
<caret line="84" selection-start-line="84" selection-end-line="84" />
<folding>
<element signature="e#117#128#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/loot/loot_task_reject_testcase.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="26">
<caret line="1" column="38" selection-start-line="1" selection-start-column="38" selection-end-line="1" selection-end-column="38" />
<state relative-caret-position="676">
<caret line="26" column="35" selection-start-line="26" selection-start-column="35" selection-end-line="26" selection-end-column="35" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_open_testcase.yml">
<entry file="file://$PROJECT_DIR$/helpfunc/pg_db_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="238">
<caret line="10" column="21" selection-start-line="10" selection-start-column="21" selection-end-line="10" selection-end-column="21" />
<state relative-caret-position="555">
<caret line="82" column="17" lean-forward="true" selection-start-line="82" selection-start-column="17" selection-end-line="82" selection-end-column="17" />
</state>
</provider>
</entry>
... ...
name: 中标
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
uid: $uid
method: POST
url: /v1/task/bidTask
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 中标成功
\ No newline at end of file
name: 任务-我发布的-待验收
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
pageIndex: 0
pageSize: 20
action: 3
method: POST
url: /v1/task/iPublishedTasks
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
name: 保存任务
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
title: API测试竞标任务名称${get_nowtime()}
content: API测试竞标任务内容${get_nowtime()}
bidStartTime: ${get_bidStartTime()}
bidEndTime: ${get_bidEndTime()}
msg: '保存成功'
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: 0
action: 0
type: 1
title: $title
content: $content
acceptability:
images:
nature:
csVals:
bidStartTime: $bidStartTime
bidEndTime: $bidEndTime
bonus: 0
isReward: False
method: POST
url: /v1/task/taskPublish
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 保存成功
# - $msg
\ No newline at end of file
name: 发布任务
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
title1: API测试竞标任务名称:${get_nowtime()}
content: API测试竞标任务内容:${get_nowtime()}
acceptability: API测试验收标准:${get_nowtime()}
nature_id: 2
csVals_id13: 13
csVals_id3: 3
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: 0
action: 1
type: 0
title: $title1
content: $content
acceptability: $acceptability
images:
nature:
id: $nature_id
name: 线
csVals:
- id: $csVals_id3
name: 色泽
- id: $csVals_id13
name: 账期
bidStartTime: 0
bidEndTime: 0
bonus: 1000
refResources:
- id: $refResources_id
rType: $rType
serialNo: $serialNo
title: $title
isReward: True
method: POST
url: /v1/task/taskPublish
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 发布成功
# - $msg
\ No newline at end of file
name: 发布任务
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
title1: API测试竞标任务名称:${get_nowtime()}
content: API测试竞标任务内容:${get_nowtime()}
acceptability: API测试验收标准:${get_nowtime()}
nature_id: 2
csVals_id13: 13
csVals_id3: 3
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
action: 1
type: 1
title: $title1
content: $content
acceptability: $acceptability
images:
nature:
id: $nature_id
name: 线
csVals:
- id: $csVals_id3
name: 色泽
- id: $csVals_id13
name: 账期
bidStartTime: 0
bidEndTime: 0
bonus: 1000
refResources:
- id: $refResources_id
rType: $rType
serialNo: $serialNo
title: $title
isReward: False
method: POST
url: /v1/task/taskPublish
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 发布成功
# - $msg
\ No newline at end of file
name: 搜索引用资源
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
keyword: ${get_serialNo()}
method: POST
url: /v1/task/searchResources
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
name: 编辑任务:/v1/task/taskPublish
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
title: API测试任务名称${get_nowtime()}
content: API测试任务描述${get_nowtime()}
acceptability: API测试验收标准${get_nowtime()}
nature_id: 2
csVals_id13: 13
csVals_id3: 3
bidStartTime: ${get_bidStartTime()}
bidEndTime: ${get_bidEndTime()}
msg: '保存成功'
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
action: 0
type: 1
title: $title
content: $content
acceptability: $acceptability
images:
nature:
id: $nature_id
name: 线
csVals:
- id: $csVals_id3
name: 色泽
- id: $csVals_id13
name: 账期
bidStartTime: $bidStartTime
bidEndTime: $bidEndTime
bonus: 1000
isReward: False
method: POST
url: /v1/task/taskPublish
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 更新成功
# - $msg
\ No newline at end of file
name: 确认领取人
base_url: ${ENV(base_worth_url)}
verify: False
variables:
id: ${get_task_id()}
reason: 驳回理由${get_nowtime()}
msg: ok
request:
headers:
Content-Type: application/json; charset=UTF-8
Authorization: Bearer ${get_task_Authorization()}
Origin: https://value-test.fjmaimaimai.com
Referer: https://value-test.fjmaimaimai.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
X-Requested-With: XMLHttpRequest
json:
taskId: $id
planTime: $reason
type: 1
method: POST
url: task/loot/confirm
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- $msg
\ No newline at end of file
... ...
... ... @@ -2,6 +2,7 @@ name: 驳回领取人
base_url: ${ENV(base_worth_url)}
verify: False
variables:
id: ${get_task_id()}
reason: 驳回理由${get_nowtime()}
msg: ok
request:
... ...
... ... @@ -6,6 +6,8 @@ variables:
acceptanceCriteria: 测试抢单任务的验收标准${get_nowtime()}
description: 测试抢单任务的任务描述${get_nowtime()}
msg: ok
teardown_hooks:
- ${teardown_hook_get_task_id($response)}
request:
headers:
Content-Type: application/json; charset=UTF-8
... ... @@ -16,8 +18,12 @@ request:
X-Requested-With: XMLHttpRequest
json:
name: $name
# resourceType:
# resourceList:
resourceType: 1
resourceList:
- id: ${get_resource_id()}
title: ${get_resource_title()}
content: ${get_resource_content()}
serial: ${get_serialNo()}
customerValue:
- 31
taskCharacter: 12
... ...
name: 抢单任务详情
base_url: ${ENV(base_worth_url)}
verify: False
variables:
id: ${get_task_id()}
status: ${get_task_status_from_database()}
msg: ok
request:
headers:
Content-Type: application/json; charset=UTF-8
Authorization: Bearer ${get_task_Authorization()}
Origin: https://value-test.fjmaimaimai.com
Referer: https://value-test.fjmaimaimai.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
X-Requested-With: XMLHttpRequest
json:
id: $id
method: POST
url: task/loot/detail
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- $msg
- eq:
- content.data.status
- $status
\ No newline at end of file
... ...
name: 搜索引用资源
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
keyword: ${get_serialNo()}
method: POST
url: /v1/task/searchResources
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
name: 公司任务(进行中、已完成)
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
pageIndex: 0
pageSize: 20
newest: 1
action: 0
method: POST
url: /v1/task/currentTasks
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
\ No newline at end of file
name: 公司任务(已完成)
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
pageIndex: 0
pageSize: 20
newest: 1
action: 1
method: POST
url: /v1/task/currentTasks
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
\ No newline at end of file
name: 公司悬赏任务
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
pageIndex: 0
pageSize: 20
method: POST
url: /v1/task/rewards
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
\ No newline at end of file
name: 抢单
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
action: 0
method: POST
url: /v1/task/submitCompete
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 抢单成功!
\ No newline at end of file
name: 竞标
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
action: 1
method: POST
url: /v1/task/submitCompete
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
\ No newline at end of file
name: 获取任务数量统计
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
method: POST
url: /v1/task/taskStatistics
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
# - $msg
\ No newline at end of file
... ... @@ -2,6 +2,7 @@ name: 发布任务
base_url: ${ENV(base_worth_url)}
verify: False
variables:
id: ${get_task_id()}
msg: ok
request:
headers:
... ...
name: 引用资源
base_url: ${ENV(base_worth_url)}
verify: False
variables:
resourceCode: ${get_serialNo()}
msg: ok
teardown_hooks:
- ${teardown_hook_get_resource_id($response)}
- ${teardown_hook_get_resource_title($response)}
- ${teardown_hook_get_resource_content($response)}
request:
headers:
Content-Type: application/json; charset=UTF-8
Authorization: Bearer ${get_task_Authorization()}
Origin: https://value-test.fjmaimaimai.com
Referer: https://value-test.fjmaimaimai.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
X-Requested-With: XMLHttpRequest
json:
resourceType: 1
resourceCode: $resourceCode
method: POST
url: task/resource
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- $msg
\ No newline at end of file
... ...
name: 我要验收
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
solveReport: API上传解决报告${get_nowtime()}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
resourceAwards:
- id: $refResources_id
providers:
- percent: 25
score: 11.25
uid: $uid11
uname: $uname11
- percent: 25
score: 11.25
uid: $uid0
uname: $uname0
- percent: 25
score: 11.25
uid: $uid1
uname: $uname1
- percent: 25
score: 11.25
uid: $uid8
uname: $uname8
rType: $rType
serialNo: $serialNo
title: $title
# solveImages:
## - h: 1334
## isLocal: false
## lastOneCount: 0
## path: http://ability-test.fjmaimaimai.com:8899/html/ab/1588952391025416660.jpg
## w: 750
solveReport: $solveReport
taskAwards:
- bonus: 250
percent: 25
uid: $uid11
uname: $uname11
- bonus: 250
percent: 25
uid: $uid0
uname: $uname0
- bonus: 250
percent: 25
uid: $uid1
uname: $uname1
- bonus: 250
percent: 25
uid: $uid8
uname: $uname8
method: POST
url: /v1/task/checkAccept
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 验收成功
\ No newline at end of file
name: 任务关闭
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
reason: API测试关闭任务理由:${get_nowtime()}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
reason: $reason
method: POST
url: /v1/task/closeTask
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 关闭成功
# - $msg
\ No newline at end of file
name: 完成任务
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
method: POST
url: /v1/task/finishTask
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 完成成功
name: 中标
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
uid: $uid
method: POST
url: /v1/task/bidTask
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 中标成功
\ No newline at end of file
name: 任务-待发布
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
pageIndex: 0
pageSize: 20
action: 0
method: POST
url: /v1/task/iPublishedTasks
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
# - $msg
\ No newline at end of file
name: 任务删除
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
method: POST
url: /v1/task/deleteTask
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 删除成功
# - $msg
\ No newline at end of file
name: 企业所有员工
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
method: POST
url: /v1/employee/allEmployees
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 查找成功
\ No newline at end of file
name: 任务-我发布的-待验收
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
pageIndex: 0
pageSize: 20
action: 3
method: POST
url: /v1/task/iPublishedTasks
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
name: 保存任务
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
title: API测试竞标任务名称${get_nowtime()}
content: API测试竞标任务内容${get_nowtime()}
bidStartTime: ${get_bidStartTime()}
bidEndTime: ${get_bidEndTime()}
msg: '保存成功'
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: 0
action: 0
type: 1
title: $title
content: $content
acceptability:
images:
nature:
csVals:
bidStartTime: $bidStartTime
bidEndTime: $bidEndTime
bonus: 0
isReward: False
method: POST
url: /v1/task/taskPublish
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 保存成功
# - $msg
\ No newline at end of file
name: 发布任务
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
title1: API测试竞标任务名称:${get_nowtime()}
content: API测试竞标任务内容:${get_nowtime()}
acceptability: API测试验收标准:${get_nowtime()}
nature_id: 2
csVals_id13: 13
csVals_id3: 3
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: 0
action: 1
type: 0
title: $title1
content: $content
acceptability: $acceptability
images:
nature:
id: $nature_id
name: 线
csVals:
- id: $csVals_id3
name: 色泽
- id: $csVals_id13
name: 账期
bidStartTime: 0
bidEndTime: 0
bonus: 1000
refResources:
- id: $refResources_id
rType: $rType
serialNo: $serialNo
title: $title
isReward: True
method: POST
url: /v1/task/taskPublish
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 发布成功
# - $msg
\ No newline at end of file
name: 发布任务
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
title1: API测试竞标任务名称:${get_nowtime()}
content: API测试竞标任务内容:${get_nowtime()}
acceptability: API测试验收标准:${get_nowtime()}
nature_id: 2
csVals_id13: 13
csVals_id3: 3
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
action: 1
type: 1
title: $title1
content: $content
acceptability: $acceptability
images:
nature:
id: $nature_id
name: 线
csVals:
- id: $csVals_id3
name: 色泽
- id: $csVals_id13
name: 账期
bidStartTime: 0
bidEndTime: 0
bonus: 1000
refResources:
- id: $refResources_id
rType: $rType
serialNo: $serialNo
title: $title
isReward: False
method: POST
url: /v1/task/taskPublish
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 发布成功
# - $msg
\ No newline at end of file
name: 搜索引用资源
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
keyword: ${get_serialNo()}
method: POST
url: /v1/task/searchResources
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
name: 编辑任务:/v1/task/taskPublish
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
title: API测试任务名称${get_nowtime()}
content: API测试任务描述${get_nowtime()}
acceptability: API测试验收标准${get_nowtime()}
nature_id: 2
csVals_id13: 13
csVals_id3: 3
bidStartTime: ${get_bidStartTime()}
bidEndTime: ${get_bidEndTime()}
msg: '保存成功'
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
action: 0
type: 1
title: $title
content: $content
acceptability: $acceptability
images:
nature:
id: $nature_id
name: 线
csVals:
- id: $csVals_id3
name: 色泽
- id: $csVals_id13
name: 账期
bidStartTime: $bidStartTime
bidEndTime: $bidEndTime
bonus: 1000
isReward: False
method: POST
url: /v1/task/taskPublish
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 更新成功
# - $msg
\ No newline at end of file
name: 保存任务
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
title: API测试抢单任务名称${get_nowtime()}
content: API测试抢单任务内容${get_nowtime()}
msg: '保存成功'
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: 0
action: 0
type: 0
title: $title
content: $content
acceptability:
images:
nature:
csVals:
bidStartTime: 0
bidEndTime: 0
bonus: 0
isReward: False
method: POST
url: /v1/task/taskPublish
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 保存成功
# - $msg
\ No newline at end of file
name: 发布任务
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
title1: API测试抢单任务名称:${get_nowtime()}
content: API测试任抢单务内容:${get_nowtime()}
acceptability: API测试验收标准:${get_nowtime()}
nature_id: 2
csVals_id13: 13
csVals_id3: 3
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: 0
action: 1
type: 0
title: $title1
content: $content
acceptability: $acceptability
images:
nature:
id: $nature_id
name: 线
csVals:
- id: $csVals_id3
name: 色泽
- id: $csVals_id13
name: 账期
bidStartTime: 0
bidEndTime: 0
bonus: 1000
refResources:
- id: $refResources_id
rType: $rType
serialNo: $serialNo
title: $title
isReward: True
method: POST
url: /v1/task/taskPublish
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 发布成功
# - $msg
\ No newline at end of file
name: 发布任务
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
title1: API测试抢单任务名称:${get_nowtime()}
content: API测试抢单任务内容:${get_nowtime()}
acceptability: API测试验收标准:${get_nowtime()}
nature_id: 2
csVals_id13: 13
csVals_id3: 3
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
action: 1
type: 0
title: $title1
content: $content
acceptability: $acceptability
images:
nature:
id: $nature_id
name: 线
csVals:
- id: $csVals_id3
name: 色泽
- id: $csVals_id13
name: 账期
bidStartTime: 0
bidEndTime: 0
bonus: 1000
# refResources:
# - id: $refResources_id
# rType: $rType
# serialNo: $serialNo
# title: $title
isReward: False
method: POST
url: /v1/task/taskPublish
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 发布成功
# - $msg
\ No newline at end of file
name: 搜索引用资源
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
keyword: ${get_serialNo()}
method: POST
url: /v1/task/searchResources
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
name: 编辑任务:/v1/task/taskPublish
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
title: API测试任务名称${get_nowtime()}
content: API测试任务描述${get_nowtime()}
acceptability: API测试验收标准${get_nowtime()}
nature_id: 2
csVals_id13: 13
csVals_id3: 3
msg: '保存成功'
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
action: 0
type: 0
title: $title
content: $content
acceptability: $acceptability
images:
nature:
id: $nature_id
name: 线
csVals:
- id: $csVals_id3
name: 色泽
- id: $csVals_id13
name: 账期
bidStartTime: 0
bidEndTime: 0
bonus: 1000
isReward: False
method: POST
url: /v1/task/taskPublish
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 更新成功
# - $msg
\ No newline at end of file
name: 公司任务(进行中、已完成)
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
pageIndex: 0
pageSize: 20
newest: 1
action: 0
method: POST
url: /v1/task/currentTasks
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
\ No newline at end of file
name: 公司任务(已完成)
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
pageIndex: 0
pageSize: 20
newest: 1
action: 1
method: POST
url: /v1/task/currentTasks
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
\ No newline at end of file
name: 公司悬赏任务
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
pageIndex: 0
pageSize: 20
method: POST
url: /v1/task/rewards
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
\ No newline at end of file
name: 竞标
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
action: 1
method: POST
url: /v1/task/submitCompete
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
\ No newline at end of file
name: 任务详情
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
method: POST
url: /v1/task/taskDetails
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取详情成功
# - $msg
\ No newline at end of file
name: 获取任务数量统计
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
method: POST
url: /v1/task/taskStatistics
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
# - $msg
\ No newline at end of file
name: 我要验收
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
solveReport: API上传解决报告${get_nowtime()}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
resourceAwards:
- id: $refResources_id
providers:
- percent: 25
score: 11.25
uid: $uid11
uname: $uname11
- percent: 25
score: 11.25
uid: $uid0
uname: $uname0
- percent: 25
score: 11.25
uid: $uid1
uname: $uname1
- percent: 25
score: 11.25
uid: $uid8
uname: $uname8
rType: $rType
serialNo: $serialNo
title: $title
# solveImages:
## - h: 1334
## isLocal: false
## lastOneCount: 0
## path: http://ability-test.fjmaimaimai.com:8899/html/ab/1588952391025416660.jpg
## w: 750
solveReport: $solveReport
taskAwards:
- bonus: 250
percent: 25
uid: $uid11
uname: $uname11
- bonus: 250
percent: 25
uid: $uid0
uname: $uname0
- bonus: 250
percent: 25
uid: $uid1
uname: $uname1
- bonus: 250
percent: 25
uid: $uid8
uname: $uname8
method: POST
url: /v1/task/checkAccept
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 验收成功
\ No newline at end of file
name: 任务关闭
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
reason: API测试关闭任务理由:${get_nowtime()}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
reason: $reason
method: POST
url: /v1/task/closeTask
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 关闭成功
# - $msg
\ No newline at end of file
name: 完成任务
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
method: POST
url: /v1/task/finishTask
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 完成成功
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvcHdkTG9naW4iLCJpYXQiOjE1OTc3NDA3MjgsImV4cCI6MTU5Nzc1MTUyOCwibmJmIjoxNTk3NzQwNzI4LCJqdGkiOiIySkNFTTc1M1gwS1hGekJ4Iiwic3ViIjozMjQ4ODE3NjEzNjgxNjY0LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU4Yzc5XHU1YjUwXHU1OTM0IiwicGhvbmUiOiIxOTk5MDAwMDAwOCIsImlkIjozMjQ4ODE3NjEzNjgxNjY0LCJhZG1pblR5cGUiOjF9.FfEeCCGaPcWzBbGvXuP3IlhmzMtnNFbhCmyUIOZDFzw
\ No newline at end of file
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvcHdkTG9naW4iLCJpYXQiOjE1OTc4MjA0NzgsImV4cCI6MTU5NzgzMTI3OCwibmJmIjoxNTk3ODIwNDc4LCJqdGkiOiJLMHVGaE90b0h3QjVaUTNVIiwic3ViIjozMjQ4ODE3NjEzNjgxNjY0LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU4Yzc5XHU1YjUwXHU1OTM0IiwicGhvbmUiOiIxOTk5MDAwMDAwOCIsImlkIjozMjQ4ODE3NjEzNjgxNjY0LCJhZG1pblR5cGUiOjF9.IY339vAQZJhww-BgP30gMZi8pGGKGlCOAzdXBCGetyI
\ No newline at end of file
... ...
cXHQREXFBPJb8GcTnkCTS4HpJ8FtF63n
\ No newline at end of file
AZJBnJMH3yWiM2ZmztrjRjHTEWx8wBmw
\ No newline at end of file
... ...
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvYW5vbnltb3VzTG9naW4iLCJpYXQiOjE1OTc3NDA3MjgsImV4cCI6MTU5Nzc1MTUyOCwibmJmIjoxNTk3NzQwNzI4LCJqdGkiOiJPOUlnTVVpTDB2WTgzUTcwIiwic3ViIjozMjQ4ODE3NjEzNjgxNjY0LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU4Yzc5XHU1YjUwXHU1OTM0IiwicGhvbmUiOiIxOTk5MDAwMDAwOCIsImlkIjozMjQ4ODE3NjEzNjgxNjY0LCJhZG1pblR5cGUiOjF9.DOSdAdphiklHcn8DyI1coaV__PrURFuP-LjM9wnpBtc
\ No newline at end of file
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvYW5vbnltb3VzTG9naW4iLCJpYXQiOjE1OTc4MjA0NzksImV4cCI6MTU5NzgzMTI3OSwibmJmIjoxNTk3ODIwNDc5LCJqdGkiOiJjVmY3cXh0eTc0NnlpTU9PIiwic3ViIjozMjQ4ODE3NjEzNjgxNjY0LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU4Yzc5XHU1YjUwXHU1OTM0IiwicGhvbmUiOiIxOTk5MDAwMDAwOCIsImlkIjozMjQ4ODE3NjEzNjgxNjY0LCJhZG1pblR5cGUiOjF9.X3IBf-zJCf-x45TuwFcNBfjQTfRtHM45JYtsJ2TJkiw
\ No newline at end of file
... ...
e7cho2n4xog
\ No newline at end of file
fb2822ppp7
\ No newline at end of file
... ...
6c2de35b691097827da9fdaadc060d696fea998ae89d47b415cb59304e9a8f1d6667af13
\ No newline at end of file
8f467f8e6ead3f721536a7cb0da991b08d29ea359844e2ced0209828ea5afa11bd0a89ce
\ No newline at end of file
... ...
2ZDJEvx/fovUMQPB9NZHPmJmGNl9JwdMdM6AkhdueNW9sAHX96uY3nefCSuUI6+B7CI569mHJLFQuV9uLc3KRW2oCO60eSm5NT229w31JLo9dmTiERHRTqFStYLOlJ2WGvPIFpfJYph0U4RdeETsobcipEidZFO/lOSgeJlTV4g=
\ No newline at end of file
MJ3xHfRi1TbGye32qnBz8wfM7QIPqtAw3XZ01ATnarloQsoWh42jNhkrSiCvPmpwwvv5IJLOlzVO/tXEgBgWyxApTQzbE+ez2UfF80JaUdab1S4CmDkYWh02XQcW3mT2Q4VYCRQ3/M141kWF9dRRe/suLqlTo5HOkO8MHYxNsQ4=
\ No newline at end of file
... ...
мֵ16
\ No newline at end of file
... ...
3272336326492416
\ No newline at end of file
... ...
мֵ16
\ No newline at end of file
... ...
10984
\ No newline at end of file
... ...
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtd29ydGgtd2ViLWdhdGV3YXktdGVzdC5mam1haW1haW1haS5jb21cL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTk3NzQwNzI4LCJleHAiOjE1OTc3NTE1MjgsIm5iZiI6MTU5Nzc0MDcyOCwianRpIjoiend6TkFRMHAyVlJGRUh2ciIsInN1YiI6MzI0ODgxNzYxMzY4MTY2NCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSIsImNvbXBhbnlJZCI6MzY2LCJuaWNrbmFtZSI6Ilx1OGM3OVx1NWI1MFx1NTkzNCIsInBob25lIjoiMTk5OTAwMDAwMDgiLCJ1aWQiOjMyNDg4MTc2MTM2ODE2NjQsImFkbWluVHlwZSI6Mn0.4mHXF2konr4c5HFt8et25TUrQhMezqoKYBJP2UnA3lo
\ No newline at end of file
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtd29ydGgtd2ViLWdhdGV3YXktdGVzdC5mam1haW1haW1haS5jb21cL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTk3ODIwNDc5LCJleHAiOjE1OTc4MzEyNzksIm5iZiI6MTU5NzgyMDQ3OSwianRpIjoiU1JxT0FCWHhqTkNUa2pZNyIsInN1YiI6MzI0ODgxNzYxMzY4MTY2NCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSIsImNvbXBhbnlJZCI6MzY2LCJuaWNrbmFtZSI6Ilx1OGM3OVx1NWI1MFx1NTkzNCIsInBob25lIjoiMTk5OTAwMDAwMDgiLCJ1aWQiOjMyNDg4MTc2MTM2ODE2NjQsImFkbWluVHlwZSI6Mn0.A0Iz4gYyXNW463hZQb8WK0hnbSAg2CgGzciBaZ5h81g
\ No newline at end of file
... ...
kyn8hjpiSh4XHjfKnF5de4yxMXyraWC7
\ No newline at end of file
cfs2fyK6eJc7kQFB3RQb7zdmbrrH6r8p
\ No newline at end of file
... ...
2000w9mxyl7i
\ No newline at end of file
27jikz1cyjh
\ No newline at end of file
... ...
3017932248315331584
\ No newline at end of file
... ...
... ... @@ -35,7 +35,7 @@ def teardown_hook_get_serialNo(response):
try:
with open(path + 'config/serialNo.csv','w+') as f:
with open(path + 'config/serialNo.txt','w+') as f:
f.write(serialno)
print('写入成功,serialno:{}'.format(serialno))
f.close()
... ... @@ -141,7 +141,7 @@ def get_task_accesstoken():
def get_serialNo():
try:
with open(path + "config/serialNo.csv", 'r') as f:
with open(path + "config/serialNo.txt", 'r') as f:
serialno = f.read()
print('读取成功,serialno:{}'.format(serialno))
except Exception as e:
... ... @@ -249,3 +249,73 @@ def teardown_hook_get_cid(response):
except Exception as e:
print('写入失败', e)
return cid
#————————————————————————————————————————————————————————————————————————————————————————————————————————————
#引用资源模块
def teardown_hook_get_resource_id(response):
if response.status_code ==200:
jsondata = json.loads(response.text)
resource_id = str(jsondata['data']['list'][0]['id'])
try:
with open(path + "config/resource_id.txt", 'w+') as f:
f.write(resource_id)
print('写入成功,resource_id:{}'.format(resource_id))
except Exception as e:
print('写入失败', e)
return resource_id
def get_resource_id():
try:
with open(path + "config/resource_id.txt", 'r') as f:
resource_id = f.read()
print('读取成功,resource_id:{}'.format(resource_id))
except Exception as e:
print('读取失败', e)
resource_id = resource_id
return resource_id
def teardown_hook_get_resource_title(response):
if response.status_code ==200:
jsondata = json.loads(response.text)
resource_title = jsondata['data']['list'][0]['title']
try:
with open(path + "config/resource_title.txt", 'w+') as f:
f.write(resource_title)
print('写入成功,resource_title:{}'.format(resource_title))
except Exception as e:
print('写入失败', e)
return resource_title
def get_resource_title():
try:
with open(path + "config/resource_title.txt", 'r') as f:
resource_title = f.read()
print('读取成功,resource_id:{}'.format(resource_title))
except Exception as e:
print('读取失败', e)
resource_title = resource_title
return resource_title
def teardown_hook_get_resource_content(response):
if response.status_code ==200:
jsondata = json.loads(response.text)
resource_content = jsondata['data']['list'][0]['content']
try:
with open(path + "config/resource_content.txt", 'w+') as f:
f.write(resource_content)
print('写入成功,authCode:{}'.format(resource_content))
except Exception as e:
print('写入失败', e)
return resource_content
def get_resource_content():
try:
with open(path + "config/resource_content.txt", 'r') as f:
resource_content = f.read()
print('读取成功,resource_content:{}'.format(resource_content))
except Exception as e:
print('读取失败', e)
resource_content = resource_content
return resource_content
\ No newline at end of file
... ...
... ... @@ -69,6 +69,31 @@ def teardown_hook_get_login_code(response):
print('写入失败', e)
return res
def teardown_hook_get_task_id(response):
if response.status_code == 200:
jsondata = json.loads(response.text)
task_id =jsondata['data']['id']
try:
# 保存token到文件
with open(path + 'config/task_id.txt','w+') as f:
f.write(task_id)
print('写入成功,task_id:{}'.format(task_id))
f.close()
except Exception as e:
print('写入失败', e)
return task_id
def get_task_id():
try:
# 保存token到文件
with open(path + "config/task_id.txt", 'r') as f:
task_id = f.read()
print('读取成功,task_id:{}'.format(task_id))
except Exception as e:
print('读取失败', e)
# Authorization = str(Authorization)
return task_id
def get_Authorization():
try:
# 保存token到文件
... ...
... ... @@ -3,6 +3,7 @@
# Date: 2020/7/12 16:27
# @Author:bxh
# @file: pg_db_func.py
from helpfunc.m_func import *
import psycopg2
# 获得连接
... ... @@ -66,4 +67,21 @@ def get_employee_account_from_database():
print(err)
db.rollback()
db.close()
# print(get_admin_account_from_database())
\ No newline at end of file
#获取任务单的状态
def get_task_status_from_database():
db = GetConnect()
cursor = db.cursor()
# sql= "select id from " + '''"''' + tbl + '''"'''+ ' ' + 'order by id desc '
sql = '''select task_status from tasks where company_id = 366 and task_type = 1 and id = {} '''.format(get_task_id())
# print(sql)
try:
cursor.execute(sql)
result = cursor.fetchone()
return result[0]
except Exception as err:
# 发生错误时回滚
print(err)
db.rollback()
db.close()
print(get_task_status_from_database())
\ No newline at end of file
... ...
... ... @@ -23,26 +23,24 @@ teststeps:
- content.data.questions.0.id
- $qid
#- name: 19990000011审核问题
# api: api/app_api/question_api/auditquestion_api.yml
#
#- name: 19990000011查看问题详情
# api: api/app_api/question_api/questiondetail_api.yml
# teardown_hooks:
# - ${teardown_hook_get_serialNo($response)}
## validate:
## - eq:
## - content.data.question.serialNo
## - $serialno
#
#- name: 19990000011申请解决问题
# api: api/app_api/question_api/applyForQuestions_api.yml
#
#- name: 19990000011查看问题详情
# api: api/app_api/question_api/questiondetail_api.yml
- name: 19990000011审核问题
api: api/app_api/question_api/auditquestion_api.yml
- name: 19990000011查看问题详情
api: api/app_api/question_api/questiondetail_api.yml
teardown_hooks:
- ${teardown_hook_get_serialNo($response)}
# validate:
# - eq:
# - content.data.question.permission
# - 42
# - content.data.question.serialNo
# - $serialno
- name: 19990000011申请解决问题
api: api/app_api/question_api/applyForQuestions_api.yml
- name: 19990000011查看问题详情
api: api/app_api/question_api/questiondetail_api.yml
validate:
- eq:
- content.data.question.permission
- 42
\ No newline at end of file
... ...
config:
name: 19990000008保存抢单任务-发布任务-驳回领取人
name: 保存抢单任务-发布任务-驳回领取人
teststeps:
- name: 19990000008登录系统
- name: 登录系统
testcase: testcases/task/loot/save_loot_update_0_open_testcase.yml
- name: app端点击立即抢单
testcase: testcases/task/task_rewards_taskDetails_testcase.yml
- name: 19990000000驳回领取人
- name: 驳回领取人
api: api/m_api/loot/loot_task_reject_api.yml
variables:
id: ${get_task_id()}
varidate:
validate:
- eq:
- content.msg
- ok
- name: 抢单任务详情
output:
- status
api: api/m_api/loot/task_loot_detail_api.yml
extract:
status: content.data.status
variables:
id: ${get_task_id()}
varidate:
validate:
- eq:
- content.msg
- ok
- eq:
- content.data.status
- $status
\ No newline at end of file
... ...
... ... @@ -3,12 +3,12 @@ config:
teststeps:
- name: 19990000008登录系统
- name: 登录系统
variables:
phone: ${ENV(wpftwphone)}
testcase: testcases/m_login_testcases.yml
- name: 19990000008保存任务
- name: 保存任务
output:
- id
api: api/m_api/loot/loot_update_0_api.yml
... ... @@ -22,7 +22,7 @@ teststeps:
- eq:
- content.data.id
- $id
- name: 19990000008删除任务
- name: 删除任务
api: api/m_api/task_delete_api.yml
varidate:
validate:
... ...
... ... @@ -3,25 +3,35 @@ config:
teststeps:
- name: 提问问题-审核问题-获取资源
testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml
- name: 19990000008登录系统
variables:
phone: ${ENV(wpftwphone)}
testcase: testcases/m_login_testcases.yml
- name: 引用资源
api: api/m_api/task_resource_api.yml
teardown_hooks:
- ${teardown_hook_get_resource_id($response)}
- ${teardown_hook_get_resource_title($response)}
- ${teardown_hook_get_resource_content($response)}
varidate:
validate:
- eq:
- content.msg
- ok
- name: 19990000000保存任务
output:
- id
api: api/m_api/loot/loot_update_0_api.yml
extract:
id: content.data.id
teardown_hooks:
- ${teardown_hook_get_task_id($response)}
varidate:
validate:
- eq:
- content.msg
- ok
- eq:
- content.data.id
- $id
- name: 19990000000发布任务
api: api/m_api/task_open_api.yml
varidate:
... ...
... ... @@ -13,17 +13,14 @@ testcases:
#- name: member_set_permission 成员管理设置权限
# testcase: testcases/task/member/member_set_permission_testcases.yml
#- name: member_set_permission 成员管理设置权限
#- name: 引用资源
# testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml
#- name: loot_update_0 抢单任务-保存任务-删除任务
# testcase: testcases/task/loot/save_loot_update_0_delete_testcase.yml
#- name: loot_update_open 抢单任务-保存任务-发布任务
# testcase: testcases/task/loot/save_loot_update_0_open_testcase.yml
#- name: app端点击立即抢单
### testcase: testcases/task/task_rewards_taskDetails_testcase.yml
- name: app端点击立即抢单
testcase: testcases/task/task_rewards_taskDetails_testcase.yml
- name: loot_task_reject:驳回领取人
testcase: testcases/task/loot/loot_task_reject_testcase.yml
\ No newline at end of file
#- name: loot_task_reject 抢单模式-驳回领取人-查看详情
# testcase: testcases/task/loot/loot_task_reject_testcase.yml
\ No newline at end of file
... ...