1

AFAIK there are 2 video streaming plugins available for JMeter:

  • BlazeMeter - HLS Plugin and
  • UbikLoadPack Video Streaming plugin

UbikLoadPack as a prohibitive pricing tag and HLS Plugin doesn't test the format I need. Also I want a FOSS solution not a paid one.

Does anyone know of some other plugin or method I could test a webm video stream ?

Edit

@dmitri-t when I try to do this it just hangs. Here I found this script that shows how to test a video. But when I changed the parameters to my video and range to 0-100 it hanged. Also the example is using HTTP and my video uses HTTPS.

Tried to include a timer. It hangs also.

Yet the video loads perfectly in Chrome with the same url I used in Jmeter.

I also tested the request with Postman. It ignores the range header. So what's probably happening in JMeter is that it's trying to load the whole continuous stream. How do I make it consider range header ?

I tested with Postman on an image in the same server to see if range header was being considered or if it was a server problem and range was respected correctly.

Content-Range header doesn't work also. Please check this related question I did relative to the range problem with streams: Request to a webm stream ignores range header

Nelson Teixeira
  • 6,297
  • 5
  • 36
  • 73

1 Answers1

-1

I don't think you need any form of plugin, you can simulate the browser playing the video using normal HTTP Request sampler sending simple HTTP GET request

Here is the evidence that "playing" an webm "stream" is nothing more than downloading it.

enter image description here

It would be a good idea to add Timers to simulate users watching the video till the end (or according to your test case)

Dmitri T
  • 159,985
  • 5
  • 83
  • 133
  • see my edit in the question – Nelson Teixeira Oct 21 '21 at 18:33
  • What do you expect from me? To visit your question daily to see whether you "edited" something and if there are no links to other questions (which are not related to the original one by any means)? If you need to request partial video - use [Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range) header via [HTTP Header Manager](https://www.blazemeter.com/blog/using-jmeters-http-header-manager/). If your server doesn't respect the Range header - it's not a JMeter problem. – Dmitri T Oct 27 '21 at 07:08
  • The Range header on HTTP Header Manager doesn't work for continuous flows. Only for fixed length videos and fixed lengths resources. It's not the server that isn't respecting it. I use Apache. Test it outside JMeter in Postman or Imnsonia and you'll see. – Nelson Teixeira Oct 27 '21 at 19:34
  • I didn't mean to be "rude" to you in particular or whoever in general, I do apologize if it sounds offensive. In order to help you further we need an example of an "endless webm stream" (I tried to search one and failed) – Dmitri T Oct 28 '21 at 08:55