错误:使用带有插件HLS采样器的JMeter加载测试HLS
我尝试使用JMeter和HLS采样器测试我的HLS服务器。但是在我的cmd上有一个notif错误。我该怎么办错误:使用带有插件HLS采样器的JMeter加载测试HLS,jmeter,http-live-streaming,jmeter-plugins,Jmeter,Http Live Streaming,Jmeter Plugins,我尝试使用JMeter和HLS采样器测试我的HLS服务器。但是在我的cmd上有一个notif错误。我该怎么办 java.io.FileNotFoundException: http://192.168.2.215/vod/BF1.mp4/chunk.m3u8 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructo
java.io.FileNotFoundException: http://192.168.2.215/vod/BF1.mp4/chunk.m3u8
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.blazemeter.jmeter.hls.logic.Parser.getBaseUrl(Parser.java:49)
at com.blazemeter.jmeter.hls.logic.HlsSampler.getPlayList(HlsSampler.java:104)
at com.blazemeter.jmeter.hls.logic.HlsSampler.sample(HlsSampler.java:156)
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:498)
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:424)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: http://192.168.2.215/vod/BF1.mp4/chunk.m3u8
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.blazemeter.jmeter.hls.logic.Parser.getBaseUrl(Parser.java:46)
... 6 more
有两种可能性:
- 悬而未决的考验,考验永远不会结束
- 误报(测试标记为失败,但没有实际问题)
- 许多HLS可能性未得到处理
- 我们甚至不必谈论直播流,直播流比视频点播复杂得多,而且只适用于极少数简单的情况
最后,您通常需要分析插件所缺少的负载测试。我在blazemeter上尝试了30个线程用户使用HTTP请求,没有错误。但当我检查我的服务器(htop&nload)时,没有流量。顺便说一句,我的服务器使用Ubuntu 16.04。