Running functional tests tutorial

This tutorial provides instructions on how to run the functional end-to-end tests on a rendering machine to validate the following:

1. Use a local or VM rendering machine

The target machine must run Windows 10 or Windows Server 2016 and must have a compatible Nvidia GPU that can run Nvencode.

2. Prerequisites

3. Modify the webrtcConfig.json

In order to test the end-to-end scenario, you need to modify webrtcConfig.json and specify the signaling and TURN server created above. In case you do not want to test a VPN/Corp network connection, set the iceConfiguration to none. The final configuration should look like:

{
  "iceConfiguration": "none",
  "turnServer": {
    "uri": "turn:turnserveruri:5349",
    "username": "username",
    "password": "password"
  },
  "serverUri": "https://SIGNALING_URI_CREATED_IN_STEP_2",
  "port": 443,
  "heartbeat": 5000
}

If you created a TURN server in step 2, keep the iceConfiguration to relay and add the uri, username and password in the configuration file:

{
  "iceConfiguration": "relay",
  "turnServer": {
    "uri": "turn:TURN_URI_CREATED_IN_STEP_2:3478",
    "username": "TURN_USERNAME_CREATED_IN_STEP_2",
    "password": "TURN_PASSWORD_CREATED_IN_STEP_2"
  },
  "serverUri": "https://SIGNALING_URI_CREATED_IN_STEP_2",
  "port": 443,
  "heartbeat": 5000
}

3. Running the tests

Tests failures

In case you have one more tests failing, here is a guideline of what could be wrong:

One rendering server connects to multiple clients test

In DISABLED_MultiClientsToServer test, you can set the following parameters: