Hi,

We've enabled 'Retrieve All Embedded Resources' for our HTTPS requests
for a performance test plan. I would like to include images (and their
size). Our images are hosted by ImgIX (optimization service). This
results in secured (signed) image tags on the website with references
like this:

https://client.imgix.net/https%3A%2F%2Ftest.client.nl%3A443%2F-%2Fmedia%2Fclient%2Fafbeeldingen%2Factiepanelen%2F20180518_hl7_le_00501-webformaat_2000px.ashx?q=20&fit=crop&crop=faces&dpr=2&auto=format&w=360&h=360&s=121a1a8adef696d82f866e5609cc50

As you can see the img url points to the actual hostname (where the
image is hosted) but it also contains an original site path
(https://test.client.nl). Also it contains a "s" parameter with an ID
to secure the url (no changes allowed).

Now the embedded resource request that Jmeter seems to make to request
the image is:

'https://client.imgix.net/https:/test.client.nl:443/-/media/client/afbeeldingen/'...
?s=121a1a8adef696d82f866e5609cc50 (shortened for readability)

which causes a 403 Forbidden.

This seems to make the imgix security check fail (url tampered with,
not same as signed url).If i copy/paste the original URL in browser it
works, if i copy/paste the decoded version in browser it doesn't.

I've tried the different out of the box HtmlParsers but they act the
same for this case. I just want the exact value as found in the HTML
source. Does anyone know if there is a way around this so these images
can be requested?

(this is on Apache JMeter 5.1.1r1855137, Windows 10)

Thanks in advance

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to