cloudtest__CreateService
Registers a custom test service using a user-provided domain and service name, making the custom test type available in TestHub after registration.
Instructions
[CLOUDTEST] 通过接口CreateService注册成为自定义服务。 注册完成后界面将会出现此自定义测试类型。
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": {
"server_host": "<server_host>",
"service_name": "<service_name>"
},
"name": "cloudtest__CreateService"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_host | Yes | server_host是由用户提供的域名。 我们会通过此域名进行接口调用,请以https/http开头,长度小于等于128位字符。 TestHub将会通过此域名下的接口,保证服务数据与用户系统数据的一致性。 | |
| service_name | Yes | 测试类型名称,用于界面显示,不能使用当前保留名,长度小于等于16位字符 |