问题
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:
- 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.
- If video stream lives at your server - you can use TCP Sampler to request stream
- If your page contains URL to video file it can be fetched via i.e. Regular Expression Extractor and downloaded as a regular file.
来源:https://stackoverflow.com/questions/26170268/jmter-constant-video-stream