作者 bianxinhua

add README

正在显示 73 个修改的文件 包含 1496 行增加859 行删除
... ... @@ -3,7 +3,7 @@ pfphone=19990000011
pfphone1=19990000015
ckotherdeptphone=19990000012
pfphone2=18100000005
adminphone=19990000000
appphone=19990000000
password=123456
base_url=https://ability-test.fjmaimaimai.com
base_public_url = http://public-interface-test.fjmaimaimai.com/
... ...
... ... @@ -2,29 +2,48 @@
<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 beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/api/business_admin_api/login_api/auth/anonymousLogin_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/business_admin_api/login_api/auth/getSingleLoginMenus_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/business_admin_api/login_api/auth/login_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/business_admin_api/login_api/auth/pwdLogin_api.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/api/business_admin_api/login_api/auth/userCompamies_api.yml" beforeDir="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$/config/Authorization.txt" beforeDir="false" afterPath="$PROJECT_DIR$/config/Authorization.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/accessToken.csv" beforeDir="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" />
<change beforePath="$PROJECT_DIR$/config/cid.csv" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/config/credentials.csv" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/config/cuid.csv" beforeDir="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/muid.csv" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/config/serialNo.csv" beforeDir="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$/helpfunc/business_admin_func.py" beforeDir="false" afterPath="$PROJECT_DIR$/helpfunc/m_func.py" 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$/run.py" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/sendmsg.py" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testcases_excel/能力展示需实现自动化用例.xlsx" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/testsuites/ability_suites.yml" beforeDir="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$/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$/testsuites/task_suites.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testsuites/task_suites.yml" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
... ... @@ -49,68 +68,44 @@
<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="286">
<caret line="11" selection-start-line="11" selection-end-line="11" />
<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>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/api/m_api/member/member_list_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="116">
<caret line="5" column="8" selection-start-line="5" selection-start-column="8" selection-end-line="5" selection-end-column="53" />
<state relative-caret-position="-390">
<caret column="6" lean-forward="true" selection-start-column="6" selection-end-column="11" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcases/m_login_testcases.yml">
<file pinned="false" current-in-tab="true">
<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="264">
<caret line="52" column="60" selection-start-line="52" selection-start-column="60" selection-end-line="52" selection-end-column="60" />
<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>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/helpfunc/m_func.py">
<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="82" column="26" selection-start-line="82" selection-start-column="4" selection-end-line="82" selection-end-column="26" />
<folding>
<element signature="e#117#128#0" expanded="true" />
</folding>
<caret line="1" column="38" selection-start-line="1" selection-start-column="38" selection-end-line="1" selection-end-column="38" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/helpfunc/pg_db_func.py">
<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="467">
<caret line="53" column="38" selection-start-line="53" selection-start-column="4" selection-end-line="53" selection-end-column="38" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/testcases/task/member/member_list_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="130">
<caret line="5" column="57" selection-start-line="5" selection-start-column="57" selection-end-line="5" selection-end-column="57" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/debugtalk.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="260">
<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="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>
... ... @@ -131,6 +126,9 @@
<find>get_login_code</find>
<find>teardown_hook_get_Authorization</find>
<find>get_login_code()</find>
<find>get_uid_from_database</find>
<find>teardown_hook_get_authcode</find>
<find>teardown_hook_get_accesstoken</find>
</findStrings>
</component>
<component name="Git.Settings">
... ... @@ -151,30 +149,6 @@
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/api/task_api/task/jb_fb_task/taskPublish_0_0_api.yml" />
<option value="$PROJECT_DIR$/testcases/task/save_taskPublish_0_0_api.yml" />
<option value="$PROJECT_DIR$/testcases/task/save_taskPublish_0_1_api.yml" />
<option value="$PROJECT_DIR$/api/task_api/task/jb_fb_task/update_taskPublish_api.yml" />
<option value="$PROJECT_DIR$/api/task_api/task/jb_fb_task/taskPublish_0_1_api.yml" />
<option value="$PROJECT_DIR$/api/app_api/login_api/auth/ucenter_login_api.yml" />
<option value="$PROJECT_DIR$/api/app_api/login_api/auth/loginModule_api.yml" />
<option value="$PROJECT_DIR$/api/app_api/login_api/auth/authorize_api.yml" />
<option value="$PROJECT_DIR$/api/task_api/task/taskcheckAccept_api.yml" />
<option value="$PROJECT_DIR$/testcases/login_testcases.yml" />
<option value="$PROJECT_DIR$/helpfunc/usiness_admin_func.py" />
<option value="$PROJECT_DIR$/api/business_admin_api/login_api/auth/pwdLogin_api.yml" />
<option value="$PROJECT_DIR$/api/business_admin_api/login_api/auth/userCompamies_api.yml" />
<option value="$PROJECT_DIR$/api/business_admin_api/login_api/auth/anonymousLogin_api.yml" />
<option value="$PROJECT_DIR$/.env" />
<option value="$PROJECT_DIR$/helpfunc/business_admin_func.py" />
<option value="$PROJECT_DIR$/testcases/business_admin/login_testcases.yml" />
<option value="$PROJECT_DIR$/api/business_admin_api/login_api/auth/getSingleLoginMenus_api.yml" />
<option value="$PROJECT_DIR$/api/business_admin_api/login_api/auth/login_api.yml" />
<option value="$PROJECT_DIR$/testcases/task/taskPublish_QD/QDRW001.yml" />
<option value="$PROJECT_DIR$/testcases/task/taskPublish_QD/QDRW002.yml" />
<option value="$PROJECT_DIR$/testcases/task/jxz/jxz_gb.yml" />
<option value="$PROJECT_DIR$/testcases/task/taskPublish_QD/QDRW004.yml" />
<option value="$PROJECT_DIR$/testcases/task/taskPublish_QD/QDRW005.yml" />
<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" />
... ... @@ -192,22 +166,46 @@
<option value="$PROJECT_DIR$/api/task_api/task/bidTask_api.yml" />
<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$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml" />
<option value="$PROJECT_DIR$/helpfunc/login_func.py" />
<option value="$PROJECT_DIR$/helpfunc/pg_db_func.py" />
<option value="$PROJECT_DIR$/testsuites/task_suites.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$/testcases/m_login_testcases.yml" />
<option value="$PROJECT_DIR$/debugtalk.py" />
<option value="$PROJECT_DIR$/api/m_api/member/member_list_api.yml" />
<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" />
<option value="$PROJECT_DIR$/api/app_api/login_api/auth/ucenter_login_api.yml" />
<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/loot/loot_task_reject_api.yml" />
<option value="$PROJECT_DIR$/testcases/task/loot/loot_task_reject_testcase.yml" />
<option value="$PROJECT_DIR$/testsuites/task_suites.yml" />
</list>
</option>
</component>
<component name="ProjectFrameBounds" extendedState="6">
<option name="x" value="-116" />
<option name="y" value="347" />
<option name="x" value="179" />
<option name="y" value="427" />
<option name="width" value="1382" />
<option name="height" value="741" />
</component>
... ... @@ -234,29 +232,33 @@
<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="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" />
<item name="login_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" />
<item name="login_api" type="462c0819:PsiDirectoryNode" />
<item name="auth" type="462c0819:PsiDirectoryNode" />
<item name="loot" 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" />
<item name="member" 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" />
</path>
<path>
<item name="task_api" type="b2602c69:ProjectViewProjectNode" />
... ... @@ -279,7 +281,7 @@
<item name="task_api" type="462c0819:PsiDirectoryNode" />
<item name="testcases" type="462c0819:PsiDirectoryNode" />
<item name="task" type="462c0819:PsiDirectoryNode" />
<item name="member" type="462c0819:PsiDirectoryNode" />
<item name="loot" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="task_api" type="b2602c69:ProjectViewProjectNode" />
... ... @@ -295,23 +297,23 @@
</component>
<component name="PropertiesComponent">
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../ability_api" />
<property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" />
</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="E:\mmm_auto\ability_api\testcases\task" />
<recent name="E:\mmm_auto\ability_api\api\task_api\task\rewards" />
<recent name="E:\mmm_auto\ability_api\api\task_api\task" />
<recent name="F:\PycharmProjects\ability_api" />
<recent name="F:\PycharmProjects\ability_api\flask_demo\conf" />
<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\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" />
<recent name="F:\PycharmProjects\ability_api\testcases\firstpage_Statistics\ck_statistic" />
</key>
</component>
<component name="RunDashboard">
... ... @@ -545,6 +547,9 @@
<workItem from="1597120232086" duration="3312000" />
<workItem from="1597195556602" duration="605000" />
<workItem from="1597643891154" duration="9745000" />
<workItem from="1597713977893" duration="4245000" />
<workItem from="1597719772484" duration="2591000" />
<workItem from="1597729715453" duration="13232000" />
</task>
<task id="LOCAL-00001" summary="优化测试用例">
<created>1571644787323</created>
... ... @@ -872,7 +877,7 @@
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="289008000" />
<option name="totallyTimeSpent" value="309076000" />
</component>
<component name="TodoView" selected-index="3">
<todo-panel id="selected-file">
... ... @@ -885,7 +890,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.333691" />
<window_info content_ui="combo" id="Project" order="0" sideWeight="0.49761903" visible="true" weight="0.2387339" />
<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" />
... ... @@ -900,7 +905,7 @@
<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="Python Console" order="12" weight="0.32879046" />
<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" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
... ... @@ -982,289 +987,331 @@
<option name="LAST_COMMIT_MESSAGE" value="update 2020005122330" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/api/task_api/task/jb_fb_task/taskPublish_1_1_api.yml">
<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="198">
<caret line="9" column="20" selection-start-line="9" selection-start-column="20" selection-end-line="9" selection-end-column="20" />
<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/task_api/task/jb_fb_task/tasksearchResources_api.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/taskPublish_0_1_api.yml">
<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="181">
<caret line="35" column="27" selection-start-line="35" selection-start-column="27" selection-end-line="35" selection-end-column="27" />
<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$/testcases/task/taskPublish_1_1_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="682">
<caret line="31" column="37" selection-start-line="31" selection-start-column="37" selection-end-line="31" selection-end-column="37" />
<state relative-caret-position="78">
<caret line="6" selection-start-line="6" selection-end-line="6" selection-end-column="56" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/task_api/task/rewards/currentTasks_1_api.yml">
<entry file="file://$PROJECT_DIR$/helpfunc/m_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="528">
<caret line="24" column="17" selection-start-line="24" selection-start-column="17" selection-end-line="24" selection-end-column="17" />
<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" />
<folding>
<element signature="e#117#128#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/jxz/jxz_gb.yml" />
<entry file="file://$PROJECT_DIR$/testcases/task/jxz/jxz_wc.yml" />
<entry file="file://$PROJECT_DIR$/testcases/task/save_taskPublish_0_1_api.yml">
<entry file="file://$PROJECT_DIR$/testcases/task/member/member_set_permission_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="12" column="55" selection-start-line="12" selection-start-column="55" selection-end-line="12" selection-end-column="55" />
<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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/task_api/task/jb_fb_task/taskPublish_0_1_0_api.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/member/member_set_permission_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="9" column="20" selection-start-line="9" selection-start-column="20" selection-end-line="9" selection-end-column="20" />
<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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW003.yml">
<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">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="352">
<caret line="16" selection-start-line="16" selection-end-line="19" selection-end-column="43" />
<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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/jxz/JB/jxz_wc.yml">
<entry file="file://$PROJECT_DIR$/debugtalk.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1210">
<caret line="55" column="20" selection-start-line="55" selection-start-column="20" selection-end-line="55" selection-end-column="20" />
<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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/task_api/task/rewards/currentTasks_0_api.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/taskPublish_0_0_0_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="374">
<caret line="17" column="34" selection-start-line="17" selection-start-column="34" selection-end-line="17" selection-end-column="34" />
<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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/task_api/task/bidTask_api.yml">
<entry file="file://$PROJECT_DIR$/testcases/task/save_taskPublish_0_1_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="682">
<caret line="31" column="14" selection-start-line="31" selection-start-column="10" selection-end-line="31" selection-end-column="14" />
<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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/task_api/task/rewards/submitCompete_1_api.yml">
<entry file="file://$PROJECT_DIR$/testcases/task/loot/save_taskPublish_0_0_api.yml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<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="484">
<caret line="22" column="17" selection-start-line="22" selection-start-column="17" selection-end-line="22" 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/task_api/task/rewards/submitCompete_0_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="88">
<caret line="4" selection-start-line="4" selection-end-line="7" selection-end-column="55" />
<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/task/taskPublish_QD/QDRW003.yml">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/update_taskPublish_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="264">
<caret line="12" column="36" selection-start-line="12" selection-start-column="36" selection-end-line="12" selection-end-column="36" />
<state relative-caret-position="364">
<caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/jxz/QD/jxz_wc.yml">
<provider selected="true" editor-type-id="text-editor" />
<entry file="file://$PROJECT_DIR$/api/m_api/loot/taskPublish_0_1_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-398" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/run.py" />
<entry file="file://$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX002_pf_levelequal_permission.yml">
<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$/api/business_admin_api/login_api/auth/login_api.yml">
<entry file="file://$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_testcase.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="462">
<caret line="21" selection-start-line="21" selection-end-line="25" />
<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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/business_admin_api/login_api/auth/pwdLogin_api.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="132">
<caret line="6" selection-start-line="6" selection-end-line="7" selection-end-column="51" />
<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$/api/business_admin_api/login_api/auth/getSingleLoginMenus_api.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="176">
<caret line="8" column="8" selection-start-line="8" selection-start-column="8" selection-end-line="8" selection-end-column="51" />
<state relative-caret-position="234">
<caret line="18" selection-start-line="18" selection-end-line="19" selection-end-column="40" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW002.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="924">
<caret line="42" column="9" selection-start-line="42" selection-start-column="9" selection-end-line="42" selection-end-column="61" />
<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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/task_api/task/dfb_task/iPublishedTasks_0_api.yml">
<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/task_api/task/dfb_task/taskdeleteTask_api.yml">
<provider selected="true" editor-type-id="text-editor" />
<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="-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/task_api/task/iPublishedTasks_3_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="462">
<caret line="21" selection-start-line="21" selection-end-line="23" selection-end-column="17" />
<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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/task_api/task/taskStatistics.yml">
<provider selected="true" editor-type-id="text-editor" />
<entry file="file://$PROJECT_DIR$/.env">
<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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/task_api/task/taskcloseTask_api.yml">
<provider selected="true" editor-type-id="text-editor" />
<entry file="file://$PROJECT_DIR$/api/m_api/task_Details_api.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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/task_api/task/taskcheckAccept_api.yml">
<provider selected="true" editor-type-id="text-editor" />
<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">
<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$/testsuites/ability_suites.yml" />
<entry file="file://$PROJECT_DIR$/api/task_api/task/taskDetails_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/app_api/question_api/audits_ireview_api.yml">
<provider selected="true" editor-type-id="text-editor" />
<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" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/app_api/question_api/applyForQuestions_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$/testcases/question/add_question.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="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$/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/firstpage_api/addquestion_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="208">
<caret line="8" column="32" selection-start-line="8" selection-start-column="32" selection-end-line="8" selection-end-column="32" />
<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$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml">
<entry file="file://$PROJECT_DIR$/helpfunc/login_func.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="208">
<caret line="14" column="27" selection-start-line="14" selection-start-column="27" selection-end-line="14" selection-end-column="27" />
<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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/m_login_testcases.yml/login_testcases.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="286">
<caret line="17" selection-start-line="17" selection-end-line="18" selection-end-column="19" />
<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/login_api/auth/pwdLogin_api.yml">
<provider selected="true" editor-type-id="text-editor" />
<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="-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/task_api/task/taskfinishTask_api.yml">
<provider selected="true" editor-type-id="text-editor" />
<entry file="file://$PROJECT_DIR$/testcases/m_login_testcases.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>
</provider>
</entry>
<entry file="file://$USER_HOME$/AppData/Local/Programs/Python/Python38/Lib/site-packages/httprunner/api.py">
<entry file="file://$PROJECT_DIR$/testcases/task_login_testcases.yml">
<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 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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/pg_db_func.py">
<entry file="file://$PROJECT_DIR$/api/m_api/task_rewards_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="467">
<caret line="53" column="38" selection-start-line="53" selection-start-column="4" selection-end-line="53" selection-end-column="38" />
<state>
<caret column="12" selection-start-column="12" selection-end-column="12" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/helpfunc/login_func.py">
<entry file="file://$PROJECT_DIR$/api/m_api/loot/tasksearchResources_api.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-286">
<caret line="7" column="11" selection-start-line="7" selection-start-column="11" selection-end-line="7" selection-end-column="11" />
<folding>
<element signature="e#107#119#0" expanded="true" />
</folding>
<state relative-caret-position="-156" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/task_rewards_taskDetails_testcase.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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/api/m_api/login_api/auth/anonymousLogin_api.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="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>
<caret selection-end-line="31" selection-end-column="15" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.env">
<entry file="file://$PROJECT_DIR$/testcases/login_testcases.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="260">
<caret line="10" column="14" selection-start-line="10" selection-end-line="10" selection-end-column="14" />
<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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testsuites/task_suites.yml">
<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="286">
<caret line="11" selection-start-line="11" selection-end-line="11" />
<state relative-caret-position="108">
<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$/helpfunc/m_func.py">
<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="26">
<caret line="82" column="26" selection-start-line="82" selection-start-column="4" selection-end-line="82" selection-end-column="26" />
<folding>
<element signature="e#117#128#0" expanded="true" />
</folding>
<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/login_api/auth/login_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="78">
<caret line="6" selection-start-line="6" selection-end-line="6" selection-end-column="56" />
<state relative-caret-position="-390">
<caret column="6" lean-forward="true" selection-start-column="6" selection-end-column="11" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/debugtalk.py">
<entry file="file://$PROJECT_DIR$/testsuites/task_suites.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="260">
<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="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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/m_login_testcases.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="264">
<caret line="52" column="60" selection-start-line="52" selection-start-column="60" selection-end-line="52" selection-end-column="60" />
<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/member/member_list_api.yml">
<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="116">
<caret line="5" column="8" selection-start-line="5" selection-start-column="8" selection-end-line="5" selection-end-column="53" />
<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>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcases/task/member/member_list_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="130">
<caret line="5" column="57" selection-start-line="5" selection-start-column="57" selection-end-line="5" selection-end-column="57" />
<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>
</provider>
</entry>
... ...
... ... @@ -24,7 +24,7 @@ request:
authCode: ${get_authcode()}
clientSecret: gtfhyjukiol3Qncbvmdwe67khh
method: POST
url: /v1/auth/accessToken
url: v1/auth/accessToken
validate:
- eq:
- content.code
... ...
... ... @@ -27,7 +27,7 @@ request:
muid: ${get_muid()}
cid: ${get_cid()}
method: POST
url: /v1/auth/authorize
url: v1/auth/authorize
validate:
- eq:
- content.code
... ...
... ... @@ -7,7 +7,7 @@ variables:
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
grantType: signInPassword
phone: ${ENV(allphone)}
phone: ${ENV(appphone)}
password: 7c4a8d09ca3762af61e59520943dc26494f8941b
Type: 1
msg: ok
... ...
name: 获取授权令牌
base_url: ${ENV(base_url)}
verify: False
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
teardown_hooks:
- ${teardown_hook_get_task_accesstoken($response)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: abilityIOSTest/120004 CFNetwork/1121.2.2 Darwin/19.3.0
# X-MMM-AppName: com.maimaimai.abilityIOS
X-MMM-AppProject: ability
X-MMM-DeviceType: "0"
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 0.12.0
json:
clientId: lks3Z8Ncn2j
authCode: ${get_task_authcode()}
clientSecret: gtfhyjukiol3Qncbvmdwe67khh
method: POST
url: v1/auth/accessToken
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: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(wpftwphone)}
teardown_hooks:
- ${teardown_hook_get_task_authcode($response)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: abilityIOSTest/120004 CFNetwork/1121.2.2 Darwin/19.3.0
X-MMM-AppName: com.maimaimai.abilityIOS
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 0.12.0
json:
clientId: lks3Z8Ncn2j
credentials: ${get_credentials()}
cuid: ${get_cuid()}
muid: ${get_muid()}
cid: ${get_cid()}
method: POST
url: v1/auth/authorize
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: 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
... ...
... ... @@ -2,7 +2,7 @@ name: 企业平台账号登录
base_url: ${ENV(base_business_url)}
verify: False
variables:
username: ${ENV(adminphone)}
username: ${ENV(wpftwphone)}
password: 7c4a8d09ca3762af61e59520943dc26494f8941b
teardown_hooks:
- ${teardown_hook_get_Authorization($response)}
... ...
name: 驳回领取人
base_url: ${ENV(base_worth_url)}
verify: False
variables:
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:
id: $id
reason: $reason
type: 1
method: POST
url: task/reject
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:
name: 测试抢单任务名称${get_nowtime()}
acceptanceCriteria: 测试抢单任务的验收标准${get_nowtime()}
description: 测试抢单任务的任务描述${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:
name: $name
# resourceType:
# resourceList:
customerValue:
- 31
taskCharacter: 12
reward: 2000
acceptanceCriteria: $acceptanceCriteria
description: $description
isImportant: true
taskBelong: 13
# pictures:
method: POST
url: task/loot/update
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_task_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:
keyword: ${get_serialNo()}
method: POST
url: /v1/task/searchResources
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
... ...
... ... @@ -3,7 +3,7 @@ base_url: ${ENV(base_worth_url)}
verify: False
variables:
searchText: ${get_employees_name_from_database()}
id: ${convert_to_string(get_uid_from_database())}
id: ${get_uid_from_database()}
request:
headers:
Content-Type: application/json; charset=UTF-8
... ... @@ -27,4 +27,4 @@ validate:
- ok
- eq:
- content.data.gridResult.lists.0.id
- $id
\ No newline at end of file
- ${convert_to_string($id)}
\ No newline at end of file
... ...
name: 成员管理设置权限
base_url: ${ENV(base_worth_url)}
verify: False
variables:
id: ${get_uid_from_database()}
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
permissionType:
- 1
- 2
- 3
- 4
method: POST
url: member/set-permission
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- ok
- eq:
- content.data.employeeInfo.uid
- $id
\ 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:
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)}
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_worth_url)}
verify: False
variables:
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/delete
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:
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/open
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_task_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
- 获取成功
# - $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.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvcHdkTG9naW4iLCJpYXQiOjE1OTc2NTc0NjMsImV4cCI6MTU5NzY2ODI2MywibmJmIjoxNTk3NjU3NDYzLCJqdGkiOiJHV2hwZEg4ZjhPODBQdXdPIiwic3ViIjozMjQ3MzY2MDExOTEzMjE2LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU1MzVlXHU0ZmUxXHU1MzRlIiwicGhvbmUiOiIxOTk5MDAwMDAwMCIsImlkIjozMjQ3MzY2MDExOTEzMjE2LCJhZG1pblR5cGUiOjJ9.hWL1mZ3akJJPja16wvXHBV9H-_LvUW5kIqj2UHm7s9o
\ No newline at end of file
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvcHdkTG9naW4iLCJpYXQiOjE1OTc3NDA3MjgsImV4cCI6MTU5Nzc1MTUyOCwibmJmIjoxNTk3NzQwNzI4LCJqdGkiOiIySkNFTTc1M1gwS1hGekJ4Iiwic3ViIjozMjQ4ODE3NjEzNjgxNjY0LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU4Yzc5XHU1YjUwXHU1OTM0IiwicGhvbmUiOiIxOTk5MDAwMDAwOCIsImlkIjozMjQ4ODE3NjEzNjgxNjY0LCJhZG1pblR5cGUiOjF9.FfEeCCGaPcWzBbGvXuP3IlhmzMtnNFbhCmyUIOZDFzw
\ No newline at end of file
... ...
cXHQREXFBPJb8GcTnkCTS4HpJ8FtF63n
\ No newline at end of file
... ...
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvYW5vbnltb3VzTG9naW4iLCJpYXQiOjE1OTc2NTc0NjMsImV4cCI6MTU5NzY2ODI2MywibmJmIjoxNTk3NjU3NDYzLCJqdGkiOiJYTVFhTEtJUGR4WGFLS2EwIiwic3ViIjozMjQ3MzY2MDExOTEzMjE2LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU1MzVlXHU0ZmUxXHU1MzRlIiwicGhvbmUiOiIxOTk5MDAwMDAwMCIsImlkIjozMjQ3MzY2MDExOTEzMjE2LCJhZG1pblR5cGUiOjJ9.JbBOob1vUp1a_ICQMi0yyHJYoziVOtZOAYkh1HyWIzU
\ No newline at end of file
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvYW5vbnltb3VzTG9naW4iLCJpYXQiOjE1OTc3NDA3MjgsImV4cCI6MTU5Nzc1MTUyOCwibmJmIjoxNTk3NzQwNzI4LCJqdGkiOiJPOUlnTVVpTDB2WTgzUTcwIiwic3ViIjozMjQ4ODE3NjEzNjgxNjY0LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU4Yzc5XHU1YjUwXHU1OTM0IiwicGhvbmUiOiIxOTk5MDAwMDAwOCIsImlkIjozMjQ4ODE3NjEzNjgxNjY0LCJhZG1pblR5cGUiOjF9.DOSdAdphiklHcn8DyI1coaV__PrURFuP-LjM9wnpBtc
\ No newline at end of file
... ...
e7cho2n4xog
\ No newline at end of file
... ...
366
\ No newline at end of file
... ...
6c2de35b691097827da9fdaadc060d696fea998ae89d47b415cb59304e9a8f1d6667af13
\ No newline at end of file
... ...
3667592490893312
\ No newline at end of file
... ...
v9dhPEeS5BYPPRncq50puG11GgU5GNTu2qYh9XGYTyIy31FoeoK+lFfR+85yDxNp7jwpgRwMhxGkktz1XU5CV8tyoUERkn5vHvOXCYqcGkV0PSNf9nA76gK7TLSOLxrVAWGz/IU5vBYpxff56ElbxNPIFZb/xWJi4fUjFBUAvJ4=
\ No newline at end of file
2ZDJEvx/fovUMQPB9NZHPmJmGNl9JwdMdM6AkhdueNW9sAHX96uY3nefCSuUI6+B7CI569mHJLFQuV9uLc3KRW2oCO60eSm5NT229w31JLo9dmTiERHRTqFStYLOlJ2WGvPIFpfJYph0U4RdeETsobcipEidZFO/lOSgeJlTV4g=
\ No newline at end of file
... ...
3247366011913216
\ No newline at end of file
... ...
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtd29ydGgtd2ViLWdhdGV3YXktdGVzdC5mam1haW1haW1haS5jb21cL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTk3NjU3NDY0LCJleHAiOjE1OTc2NjgyNjQsIm5iZiI6MTU5NzY1NzQ2NCwianRpIjoiMGc1SHRKVm8yUDAyc1N5dyIsInN1YiI6MzI0NzM2NjAxMTkxMzIxNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSIsImNvbXBhbnlJZCI6MzY2LCJuaWNrbmFtZSI6Ilx1NTM1ZVx1NGZlMVx1NTM0ZSIsInBob25lIjoiMTk5OTAwMDAwMDAiLCJ1aWQiOjMyNDczNjYwMTE5MTMyMTYsImFkbWluVHlwZSI6MX0.3p9qTcj5OkSeQTmvlrc5tH-n7ABtDju__fEwnaYxbNY
\ No newline at end of file
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtd29ydGgtd2ViLWdhdGV3YXktdGVzdC5mam1haW1haW1haS5jb21cL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTk3NzQwNzI4LCJleHAiOjE1OTc3NTE1MjgsIm5iZiI6MTU5Nzc0MDcyOCwianRpIjoiend6TkFRMHAyVlJGRUh2ciIsInN1YiI6MzI0ODgxNzYxMzY4MTY2NCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSIsImNvbXBhbnlJZCI6MzY2LCJuaWNrbmFtZSI6Ilx1OGM3OVx1NWI1MFx1NTkzNCIsInBob25lIjoiMTk5OTAwMDAwMDgiLCJ1aWQiOjMyNDg4MTc2MTM2ODE2NjQsImFkbWluVHlwZSI6Mn0.4mHXF2konr4c5HFt8et25TUrQhMezqoKYBJP2UnA3lo
\ No newline at end of file
... ...
kyn8hjpiSh4XHjfKnF5de4yxMXyraWC7
\ No newline at end of file
... ...
2000w9mxyl7i
\ No newline at end of file
... ...
... ... @@ -17,6 +17,7 @@ def sleep(n_secs):
def convert_to_string(value):
return str(value)
# def get_base_url(env_type="test"):
# """
# 根据配置选择运行环境
... ...
... ... @@ -57,6 +57,20 @@ def teardown_hook_get_accesstoken(response):
print('写入失败', e)
return access_token
def teardown_hook_get_task_accesstoken(response):
if response.status_code == 200:
jsondata = json.loads(response.text)
access_token =jsondata['data']['accessToken']
try:
# 保存token到文件
with open(path + 'config/task_accessToken.csv','w+') as f:
f.write(access_token)
print('写入成功,access_token:{}'.format(access_token))
f.close()
except Exception as e:
print('写入失败', e)
return access_token
def teardown_hook_get_authcode(response):
if response.status_code ==200:
jsondata = json.loads(response.text)
... ... @@ -70,6 +84,19 @@ def teardown_hook_get_authcode(response):
print('写入失败', e)
return auth_code
def teardown_hook_get_task_authcode(response):
if response.status_code ==200:
jsondata = json.loads(response.text)
auth_code = jsondata['data']['authCode']
try:
with open(path + "config/task_authCode.csv", 'w+') as f:
f.write(auth_code)
print('写入成功,authCode:{}'.format(auth_code))
except Exception as e:
print('写入失败', e)
return auth_code
def get_authcode():
try:
with open(path + "config/authCode.csv", 'r') as f:
... ... @@ -80,6 +107,16 @@ def get_authcode():
auth_code = str(auth_code)
return auth_code
def get_task_authcode():
try:
with open(path + "config/task_authCode.csv", 'r') as f:
auth_code = f.read()
print('读取成功,authCode:{}'.format(auth_code))
except Exception as e:
print('读取失败', e)
auth_code = str(auth_code)
return auth_code
def get_accesstoken():
try:
# 保存token到文件
... ... @@ -91,6 +128,17 @@ def get_accesstoken():
accesstoken = str(accesstoken)
return accesstoken
def get_task_accesstoken():
try:
# 保存token到文件
with open(path + "config/task_accessToken.csv", 'r') as f:
accesstoken = f.read()
print('读取成功,accesstoken:{}'.format(accesstoken))
except Exception as e:
print('读取失败', e)
accesstoken = str(accesstoken)
return accesstoken
def get_serialNo():
try:
with open(path + "config/serialNo.csv", 'r') as f:
... ...
... ... @@ -11,7 +11,7 @@ teststeps:
- ${teardown_hook_get_muid($response)}
- ${teardown_hook_get_cid($response)}
variables:
phone: ${ENV(pfphone)}
phone: ${ENV(appphone)}
varidate:
validate:
- eq:
... ... @@ -36,35 +36,4 @@ teststeps:
- content.msg
- 获取成功
#- name: 获取用户信息
# api: api/app_api/user_api/userInfo_api.yml
# varidate:
# validate:
# - eq:
# - content.msg
# - 获取用户信息
#
#- name: 获取BOSS足迹
# api: api/app_api/question_api/bossFootprints_api.yml
# varidate:
# validate:
# - eq:
# - content.msg
# - 获取BOSS足迹成功
#
#- name: 消息数量统计(首页、个人中心)
# api: api/app_api/message_api/msgstatistics_api.yml
# varidate:
# validate:
# - eq:
# - content.msg
# - 获取统计信息成功
#
#- name: 公告列表
# api: api/app_api/message_api/msgannouncements_api.yml
# varidate:
# validate:
# - eq:
# - content.msg
# - 获取公告信息成功
#
... ...
... ... @@ -6,7 +6,7 @@ teststeps:
- name: 登录企业平台
api: api/m_api/login_api/auth/pwdLogin_api.yml
variables:
phone: ${ENV(adminphone)}
phone: ${ENV(wpftwphone)}
teardown_hooks:
- ${teardown_hook_get_Authorization($response)}
varidate:
... ... @@ -55,5 +55,4 @@ teststeps:
validate:
- eq:
- content.msg
- ok
- ok
\ No newline at end of file
... ...
... ... @@ -17,26 +17,26 @@ teststeps:
- qid
api: api/app_api/question_api/audits_ireview_api.yml
extract:
qid: content.data.questions.-1.id
qid: content.data.questions.0.id
validate:
- eq:
- content.data.questions.-1.id
- $qid
- 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/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
... ...
config:
name: QX003:高级别评分权限人员-查看问题-权限校验42
# #清理数据
# teardown_hooks:
# - ${teardown_hook_clean_db()}
# - ${teardown_hook_sleep_N_secs($response,2)}
teststeps:
- name: 18100000004提出问题
testcase: testcases/question/add_question.yml
- name: 有评分权限18200000005登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(pfphone)}
testcase: testcases/login_testcases.yml
- name: 有评分权限18200000005查看待我审核
output:
- qid
api: api/question_api/audits_api.yml
extract:
qid: content.data.questions.0.id
validate:
- eq:
- content.data.questions.0.id
- $qid
- name: 有评分权限18200000005审核问题
api: api/question_api/auditquestion_api.yml
- name: 高级别有评分权限18200000002登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(pflevelhighphone)}
testcase: testcases/login_testcases.yml
- name: 高级别评分权限18200000002查看问题详情
api: api/question_api/questiondetail_api.yml
validate:
- eq:
- content.data.question.permission
- 42
config:
name: QX004:无评分权限人员-查看问题-权限校验21
# #清理数据
# teardown_hooks:
# - ${teardown_hook_clean_db()}
# - ${teardown_hook_sleep_N_secs($response,2)}
teststeps:
- name: 18100000004提出问题
testcase: testcases/question/add_question.yml
- name: 有评分权限18200000005登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(pfphone)}
testcase: testcases/login_testcases.yml
- name: 18200000005查看待我审核
output:
- qid
api: api/question_api/audits_api.yml
extract:
qid: content.data.questions.0.id
validate:
- eq:
- content.data.questions.0.id
- $qid
- name: 18200000005审核问题
api: api/question_api/auditquestion_api.yml
- name: 无评分权限18200000004登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(ckphone)}
testcase: testcases/login_testcases.yml
- name: 无评分权限18200000004查看问题详情
api: api/question_api/questiondetail_api.yml
validate:
- eq:
- content.data.question.permission
- 21
config:
name: QX005:无评分权限人员-查看方案-权限校验1
teststeps:
- name: 评分权限人员18200000005查看问题-审核问题
output:
- qid
testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml
extract:
qid: content.data.questions.0.id
- name: 评分权限人员18200000005我来分析
api: api/question_api/solution_api.yml
extract:
sid: content.data.solution.id
- name: 无评分权限18200000004登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(ckphone)}
testcase: testcases/login_testcases.yml
- name: 无评分权限人员18200000004查看方案权限
api: api/question_api/solutiondetails_api.yml
validate:
- eq:
- content.data.solution.permission
- 1
config:
name: QX006:评分权限人员不能给自己提出的备选方案评分-权限校验1
# #清理数据
# teardown_hooks:
# - ${teardown_hook_clean_db()}
# - ${teardown_hook_sleep_N_secs($response,2)}
teststeps:
- name: 评分权限人员18200000005查看问题-审核问题
output:
- qid
testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml
extract:
qid: content.data.questions.0.id
- name: 评分权限人员18200000005我来分析
api: api/question_api/solution_api.yml
extract:
sid: content.data.solution.id
- name: 评分权限人员18200000005查看方案权限
api: api/question_api/solutiondetails_api.yml
validate:
- eq:
- content.data.solution.permission
- 1
config:
name: QX007:已评分过的备选方案,同级别评分权限人员-查看方案-权限校验1
teststeps:
- name: 评分权限人员18200000005查看问题-审核问题
output:
- qid
testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml
extract:
qid: content.data.questions.0.id
- name: 评分权限人员18200000005我来分析
api: api/question_api/solution_api.yml
extract:
sid: content.data.solution.id
- name: 有评分权限18200000002登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(pflevelhighphone)}
testcase: testcases/login_testcases.yml
- name: 有评分权限18200000002查看问题详情
api: api/question_api/questiondetail_api.yml
- name: 有评分权限18200000002查看备选方案详情
output:
- sid
api: api/question_api/alternatives_api.yml
extract:
sid: content.data.solutions.0.id
#- name: 有评分权限18200000002查看方案权限
# api: api/question_api/solutiondetails_api.yml
- name: 有评分权限18200000002评分
api: api/question_api/scoreanalyze_api.yml
- name: 同级别有评分权限18200001002登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(pflevelhighphone1)}
testcase: testcases/login_testcases.yml
- name: 同级别有评分权限18200001002查看方案权限
api: api/question_api/solutiondetails_api.yml
validate:
- eq:
- content.data.solution.permission
- 1
config:
name: QX008:已评分过的备选方案,高级别评分权限人员-查看方案-权限校验2
teststeps:
- name: 评分权限人员18200000005查看问题-审核问题
output:
- qid
testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml
extract:
qid: content.data.questions.0.id
- name: 评分权限人员18200000005我来分析
api: api/question_api/solution_api.yml
extract:
sid: content.data.solution.id
- name: 有评分权限18200000007登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(pfphone1)}
testcase: testcases/login_testcases.yml
- name: 有评分权限18200000007查看问题详情
api: api/question_api/questiondetail_api.yml
- name: 有评分权限18200000007查看备选方案详情
output:
- sid
api: api/question_api/alternatives_api.yml
extract:
sid: content.data.solutions.0.id
- name: 有评分权限18200000007评分
api: api/question_api/scoreanalyze_api.yml
- name: 高级别有评分权限18200000002登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(pflevelhighphone)}
testcase: testcases/login_testcases.yml
- name: 高级别有评分权限18200000002查看方案权限
api: api/question_api/solutiondetails_api.yml
validate:
- eq:
- content.data.solution.permission
- 2
config:
name: QX009:未评分过的备选方案,有评分权限人员-查看方案-权限校验2
teststeps:
- name: 评分权限人员18200000005查看问题-审核问题
output:
- qid
testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml
extract:
qid: content.data.questions.0.id
- name: 评分权限人员18200000005我来分析
api: api/question_api/solution_api.yml
extract:
sid: content.data.solution.id
- name: 有评分权限18200000007登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(pfphone1)}
testcase: testcases/login_testcases.yml
- name: 有评分权限人员18200000007查看方案权限
api: api/question_api/solutiondetails_api.yml
validate:
- eq:
- content.data.solution.permission
- 2
config:
name: QX010:解决权限主导人不能给自己提出的解决方案评分-权限校验1
teststeps:
- name: 解决权限人员18200000006解决问题,主导人是18200000003
testcase: testcases/question/solution_question.yml
extract:
qid: content.data.questions.0.id
- name: 解决权限人员18200000003登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(jjlevelhighphone)}
testcase: testcases/login_testcases.yml
- name: 解决权限人员18200000003查看问题详情
output:
- sid
api: api/question_api/questiondetail_api.yml
extract:
sid: content.data.question.solutions.0.id
- name: 解决权限人员18200000003查看方案权限
api: api/question_api/solutiondetails_api.yml
validate:
- eq:
- content.data.solution.permission
- 1
config:
name: QX011:解决权限人员可以给自己上传的解决方案评分-权限校验2
teststeps:
- name: 解决权限人员18200000006解决问题,主导人是18200000003
testcase: testcases/question/solution_question.yml
extract:
qid: content.data.questions.0.id
- name: 解决权限人员18200000006登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(jjphone)}
testcase: testcases/login_testcases.yml
- name: 解决权限人员18200000006查看问题详情
output:
- sid
api: api/question_api/questiondetail_api.yml
extract:
sid: content.data.question.solutions.0.id
- name: 解决权限人员18200000006查看方案权限
api: api/question_api/solutiondetails_api.yml
validate:
- eq:
- content.data.solution.permission
- 2
config:
name: QX012:与解决权限人员同级别的人查看解决方案-权限校验1
teststeps:
- name: 解决权限人员18200000006解决问题,主导人是18200000003
testcase: testcases/question/solution_question.yml
extract:
qid: content.data.questions.0.id
- name: 解决权限人员18200001006登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(jjlevelequalphone)}
testcase: testcases/login_testcases.yml
- name: 解决权限人员18200001006查看问题详情
output:
- sid
api: api/question_api/questiondetail_api.yml
extract:
sid: content.data.question.solutions.0.id
- name: 解决权限人员18200001006查看方案权限
api: api/question_api/solutiondetails_api.yml
validate:
- eq:
- content.data.solution.permission
- 1
config:
name: QX013:比解决权限人员高级别的人查看解决方案-权限校验2
teststeps:
- name: 解决权限人员18200000006解决问题,主导人是18200000003
testcase: testcases/question/solution_question.yml
extract:
qid: content.data.questions.0.id
- name: 解决权限人员18200001003登录系统
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
phone: ${ENV(jjlevelhighphone1)}
testcase: testcases/login_testcases.yml
- name: 解决权限人员18200001003查看问题详情
output:
- sid
api: api/question_api/questiondetail_api.yml
extract:
sid: content.data.question.solutions.0.id
- name: 解决权限人员18200001003查看方案权限
api: api/question_api/solutiondetails_api.yml
validate:
- eq:
- content.data.solution.permission
- 2
config:
name: 19990000008保存抢单任务-发布任务-驳回领取人
teststeps:
- name: 19990000008登录系统
testcase: testcases/task/loot/save_loot_update_0_open_testcase.yml
- name: app端点击立即抢单
testcase: testcases/task/task_rewards_taskDetails_testcase.yml
- name: 19990000000驳回领取人
api: api/m_api/loot/loot_task_reject_api.yml
varidate:
validate:
- eq:
- content.msg
- ok
\ No newline at end of file
... ...
config:
name: 19990000008保存抢单任务
name: 19990000008保存抢单任务-删除任务
teststeps:
- name: 19990000008登录系统
variables:
phone: ${ENV(wpftwphone)}
testcase: testcases/login_testcases.yml
testcase: testcases/m_login_testcases.yml
- name: 19990000008保存任务
api: api/task_api/task/qd_fb_task/taskPublish_0_0_0_api.yml
output:
- id
api: api/m_api/loot/loot_update_0_api.yml
extract:
id: content.data.id
varidate:
validate:
- eq:
- content.msg
- 发布成功
- name: 获取任务数量统计
api: api/task_api/task/taskStatistics.yml
- ok
- eq:
- content.data.id
- $id
- name: 19990000008删除任务
api: api/m_api/task_delete_api.yml
varidate:
validate:
- eq:
- content.msg
- 获取成功
- ok
\ No newline at end of file
... ...
config:
name: 19990000008保存竞标任务
name: 19990000008保存抢单任务-发布任务
teststeps:
- name: 19990000008登录系统
variables:
phone: ${ENV(wpftwphone)}
testcase: testcases/login_testcases.yml
testcase: testcases/m_login_testcases.yml
- name: 19990000008保存任务
api: api/task_api/task/jb_fb_task/taskPublish_0_0_1_api.yml
- name: 19990000000保存任务
output:
- id
api: api/m_api/loot/loot_update_0_api.yml
extract:
id: content.data.id
varidate:
validate:
- eq:
- content.msg
- 发布成功
- name: 获取任务数量统计
api: api/task_api/task/taskStatistics.yml
- ok
- eq:
- content.data.id
- $id
- name: 19990000000发布任务
api: api/m_api/task_open_api.yml
varidate:
validate:
- eq:
- content.msg
- 获取成功
- ok
\ No newline at end of file
... ...
... ... @@ -3,7 +3,7 @@ config:
base_url: ${ENV(base_manager_url)}
variables:
phone: ${get_employee_account_from_database()}
id: ${convert_to_string(get_uid_from_database())}
id: ${get_uid_from_database()}
teardown_hooks:
- ${sleep(2)}
... ... @@ -19,4 +19,4 @@ teststeps:
- ok
- eq:
- content.data.gridResult.lists.0.id
- $id
\ No newline at end of file
- ${convert_to_string($id)}
\ No newline at end of file
... ...
config:
name: 成员管理设置权限
base_url: ${ENV(base_manager_url)}
variables:
phone: ${get_employee_account_from_database()}
id: ${get_uid_from_database()}
teardown_hooks:
- ${sleep(2)}
teststeps:
- name: $phone 登录系统
testcase: testcases/m_login_testcases.yml
- name: $phone 成员管理设置权限
api: api/m_api/member/member_set_permission_api.yml
validate:
- eq:
- content.msg
- ok
- eq:
- content.data.employeeInfo.uid
- $id
\ No newline at end of file
... ...
config:
name: 19990000008保存抢单任务
teststeps:
- name: 19990000008登录系统
variables:
phone: ${ENV(wpftwphone)}
testcase: testcases/login_testcases.yml
- name: 19990000008搜索引用资源
output:
- refResources_id
- rType
- serialNo
- title
api: api/task_api/task/qd_fb_task/tasksearchResources_api.yml
extract:
refResources_id: content.data.refResources.0.id
rType: content.data.refResources.0.rType
serialNo: content.data.refResources.0.serialNo
title: content.data.refResources.0.title
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
- name: 19990000008发布任务
api: api/task_api/task/qd_fb_task/taskPublish_0_1_0_api.yml
varidate:
validate:
- eq:
- content.msg
- 发布成功
\ No newline at end of file
config:
name: 19990000008保存抢单任务
teststeps:
- name: 19990000008登录系统
variables:
phone: ${ENV(wpftwphone)}
testcase: testcases/login_testcases.yml
- name: 19990000008搜索引用资源
output:
- refResources_id
- rType
- serialNo
- title
api: api/task_api/task/jb_fb_task/tasksearchResources_api.yml
extract:
refResources_id: content.data.refResources.0.id
rType: content.data.refResources.0.rType
serialNo: content.data.refResources.0.serialNo
title: content.data.refResources.0.title
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取成功
- name: 19990000008发布任务
api: api/task_api/task/jb_fb_task/taskPublish_0_1_0_api.yml
varidate:
validate:
- eq:
- content.msg
- 发布成功
\ No newline at end of file
config:
name: 首页-立即抢单
teststeps:
- name: 19990000008登录系统
variables:
phone: ${ENV(appphone)}
testcase: testcases/login_testcases.yml
- name: 19990000008登录价值系统
testcase: testcases/task_login_testcases.yml
- name: 19990000000查看公司悬赏任务列表
output:
- id
api: api/m_api/task_rewards_api.yml
extract:
id: content.data.tasks.0.id
validate:
- eq:
- content.data.tasks.0.id
- $id
#
- name: 19990000008抢单
api: api/m_api/loot/submitCompete_loot_api.yml
... ...
config:
name: 价值系统登录
base_url: ${ENV(base_url)}
teststeps:
- name: 价值系统登录
api: api/app_api/login_api/task/authorize_api.yml
teardown_hooks:
- ${teardown_hook_get_task_authcode($response)}
varidate:
validate:
- eq:
- content.msg
- 登录成功accessToken
- name: 获取accessToken
api: api/app_api/login_api/task/accessToken_api.yml
teardown_hooks:
- ${teardown_hook_get_task_accesstoken($response)}
varidate:
validate:
- eq:
- content.msg
- 获取成功
... ...
... ... @@ -7,5 +7,23 @@ testcases:
#- name: start....初始化数据库
# testcase: testcases/start_testcases.yml
- name: member_list 成员管理搜索
testcase: testcases/task/member/member_list_testcases.yml
#- name: member_list 成员管理搜索
# testcase: testcases/task/member/member_list_testcases.yml
#- name: member_set_permission 成员管理设置权限
# testcase: testcases/task/member/member_set_permission_testcases.yml
#- name: member_set_permission 成员管理设置权限
# 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: loot_task_reject:驳回领取人
testcase: testcases/task/loot/loot_task_reject_testcase.yml
\ No newline at end of file
... ...