性能测试 CODEARTS PERFTEST-创建变量:请求示例

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

请求示例

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

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

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