性能测试 CODEARTS PERFTEST-修改变量:请求示例

时间:2024-01-09 10:39:54

请求示例

修改全局变量,变量所属工程id是1,变量名是varTest,变量类型是整数,变量值区间是从1到10。

https://cpts.{region}.domain-example.com/v1/projectId/variables/1

[ {
  "id" : 1,
  "name" : "varTest",
  "variable_type" : 1,
  "variable" : [ 1, 10 ]
} ]
support.huaweicloud.com/api-cpts/UpdateVariable.html