Managing environments
Locking a Rational® Test Control Panel environment prevents other users from changing the state of that environment, for example, starting or stopping stubs.
Locking and unlocking environments
-
Domain level security is disabled: You must specify a user name to lock and unlock the environment. The same user name must be used while performing any other operations in the same environment, such as starting or stopping of stubs and scenarios. Rational® Test Control Panel environment locks do not use authentication because they are intended to facilitate collaborative working and not security. The locks check user names, thus preventing accidental changes to an environment that another user is using.
-
User security is disabled: If Rational® Test Control Panel security is disabled, you can still use the Rational® Test Control Panel Ant Client to lock an environment because the user name provided to the lock-environment command does not need to be a Rational® Test Control Panel user.
- Domain level security is enabled: You must specify the security token instead of the user name while locking and unlocking the environment. These security tokens are generated in the server Administration page. The environment gets locked in the name of the user associated with the specified security token. While performing any other task in that environment, (such as starting or stopping of stubs and scenarios), the user must specify a security token that was generated for the same user who locked the environment.
Deleting environments
Based on the domain level security setup in Rational® Test Control Panel, you must specify the user details for deleting an environment.
- Domain level security is disabled: Only a server admin can delete an environment (not a standard user).
-
User security is disabled: If user security is disabled, any user can delete an environment.
- Domain level security is enabled: Only domain admins for that domain can delete environments in that domain. You must specify the security token instead of the user name deleting the environment. These security tokens are generated in the Rational® Test Control Panel Administration page. The user associated with the specified security token must have the domain administrator role in the domain that contains the environment that is being deleted. The Rational® Test Control Panel audit log will record which user deleted the environment.