Hello Frederic,apart from Dimitri's answer, another possible solution requires a bit of coding from yourself.
You can replace the component, that identifies the embedded resources. Have a look at
https://jmeter.apache.org/usermanual/component_reference.html#HTTP_RequestThe JMeter property htmlparser.className can be used to set that component. Unfortunately all the built-in components behave as Dimitri explained. They look for the standard resources.
You are free to look at the currently implemented components and extend them (copy/modify/sub-class) to your specific need.
Felix Am 15.04.22 um 14:24 schrieb Dmitri T:
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
OpenPGP_0xEA6C3728EA91C4AF.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature