Hi, Why would JMeter download the image given it doesn't have *src *attribute?
This *data-src* doesn't have any meaning neither for JMeter nor for browser hence it's being ignored (as well as any other data-* attribute <https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data-*>)
If your web application uses this "data-src" for some form of lazy loading <https://en.wikipedia.org/wiki/Lazy_loading>unfortunately there is no easy way to instruct JMeter to parse custom attributes which don't have any behaviour which is described in the specification <https://datatracker.ietf.org/doc/html/rfc1866#section-5.10>
So you have the following options: 1. Fetch URLs of the images having this "data-src" attribute using CSS Selector Extractor <https://jmeter.apache.org/usermanual/component_reference.html#CSS_Selector_Extractor> and then simulate the download using Parallel Sampler <https://github.com/Blazemeter/jmeter-bzm-plugins/blob/master/parallel/Parallel.md#parallel-sampler> 2. Create your own version of HTTP Request sampler <https://www.blazemeter.com/blog/how-to-develop-a-jmeter-plugin-intro-and-best-practices> which will be handling the images with "data-src" attributes according to your web application business or technical requirements. On 4/14/2022 11:50 AM, Frederic Beaumont wrote:
Hello, JMeter does not seem to be able to download an embedded image with this kind of html tag: <img class="xxxx" data-src="https://yyyy/image.jpg?sw=433&sh=635&" /> Is it configurable ? Thanks Regards Frederic Beaumont