JMeterThread: Ошибка при обработке сэмплера: 'bzm_Streaming_Sampler'. java .lang.NullPointerException: нуль - PullRequest
0 голосов
/ 29 мая 2020

Я использую Jmeter 5.3 с подключаемым модулем потоковой передачи (подключаемый модуль HLS 3.0.2). Все работает нормально с MPEG-DA SH, но при использовании HLS я получаю следующую ошибку:

2020-05-26 12:14:45,341 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=5 ramp-up=2 delayedStart=false
2020-05-26 12:14:45,342 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-1
2020-05-26 12:14:45,343 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2020-05-26 12:14:45,343 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2020-05-26 12:14:45,371 ERROR o.a.j.t.JMeterThread: Error while processing sampler: 'bzm_Streaming_Sampler'.
java.lang.NullPointerException: null
    at com.blazemeter.jmeter.videostreaming.hls.Playlist.getRenditionUri(Playlist.java:103) ~[jmeter-bzm-hls-3.0.2.jar:?]
    at com.blazemeter.jmeter.videostreaming.hls.Playlist.solveMediaStream(Playlist.java:72) ~[jmeter-bzm-hls-3.0.2.jar:?]
    at com.blazemeter.jmeter.videostreaming.hls.HlsSampler.sample(HlsSampler.java:43) ~[jmeter-bzm-hls-3.0.2.jar:?]
    at com.blazemeter.jmeter.videostreaming.core.VideoStreamingSampler.sample(VideoStreamingSampler.java:79) ~[jmeter-bzm-hls-3.0.2.jar:?]
    at com.blazemeter.jmeter.hls.logic.HlsSampler.sample(HlsSampler.java:184) ~[jmeter-bzm-hls-3.0.2.jar:?]
    at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1270) ~[ApacheJMeter_http.jar:5.3]
    at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:630) ~[ApacheJMeter_core.jar:5.3]
    at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:558) ~[ApacheJMeter_core.jar:5.3]
    at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:489) [ApacheJMeter_core.jar:5.3]
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256) [ApacheJMeter_core.jar:5.3]
    at java.lang.Thread.run(Thread.java:832) [?:?]

Главный плейлист выглядит так:

#EXTM3U
## Generated with https://github.com/google/shaka-packager version v2.3.0-atx-0.3-6642829-release

#EXT-X-MEDIA:TYPE=AUDIO,URI="0/audio-hls.m3u8",GROUP-ID="audio",NAME="English",AUTOSELECT=YES,CHANNELS="2"

#EXT-X-MEDIA:TYPE=CLOSED-CAPTIONS,GROUP-ID="cc",NAME="English",LANGUAGE="en",DEFAULT=YES,AUTOSELECT=YES,INSTREAM-ID="CC1"

#EXT-X-STREAM-INF:BANDWIDTH=3202127,AVERAGE-BANDWIDTH=2008141,CODECS="avc1.4d0029,mp4a.40.2",RESOLUTION=1280x720,FRAME-RATE=29.970,AUDIO="audio",CLOSED-CAPTIONS="cc"
0/video-hls.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1668708,AVERAGE-BANDWIDTH=1108892,CODECS="avc1.4d0029,mp4a.40.2",RESOLUTION=853x480,FRAME-RATE=29.970,AUDIO="audio",CLOSED-CAPTIONS="cc"
1/video-hls.m3u8

Есть идеи, что проблема могла быть? Или как решить эту проблему дальше?

...