Defining SignalR Connection Management Keys in CTM

In the Continuous Testing Manager (CTM) and the CTM Agent, you can define SignalR connection management keys to determine how often a ping message is sent over an idle connection and to set the maximum amount of time a client should wait for a message from the server.

To define SignalR connection management keys in CTM:

  1. On the application server where CTM is installed, open the following directory:

    C:\Program Files (x86)\Worksoft\Continuous Testing Manager

  2. Open the appsettings.json file.

    The appsettings.json file opens.

  3. Locate the SignalR section.

  4. Update the following values in the SignalR section:
  5. KeepAliveIntervalInSeconds

    In seconds, define how often a ping message is sent over an idle connection to keep the client and server connected.

  6. ClientTimeoutIntervalInMinutes

    Enter the maximum time the client should wait for a message from the server before considering the connection lost and triggering the close event.

  7. Save the updated file.

To define SignalR connection management keys in CTM Agent:

  1. On the machine where the CTM Agent is installed, open the following directory:

    C:\Program Files (x86)\Worksoft\Worksoft Continuous Testing Manager Agent

  2. Open the appsettings.config file.

    The appsettings.config file opens.

  3. Locate the following two keys and update the values in the SignalR section:
  4. KeepAliveIntervalInSeconds

    In seconds, define how often a ping message is sent over an idle connection to keep the client and server connected.

  5. ClientTimeoutIntervalInMinutes

    Enter the maximum time the client should wait for a message from the server before considering the connection lost and triggering the close event.

  6. Save the updated file.

 

Related Topics Link IconRelated Topics