cloudtest__CreateUserDefinedUrlKeyWord
Creates a user-defined URL keyword in Huawei Cloud CloudTest, letting you register reusable HTTP request/response keyword definitions with mock, header, variable, and parameter details for API test automation.
Instructions
[CLOUDTEST] 新增用户自定义URL关键字
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "cloudtest__CreateUserDefinedUrlKeyWord"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 名称 | |
| extra_info | No | ||
| group_name | No | 组名 | |
| project_id | Yes | 项目ID,固定长度32位字符(字母和数字)。 | |
| description | No | 描述 | |
| body_param_type | No | body请求体的类型:text(包含JSON,参数内部区分)、form | |
| dft_custom_header | No | 默认请求头参数对象 | |
| dft_variable_list | No | 定义的变量信息 | |
| dft_check_point_list | No | 默认检查点List | |
| param_type_and_dft_value | No | 参数类型和参数默认值对应List |