I ended up using this regex (parts of which are redundant i think but still)
(?=http://|https://)((?!illegalThings|OtherIllegalThings).*) On Mon, Sep 10, 2012 at 3:27 PM, Oliver Lloyd <[email protected]>wrote: > There is. At the bottom of the HTTP Sampler you'll see a field with a > label of 'Embedded URLs must match'. Enter a regex in here that matches > everything except the request you want to filter. > > Eg. (and this is crude) you could use: > > .*[^http://www.mysite.com/static/css/idontexist.css].* > > .* is everything > ^ means negate the search > > You should probably refine this regex to be more reliable. > > You can also create a variable equal to this regex and then put a > reference to the var in each HTTP Samper, then you only have to edit one > value. Later releases of JMeter will allow you to enter this filter string > in the HTTP Request Defaults which will make this even easier. > > > On 10 Sep 2012, at 21:10, Nicholas Jasieniecki wrote: > > > For my test plan, there is one embedded image that always 404s, and i > > basically want to ignore ONLY that resource and pull the rest. Is there a > > good way to do that? > > > > Thanks, > > Nick Jasieniecki > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
