Bug 40933 - Option to retrieve embedded resources only from same server as main page
Option to retrieve embedded resources only from same server as main page
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: HTTP
2.2
All All
: P3 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2006-11-09 01:30 UTC by Robin Houston
Modified: 2007-03-10 12:51 UTC (History)
0 users



Attachments
Patch against JMeter 2.2. Adds an option to retrieve embedded resources only from same server. (6.04 KB, patch)
2006-11-09 01:33 UTC, Robin Houston
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Houston 2006-11-09 01:30:16 UTC
I'm running some load tests for a client, which are intended to measure the
capacity of a particular web server to deal with heavy traffic. The option to
download embedded resources with an HTML page is of course very useful in
simulating a realistic load.

However, the pages contain a few embedded resources from other servers (e.g. ads
from a company-wide ad server). These shouldn't be fetched, because we don't
want to DoS the ad server or distort the statistics that it collects.

It would be useful if there were some way to fetch only those embedded resources
that live on the same host as the HTML page itself. I'll attach a simple
implementation of such an option, in case it's useful.
Comment 1 Robin Houston 2006-11-09 01:33:37 UTC
Created attachment 19104 [details]
Patch against JMeter 2.2. Adds an option to retrieve embedded resources only from same server.

Here's the patch (against 2.2)
Comment 2 Sebb 2007-03-10 12:51:23 UTC
See Bug 40945 which is a more general enhancement (match against RE)

The code has been added to SVN; will be in nightlies after r516782.