createEnvironment
Set up an environment for a test target, including discovery URL, test account login, and header configuration to enable automated testing.
Instructions
the createEnvironment tool can create an environment for a given test target. an environment represents a specific setup or deployments for a test target. It include a test account when necsesary to login, a header configuration, a discovery url and a set of variables.
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": {
"testTargetId": "<testTargetId>",
"name": "<name>",
"discoveryUrl": "<discoveryUrl>"
},
"name": "createEnvironment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the environment | |
| basicAuth | No | Optional basic authentication credentials, if discovery needs authentication | |
| testAccount | No | Optional test account credentials, if discovery needs authentication | |
| discoveryUrl | Yes | URL used for test discovery | |
| testTargetId | Yes | Unique identifier of the test target | |
| privateLocationName | No | Optional name of the private location, if discovery needs to discover in a private location e.g. behind a firewall or VPN | US Proxy |
| additionalHeaderFields | No | Optional additional HTTP header fields, if discovery needs additional headers to be set |