![download video for testing download video for testing](https://raidofgame.com/uploads/posts/2020-01/1579198364_screenshot-4-test-drive-unlimited-2.jpg)
After ~2 seconds, we re-request a playlist (at the same address as we did the first time). When viewing the broadcast, we request a playlist (manifest), from which we get links to the chunks and load them (only the last three chunks are used). As an example, we will use a service for online broadcasts. Then, the online video is encoded to HLS format and delivered to users. Today, most video services work with an incoming RTMP stream. The first article contains an example for VOD. Our blog already contains an article about working with HLS through the HTTP Request Sampler, and also about working with the HLS Plugin. HLS cuts video content into short blocks - chunks, and then these short fragments are delivered via HTTP.
#Download video for testing how to#
How to Test Video Streaming Protocols Load Testing HLS/MPEG-DASH Let's proceed to the implementation of scripts and after that we will return to the problem of metrics calculation in the end.
![download video for testing download video for testing](https://tenocation.com/wp-content/uploads/2017/12/Internet-Speed-Test.png)
Note: items 1-6 from the list can also be obtained using the HLS commercial plugin developed by Ubik Ingénierie for video streams that work through HLS, MPEG-DASH and Smooth protocols. Therefore, at the end I will propose a solution for obtaining these last two KPIs. However, I am concerned about the correctness of the results for lag time through JMeter because of the calculation complexity and the features of the player used, which can affect the playback of the video stream. The fifth and sixth metrics can be calculated using timers and frame load time for some of the protocols. We can use JMeter to get the first four metrics.
![download video for testing download video for testing](https://windows-cdn.softpedia.com/screenshots/FRAFS-Test-Pattern_1.jpg)
You need to pay attention to the most popular resolutions in your tests when creating your scripts. When you watch a video using your phone, you have less video resolution than when you watch it using a laptop.