On 14/01/2009, venn <[email protected]> wrote: > > > sebb-2-2 wrote: > > > > JMeter uses regular expression matching on the whole of the URL, so > > you need to use something like > > > > .*\.gif > > > > .* - match anything > > \. - match a dot only > > > > > > .gif would match only > > > > .gif > > agif > > xgif > > > > etc. > > > > On 28/07/07, [email protected] > > <[email protected]> wrote: > >> Use *\.jpg or the extensions u need to exclude... > >> > >> > >> Thanks, > >> Vijay Nandam > >> > >> > >> -----Original Message----- > >> From: Jonathan Goldstein [mailto:[email protected]] > >> Sent: Thursday, July 26, 2007 3:18 PM > >> To: JMeter Users List > >> Subject: Fwd: Proxy exclude pattern doesn't work > >> > >> OK, nobody answered... > >> > >> Has anyone else encountered such a problem? > >> > >> ---------- Forwarded message ---------- > >> From: Jonathan Goldstein <[email protected]> > >> Date: Jul 22, 2007 9:55 AM > >> Subject: Proxy exclude pattern doesn't work > >> To: JMeter Users List <[email protected]> > >> > >> > >> Hi, > >> > >> When recording with a proxy server, I try to exclude files like '.gif', > >> '.js', '.jsp' since they aren't needed when I run the test. However, the > >> filtering works only partially. Less files are recorded, but I still get > >> '.gif', '.jsp' and '.js' files. Anyone know why this is happening? > >> > >> > >> Thanks, > >> Jon > >> > >> --------------------------------------------------------------------- > >> 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] > > > > > > > > > Hello, can you help me with similar situation? I want to exclude requests on > "*.gif" files from Test. I add pattern ".*\.gif" into URL patterns for > exclude. Next action - restart of proxy.
That should work. > After recoring a sequance of > actions, I can see, that tree has request on getting for "__utm.gif" file. > Why it is happened? No idea, unless there is perhaps some spurious white space before or after the RE. > May be symbol '_' should be include with help '\'? For > example "\/*\_*\_*\d*\w*\.gif" or "\/[\_A-z0-9]+\.gif"(now this is not > working)... No, _ is not special - it is included in ".". > -- > View this message in context: > http://www.nabble.com/Proxy-exclude-pattern-doesn%27t-work-tp11728852p21458959.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > 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]

