性能测试 CODEARTS PERFTEST-批量启停任务:请求示例

时间:2024-11-28 20:11:05

请求示例

批量启动任务,使用共享资源组,任务的id集合有1,2。

/v1/{project_id}/test-suites/{test_suit_id}/tasks/batch-update-task-status

{
  "enterprise_project_id" : "0",
  "type" : 1,
  "status" : 9,
  "without_package" : 0,
  "project_id" : 1,
  "cluster_id" : 0,
  "cluster_type" : "shared-cluster-internet",
  "network_info" : {
    "network_type" : "internet"
  },
  "task_id_list" : [ 1, 2 ]
}
support.huaweicloud.com/api-cpts/BatchUpdateTaskStatus.html