Cool ... I think that's a nice addition. Regards,
Matt C. -----Original Message----- From: sebb [mailto:[EMAIL PROTECTED] Sent: Thursday, June 28, 2007 6:32 AM To: JMeter Users List Subject: Re: Load some, but not all, embedded resources? On 28/06/07, Bennett McElwee <[EMAIL PROTECTED]> wrote: > How can I get JMeter to load all embedded resources in a file, *except* > for some specific ones? Not possible in JMeter 2.2, but the current code (see nightly builds) includes an option to match embedded resources against a regular expression. > Pages in the web app I am testing contain some JavaScript tags that load > scripts from a third-party site. The scripts are there to track page > impressions. These scripts take several seconds (5-10s) to load, but > they're right at the bottom of the page so the page renders quickly > anyway and users don't see the difference. However, the page times in > JMeter do include the script loading times and so the times are really, > really long. I would like JMeter to exclude these script files from its > timings; for example, I'd like to not download any embedded resources > matching some specific pattern. [If the links are purely for tracking impressions, then the fact that they take a long time suggests that they should be replaced with a faster method - or removed] > Another option would be to use the recorder and record every individual > embedded resource, and then simply delete the script requests from the > plan. But the app is dynamic in that the embedded resources on each page > change continually, so this doesn't really help. Or you could temporarily override the DNS for those hosts by updating the local hosts file; perhaps point them to a server that can handle the load or maybe just to 127.0.0.1. > Can it be done? > > Thanks, > Bennett. > -- > Bennett McElwee > > This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, destroy it, and do not copy or use any part of this communication or disclose anything about it. Thank you. Please note that this communication does not designate an information system for the purposes of the Electronic Transactions Act 2002. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

