1.Download Test Packages
Download the appropriate ONVIF Profile conformance test package and extract it:
2.Modify Configuration Files
Edit the default configuration files:
Recommended configuration for the ONVIF server (onvif.cfg)
<config>
<server_ip></server_ip>
<http_enable>1</http_enable>
<http_port>8000</http_port>
<https_enable>1</https_enable>
<https_port>8443</https_port>
<cert_file>ssl.ca</cert_file>
<key_file>ssl.key</key_file>
<http_max_users>16</http_max_users>
<ipv6_enable>0</ipv6_enable>
<need_auth>1</need_auth>
<log_enable>1</log_enable>
<log_level>1</log_level>
......
</config>
Recommended configuration for the ONVIF RTSP server (onvif.cfg)
<config>
<server_ip></server_ip>
<http_enable>1</http_enable>
<http_port>80</http_port>
<https_enable>1</https_enable>
<https_port>443</https_port>
<cert_file>ssl.ca</cert_file>
<key_file>ssl.key</key_file>
<http_max_users>16</http_max_users>
<ipv6_enable>1</ipv6_enable>
<need_auth>1</need_auth>
<log_enable>1</log_enable>
<log_level>1</log_level>
......
</config>
Recommended configuration for the rtsp server (rtsp.cfg)
<config>
<serverip></serverip>
<rtsp_port>554</rtsp_port>
<rtsps_enable>1</rtsps_enable>
<rtsps_port>322</rtsps_port>
<rtsps_cert>ssl.ca</rtsps_cert>
<rtsps_key>ssl.key</rtsps_key>
<loop_nums>-1</loop_nums>
<multicast>1</multicast>
<metadata>1</metadata>
<udp_base_port>22000</udp_base_port>
<rtsp_over_http>1</rtsp_over_http>
<http_port>80</http_port>
<rtsp_over_https>1</rtsp_over_https>
<https_port>443</https_port>
<https_cert>ssl.ca</https_cert>
<https_key>ssl.key</https_key>
<ipv6_enable>1</ipv6_enable>
<need_auth>1</need_auth>
<log_enable>1</log_enable>
<log_level>1</log_level>
......
</config>
3.Delete Runtime Config (If Exists)
If a runtime configuration file named onvifrun.cfg exists, delete it.
4.Launch Servers
Launch both the ONVIF server and the RTSP server.
⚠️ Port Conflict Warning: The ONVIF server and the ODTT must run on separate computers. Both require UDP port 3702 for device discovery.
⚠️ Firewall Notice: Disable the firewall on the computer running the ODTT to ensure event notifications are received during subscription tests.
5.Discover Devices
In the ODTT, click the “Discover Devices” button, as the following:
6.Get Events
Switch to “Management” tab, select “Events” tab, then click “Get” button, as the following:
7.Get Recording
Select “Recording” tab, then click “Get” button, as the following:
8.Run Conformance Test
Switch to “Conformance Test” tab, click “Start Conformance Test” button: