- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.integrations.connectors.executeTest
Execute a test on a connector definition script.
HTTP request
Path parameters
| Parameters | |
|---|---|
| integrationIdentifier | 
 Required. The parent identifier (from route) | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| {
  "agentIdentifier": string,
  "connector": {
    object ( | 
| Fields | |
|---|---|
| agentIdentifier | 
 Optional. The agent identifier for remote testing | 
| connector | 
 Required. The connector object to test The full connector object is needed as there is an option to run the test without saving the connector first. | 
Response body
Test connector definition script response.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| { "outputMessage": string, "debugOutputMessage": string, "resultJson": string } | 
| Fields | |
|---|---|
| outputMessage | 
 Output only. Human-readable output message set by the script. | 
| debugOutputMessage | 
 Output only. The script debug output. | 
| resultJson | 
 Output only. The result json if exists. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the integrationIdentifier resource:
- chronicle.connectors.update
For more information, see the IAM documentation.