Full name: projects.locations.instances.integrations.actions.executeTest
Executes a test on a action definition script.
HTTP request
Path parameters
Parameters | |
---|---|
name |
Required. The resource name of the Action to test. Format: projects/{project}/locations/{location}/instances/{instance}/soar/integrations/{integration}/actions/{action} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"testCaseId": integer,
"action": {
object ( |
Fields | |
---|---|
testCaseId |
Required. The action test case. |
action |
Required. The action which will be tested. |
scope |
Required. The action test scope. |
integrationInstanceId |
Required. The integration instance id to use. |
Response body
Response message for ExecuteTest.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "output": string, "debugOutput": string, "resultJson": string, "resultName": string } |
Fields | |
---|---|
output |
Required. The script output. |
debugOutput |
Required. The script debug output. |
resultJson |
Optional. The result json if exists. |
resultName |
Optional. The script result. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.