Generate New Communication Key
The Communication Key is required by all Test Studio Scheduling components - services and clients, to establish the connection and communicate between each other. You can get the current key or generate a new one in the Scheduling Config wizard.
Copy Current Key
The Communication tab in the Scheduling Config wizard lets you manage the current key in use or generate and import a new one.
The Current Key section allows you to Copy to Clipboard the current key in use or Show its value (for the cases when copying is not an option). The copied key can be imported for the other components of the setup - the Test Studio Test Runner application on the Execution machines, and the project connect wizard.
Note
The communication key is set per machine. That means when you add the key for one component, it gets used for all other components on the same machine after resatrting the process.
Generate New Key
The Replace Key section lets you Generate a new key. Once generated, the new value is populated in the text field and is ready to be imported.
Importing New Key in Single Machine Scheduling Setup
Once you generate a new key, hit the Import button to replace the current key in use for the Scheduling service. This triggers restart of the service to take the new key and restart of the Execution client application.
In the setup where all components of the Scheduling configuration are on the same machine, you only need to restart all Test Studio processes to ensure the new key is imported. Follow the below steps:
- Open the Scheduling config wizard.
- In the Communicaion tab generate new communication key.
- Hit the Import button and wait for a while.
- The Scheduling service is restarted in the background.
- The Execution client application from the system tray is restarted.
- Restart Test Studio standalone application.
- Continue with connecting the project to the Scheduler and scheduling test lists.
Importing New Key in Multiple Machines Scheduling Setup
Once you generate a new key, hit the Import button to replace the current key in use for the Scheduling service. This triggers restart of the service to take the new key and restart of the Execution client application on that same machine.
In the setup where all components of the Scheduling configuration are on different machines, you need to import the new key on each machine. Follow the below steps:
- Open the Scheduling config wizard on the machine where the Scheduling service is.
- In the Communicaion tab generate new communication key.
- Hit the Import button and wait for a while.
- The Scheduling service is restarted in the background.
- The Execution client application from the system tray on this machine is restarted.
- Copy the new key value.
- Logon to each Execution machine and import the new key value in the Execution client application from the system tray.
- On the machine with the project open the Scheduling Server Settings window by clicking the Connect button.
- Import the new communication key and connect to the Scheduling server.
- Once the connection is successful you can confirm the setup and continue with scheduling test lists.