性能测试 CODEARTS PERFTEST-查询全局变量:请求示例

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

请求示例

查询PerfTest工程的变量列表。

/v1/{project_id}/variables/{variable_type}/test-suites/1

{
  "code" : "SV CS TG.CPTS.0000000",
  "message" : "success",
  "variable_list" : [ {
    "file_size" : 0,
    "id" : 156769,
    "is_quoted" : false,
    "is_sensitive" : false,
    "name" : "var1",
    "share_mode" : 0,
    "variable" : [ "test" ],
    "variable_mode" : 0,
    "variable_type" : 2
  } ]
}
support.huaweicloud.com/api-cpts/ListVariables.html