Unlocking an environment by using the command line

You can unlock an environment by using the HCL DevOps Test Integrations and APIs (Test Integrations and APIs) command line. This option is useful in situations where Ant is not available.

The syntax to use is as follows::
IntegrationTesterCmd Options unlock-environment
Here is an example syntax:
IntegrationTesterCmd --serverUrl "https://Hostname or IP address:5443/RTCP/" 
--domain <Domain name> --environment <Environment name> 
--username <User name> unlock-environment

The following table lists the options that you can use with the IntegrationTesterCmd command for unlocking an environment.

Table 1. List of available options
Option Description
--serverUrl/-u URL of HCL DevOps Test Virtualization Control Panel (Test Virtualization Control Panel).
--domain/-d Domain name
--environment/-e Environment name
--username/-l Specify the user name to authenticate with Test Virtualization Control Panel to unlock the environment when the domain security is disabled.
--securityToken

Specify the security token generated for you to authenticate with Test Virtualization Control Panel when the domain security is enabled. In the locked environment mode, the operation can be performed by the user who locked the environment.

Error codes

For details of any error codes, see Exit codes for Command-line client and Ant client.