SaveDataServiceApiTestResult
Save API test results to DataWorks, including success and failure examples, for automated testing workflows.
Instructions
保存API测试结果
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "SaveDataServiceApiTestResult"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ApiId | No | API的ID | |
| ProjectId | No | DataWorks工作空间的ID | |
| AutoGenerate | No | 是否使用系统自动生成结果,如果不传resultSample/failResultSample参数,则使用系统默认生成的 | |
| ResultSample | No | 非必填参数,API测试成功的结果示例 | |
| FailResultSample | No | 非必填参数,API测试失败的结果示例 |