https://bz.apache.org/bugzilla/show_bug.cgi?id=62784

--- Comment #2 from [email protected] ---
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="...">
    <picture>
      <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"
alt="Alt">
    </picture>
  </div>
</figure>

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?

-Jürgen

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to