jmter constant video stream

2019-07-16 12:20发布

问题:

I'm using Jmeter to load test a video stream, I can pass the login information but I need to have Jmeter "hold" at a page that serves up a video stream. How can I do this? I have cookie manager already set.

回答1:

  1. If video stream doesn't live on your server you don't need to test it at all. For instance, if your site has YouTube frame you need to exclude YouTube domain from embedded resources.
  2. If video stream lives at your server - you can use TCP Sampler to request stream
  3. If your page contains URL to video file it can be fetched via i.e. Regular Expression Extractor and downloaded as a regular file.