云服务器内容精选

  • URI PUT /v4/{project_id}/testcase/{tmss_case_uri} 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID,固定长度32位字符(字母和数字)。 tmss_case_uri 是 String TMSS用例uri 表2 Query参数 参数 是否必选 参数类型 描述 turn_on_awmapping 否 Boolean 新组合AW开关
  • 请求示例 put https://{endpoint}/v4/09645c1f3f954a8d9ab29174857cffc5/testcase/v91j0000vl6b2b2e { "id" : "ebfa6ceb72df4c19ae52642845edcd04", "tmss_feature_uri" : "", "name" : "88888888", "project_id" : "23c1c5ba3b3c4e92b8adaab3529913c4", "aw_instance" : { "setup_aw_list" : [ ], "test_aw_list" : [ { "id" : "17189566437246831", "aw_id" : "", "alias_runaw" : "", "aw_description" : "", "name" : "", "description" : "", "check_point_list" : [ ], "children" : [ ], "condition_statement" : "1000", "condition_type" : 20, "custom_header" : [ ], "header_array" : [ ], "is_disabled" : 0, "param_type_and_value" : [ ], "projectId" : "23c1c5ba3b3c4e92b8adaab3529913c4", "retry_interval" : "", "retry_times" : "", "variable_list" : [ ], "relation" : "" } ], "teardown_aw_list" : [ ] }, "case_variable_list" : [ ], "script_name" : "106", "script_path" : "src/scripts/user/Case_ebfa6ceb72df4c19ae52642845edcd04_1.java", "tmss_case_uri" : "v91k0000vl6er6ue", "tmss_property" : { "name" : "88888888", "number" : "106", "cataId" : "v91k0000vl6eobbq", "level" : 2, "node_name" : "123", "test_type" : 1, "exe_platform" : "apitest", "auto_type" : "1", "test_feature" : "09645c1f3f954a8d9ab29174857cffc5_32559725_defaultFeature", "last_modified" : "2024-06-21 15:16:06", "last_modifier" : "efdb403066474ab08836b9eeaaa23bca", "author" : "1_devcloud_devcloud_s00314720", "creation_date" : "2024-06-21 15:16:06", "activity_id" : "1", "steps" : [ { } ] }, "activity_id" : "1", "import_info_list" : [ ] }