Blazemeter / HLSPlugin

A repo to hold the OpenSource HLS JMeter Plugin code
Apache License 2.0
48 stars 17 forks source link

playlist reload frequency on live HLS stream excessive #7

Closed gmarzot closed 4 years ago

gmarzot commented 4 years ago

I see the release note about aiming to comply with RFC guidance (half target duration i presume). however I am still seeing the playlist loaded many times a second where the target duration is several seconds.

3.0 version of plugin 5.2.1 jmeter java 11 LTS

rabelenda commented 4 years ago

Hello, thank you to put in contact. I am sorry to hear you are experiencing unexpected behavior.

Can you provide the URL of the master playlist to verify? If the URL is private in some sense, then can you provide the contents of the m3u8 of the master and media playlist files? It would be helpful to get the debug logs of jmeter as well if you can provide them.

If you have any doubts, questions or comments, let us know.

Regards

gmarzot commented 4 years ago

https://teststream.ramp.com/ramptv/loop.m3u8

i would expect a playlist get about every 2.5 sec.

thanks for the very quick reply. I can test new version if that helps

curl https://teststream.ramp.com/ramptv/loop.m3u8

EXTM3U

EXT-X-TARGETDURATION:5

EXT-X-MEDIA-SEQUENCE:17987950

EXT-X-DISCONTINUITY-SEQUENCE:149899

EXTINF:3

video/stream-12072016/0500026413_player.hls-500k.split.70.ts

EXTINF:6

video/stream-12072016/0500026413_player.hls-500k.split.71.ts

EXTINF:5

video/stream-12072016/0500026413_player.hls-500k.split.72.ts

EXTINF:6

video/stream-12072016/0500026413_player.hls-500k.split.73.ts

EXTINF:3

video/stream-12072016/0500026413_player.hls-500k.split.74.ts

EXTINF:6

video/stream-12072016/0500026413_player.hls-500k.split.75.ts

EXTINF:6

video/stream-12072016/0500026413_player.hls-500k.split.76.ts

EXTINF:3

video/stream-12072016/0500026413_player.hls-500k.split.77.ts

EXTINF:6

video/stream-12072016/0500026413_player.hls-500k.split.78.ts

EXTINF:6

video/stream-12072016/0500026413_player.hls-500k.split.79.ts

EXTINF:3

video/stream-12072016/0500026413_player.hls-500k.split.80.ts

EXTINF:6

video/stream-12072016/0500026413_player.hls-500k.split.81.ts

EXTINF:6

video/stream-12072016/0500026413_player.hls-500k.split.82.ts g

On Sat, Feb 29, 2020 at 2:43 PM rabelenda notifications@github.com wrote:

Hello, thank you to put in contact. I am sorry to hear you are experiencing unexpected behavior.

Can you provide the URL of the master playlist to verify? If the URL is private in some sense, then can you provide the contents of the m3u8 of the master and media playlist files? It would be helpful to get the debug logs of jmeter as well if you can provide them.

If you have any doubts, questions or comments, let us know.

Regards

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Blazemeter/HLSPlugin/issues/7?email_source=notifications&email_token=AB7T3IBJZ2LXK6VUPU6LKC3RFFSOXA5CNFSM4K64NVR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENMEG3Y#issuecomment-592986991, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7T3IHQW774DRTWUZFITWDRFFSOXANCNFSM4K64NVRQ .

rabelenda commented 4 years ago

Thank you, we will check on it and let you know what we find.

Regards

rabelenda commented 4 years ago

We identified the root cause of the bug: it is related to interrupting a test and then starting a new one in the same JMeter instance. Can you verify that starting a fresh jmeter instance and not interrupting a plan the playlist reload times are properly working?

We are already working on fixing the above issue. If that is the issue you are experiencing then following release of the plugin should contain the fix. In the meantime, if you interrupt a test, you will need to restart jmeter for playlist reload times to work properly.

Sorry for the inconveniences, and thank you for reporting this bug.

gmarzot commented 4 years ago

yes - that is in keeping with what i was observing. I discovered that starting the jmeter session over for each run and the issue did not appear. I am seeing a playlist load at a proportional frequency to segment load - more or less 1-to-1. this is fine.

On Mon, Mar 2, 2020 at 3:30 PM rabelenda notifications@github.com wrote:

We identified the root cause of the bug: it is related to interrupting a test and then starting a new one in the same JMeter instance. Can you verify that starting a fresh jmeter instance and not interrupting a plan the playlist reload times are properly working?

We are already working on fixing the above issue. If that is the issue you are experiencing then following release of the plugin should contain the fix. In the meantime, if you interrupt a test, you will need to restart jmeter for playlist reload times to work properly.

Sorry for the inconveniences, and thank you for reporting this bug.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Blazemeter/HLSPlugin/issues/7?email_source=notifications&email_token=AB7T3IDG7TK3XKY7STQLLIDRFQJPFA5CNFSM4K64NVR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENQ3MFY#issuecomment-593606167, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7T3IBCVOQ4JXDPDPVFVSTRFQJPFANCNFSM4K64NVRQ .

RicardoPoleo commented 4 years ago

Hello @gmarzot! Sorry for our delayed answer. Hope you are doing amazing!

This issue was fixed in our last release. Please take a look at our release page and try it out!

I'm closing this issue and, if you have any problem, please don't hesitate to write us back.

See you soon, and have a great day.