Request to a webm stream ignores range header

Viewed 135

I'm using postman to test a continous webm videostream. But the range request is being ignored.

If I try using an image in the same server, range works ok. If I try it on as fixed length video it works ok.

This link has the fixed webm video I tested and worked: https://github.com/rubu/WebMPlayer/blob/master/Samples/big_buck_bunny_live.webm?raw=true

I can't provide the specific continuous stream I'm using because it's a corporative asset. Nor I was able to find any webm streams live on the web

Anyone knows how I can make range work for streams ? If someone knows any continuous webm stream that we could use as a test here it would also be helpful.

What I want is to generate a request that I can use in JMeter to include in a load test. So if someone can demonstrate how to do this request that loads a small amount of a continuous web stream in JMeter the answer is valid too.

1 Answers

You can see that accepting ranges is a server-side configuration as explained here

You'll see that in a less public server (than GitHub) you will be able to send a GET request and receive a Accept-Ranges: bytes so it depends on the configuration.

My working example is illustrated here :

enter image description here

NB : As stated in RFC7233's Intro this is only possible with GET requests.

Related