Networked Media Open Specifications

Testing Controllers

←Usage - Testing IS-07 MQTT · Index↑ · Usage - Fully Automated Testing of Controllers→

Running the Semi-automatic Controller Tests

Launch the Testing Façade. By default the Testing Façade will run on localhost port 5001. This can be altered by adding TESTING_FACADE_PORT to your UserConfig.py file as described in Installation.

python3 nmos-testing-facade.py

Launch the NMOS Testing tool in the usual way.

In the NMOS Testing Tool select one of the ‘Controller’ test suites and configure the IP/Hostname to that of the machine running the Testing Façade (e.g. localhost) and the Port to the Testing Façade’s port (use 5001 by default).

Select and launch the tests from the NMOS Testing tool, and follow the instructions displayed on the Testing Façade.

Secure Controller Testing

Secure testing should typically be done in a unicast DNS-SD environment, by setting DNS_SD_MODE to ‘unicast’ in UserConfig.py (see Usage - Testing Unicast Discovery).

Before running the Controller tests in secure mode, add entries to the hosts file of the host running the test suite, and the host running the Controller under test, pointing at the IP address of the host running the test suite. These entries should correspond to the DNS_DOMAIN and be of the form ‘mocks.', which by default should be 'mocks.testsuite.nmos.tv'.

More details on secure testing can be found in the BCP-003-01 TLS section.

Known Issues

←Usage - Testing IS-07 MQTT · Index↑ · Usage - Fully Automated Testing of Controllers→