Configuring port numbers for agents

If any service, such as an application server, on the workbench computer uses the default port numbers, you can change the port numbers so that agents can communicate through the new port numbers.

About this task

By default, the port numbers for unsecured and secured ports are 7080 and 7443. The HCL OneTest Performance agents poll the workbench using the non-secure port number. If you want to encrypt the communication between the workbench and agents, select Workbench and agent communication is encrypted using TLS/SSL. HCL OneTest Performance then uses the secure port number for communicating with agents. The workbench internally sends the secure port number to the agents via messages exchanged over the non-secure port number.
Note:
  • If you change the non-secure port number, you must configure the agents to poll the new port number. In the HCL OneTest Performance computer, open the majordomo.config file located at installationDir/Majordomo and update the port number.
  • If two instances of a workbench are opened on one computer, first workbench gets access to port 7080 to communicate to an agent. For the another workbench to access the agent, you must use a different port number.
  • To work with a dataset, you must ensure that two consecutive port numbers are available. One of the ports is used to communicate between the workbench and agent, and the other is for the dataset server. For example, you must ensure that the port number 7081 is open for the dataset server if the default port number 7080 is used to communicate between the workbench and agent. Similarly, if you use any different port number for communication between the workbench and agent, you must ensure that the next port number is available for the dataset server.

Procedure

  1. In HCL OneTest Performance, click Windows > Preferences > Test > Server.
  2. Specify the new port numbers and click OK.

What to do next

You must now update the majordomo.config file for the agents to poll the new port numbers.