Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To configure streaming video load and stress tests you can use WCS server settings. Tests will start after the server startup.

- StreamingLoadTest: the test stream is generated by the WCS server; a preconfigured number of subscribers connect to the stream

- StreamingCustomStreamStressTest: a preconfigured number of subscribers connect to the real stream published on the WCS server

Settings examples

- the StreamingLoadTest test with duration of 10 minutes; no transcoding for five subscribers, transcoding for seven subscribers

Code Block
languagebash
themeRDark
streaming_load_test_duration_minutes=10
streaming_load_test_proxy_subscribers=5
streaming_load_test_encoding_subscriber_groups=2,5
start_test=true
streaming_tests=StreamingLoadTest

- the StreamingCustomStreamStressTest test without transcoding for all subscribers; up to sixty subscribers can connect simultaneously

Code Block
languagebash
themeRDark
streaming_custom_stream_stress_test_rate=500
streaming_custom_stream_stress_test_subscriber_ttl_sec=30
streaming_custom_stream_stress_test_max_proxy_subscribers=100
streaming_custom_stream_stress_test_encoding_subscriber_groups=0
streaming_custom_stream_stress_test_stream_name=testStreamName
start_test=true
streaming_tests=StreamingCustomStreamStressTest

Here testStreamName - is the name of the stream that must be published on the WCS server (for instance, using one of example clients for stream publishing) in order to run the test.

Include Page
WCS5EN:Server settings tests 
WCS5EN:Server settings tests