jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Proxy exclude pattern doesn't work
Date Wed, 14 Jan 2009 17:09:25 GMT
On 14/01/2009, venn <dmitriyvagin@gmail.com> 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, VijayKumar.Nandam@cognizant.com
>  > <VijayKumar.Nandam@cognizant.com> wrote:
>  >> Use *\.jpg or the extensions u need to exclude...
>  >>
>  >>
>  >> Thanks,
>  >> Vijay Nandam
>  >>
>  >>
>  >> -----Original Message-----
>  >> From: Jonathan Goldstein [mailto:goldstein.jonathan@gmail.com]
>  >> 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 <goldstein.jonathan@gmail.com>
>  >> Date: Jul 22, 2007 9:55 AM
>  >> Subject: Proxy exclude pattern doesn't work
>  >> To: JMeter Users List <jmeter-user@jakarta.apache.org>
>  >>
>  >>
>  >> 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: jmeter-user-unsubscribe@jakarta.apache.org
>  >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>
>  >>
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>
> 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: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message