Testing some JSF URLs I've got some requests with #jsessionid and ;jsessionid. To exclude those requests I had to change the proposed pattern a bit: .*\.(bmp|css|js|gif|ico|jpe?g|png|svg|swf|ttf|woff)([?|#|;].*)?
Also includes svg and ttf extensions. Em 27/01/2015 10:22, "sebb" <[email protected]> escreveu: > It might be safer to use: > > .*\.(bmp|css|js|gif|ico|jpe?g|png|swf|woff)(\?.*)? > > i.e. only allow trailing strings which start with ? > > Otherwise I think you will match the following: > > http://www.png.org/etc > > which is probably not what was intended. > > > On 27 January 2015 at 11:54, Bob Meliev <[email protected]> wrote: > > Thanks, forgot about such workaround. > > > > > > On 27.01.2015 14:32, SanderW wrote: > >> > >> .*\.(bmp|css|js|gif|ico|jpe?g|png|swf|woff).* > >> > >> > >> > >> -- > >> View this message in context: > >> > http://jmeter.512774.n5.nabble.com/Test-Script-Recorded-change-suggested-excludes-tp5721679p5721680.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] > >> > > > > > > -- > > Sincerely, Bob! > > > > > > > > --------------------------------------------------------------------- > > 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] > >
