On 26 September 2013 22:36, Philippe Mouawad <[email protected]> wrote: > On Thu, Sep 26, 2013 at 11:33 PM, sebb <[email protected]> wrote: > >> On 26 September 2013 22:09, <[email protected]> wrote: >> > Author: pmouawad >> > Date: Thu Sep 26 21:09:43 2013 >> > New Revision: 1526687 >> > >> > URL: http://svn.apache.org/r1526687 >> > Log: >> > Add note about HTMLParser and performances >> > >> > Modified: >> > jmeter/trunk/bin/jmeter.properties >> > >> > Modified: jmeter/trunk/bin/jmeter.properties >> > URL: >> http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter.properties?rev=1526687&r1=1526686&r2=1526687&view=diff >> > >> ============================================================================== >> > --- jmeter/trunk/bin/jmeter.properties (original) >> > +++ jmeter/trunk/bin/jmeter.properties Thu Sep 26 21:09:43 2013 >> > @@ -575,6 +575,8 @@ HTTPResponse.parsers=htmlParser wmlParse >> > >> > # Define the HTML parser to be used. >> > # Default parser: >> > +# IMPORTANT NOTE: For high load tests, we recommand using >> RegexpHTMLParser >> > +# instead of this default one which is more suited for low to medium >> load >> >> This does not explain why Regexp is not the default. >> > > What should be said ? > From my few tests it works rather fine.
Performance is but one aspect. The other is accuracy; the regex extractor may detect references that have been commented out. In many cases it will work OK, but the user should be aware that it may generate additional references. >> >> > >> >> #htmlParser.className=org.apache.jmeter.protocol.http.parser.HtmlParserHTMLParser >> > # Other parsers: >> > >> #htmlParser.className=org.apache.jmeter.protocol.http.parser.JTidyHTMLParser >> > >> > >> > > > > -- > Cordialement. > Philippe Mouawad.
