Unexpected character '#' (code 35) in prolog; expected '<'

379 views
Skip to first unread message

Neal Kranes

unread,
Feb 12, 2021, 11:03:28 AM2/12/21
to jmeter-plugins
I am having issues using the Blazemeter jmeter plugin on my hls url. 
The error:
2021-02-12 10:40:51,333 WARN c.b.j.v.c.VideoStreamingSampler: Problem downloading playlist
com.blazemeter.jmeter.videostreaming.core.exception.PlaylistParsingException: Error parsing contents from https://stream.frame.io/manifest/hls/master?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdW[truncated url]
at com.blazemeter.jmeter.videostreaming.dash.Manifest.fromUriAndBody(Manifest.java:56) ~[jmeter-bzm-hls-3.0.3.jar:?]
at com.blazemeter.jmeter.videostreaming.core.VideoStreamingSampler.downloadPlaylist(VideoStreamingSampler.java:120) ~[jmeter-bzm-hls-3.0.3.jar:?]
at com.blazemeter.jmeter.videostreaming.dash.DashSampler.sample(DashSampler.java:34) ~[jmeter-bzm-hls-3.0.3.jar:?]
at com.blazemeter.jmeter.videostreaming.core.VideoStreamingSampler.sample(VideoStreamingSampler.java:79) [jmeter-bzm-hls-3.0.3.jar:?]
at com.blazemeter.jmeter.hls.logic.HlsSampler.sample(HlsSampler.java:198) [jmeter-bzm-hls-3.0.3.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) [?:?]
Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character '#' (code 35) in prolog; expected '<'
at [row,col {unknown-source}]: [1,1]
at com.fasterxml.jackson.dataformat.xml.XmlFactory._initializeXmlReader(XmlFactory.java:690) ~[jackson-dataformat-xml-2.10.2.jar:2.10.2]
at com.fasterxml.jackson.dataformat.xml.XmlFactory._createParser(XmlFactory.java:586) ~[jackson-dataformat-xml-2.10.2.jar:2.10.2]
at com.fasterxml.jackson.dataformat.xml.XmlFactory.createParser(XmlFactory.java:464) ~[jackson-dataformat-xml-2.10.2.jar:2.10.2]
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3214) ~[jackson-databind-2.10.3.jar:2.10.3]
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3182) ~[jackson-databind-2.10.3.jar:2.10.3]
at io.lindstrom.mpd.MPDParser.parse(MPDParser.java:43) ~[mpd-parser-0.8-jdk8.jar:?]
at com.blazemeter.jmeter.videostreaming.dash.Manifest.fromUriAndBody(Manifest.java:54) ~[jmeter-bzm-hls-3.0.3.jar:?]
... 10 more


A snippet of the manifest file returned:
#EXTM3U
#EXT-X-VERSION:7
#EXT-X-INDEPENDENT-SEGMENTS

#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="und",CHANNELS="2",NAME="Audio Track 0",AUTOSELECT=YES,DEFAULT=YES,URI="media?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOnsidXJsIjoiczM6Ly9mcmFtZWlvLWFzc[truncated url]"


#EXT-X-STREAM-INF:BANDWIDTH=1502528,CODECS="avc1.42c01e,mp4a.40.5",RESOLUTION=640x360,FRAME-RATE=23.833333333333332,VIDEO-RANGE="SDR",AUDIO="audio"
media?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWI[truncated url]


MacOS
jmeter 5.3
Blazemeter plugin 3.0.3



Ricardo Poleo

unread,
Jun 24, 2021, 2:30:15 PM6/24/21
to jmeter-plugins
Hello Neal,

I was reviewing this issue and, apparently, the URL is expired, so I can't test it out.

Have you tried the new version of the plugin? v3.1 was released not that long ago.

Please let me know if you still have any issues and, if that's the case, please share here the URL and the configurations used to investigate further.

At any rate,

Stay positive and have a great week,

Reply all
Reply to author
Forward
0 new messages