jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 62784] Add download of embedded resources using HTML5 tags in HTTP Requests
Date Mon, 01 Oct 2018 15:01:25 GMT

--- Comment #2 from ---
Since the load depends on the size of the img we will need a setting to define
the media properties. This is an example of the source I have, different media
sizes and one fallback image:

<figure class="...">
  <div class="...">
      <source media="(min-width: 1220px)" srcset="/...png 1x, /...png 2x">
      <source media="(min-width: 768px) and (max-width: 1219px)"
srcset="/...png 1x, /...png 2x">
      <source media="(min-width: 576px) and (max-width: 767px)" srcset="/...png
1x, /...png 2x">
      <img src="data:image/gif;base64,...==" srcset="/...png 1x, /...png 2x"

In this case I do not see any <img> tag (the fallback image) being downloaded,
surely because it's embedded (?). From my understanding JMeter has to implement
a flexible and versatile parallel download mechanism that follows the HTML5
spec. As the image size depends on the media attribute, I think it's a good
start to have some media regex to filter the sources and always download the
first match or the fallback, if nothing matches.

But speaking for this case above, JMeter does not recognize the srcset
attribute and therefore not any download is processed. That's imho not a parser
issue, it's an issue of the "embedded resource download" function of the HTTP
Requests sampler.

How can I propose new features for JMeter? Is this the right place to go?


You are receiving this mail because:
You are the assignee for the bug.
View raw message