Prevent rUsers and Injector's Accounts From Logging Off During Load Test

Problem

rUsers and Injector's accounts are being logged off during a load test.

Solution

If you currently have a group policy or a domain policy that logs off windows users after they are idle, then you will need to change some configurations on the Injector and AppLoader machines to ensure that the users do not get logged off during the load test.

1- Injector machines:

You will need to configure rUserManager application to make it keep the sessions open to the users that are running the test. 

  1. Go to the installation directory of the Injector
  2. Open the rusermanager.conf file
  3. Uncomment (or add) the following lines to the configuration file

    // Key to be sent to each session. default value is the shift key (16)
    keepalivekey=44
    // Time delay to send the key
    keepaliveseconds=30

    • The keepalivekey can be the shift key (keepalivekey=16), or it can be the Print Screen key (keepalivekey=44)
    • The keepaliveseconds can be changed based on your policy (e.g. 3600 for one hour delay)

2- AppLoader machine (or a different machine that does not have the policy):

You will need to use INJrdpManager in order to keep sessions open to all of your Injector machines.

  1. Go to the installation directory of AppLoader and navigate to the path \apps\install\
  2. Open the INJrdpManager .conf file
  3. Uncomment (or add) the following lines to the configuration file

    // Key to be sent to each session. default value is the shift key (16)
    keepalivekey=44
    // Time delay to send the key
    keepaliveseconds=30

    • The keepalivekey can be the shift key (keepalivekey=16), or it can be the Print Screen key (keepalivekey=44)
    • The keepaliveseconds can be changed based on your policy (e.g. 3600 for one hour delay)

  4. Open the INJrdpManager.exe and create a new srdp connection file 
  5. Add a line for each of your injector machines and click Save

Note: If your AppLoader machine also has the same policy, then you will need to get the INJrdpManager on a different machine on the same network that does not have that policy and use it to keep the Injector machines connected:

  1. Go to the installation directory of AppLoader and navigate to the path \apps\install\
  2. Copy the following files: INJrdpManager.exe, INJrdpManager.ico, and INJrdpManager.conf
  3. Paste the files in a new folder on the other machine
  4. Follow steps 1-5 above to open the sessions to the Injector machines.