Get the test target configuration for a specific environment
The ID of the test target
The execution URL for the test target
The directory where test output will be stored
Whether to run tests in headless mode (true/false)
Optional ID of the environment to use (defaults to the test target's default environment if not provided)
Test target configuration retrieved successfully
The test target configuration as plain text