Creates a test task for a service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenestsupplier:CreateServiceTestTask |
create |
*ServiceTestTask
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskName |
string |
Yes |
The name of the task. |
nametest |
| TestCaseIds |
array |
Yes |
The service test use cases. |
|
|
string |
No |
The ID of a service test use case. |
stc-xxxx |
|
| TaskRegionId |
string |
No |
The region where the task is executed. |
cn-beijing |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PlainResult |
||
| TaskId |
string |
The unique ID of the task. |
stt-568c2c5a687a409b977e |
| RequestId |
string |
The request ID. |
DF0F666F-FBBC-55C3-A368-C955DE7B4839 |
Examples
Success response
JSON format
{
"TaskId": "stt-568c2c5a687a409b977e",
"RequestId": "DF0F666F-FBBC-55C3-A368-C955DE7B4839"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.